1 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5 (_FP_NANSIGN_Q): Set the quiet bit.
7 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11 not $(common-objpfx)math/libm.so.
12 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15 $(common-objpfx)dlfcn/libdl.so.
16 ($(objpfx)tst-audit8): Depend on $(libm), not
17 $(common-objpfx)math/libm.so.
18 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19 not $(common-objpfx)dlfcn/libdl.so.
21 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
23 [$(build-shared) = yes].
24 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25 $(common-objpfx)nptl/libpthread.so.
26 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27 $(common-objpfx)math/libm.so$(libm.so-version) or
28 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30 $(common-objpfx)dlfcn/libdl.so.
31 * setjmp/Makefile (link-libm): Remove variable.
32 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33 * stdio-common/Makefile (link-libm): Remove variable.
34 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35 * stdlib/Makefile (link-libm): Remove variable.
36 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37 ($(objpfx)tst-strtod-round): Likewise.
38 ($(objpfx)tst-tininess): Likewise.
39 ($(objpfx)tst-strtod-underflow): Likewise.
40 ($(objpfx)tst-strtod6): Likewise.
41 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
42 $(libdl), not $(common-objpfx)nptl/libpthread.so and
43 $(common-objpfx)dlfcn/libdl.so.
45 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48 BSD terminal modes definitions.
50 2014-05-16 Roland McGrath <roland@hack.frob.com>
52 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
53 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
55 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
56 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
57 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
58 Don't do #include_next.
59 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
60 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
61 Don't do #include_next.
62 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
63 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
64 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
65 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
67 2014-05-16 Allan McRae <allan@archlinux.org>
69 * po/sv.po: Update Swedish translation from translation project.
71 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
74 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
77 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
78 errno if the TIOCGPTN ioctl fails with an error different than
80 * login/tst-ptsname.c: New file.
81 * login/Makefile (tests): Add tst-ptsname.
84 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
87 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
90 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
91 herrno to return EAI_AGAIN.
93 2014-05-14 Roland McGrath <roland@hack.frob.com>
95 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
96 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
97 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
99 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
101 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
105 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
107 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
108 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
109 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
111 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
113 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
115 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
117 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
118 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
119 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
120 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
121 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
122 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
123 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
124 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
126 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
131 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
137 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
139 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
141 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
145 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
155 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
160 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
162 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
166 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
181 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
185 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
186 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
187 (libpthread-sysdep_routines): Add elision-related stuff here instead.
188 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
189 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
190 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
191 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
192 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
193 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
194 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
195 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
196 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
197 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
198 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
199 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
200 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
201 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
202 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
203 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
204 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
205 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
206 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
207 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
208 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
209 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
210 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
211 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
212 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
213 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
214 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
215 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
217 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
218 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
220 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
221 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
222 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
223 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
224 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
225 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
227 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
230 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
233 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
236 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
237 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
238 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
239 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
241 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
242 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
243 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
245 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
246 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
247 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
250 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
251 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
253 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
255 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
256 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
257 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
258 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
261 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
263 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
265 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
266 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
267 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
268 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
269 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
270 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
272 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
275 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
278 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
281 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
282 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
283 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
284 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
286 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
287 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
288 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
290 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
291 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
292 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
295 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
296 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
298 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
300 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
301 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
302 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
303 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
306 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
308 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
310 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
311 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
312 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
313 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
314 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
315 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
316 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
317 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
318 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
324 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
325 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
327 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
330 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
331 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
332 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
333 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
334 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
335 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
337 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
338 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
339 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
341 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
342 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
343 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
344 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
346 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
347 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
349 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
351 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
352 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
353 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
354 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
355 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
357 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
359 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
361 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
362 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
363 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
365 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
366 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
367 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
368 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
369 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
370 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
371 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
373 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
374 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
376 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
377 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
379 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
380 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
381 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
382 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
383 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
384 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
385 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
386 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
387 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
388 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
389 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
390 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
391 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
392 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
393 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
395 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
398 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
403 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
404 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
405 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
407 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
408 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
417 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
419 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
420 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
421 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
422 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
423 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
424 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
425 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
426 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
427 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
428 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
429 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
430 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
431 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
433 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
434 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
435 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
436 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
437 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
439 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
440 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
441 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
442 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
443 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
444 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
445 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
446 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
447 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
448 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
453 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
454 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
455 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
456 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
457 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
458 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
459 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
460 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
461 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
462 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
463 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
464 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
465 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
466 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
471 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
473 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
496 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
501 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
503 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
504 that was previously under [RESET_PID].
505 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
506 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
507 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
509 * sysdeps/i386/nptl/Implies: New file.
510 * sysdeps/x86_64/nptl/Implies: New file.
511 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
512 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
513 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
514 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
516 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
517 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
518 (__libc_vfork): New strong alias.
519 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
520 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
522 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
523 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
524 (__libc_vfork): New strong alias.
525 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
526 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
528 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
529 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
530 (__libc_vfork): New strong alias.
531 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
532 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
533 * nptl/pt-vfork.c: New file.
534 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
535 (libpthread: GLIBC_2.20): New version set (empty).
537 2014-05-14 Will Newton <will.newton@linaro.org>
539 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
542 2014-05-14 Joseph Myers <joseph@codesourcery.com>
545 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
546 arguments with exponent 65 or above.
547 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
548 arguments 0x1p113L or above.
549 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
550 to arguments 0x1p107L or above.
551 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
552 positive arguments with exponent 65 or above.
553 * math/auto-libm-test-in: Add more tests of log1p.
554 * math/auto-libm-test-out: Regenerated.
557 * math/s_cacos.c (__cacos): Ensure zero real part of result from
558 non-finite arguments is +0.
559 * math/s_cacosf.c (__cacosf): Likewise.
560 * math/s_cacosl.c (__cacosl): Likewise.
561 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
566 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
568 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
569 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
570 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
571 for explicit high bit of mantissa when testing for argument equal
573 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
574 * sysdeps/i386/fpu/libm-test-ulps: Update.
575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
578 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
579 (__erf): Scale by 16 instead of 8 in potentially underflowing
580 case. Ensure exception if result actually underflows.
581 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
582 (__erff): Scale by 16 instead of 8 in potentially underflowing
583 case. Ensure exception if result actually underflows.
584 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
585 (efx8): Remove variable.
586 (__erfl): Scale by 16 instead of 8 in potentially underflowing
587 case. Ensure exception if result actually underflows.
588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
589 (efx8): Remove variable.
590 (__erfl): Scale by 16 instead of 8 in potentially underflowing
591 case. Ensure exception if result actually underflows.
592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
593 (efx8): Remove variable.
594 (__erfl): Scale by 16 instead of 8 in potentially underflowing
595 case. Ensure exception if result actually underflows.
596 * math/auto-libm-test-in: Add more tests of erf.
597 * math/auto-libm-test-out: Regenerated.
599 2014-05-14 Andreas Schwab <schwab@suse.de>
601 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
602 Remove code conditionalized on USE___THREAD.
604 * config.h.in (HAVE_PT_CHOWN): Define as 0.
605 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
608 2014-05-14 Joseph Myers <joseph@codesourcery.com>
610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
611 Define unconditionally.
612 (__ASSUME_O_CLOEXEC): Likewise.
613 (__ASSUME_SOCK_CLOEXEC): Likewise.
614 (__ASSUME_IN_NONBLOCK): Likewise.
615 (__ASSUME_PIPE2): Likewise.
616 (__ASSUME_EVENTFD2): Likewise.
617 (__ASSUME_SIGNALFD4): Likewise.
618 (__ASSUME_DUP3): Likewise.
619 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
620 (__ASSUME_DUP3): Do not define.
621 (__ASSUME_EVENTFD2): Likewise.
622 (__ASSUME_IN_NONBLOCK): Likewise.
623 (__ASSUME_O_CLOEXEC): Likewise.
624 (__ASSUME_PIPE2): Likewise.
625 (__ASSUME_SIGNALFD4): Likewise.
626 (__ASSUME_SOCK_CLOEXEC): Likewise.
627 (__ASSUME_UTIMES): Undefine.
628 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
629 (__ASSUME_UTIMES): Do not define.
630 (__ASSUME_O_CLOEXEC): Likewise.
631 (__ASSUME_SOCK_CLOEXEC): Likewise.
632 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
633 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
635 (__ASSUME_PIPE2): Likewise.
636 (__ASSUME_EVENTFD2): Likewise.
637 (__ASSUME_SIGNALFD4): Likewise.
638 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
639 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
641 (__ASSUME_EVENTFD2): Likewise.
642 (__ASSUME_SIGNALFD4): Likewise.
643 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
644 (__ASSUME_32BITUIDS): Likewise.
645 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
646 (__ASSUME_IPC64): Likewise.
647 (__ASSUME_ST_INO_64_BIT): Likewise.
648 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
649 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
650 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
651 (__ASSUME_UTIMES): Do not define.
652 (__ASSUME_PSELECT): Likewise.
653 (__ASSUME_PPOLL): Likewise.
654 (__ASSUME_O_CLOEXEC): Likewise.
655 (__ASSUME_SOCK_CLOEXEC): Likewise.
656 (__ASSUME_IN_NONBLOCK): Likewise.
657 (__ASSUME_PIPE2): Likewise.
658 (__ASSUME_EVENTFD2): Likewise.
659 (__ASSUME_SIGNALFD4): Likewise.
660 (__ASSUME_DUP3): Likewise.
661 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
662 (__ASSUME_UTIMES): Likewise.
663 (__ASSUME_O_CLOEXEC): Likewise.
664 (__ASSUME_SOCK_CLOEXEC): Likewise.
665 (__ASSUME_IN_NONBLOCK): Likewise.
666 (__ASSUME_PIPE2): Likewise.
667 (__ASSUME_EVENTFD2): Likewise.
668 (__ASSUME_SIGNALFD4): Likewise.
669 (__ASSUME_DUP3): Likewise.
670 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
671 (__ASSUME_UTIMES): Likewise.
672 (__ASSUME_O_CLOEXEC): Likewise.
673 (__ASSUME_SOCK_CLOEXEC): Likewise.
674 (__ASSUME_IN_NONBLOCK): Likewise.
675 (__ASSUME_PIPE2): Likewise.
676 (__ASSUME_EVENTFD2): Likewise.
677 (__ASSUME_SIGNALFD4): Likewise.
678 (__ASSUME_DUP3): Likewise.
679 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
681 (__ASSUME_UTIMES): Likewise.
682 (__ASSUME_EVENTFD2): Likewise.
683 (__ASSUME_SIGNALFD4): Likewise.
684 * sysdeps/unix/sysv/linux/tile/kernel-features.h
685 (__ASSUME_O_CLOEXEC): Likewise.
686 (__ASSUME_SOCK_CLOEXEC): Likewise.
687 (__ASSUME_IN_NONBLOCK): Likewise.
688 (__ASSUME_PIPE2): Likewise.
689 (__ASSUME_EVENTFD2): Likewise.
690 (__ASSUME_SIGNALFD4): Likewise.
691 (__ASSUME_DUP3): Likewise.
692 (__ASSUME_UTIMES): Undefine.
694 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
695 feclearexcept. Remove symbol versioning code.
696 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
697 symbol versioning code.
698 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
699 symbol versioning code.
700 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
701 feupdateenv. Remove symbol versioning code.
702 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
703 fegetexceptflag. Remove symbol versioning code.
704 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
705 fesetexceptflag. Remove symbol versioning code.
706 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
707 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
708 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
709 (__posix_fadvise64_l32): Remove prototype.
710 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
713 2014-05-13 Roland McGrath <roland@hack.frob.com>
715 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
716 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
717 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
718 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
720 2014-05-13 Sami Kerola <kerolasa@iki.fi>
722 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
723 current working directory
725 2014-05-13 Roland McGrath <roland@hack.frob.com>
727 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
728 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
729 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
730 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
731 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
732 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
733 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
734 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
735 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
736 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
737 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
738 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
739 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
740 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
741 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
742 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
743 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
744 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
745 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
746 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
747 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
749 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
751 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
753 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
755 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
756 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
757 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
759 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
760 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
761 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
762 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
763 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
764 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
765 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
766 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
767 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
768 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
770 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
771 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
773 * sysdeps/unix/sysv/linux/arm/Makefile
774 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
775 Add rt-aeabi_unwind_cpp_pr1.
776 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
777 Add nptl-aeabi_unwind_cpp_pr1.
778 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
779 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
780 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
781 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
782 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
783 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
785 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
786 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
787 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
788 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
790 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
791 Deconditionalize the code that was previously under [RESET_PID].
792 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
794 * sysdeps/generic/exit-thread.h: New file.
795 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
796 * include/unistd.h (__exit_thread): Remove declaration.
797 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
798 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
799 * csu/libc-start.c: Include <exit-thread.h>.
800 (LIBC_START_MAIN): Pass no argument to __exit_thread.
801 * nptl/pthread_create.c: Include <exit-thread.h>.
802 (start_thread): Call __exit_thread in place of __exit_thread_inline.
803 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
804 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
805 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
806 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
807 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
808 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
809 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
810 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
811 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
812 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
813 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
814 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
815 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
816 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
817 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
818 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
820 2014-05-13 Andreas Schwab <schwab@suse.de>
822 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
824 2014-05-12 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
827 (__ASSUME_UTIMES): Do not condition on kernel version.
828 (__ASSUME_PSELECT): Define unconditionally.
829 (__ASSUME_PPOLL): Likewise.
830 (__ASSUME_ATFCTS): Likewise.
831 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
832 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
833 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
834 (__ASSUME_UTIMENSAT): Define unconditionally.
835 (__ASSUME_PRIVATE_FUTEX): Likewise.
836 (__ASSUME_FALLOCATE): Likewise.
837 (__ASSUME_O_CLOEXEC): Likewise.
838 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
839 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
840 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
841 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
842 (__ASSUME_IN_NONBLOCK): Likewise.
843 (__ASSUME_PIPE2): Likewise.
844 (__ASSUME_EVENTFD2): Likewise.
845 (__ASSUME_SIGNALFD4): Likewise.
846 (__ASSUME_DUP3): Likewise.
847 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
848 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
849 (__ASSUME_AT_RANDOM): Likewise.
850 (__ASSUME_PREADV): Likewise.
851 (__ASSUME_PWRITEV): Likewise.
852 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
853 (__ASSUME_F_GETOWN_EX): Define unconditionally.
854 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
855 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
856 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
858 (__ASSUME_O_CLOEXEC): Define unconditionally.
859 (__ASSUME_PSELECT): Do not undefine conditionally.
860 (__ASSUME_PPOLL): Likewise.
861 (__ASSUME_ATFCTS): Likewise.
862 (__ASSUME_SET_ROBUST_LIST): Likewise.
863 (__ASSUME_UTIMENSAT): Likewise.
864 (__ASSUME_FDATASYNC): Define unconditionally.
865 * sysdeps/unix/sysv/linux/arm/kernel-features.h
866 (__ASSUME_SIGFRAME_V2): Likewise.
867 )__ASSUME_EVENTFD2): Likewise.
868 (__ASSUME_SIGNALFD4): Likewise.
869 (__ASSUME_PSELECT): Do not undefine conditionally.
870 (__ASSUME_PPOLL): Likewise.
871 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
872 (__ASSUME_PSELECT): Define unconditionally.
873 (__ASSUME_PPOLL): Likewise.
874 (__ASSUME_O_CLOEXEC): Likewise.
875 (__ASSUME_SOCK_CLOEXEC): Likewise.
876 (__ASSUME_IN_NONBLOCK): Likewise.
877 (__ASSUME_PIPE2): Likewise.
878 (__ASSUME_EVENTFD2): Likewise.
879 (__ASSUME_SIGNALFD4): Likewise.
880 (__ASSUME_DUP3): Likewise.
881 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
882 (__ASSUME_O_CLOEXEC): Likewise.
883 (__ASSUME_SOCK_CLOEXEC): Likewise.
884 (__ASSUME_IN_NONBLOCK): Likewise.
885 (__ASSUME_PIPE2): Likewise.
886 (__ASSUME_EVENTFD2): Likewise.
887 (__ASSUME_SIGNALFD4): Likewise.
888 (__ASSUME_DUP3): Likewise.
889 * sysdeps/unix/sysv/linux/mips/kernel-features.h
890 (__ASSUME_EVENTFD2): Likewise.
891 (__ASSUME_SIGNALFD4): Likewise.
892 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
894 2014-05-12 Andreas Schwab <schwab@suse.de>
897 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
898 (_nss_nis_gethostbyname4_r): Return error if item length is larger
899 than maximum RPC packet size.
900 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
901 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
902 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
903 (_nss_nis_getservbyport_r): Likewise.
905 2014-05-12 Will Newton <will.newton@linaro.org>
907 * malloc/Makefile (tests): Add tst-mallopt.
908 * malloc/tst-mallopt.c: New file.
910 2014-05-09 Roland McGrath <roland@hack.frob.com>
912 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
913 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
915 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
917 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
918 (tst-tlsmod6.so): Likewise.
920 2014-05-09 Roland McGrath <roland@hack.frob.com>
922 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
924 2014-05-09 Joseph Myers <joseph@codesourcery.com>
927 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
929 (__fegetenv): Save SSE state in envp->__eip if supported.
930 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
931 envp->__eip if supported.
932 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
934 (__fesetenv): Always set __eip, __cs_selector, __opcode,
935 __data_offset and __data_selector in environment to 0. Set SSE
937 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
939 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
941 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
943 2014-05-09 Will Newton <will.newton@linaro.org>
945 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
946 and libc_relro_required for ARM.
947 * sysdeps/arm/preconfigure: Regenerate.
949 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
950 Stefan Liebler <stli@linux.vnet.ibm.com>
952 * config.make.in (enable-lock-elision): New Makefile variable.
953 * configure.ac: Likewise.
954 * configure: Regenerate.
955 * sysdeps/s390/configure.ac:
956 Add check for gcc transactions support.
957 * sysdeps/s390/configure: Regenerate.
958 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
959 Build elision files if enabled.
960 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
961 Add lock elision support for s390.
962 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
963 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
964 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
965 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
966 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
967 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
968 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
970 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
972 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
974 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
976 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
977 (__lll_timedlock_elision, __lll_lock_elision)
978 (__lll_unlock_elision, __lll_trylock_elision)
979 (lll_timedlock_elision, lll_lock_elision)
980 (lll_unlock_elision, lll_trylock_elision): Add.
981 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
982 (pthread_mutex_t): Add lock elision support for s390.
984 2014-05-14 Wilco <wdijkstr@arm.com>
986 * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
987 * sysdeps/arm/fedisblxcpt.c: Likewise.
988 * sysdeps/arm/feenablxcpt.c: Likewise.
989 * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
990 * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
991 * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
992 Call optimized (libc_fesetenv_vfp).
993 * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
994 * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
995 Call optimized (libc_feupdateenv_vfp).
996 * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
997 * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
999 * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
1000 * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
1002 2014-05-14 Wilco <wdijkstr@arm.com>
1004 * sysdeps/arm/fclrexcpt.c: Cleanup.
1005 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1006 * sysdeps/arm/feenablxcpt.c: Cleanup.
1007 * sysdeps/arm/fegetenv.c: Cleanup.
1008 * sysdeps/arm/fegetexcept.c: Cleanup.
1009 * sysdeps/arm/fegetround.c: Cleanup.
1010 * sysdeps/arm/feholdexcpt.c: Cleanup.
1011 * sysdeps/arm/fesetenv.c: Cleanup.
1012 * sysdeps/arm/fesetround.c: Cleanup.
1013 * sysdeps/arm/feupdateenv.c: Cleanup.
1014 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1015 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1016 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1017 * sysdeps/arm/ftestexcept.c: Cleanup.
1018 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1019 * sysdeps/arm/setfpucw.c: Cleanup.
1021 2014-05-09 Will Newton <will.newton@linaro.org>
1023 * sysdeps/arm/armv7/strcmp.S: New file.
1024 * NEWS: Mention addition of ARMv7 optimized strcmp.
1026 2014-05-08 Roland McGrath <roland@hack.frob.com>
1028 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1029 look for %.ac rather than %.in.
1031 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1032 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1033 * sysdeps/mach/hurd/configure: Regenerated.
1034 * sysdeps/unix/sysv/linux/configure: Regenerated.
1036 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1038 2014-05-07 Steve Ellcey <sellcey@mips.com>
1041 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1045 2014-05-07 Andreas Schwab <schwab@suse.de>
1047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1048 when skipping over non-matching result from nscd.
1050 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1053 * nptl/sockperf.c (client): Check socket return value.
1056 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1057 nscd security class.
1059 2014-05-06 Roland McGrath <roland@hack.frob.com>
1061 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1062 * sysdeps/arm/unwind.h: ... here.
1064 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1067 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1070 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1072 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1073 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1074 multiarch strncpy for PPC64.
1075 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1076 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1078 multiarch optimizations.
1079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1080 (__libc_ifunc_impl_list): Likewise.
1081 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1082 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1083 multiarch stpncpy for PPC64.
1084 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1085 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1087 2014-05-06 Andreas Schwab <schwab@suse.de>
1090 * gmon/mcount.c (_MCOUNT_DECL): Use
1091 atomic_compare_and_exchange_bool_acq instead of
1092 catomic_compare_and_exchange_bool_acq.
1094 2014-05-05 Roland McGrath <roland@hack.frob.com>
1096 * elf/Makefile (others, install-bin): Remove pldd.
1097 (pldd-modules): Variable removed.
1098 ($(objpfx)pldd): Target removed.
1099 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1100 (others, install-bin): Append pldd here.
1101 ($(objpfx)pldd): New target.
1103 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1104 to 0, so the first #if test emitted later doesn't see it undefined.
1105 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1106 * sysdeps/gnu/errlist.c: Regenerated.
1108 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1111 [libc_hidden_builtin_def]: Define to empty value.
1112 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1113 [libc_hidden_builtin_def]: Likewise.
1114 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1115 [libc_hidden_builtin_def]: Likewise.
1116 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1117 [libc_hidden_builtin_def]: Likewise.
1118 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1119 __redirect_memcpy and define ifunc as default hidden symbol.
1120 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1121 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1123 2014-05-04 Adam Conrad <adconrad@0c3.net>
1125 * locale/iso-4217.def: Reintroduce XDR currency.
1127 2014-05-04 Allan McRae <allan@archlinux.org>
1129 * po/eo.po: Update Esperanto translation from translation project.
1131 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1133 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1134 and FEATURE_INDEX_MAX to 1.
1135 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1137 2014-05-01 Steve Ellcey <sellcey@mips.com>
1139 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1140 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1141 * iconvdata/big5.c (ONE_DIRECTION): Define.
1142 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1143 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1144 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1145 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1146 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1147 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1148 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1149 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1150 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1151 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1152 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1153 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1154 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1155 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1156 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1157 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1158 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1159 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1160 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1161 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1162 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1163 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1164 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1165 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1166 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1167 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1168 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1169 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1170 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1171 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1172 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1173 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1174 * iconvdata/johab.c (ONE_DIRECTION): Define.
1175 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1176 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1177 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1178 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1179 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1180 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1181 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1182 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1183 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1184 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1186 2014-05-01 Roland McGrath <roland@hack.frob.com>
1188 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1189 (_IO_JUMPS_OFFSET): Define to 0.
1191 * nptl/sysdeps/pthread/bits/libc-lock.h
1192 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1193 (__libc_lock_define_initialized_recursive): Always define using
1194 initializer. Modern compilers treat uninitialized (implicit zero) and
1195 explicit zero initializers the same (i.e. put the datum in bss).
1197 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1199 * nscd/nscd-client.h: Include <string.h>.
1201 2014-05-01 David S. Miller <davem@davemloft.net>
1204 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1205 multiple zero bytes exist at the end of a string.
1206 Reported by Aurelien Jarno <aurelien@aurel32.net>
1208 * string/test-strcmp.c (check): Add explicit test for situations where
1209 there are multiple zero bytes after the first.
1211 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1214 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1215 when compiling wprintf.
1216 * stdio-common/tstdiomisc.c (t3): New function.
1219 2014-05-01 Steve Ellcey <sellcey@mips.com>
1221 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1222 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1223 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1224 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1226 2014-05-01 Steve Ellcey <sellcey@mips.com>
1228 * stdlib/longlong.h: Updated from GCC.
1230 2014-05-01 Will Newton <will.newton@linaro.org>
1231 Bernard Ogden <bernie.ogden@linaro.org>
1233 * NEWS: Update fixed bug list.
1236 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1238 2014-04-30 David S. Miller <davem@davemloft.net>
1240 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1241 (libc_feholdexcept_setround_sparc_ctx): New function.
1242 (libc_fesetenv_sparc_ctx): Likewise.
1243 (libc_feupdateenv_sparc_ctx): Likewise.
1244 (libc_feholdsetround_sparc_ctx): Likewise.
1245 (libc_feholdexcept_setround_ctx): Define.
1246 (libc_feholdexcept_setroundf_ctx): Likewise.
1247 (libc_feholdexcept_setroundl_ctx): Likewise.
1248 (libc_fesetenv_ctx): Likewise.
1249 (libc_fesetenvf_ctx): Likewise.
1250 (libc_fesetenvl_ctx): Likewise.
1251 (libc_feupdateenv_ctx): Likewise.
1252 (libc_feupdateenvf_ctx): Likewise.
1253 (libc_feupdateenvl_ctx): Likewise.
1254 (libc_feresetround_ctx): Likewise.
1255 (libc_feresetroundf_ctx): Likewise.
1256 (libc_feresetroundl_ctx): Likewise.
1257 (libc_feholdsetround_ctx): Likewise.
1258 (libc_feholdsetroundf_ctx): Likewise.
1259 (libc_feholdsetroundl_ctx): Likewise.
1261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1262 with __USE_GNU instead of XOPEN cpp guards.
1264 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1268 with XOPEN cpp guards.
1270 2014-04-30 Julian Brown <julian@codesourcery.com>
1273 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1276 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1279 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1281 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1282 * sysdeps/unix/sysv/linux/configure: Regenerated.
1283 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1284 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1285 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1286 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1287 * README: Update reference to required Linux kernel version.
1288 * manual/install.texi (Linux): Update reference to required Linux
1289 kernel headers version.
1290 * INSTALL: Regenerated.
1292 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1294 [POSIX] (limits.h): Likewise.
1295 [POSIX] (math.h): Likewise.
1296 [POSIX] (sys/wait.h): Likewise.
1297 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1299 [POSIX] (stddef.h): Do not allow header inclusion.
1301 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1303 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1305 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1307 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1308 Return immediately after lll_futex_wake.
1310 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1313 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1315 (datahead_init_pos): Call datahead_init_common early.
1316 (datahead_init_neg): Likewise.
1318 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1319 datahead_init_neg): New functions.
1320 * nscd/aicache.c (addhstaiX): Use them.
1321 * nscd/grpcache.c (cache_addgr): Likewise.
1322 * nscd/hstcache.c (cache_addhst): Likewise.
1323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1324 * nscd/netgroupcache.c (do_notfound): Likewise.
1325 (addgetnetgrentX): Likewise.
1326 (addinnetgrX): Likewise.
1327 * nscd/pwdcache.c (cache_addpw): Likewise.
1328 * nscd/servicescache.c (cache_addserv): Likewise.
1330 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1331 Atsushi Onoe <atsushi@onoe.org>
1336 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1337 one response is valid.
1338 * resolv/res_send.c (send_dg): Check for validity of other
1339 response if the current response is a referral.
1341 2014-04-29 Steve Ellcey <sellcey@mips.com>
1343 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1345 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1348 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1349 Always divide by positive zero when computing -Inf result.
1350 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1351 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1353 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1356 FPSCR if value do not change.
1357 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1358 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1359 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1360 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1361 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1362 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1365 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1367 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1368 * sysdeps/unix/sysv/linux/hppa: Move directory from
1369 ports/systeps/unix/sysv/linux/hppa.
1370 * README: Update listing for hppa-*-linux-gnu.
1372 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1375 * manual/stdio.texi (Hook functions): Fix types of stream hook
1378 * socket/sys/socket.h: Fix typo in comment.
1380 2014-04-28 Wilco <wdijkstr@arm.com>
1382 * sysdeps/arm/fenv_private.h: New file.
1383 * sysdeps/arm/math_private.h: New file.
1384 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1386 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1388 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1390 (La_x86_64_retval): Likewise.
1392 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1394 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1395 fpsr if value didn't change.
1396 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1397 to fpcr if value didn't change.
1398 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1399 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1400 fpsr or fpcr if value didn't change.
1401 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1402 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1403 fpcr if value didn't change.
1404 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1405 to fpsr if value didn't change.
1407 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 * nptl/tst-sem3.c: Use test-skeleton.c
1410 (main): Rename to do_test. Use return instead of
1412 * nptl/tst-sem4.c: Use test-skeleton.c
1413 (main): Rename to do_test.
1415 2014-04-22 David S. Miller <davem@davemloft.net>
1417 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1418 (struct sigaction): New struct member __glibc_reserved0, change
1419 type of sa_flags to int.
1421 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1423 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1424 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1426 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1428 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1429 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1431 2014-04-22 Will Newton <will.newton@linaro.org>
1432 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1434 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1435 (__longjmp): Add longjmp and longjmp_target SystemTap
1437 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1438 (__sigsetjmp): Add setjmp SystemTap probe.
1440 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1442 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1445 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1447 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1449 * sysdeps/powerpc/fpu/fenv_private.h
1450 (libc_feholdexcept_setroundl_ctx): Define to
1451 libc_feholdexcept_setround_ppc_ctx.
1452 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1453 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1454 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1455 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1457 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1459 * sysdeps/aarch64/math-tests.h: New file.
1461 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1463 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1466 Check and set bit_AVX2_Usable.
1467 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1469 (bit_AVX2): Likewise.
1470 (index_AVX2_Usable): Likewise.
1471 (CPUID_AVX2): Likewise.
1472 (HAS_AVX2): Likewise.
1474 2014-04-17 Will Newton <will.newton@linaro.org>
1476 * manual/setjmp.texi (System V contexts): Add note that
1477 calling setcontext on a context created by a call to a
1478 signal handler is undefined. Update text to note that
1479 setcontext from a signal handler is possible but not
1483 * stdlib/tst-setcontext.c: Include signal.h.
1484 (main): Check that the signal stack before and
1485 after swapcontext is the same.
1487 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1488 Re-implement to restore registers in user code and avoid
1489 rt_sigreturn system call.
1491 2014-04-17 Wilco <wdijkstr@arm.com>
1493 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1494 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1495 * math/test-fenv.c: Skip exception trap tests on targets which only
1496 support non-stop mode.
1498 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1499 Wilco Dijkstra <wilco.dijkstra@arm.com>
1501 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1502 (libc_feholdsetround_aarch64_ctx)
1503 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1504 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1505 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1506 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1507 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1508 (libc_feresetround_noexl_ctx): Define.
1510 2014-04-16 Richard Henderson <rth@redhat.com>
1512 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1514 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1517 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1518 const from the non-libc, non-ldso copy.
1520 * sysdeps/alpha/libm-test-ulps: Regenerate.
1522 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1523 Wilco Dijkstra <wilco.dijkstra@arm.com>
1525 * sysdeps/aarch64/fpu/math_private.h: New file.
1527 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1529 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1531 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1533 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1534 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1536 Intel MPX bound registers before _dl_profile_fixup.
1537 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1538 registers after _dl_profile_fixup. Save and restore bound
1539 registers bnd0/bnd1 when calling _dl_call_pltexit.
1540 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1541 (LR_BND_OFFSET): Likewise.
1542 (LRV_BND0_OFFSET): Likewise.
1543 (LRV_BND1_OFFSET): Likewise.
1545 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1547 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1549 * sysdeps/mach/hurd/i386/tls.h: ... here.
1550 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1551 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1554 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1556 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1558 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1560 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1562 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1565 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1566 * sysdeps/s390/configure: Regenerate.
1569 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1570 Set round-to-nearest internally to reduce error accumulation.
1572 2014-04-16 Alan Modra <amodra@gmail.com>
1576 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1577 * math/libm-test.inc (frexp_test_data): Add tests.
1578 * NEWS: Update fixed bug list.
1580 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1582 * benchtests/Makefile: Depend on libraries in build directory.
1583 (bench-math): Separate out math tests.
1584 (bench-pthread): Separate out pthread tests.
1585 (bench): Include math and pthread tests.
1587 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1590 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1591 _dl_debug_initialize.
1593 * configure.ac: Remove SELinux header check.
1594 * configure: Regenerate.
1595 * nscd/selinux.c (perms): Array of const char* to permission names.
1596 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1597 default policy. Call string_to_security_class and string_to_av_perm to
1598 translate strings. Enforce default policy and call avs_has_perm with
1599 results of translated strings.
1601 2014-04-13 David S. Miller <davem@davemloft.net>
1603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1605 2014-04-12 Allan McRae <allan@archlinux.org>
1608 * manual/string.texi (Collation Functions): Fix qsort argument
1610 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1612 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1614 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1615 Make the test a no-op if there are no exceptions defined.
1617 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1619 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1620 enable-hardcoded-path-in-tests
1622 2014-04-11 Will Newton <will.newton@linaro.org>
1624 * benchtests/Makefile (extra-objs): Add json-lib.o.
1625 (bench-func): Tidy up JSON output.
1626 * benchtests/bench-skeleton.c: Include json-lib.h.
1627 (main): Use JSON library functions to do output of
1629 * benchtests/bench-timing-type.c (main): Output the
1630 timing type simply, leaving formatting to the user.
1631 * benchtests/json-lib.c: New file.
1632 * benchtests/json-lib.h: Likewise.
1634 2014-04-11 Torvald Riegel <triegel@redhat.com>
1637 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1638 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1639 memory barriers. Add comments.
1640 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1641 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1642 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1643 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1644 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1645 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1647 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1649 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1650 * sysdeps/s390/s390-64/configure.ac: ... this ...
1651 * sysdeps/s390/configure.ac: ... to here.
1652 * sysdeps/s390/s390-32/configure: Delete file.
1653 * sysdeps/s390/s390-64/configure: Delete file.
1654 * sysdeps/s390/configure: Regenerate.
1656 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1658 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1660 2014-04-11 Will Newton <will.newton@linaro.org>
1662 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1663 to zero if it is not defined elsewhere. (mtrim): Test
1664 the value of MALLOC_DEBUG with #if rather than #ifdef.
1666 2014-04-10 Torvald Riegel <triegel@redhat.com>
1668 * benchtests/pthread_once-inputs: New file.
1669 * benchtests/pthread_once-source.c: New file.
1670 * benchtests/README: Update documentation.
1672 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1673 H.J. Lu <hongjiu.lu@intel.com>
1675 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1676 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1677 * sysdeps/x86_64/configure: Regenerated.
1678 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1680 (REGISTER_SAVE_RAX): Likewise.
1681 (REGISTER_SAVE_RCX): Likewise.
1682 (REGISTER_SAVE_RDX): Likewise.
1683 (REGISTER_SAVE_RSI): Likewise.
1684 (REGISTER_SAVE_RDI): Likewise.
1685 (REGISTER_SAVE_R8): Likewise.
1686 (REGISTER_SAVE_R9): Likewise.
1687 (REGISTER_SAVE_BND0): Likewise.
1688 (REGISTER_SAVE_BND1): Likewise.
1689 (REGISTER_SAVE_BND2): Likewise.
1690 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1691 bound registers when calling _dl_fixup.
1693 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1695 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1696 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1698 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1699 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1700 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1701 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1702 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1703 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1704 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1706 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1709 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1710 pathconf(_PC_NAME_MAX).
1712 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1716 (__PTHREAD_SPINS): Move definition to ...
1717 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1718 (__PTHREAD_SPINS): ... here.
1719 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1720 (__PTHREAD_SPIN): Likewise.
1721 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1722 (__PTHREAD_SPIN): Likewise.
1723 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1724 (__PTHREAD_SPIN): Likewise.
1725 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1726 (__PTHREAD_SPIN): Likewise.
1727 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1728 (__PTHREAD_SPIN): Likewise.
1729 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1730 (__PTHREAD_SPIN): Likewise.
1731 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1732 (__PTHREAD_SPIN): Likewise.
1733 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1734 (__PTHREAD_SPIN): Likewise.
1735 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1736 (__PTHREAD_SPIN): Likewise.
1737 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1738 (__PTHREAD_SPIN): Likewise.
1739 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1740 (__PTHREAD_SPIN): Likewise.
1741 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1742 (__PTHREAD_SPIN): Likewise.
1744 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1745 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1746 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1747 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1749 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1750 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1751 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1752 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1754 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1755 strlen symbol for non multi-arch builds.
1756 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1757 missing hidden_def and weak_alias.
1759 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1761 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1763 2014-04-07 Will Newton <will.newton@linaro.org>
1765 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1766 and contents. [!_LIBC] Remove #ifndef and contents.
1767 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1768 * string/memccpy.c (__memccpy): Use ANSI prototype.
1769 * string/memfrob.c (memfrob): Likewise.
1770 * string/strcoll.c (STRCOLL): Likewise.
1771 * string/strlen.c (strlen): Likewise.
1772 * string/strtok.c (STRTOK): Likewise.
1773 * string/strcat.c: Remove unused #include of memcopy.h.
1774 (strcat): Use ANSI prototype.
1775 * string/strchr.c: Remove unused #include of memcopy.h.
1776 (strchr): Use ANSI prototype.
1777 * string/strcmp.c: Remove unused #include of memcopy.h.
1778 (strcmp): Use ANSI prototype.
1779 * string/strcpy.c: Remove unused #include of memcopy.h.
1780 (strcpy): Use ANSI prototype.
1782 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1784 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1785 * config.make.in (config-extra-cppflags): Set it from
1786 libc_extra_cppflags.
1787 * configure.ac (libc_extra_cflags): Make it accumulate over
1788 configure fragments.
1789 (libc_extra_cppflags): New flag.
1790 * configure. Regenerate.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1792 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1793 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1797 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1798 result for FE_DOWNWARD rounding mode.
1799 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1803 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1805 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1806 in function argument name.
1808 2014-04-03 David Svoboda <svoboda@cert.org>
1811 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1814 2014-04-03 Roland McGrath <roland@hack.frob.com>
1816 * elf/dl-unmap-segments.h: New file.
1817 * sysdeps/generic/ldsodefs.h
1818 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1819 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1820 * elf/dl-fptr.c: Likewise.
1821 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1822 * sysdeps/aarch64/tlsdesc.c: Likewise.
1823 * sysdeps/arm/tlsdesc.c: Likewise.
1824 * sysdeps/i386/tlsdesc.c: Likewise.
1825 * sysdeps/tile/dl-runtime.c: Likewise.
1826 * sysdeps/x86_64/tlsdesc.c: Likewise.
1827 * elf/dl-load.h: New file.
1828 * elf/dl-load.c: Include it.
1829 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1830 Macros moved to dl-load.h.
1831 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1832 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1833 Use _dl_unmap_segments in place of __munmap.
1834 Break out segment-mapping loop into ...
1835 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1837 2014-04-03 Will Newton <will.newton@linaro.org>
1839 * elf/dl-lookup.c (do_lookup_x): Remove comment
1840 referring to nested function and move variable
1841 declarations down to before first use.
1843 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1847 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1849 * math/s_catanf.c (__catanf): Likewise.
1850 * math/s_catanh.c (__catanh): Likewise.
1851 * math/s_catanhf.c (__catanhf): Likewise.
1852 * math/s_catanhl.c (__catanhl): Likewise.
1853 * math/s_catanl.c (__catanl): Likewise.
1854 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1855 by positive zero when computing -Inf result.
1856 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1857 (catanh_test): Likewise.
1858 * sysdeps/i386/fpu/libm-test-ulps: Update.
1859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1862 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1863 instead of using underflowing value in computing result.
1864 * math/s_clog10.c (__clog10): Likewise.
1865 * math/s_clog10f.c (__clog10f): Likewise.
1866 * math/s_clog10l.c (__clog10l): Likewise.
1867 * math/s_clogf.c (__clogf): Likewise.
1868 * math/s_clogl.c (__clogl): Likewise.
1869 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1870 (clog10_test): Likewise.
1871 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1874 2014-04-02 Alan Modra <amodra@gmail.com>
1877 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1878 output when value is near a power of two. Use int64_t for lx and
1879 remove casts. Use decimal rather than hex exponent constants.
1880 Don't use long double multiplication when double will suffice.
1881 * math/libm-test.inc (nextafter_test_data): Add tests.
1882 * NEWS: Add 16739 and 16786 to bug list.
1884 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1886 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1888 2014-04-01 Will Newton <will.newton@linaro.org>
1890 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1891 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1893 2014-04-01 Florian Weimer <fweimer@redhat.com>
1896 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1897 * nptl/tst-setuid2.c: New file.
1898 * nptl/Makefile (xtests): Add tst-setuid2.
1900 2014-04-01 Alan Modra <amodra@gmail.com>
1903 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1905 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1909 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1910 set errno as appropriate.
1911 * math/w_scalbf.c (__scalbf): Likewise.
1912 * math/w_scalbl.c (__scalbl): Likewise.
1913 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1914 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1915 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1919 * math/w_atan2.c: Include <errno.h>.
1920 (__atan2): Set errno for result underflowing to zero.
1921 * math/w_atan2f.c: Include <errno.h>.
1922 (__atan2f): Set errno for result underflowing to zero.
1923 * math/w_atan2l.c: Include <errno.h>.
1924 (__atan2l): Set errno for result underflowing to zero.
1925 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1927 * math/auto-libm-test-out: Regenerated.
1929 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1931 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1932 Encode instruction correctly in little endian.
1933 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1937 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1939 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1942 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1945 * sysdeps/unix/sysv/linux/kernel-features.h
1946 [__sparc__ && !__arch64__ && !__sparc_v9__]
1947 (__ASSUME_SET_ROBUST_LIST): Do not define.
1948 [__sparc__ && !__arch64__ && !__sparc_v9__]
1949 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1950 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1953 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1954 (__ASSUME_REQUEUE_PI): Likewise.
1955 (__ASSUME_SET_ROBUST_LIST): Likewise.
1956 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1957 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1959 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1960 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1962 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1964 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1966 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1967 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1969 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1970 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1974 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1975 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1976 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1978 2014-03-31 Will Newton <will.newton@linaro.org>
1980 * benchtests/Makefile (bench): Add ffs and ffsll to list
1982 * benchtests/ffs-inputs: New file.
1983 * benchtests/ffsll-inputs: Likewise.
1985 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1988 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1989 too large before casting to int.
1990 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1991 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1992 * math/libm-test.inc (scalb_test_data): Add more tests.
1994 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1996 * benchtests/Makefile (DETAILED_OPT): New make option.
1997 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1999 * benchtests/bench-skeleton.c: Include stdbool.h.
2000 (main): Store and print timings per input.
2001 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2002 member to each argument value.
2003 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2004 (_print_arg_data): Initialize per-input timing to 0.
2006 * benchtests/Makefile (timing-type): New binary.
2007 (bench-clean): Also remove bench-timing-type.
2008 (bench): New target for timing-type.
2009 (bench-func): Print output in JSON format.
2010 * benchtests/bench-skeleton.c (main): Print output in JSON
2012 * benchtests/bench-timing-type.c: New file.
2013 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2014 (TIMING_PRINT_STATS): Remove.
2015 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2018 * benchtests/bench-modf.c: Remove.
2019 * benchtests/modf-inputs: New inputs file.
2021 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2024 * math/s_clog10.c (M_PI_LOG10E): New macro.
2025 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2026 imaginary parts are 0.
2027 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2028 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2029 imaginary parts are 0.
2030 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2031 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2032 imaginary parts are 0.
2033 * math/libm-test.inc (clog10_test_data): Update expected results
2034 for when real and imaginary parts are 0.
2036 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2038 * elf/dl-load.c: Finish conversion of __builtin_expect into
2041 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2044 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2045 1+x for argument with exponent below -67.
2046 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2048 * math/auto-libm-test-in: Add more tests of exp.
2049 * math/auto-libm-test-out: Regenerated.
2051 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2054 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2055 (nscd_getnetgrent): Use it.
2058 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2061 2014-03-27 Andi Kleen <ak@linux.intel.com>
2063 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2064 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2065 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2066 (lll_robust_unlock): Remove out of line section. Use cfi
2068 (LLL_STUB_UNWIND_INFO*): Remove.
2069 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2070 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2071 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2072 (lll_robust_unlock): Remove out of line section. Use cfi
2074 (LLL_STUB_UNWIND_INFO*): Remove.
2076 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2079 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2082 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2084 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2086 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2089 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2091 * math/test-fenv-preserve.c: New file.
2092 * math/Makefile (tests): Add test-fenv-preserve.
2094 2014-03-26 Will Newton <will.newton@linaro.org>
2096 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2098 2014-03-25 Roland McGrath <roland@hack.frob.com>
2100 * scripts/versionlist.awk: Partition the version sets and emit all
2101 GLIBC_* (sorted) before all others (sorted).
2103 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2105 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2106 GLIBC_2.2.5 version.
2108 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2110 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2113 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2118 2014-03-25 Andreas Schwab <schwab@suse.de>
2120 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2121 label to be used after in6ailist is initialized.
2123 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2125 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2126 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2128 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2132 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2134 (fp_formats): Update initializers.
2135 (init_fp_formats): Initialize new field.
2136 (output_for_one_input_case): Allow underflow for results up to
2138 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2139 * math/auto-libm-test-in: Don't mark some underflows from asin and
2141 * math/auto-libm-test-out: Regenerated.
2142 * sysdeps/i386/fpu/libm-test-ulps: Update.
2143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2145 2014-03-25 Andreas Schwab <schwab@suse.de>
2147 * libio/Makefile (tst-ftell-partial-wide-ENV)
2148 (tst-ftell-active-handler-ENV): Define.
2150 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2152 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2154 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2156 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2158 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2160 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2161 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2162 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2164 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2167 * elf/dl-load.c (open_verify): Add mode parameter.
2168 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2169 (open_path): Change from boolean 'secure' to complete flag 'mode'
2170 (_dl_map_object): Adjust.
2171 * elf/Makefile (tests): Add tst-dlopen-aout.
2172 * elf/tst-dlopen-aout.c: New test.
2174 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2177 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2178 (struct stat): Rename member pad0 to __glibc_reserved0.
2181 * sysdeps/s390/s390-32/bits/wordsize.h
2182 (__WORDSIZE32_SIZE_ULONG): New define.
2183 * sysdeps/s390/s390-64/bits/wordsize.h
2184 (__WORDSIZE32_SIZE_ULONG): Likewise.
2185 * sysdeps/generic/stdint.h (SIZE_MAX):
2186 Define as UL if __WORDSIZE32_SIZE_ULONG.
2189 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2190 (__glibc_reserved0): New variable.
2191 (sa_flags): Change type to int.
2193 * posix/Makefile (before-compile): Use += before-compile instead
2196 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2197 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2199 2014-03-20 Andreas Schwab <schwab@suse.de>
2202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2203 non-matching result from nscd.
2205 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2207 * scripts/bench.py: Moved to ...
2208 * benchtests/scripts/bench.py: ... here.
2209 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2211 2014-03-24 Andreas Schwab <schwab@suse.de>
2214 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2215 alloca_account and account alloca use for struct in6ailist.
2217 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2220 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2221 rounding mode to recompute results that overflow to infinity or
2223 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2225 * math/auto-libm-test-out: Regenerated.
2226 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2227 (ccosh_test): Likewise.
2228 (csin_test_data): Use plus_oflow.
2229 (csin_test): Use ALL_RM_TEST.
2230 (csinh_test_data): Use plus_oflow.
2231 (csinh_test): Use ALL_RM_TEST.
2232 * sysdeps/i386/fpu/libm-test-ulps: Update.
2233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2235 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2237 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2238 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2239 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2242 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2244 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2245 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2246 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2247 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2249 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2250 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2252 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2253 * sysdeps/i386/fpu/libm-test-ulps: Update.
2254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2256 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2258 * scripts/bench.pl: Remove file.
2259 * scripts/bench.py: New benchmark script.
2260 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2261 * benchtests/README: Mention python dependency.
2262 * scripts/pylintrc: New file.
2263 * scripts/pylint: New file.
2265 * bits/mathdef.h: Use #ifdef instead of #if.
2266 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2267 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2268 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2269 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2270 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2271 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2273 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2274 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2276 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2278 and strpbrk-ppc64 objects.
2279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2280 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2281 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2282 multiarch strpbrk for POWER7.
2283 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2284 multiarch strpbrk for PPC64.
2285 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2287 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2290 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2292 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2293 (atan_test): Likewise.
2294 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2295 (atanh_test): Use ALL_RM_TEST.
2296 (atan2_test_data): Likewise.
2297 (cabs_test): Likewise.
2298 (cacosh_test): Likewise.
2299 (carg_test): Likewise.
2300 (casin_test): Likewise.
2301 (casinh_test): Likewise.
2302 (cbrt_test): Likewise.
2303 (csqrt_test): Likewise.
2304 (erf_test): Likewise.
2305 (erfc_test): Likewise.
2306 (pow10_test): Likewise.
2307 (exp2_test): Likewise.
2308 (hypot_test): Likewise.
2309 (j0_test): Likewise.
2310 (j1_test): Likewise.
2311 (lgamma_test): Likewise.
2312 (gamma_test): Likewise.
2313 (sincos_test): Likewise.
2314 (tanh_test): Likewise.
2315 (y0_test): Likewise.
2316 (y1_test): Likewise.
2317 * sysdeps/i386/fpu/libm-test-ulps: Update.
2318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2320 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2324 and strcspn-ppc64 objects.
2325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2326 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2327 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2328 multiarch strcspn for POWER7.
2329 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2330 multiarch strcspn for PPC64.
2331 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2333 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2336 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2338 * math/gen-libm-test.pl (generate_testfile): Expect only function
2339 name as argument to AUTO_TESTS_* and pass results for all rounding
2340 modes to parse_args.
2341 (parse_auto_input): Separate inputs of automatic tests from
2342 outputs before storing in %auto_tests.
2343 * math/libm-test.inc (acos_test_data): Update call to
2345 (acos_test): Use ALL_RM_TEST.
2346 (acos_tonearest_test_data): Remove.
2347 (acos_test_tonearest): Likewise.
2348 (acos_towardzero_test_data): Likewise.
2349 (acos_test_towardzero): Likewise.
2350 (acos_downward_test_data): Likewise.
2351 (acos_test_downward): Likewise.
2352 (acos_upward_test_data): Likewise.
2353 (acos_test_upward): Likewise.
2354 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2355 (asin_test_data): Likewise.
2356 (asin_test): Use ALL_RM_TEST.
2357 (asin_tonearest_test_data): Remove.
2358 (asin_test_tonearest): Likewise.
2359 (asin_towardzero_test_data): Likewise.
2360 (asin_test_towardzero): Likewise.
2361 (asin_downward_test_data): Likewise.
2362 (asin_test_downward): Likewise.
2363 (asin_upward_test_data): Likewise.
2364 (asin_test_upward): Likewise.
2365 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2366 (atan_test_data): Likewise.
2367 (atanh_test_data): Likewise.
2368 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2369 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2370 (carg_test_data): Likewise.
2371 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2372 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2373 (ccosh_test_data): Likewise.
2374 (cexp_test_data): Likewise.
2375 (clog_test_data): Likewise.
2376 (clog10_test_data): Likewise.
2377 (cos_test_data): Update call to AUTO_TESTS_f_f.
2378 (cos_test): Use ALL_RM_TEST.
2379 (cos_tonearest_test_data): Remove.
2380 (cos_test_tonearest): Likewise.
2381 (cos_towardzero_test_data): Likewise.
2382 (cos_test_towardzero): Likewise.
2383 (cos_downward_test_data): Likewise.
2384 (cos_test_downward): Likewise.
2385 (cos_upward_test_data): Likewise.
2386 (cos_test_upward): Likewise.
2387 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2388 (cosh_test): Use ALL_RM_TEST.
2389 (cosh_tonearest_test_data): Remove.
2390 (cosh_test_tonearest): Likewise.
2391 (cosh_towardzero_test_data): Likewise.
2392 (cosh_test_towardzero): Likewise.
2393 (cosh_downward_test_data): Likewise.
2394 (cosh_test_downward): Likewise.
2395 (cosh_upward_test_data): Likewise.
2396 (cosh_test_upward): Likewise.
2397 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2398 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2399 (ctan_test_data): Likewise.
2400 (ctan_test): Use ALL_RM_TEST.
2401 (ctan_tonearest_test_data): Remove.
2402 (ctan_test_tonearest): Likewise.
2403 (ctan_towardzero_test_data): Likewise.
2404 (ctan_test_towardzero): Likewise.
2405 (ctan_downward_test_data): Likewise.
2406 (ctan_test_downward): Likewise.
2407 (ctan_upward_test_data): Likewise.
2408 (ctan_test_upward): Likewise.
2409 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2410 (ctanh_test): Use ALL_RM_TEST.
2411 (ctanh_tonearest_test_data): Remove.
2412 (ctanh_test_tonearest): Likewise.
2413 (ctanh_towardzero_test_data): Likewise.
2414 (ctanh_test_towardzero): Likewise.
2415 (ctanh_downward_test_data): Likewise.
2416 (ctanh_test_downward): Likewise.
2417 (ctanh_upward_test_data): Likewise.
2418 (ctanh_test_upward): Likewise.
2419 (erf_test_data): Update call to AUTO_TESTS_f_f.
2420 (erfc_test_data): Likewise.
2421 (exp_test_data): Likewise.
2422 (exp_test): Use ALL_RM_TEST.
2423 (exp_tonearest_test_data): Remove.
2424 (exp_test_tonearest): Likewise.
2425 (exp_towardzero_test_data): Likewise.
2426 (exp_test_towardzero): Likewise.
2427 (exp_downward_test_data): Likewise.
2428 (exp_test_downward): Likewise.
2429 (exp_upward_test_data): Likewise.
2430 (exp_test_upward): Likewise.
2431 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2432 (exp10_test): Use ALL_RM_TEST.
2433 (exp10_tonearest_test_data): Remove.
2434 (exp10_test_tonearest): Likewise.
2435 (exp10_towardzero_test_data): Likewise.
2436 (exp10_test_towardzero): Likewise.
2437 (exp10_downward_test_data): Likewise.
2438 (exp10_test_downward): Likewise.
2439 (exp10_upward_test_data): Likewise.
2440 (exp10_test_upward): Likewise.
2441 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2442 (expm1_test_data): Likewise.
2443 (expm1_test): Use ALL_RM_TEST.
2444 (expm1_tonearest_test_data): Remove.
2445 (expm1_test_tonearest): Likewise.
2446 (expm1_towardzero_test_data): Likewise.
2447 (expm1_test_towardzero): Likewise.
2448 (expm1_downward_test_data): Likewise.
2449 (expm1_test_downward): Likewise.
2450 (expm1_upward_test_data): Likewise.
2451 (expm1_test_upward): Likewise.
2452 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2453 (fma_test): Use ALL_RM_TEST.
2454 (fma_towardzero_test_data): Remove.
2455 (fma_test_towardzero): Likewise.
2456 (fma_downward_test_data): Likewise.
2457 (fma_test_downward): Likewise.
2458 (fma_upward_test_data): Likewise.
2459 (fma_test_upward): Likewise.
2460 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2461 (j0_test_data): Update call to AUTO_TESTS_f_f.
2462 (j1_test_data): Likewise.
2463 (jn_test_data): Update call to AUTO_TESTS_if_f.
2464 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2465 (log_test_data): Update call to AUTO_TESTS_f_f.
2466 (log10_test_data): Likewise.
2467 (log1p_test_data): Likewise.
2468 (log2_test_data): Likewise.
2469 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2470 (pow_tonearest_test_data): Likewise.
2471 (sin_test_data): Update call to AUTO_TESTS_f_f.
2472 (sin_test): Use ALL_RM_TEST.
2473 (sin_tonearest_test_data): Remove.
2474 (sin_test_tonearest): Likewise.
2475 (sin_towardzero_test_data): Likewise.
2476 (sin_test_towardzero): Likewise.
2477 (sin_downward_test_data): Likewise.
2478 (sin_test_downward): Likewise.
2479 (sin_upward_test_data): Likewise.
2480 (sin_test_upward): Likewise.
2481 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2482 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2483 (sinh_test): Use ALL_RM_TEST.
2484 (sinh_tonearest_test_data): Remove.
2485 (sinh_test_tonearest): Likewise.
2486 (sinh_towardzero_test_data): Likewise.
2487 (sinh_test_towardzero): Likewise.
2488 (sinh_downward_test_data): Likewise.
2489 (sinh_test_downward): Likewise.
2490 (sinh_upward_test_data): Likewise.
2491 (sinh_test_upward): Likewise.
2492 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2493 (sqrt_test): Use ALL_RM_TEST.
2494 (sqrt_tonearest_test_data): Remove.
2495 (sqrt_test_tonearest): Likewise.
2496 (sqrt_towardzero_test_data): Likewise.
2497 (sqrt_test_towardzero): Likewise.
2498 (sqrt_downward_test_data): Likewise.
2499 (sqrt_test_downward): Likewise.
2500 (sqrt_upward_test_data): Likewise.
2501 (sqrt_test_upward): Likewise.
2502 (tan_test_data): Update call to AUTO_TESTS_f_f.
2503 (tan_test): Use ALL_RM_TEST.
2504 (tan_tonearest_test_data): Remove.
2505 (tan_test_tonearest): Likewise.
2506 (tan_towardzero_test_data): Likewise.
2507 (tan_test_towardzero): Likewise.
2508 (tan_downward_test_data): Likewise.
2509 (tan_test_downward): Likewise.
2510 (tan_upward_test_data): Likewise.
2511 (tan_test_upward): Likewise.
2512 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2513 (tgamma_test_data): Likewise.
2514 (y0_test_data): Likewise.
2515 (y1_test_data): Likewise.
2516 (yn_test_data): Update call to AUTO_TESTS_if_f.
2517 (main): Do not call removed functions.
2519 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2521 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2522 (ldexp_test_data): Remove.
2523 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2525 (scalb_test): Use ALL_RM_TEST.
2527 2014-03-19 Andreas Schwab <schwab@suse.de>
2529 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2531 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2534 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2535 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2536 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2537 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2538 (__ASSUME_PREADV): Undefine.
2539 (__ASSUME_PWRITEV): Likewise.
2541 2014-03-18 Roland McGrath <roland@hack.frob.com>
2543 * bits/mman-linux.h: Add comment about non-Linux use.
2544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2545 bits/mman-linux.h resting place.
2547 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2548 * bits/mman-linux.h: ... here.
2550 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2552 * conform/conformtest.pl: Add standard definition when calling C
2553 preprocessor on data files.
2554 (checknamespace): Remove unused variable.
2556 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2558 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2559 minus_oflow, plus_uflow and minus_uflow in expected results.
2560 * math/libm-test.inc (scalbn_test_data): Add more tests of
2561 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2563 (scalbn_test): Use ALL_RM_TEST.
2564 (scalbln_test_data): Add more tests of negative arguments. Use
2565 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2566 (scalbln_test): Use ALL_RM_TEST.
2568 2014-03-18 Roland McGrath <roland@hack.frob.com>
2570 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2572 2014-03-18 Will Newton <will.newton@linaro.org>
2574 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2577 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2579 * Makerules [!subdir] (check-abi): Exit with error status if a
2582 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2584 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2585 for rint. Include results for all rounding modes.
2586 (nearbyint_test): Use ALL_RM_TEST.
2587 (rint_test_data): Include all tests used for nearbyint.
2589 2014-03-17 Will Newton <will.newton@linaro.org>
2591 * nptl/sysdeps/pthread/pthread.h: Revert previous
2594 * sysdeps/generic/ldsodefs.h: Revert previous
2597 * libio/genops.c: Revert previous change.
2598 * libio/libioP.h: Likewise.
2599 * stdio-common/vfprintf.c: Likewise.
2601 * sysdeps/generic/math_private.h: Revert previous
2604 * sysdeps/generic/math_private.h: Check whether
2605 HAVE_RM_CTX is defined with #ifdef rather
2608 * argp/argp-fmtstream.h: Check whether
2609 __STRICT_ANSI__ is defined with #ifdef rather
2611 * argp/argp.h: Likewise.
2613 * libio/genops.c: Check whether
2614 _IO_JUMPS_OFFSET is defined with #ifdef rather
2616 * libio/libioP.h: Likewise.
2617 * stdio-common/vfprintf.c: Likewise.
2619 * sysdeps/generic/ldsodefs.h: Check whether
2620 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2623 * nptl/sysdeps/pthread/pthread.h: Check
2624 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2627 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2629 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2631 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2635 * libio/fileops.c (_IO_file_open): Seek to end of file but
2636 don't cache the offset.
2637 (get_file_offset): Remove function.
2638 (do_ftell): Use cached offset when available.
2639 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2640 don't cache the offset.
2641 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2643 (do_one_test): Call it.
2644 (do_ftell_test): Fix up expected old offset for a+ mode.
2645 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2648 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2649 up test status with function return status.
2650 (do_write_test): Likewise.
2651 (do_append_test): Likewise.
2653 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2654 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2657 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2659 * math/gen-libm-test.pl (parse_args): Handle results specified for
2660 each rounding mode separately.
2661 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2662 tests and results from lrint_tonearest_test_data,
2663 lrint_towardzero_test_data, lrint_downward_test_data and
2664 lrint_upward_test_data.
2665 (lrint_test): Use ALL_RM_TEST.
2666 (lrint_tonearest_test_data): Remove.
2667 (lrint_test_tonearest): Likewise.
2668 (lrint_towardzero_test_data): Likewise.
2669 (lrint_test_towardzero): Likewise.
2670 (lrint_downward_test_data): Likewise.
2671 (lrint_test_downward): Likewise.
2672 (lrint_upward_test_data): Likewise.
2673 (lrint_test_upward): Likewise.
2674 (llrint_test_data): Merge in per-rounding-mode tests and results
2675 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2676 llrint_downward_test_data and llrint_upward_test_data.
2677 (llrint_test): Use ALL_RM_TEST.
2678 (llrint_tonearest_test_data): Remove.
2679 (llrint_test_tonearest): Likewise.
2680 (llrint_towardzero_test_data): Likewise.
2681 (llrint_test_towardzero): Likewise.
2682 (llrint_downward_test_data): Likewise.
2683 (llrint_test_downward): Likewise.
2684 (llrint_upward_test_data): Likewise.
2685 (llrint_test_upward): Likewise.
2686 (rint_test_data): Merge in per-rounding-mode tests and results
2687 from rint_tonearest_test_data, rint_towardzero_test_data,
2688 rint_downward_test_data and rint_upward_test_data. Add
2689 per-rounding-mode results for tests not in those arrays.
2690 (rint_test): Use ALL_RM_TEST.
2691 (rint_tonearest_test_data): Remove.
2692 (rint_test_tonearest): Likewise.
2693 (rint_towardzero_test_data): Likewise.
2694 (rint_test_towardzero): Likewise.
2695 (rint_downward_test_data): Likewise.
2696 (rint_test_downward): Likewise.
2697 (rint_upward_test_data): Likewise.
2698 (rint_test_upward): Likewise.
2699 (main): Don't call removed functions.
2701 2014-03-14 Roland McGrath <roland@hack.frob.com>
2703 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2704 "Compiled on ..." crapola. It is anti-useful.
2706 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2708 * scripts/evaluate-test.sh: Handle fourth argument to determine
2709 whether test run should stop on failure.
2710 * Makeconfig (stop-on-test-failure): New variable.
2711 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2712 $(stop-on-test-failure).
2713 * Makefile (tests): Give a summary of results from testing and
2714 exit with failure status if they include an ERROR or FAIL.
2716 * manual/install.texi (Configuring and compiling): Mention
2717 stop-on-test-failure=y.
2718 * INSTALL: Regenerated.
2720 2014-03-14 Roland McGrath <roland@hack.frob.com>
2722 * scripts/versionlist.awk: New file.
2723 * Makerules [$(build-shared) = yes]
2724 (postclean-generated): Add Versions.def, not Versions.def.v and
2726 ($(common-objpfx)Versions.def.v.i): Target removed.
2727 ($(common-objpfx)Versions.def): New target.
2728 ($(common-objpfx)Versions.all): Depend on that rather that
2729 $(common-objpfx)Versions.def.v.
2730 * Versions.def: File removed.
2732 * Makeconfig (+gccwarn): Add -Wundef.
2733 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2734 a dl-sysdep.h breaking its contract.
2735 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2736 * include/stackinfo.h: New file.
2737 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2738 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2739 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2740 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2741 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2742 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2743 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2744 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2745 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2746 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2747 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2748 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2749 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2750 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2751 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2753 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2756 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2758 * math/libm-test.inc (round_test_data): Add more tests.
2761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2763 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2766 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2768 * math/libm-test.inc (ceil_test_data): Add more tests.
2770 * math/libm-test.inc (trunc_test_data): Add more tests related to
2773 2014-03-14 Roland McGrath <roland@hack.frob.com>
2775 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2776 with #if rather than #ifdef.
2777 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2779 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2781 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2782 first. Disable AVX-512 GCC support if assembler doesn't support
2784 * sysdeps/x86_64/configure: Regenerated.
2786 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2788 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2789 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2790 (__old_pthread_attr_setstack): Likewise.
2791 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2792 [!_STACK_GROWS_DOWN]: Likewise.
2794 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2796 * config.make.in (have-bash2): Delete.
2797 * configure.ac (libc_cv_have_bash2): Delete.
2798 * configure: Regenerate.
2799 * elf/Makefile (common-ldd-rewrite): Rename to ...
2800 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2801 (sh-ldd-rewrite): Delete.
2802 (bash-ldd-rewrite): Delete.
2803 (have-bash2): Delete checks.
2804 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2807 * config.make.in (have-ksh): Delete.
2809 * configure.ac (libc_cv_have_ksh): Delete.
2810 * configure: Regenerate.
2812 * elf/Makefile: Delete $(have-ksh) check.
2813 ($(objpfx)sotruss): Change KSH to BASH.
2814 * elf/sotruss.ksh: Rename to ...
2815 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2816 function style to match POSIX. Drop ksh vim mode setting.
2818 * manual/time.texi (Specifying the Time Zone with TZ): Change
2819 Tuesday to Thursday.
2821 * debug/tst-longjmp_chk2.c: Update header comment.
2822 (stackoverflow_handler): Add comment. Call assert on pass value.
2824 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2826 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2827 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2828 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2829 (La_x86_64_vector): Add zmm.
2830 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2831 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2832 ($(objpfx)tst-audit10): New target.
2833 ($(objpfx)tst-audit10.out): Likewise.
2834 (tst-audit10-ENV): New.
2835 (AVX512-CFLAGS): Likewise.
2836 (CFLAGS-tst-audit10.c): Likewise.
2837 (CFLAGS-tst-auditmod10a.c): Likewise.
2838 (CFLAGS-tst-auditmod10b.c): Likewise.
2839 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2840 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2841 * sysdeps/x86_64/configure: Regenerated.
2842 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2843 AVX-512 zmm register support.
2844 (_dl_x86_64_save_sse): Likewise.
2845 (_dl_x86_64_restore_sse): Likewise.
2846 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2847 size vector registers.
2848 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2849 (ZMM_SIZE): Likewise.
2850 * sysdeps/x86_64/tst-audit10.c: New file.
2851 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2852 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2854 2014-03-13 Roland McGrath <roland@hack.frob.com>
2856 * configure.ac (HAVE_EHDR_START): New check.
2857 * configure: Regenerated.
2858 * config.h.in (HAVE_EHDR_START): New #undef.
2859 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2860 assuming the lowest-addressed segment maps the start of the file.
2862 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2864 * INSTALL: Regenerated.
2866 2014-03-13 Will Newton <will.newton@linaro.org>
2868 * manual/setjmp.texi (System V contexts): Improve
2869 clarity and grammar of documentation.
2871 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2874 * elf/Makefile (tests): Add tst-pie2.
2875 (tests-pie): Add tst-pie2.
2876 * elf/tst-pie2.c: New file.
2877 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2879 * elf/rtld.c (map_doit): Load executable as lt_executable.
2880 (dl_main): Likewise.
2882 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2885 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2886 (__ASSUME_PSELECT): Undefine.
2888 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2891 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2892 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2894 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2895 selector for static builds.
2897 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2900 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2903 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2906 IFUNC selector for static builds.
2908 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2910 * sysdeps/mips/math_private.h [__mips_hard_float]
2911 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2912 libc_feresetround_mips_ctx.
2913 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2914 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2915 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2918 * math/s_nextafter.c (__nextafter): Do not return value from
2919 overflowing computation.
2920 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2921 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2922 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2924 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2926 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2927 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2929 2014-03-11 Roland McGrath <roland@hack.frob.com>
2931 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2932 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2933 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2934 the new mov targetting sp.
2936 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2940 Define it for static builds as well.
2941 (NO_BZERO_IMPL): Likewise.
2943 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2945 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2946 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2947 multiarch strspn for PPC64.
2948 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2949 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2951 (__libc_ifunc_impl_list): Likewise.
2952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2953 multiarch optimizations
2954 * string/strspn.c (strspn): Using macro to redefine symbol name.
2956 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2957 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2960 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2961 multiarch strncat for PPC64.
2962 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2963 * sysdeps/powerpc/powerpc64/multiarch/strncat-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 strncat
2967 multiarch optimizations
2969 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2972 * nscd/nscd.service: Make service type forking.
2974 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2976 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2977 sign in non default rounding modes.
2978 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2980 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2982 * math/libm-test.inc (ALL_RM_TEST): New macro.
2983 (ceil_test): Use ALL_RM_TEST.
2984 (cimag_test): Likewise.
2985 (conj_test): Likewise.
2986 (copysign_test): Likewise.
2987 (cproj_test): Likewise.
2988 (creal_test): Likewise.
2989 (fabs_test): Likewise.
2990 (floor_test): Likewise.
2991 (fmax_test): Likewise.
2992 (fmin_test): Likewise.
2993 (fmod_test): Likewise.
2994 (fpclassify_test): Likewise.
2995 (frexp_test): Likewise.
2996 (ilogb_test): Likewise.
2997 (isfinite_test): Likewise.
2998 (finite_test): Likewise.
2999 (isgreater_test): Likewise.
3000 (isgreaterequal_test): Likewise.
3001 (isinf_test): Likewise.
3002 (isless_test): Likewise.
3003 (islessequal_test): Likewise.
3004 (islessgreater_test): Likewise.
3005 (isnan_test): Likewise.
3006 (isnormal_test): Likewise.
3007 (issignaling_test): Likewise.
3008 (isunordered_test): Likewise.
3009 (logb_test): Likewise.
3010 (logb_downward_test_data): Remove.
3011 (logb_test_downward): Likewise.
3012 (lround_test): Use ALL_RM_TEST.
3013 (llround_test): Likewise.
3014 (modf_test): Likewise.
3015 (nexttoward_test): Likewise.
3016 (remainder_test): Likewise.
3017 (drem_test): Likewise.
3018 (remainder_tonearest_test_data): Likewise.
3019 (remainder_test_tonearest): Likewise.
3020 (drem_test_tonearest): Likewise.
3021 (remainder_towardzero_test_data): Likewise.
3022 (remainder_test_towardzero): Likewise.
3023 (drem_test_towardzero): Likewise.
3024 (remainder_downward_test_data): Likewise.
3025 (remainder_test_downward): Likewise.
3026 (drem_test_downward): Likewise.
3027 (remainder_upward_test_data): Likewise.
3028 (remainder_test_upward): Likewise.
3029 (drem_test_upward): Likewise.
3030 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3031 (round_test): Use ALL_RM_TEST.
3032 (signbit_test): Likewise.
3033 (trunc_test): Likewise.
3034 (significand_test): Likewise.
3035 (main): Don't call removed functions.
3037 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3040 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3042 (ILL_ILLOPN): Likewise.
3043 (ILL_ILLADR): Likewise.
3044 (ILL_ILLTRP): Likewise.
3045 (ILL_PRVOPC): Likewise.
3046 (ILL_PRVREG): Likewise.
3047 (ILL_COPROC): Likewise.
3048 (ILL_BADSTK): Likewise.
3049 (FPE_INTDIV): Likewise.
3050 (FPE_INTOVF): Likewise.
3051 (FPE_FLTDIV): Likewise.
3052 (FPE_FLTOVF): Likewise.
3053 (FPE_FLTUND): Likewise.
3054 (FPE_FLTRES): Likewise.
3055 (FPE_FLTINV): Likewise.
3056 (FPE_FLTSUB): Likewise.
3057 (SEGV_MAPERR): Likewise.
3058 (SEGV_ACCERR): Likewise.
3059 (BUS_ADRALN): Likewise.
3060 (BUS_ADRERR): Likewise.
3061 (BUS_OBJERR): Likewise.
3062 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3063 (TRAP_TRACE): Likewise.
3064 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3066 (CLD_KILLED): Likewise.
3067 (CLD_DUMPED): Likewise.
3068 (CLD_TRAPPED): Likewise.
3069 (CLD_STOPPED): Likewise.
3070 (CLD_CONTINUED): Likewise.
3071 (POLL_IN): Likewise.
3072 (POLL_OUT): Likewise.
3073 (POLL_MSG): Likewise.
3074 (POLL_ERR): Likewise.
3075 (POLL_PRI): Likewise.
3076 (POLL_HUP): Likewise.
3077 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3079 (ILL_ILLOPN): Likewise.
3080 (ILL_ILLADR): Likewise.
3081 (ILL_ILLTRP): Likewise.
3082 (ILL_PRVOPC): Likewise.
3083 (ILL_PRVREG): Likewise.
3084 (ILL_COPROC): Likewise.
3085 (ILL_BADSTK): Likewise.
3086 (FPE_INTDIV): Likewise.
3087 (FPE_INTOVF): Likewise.
3088 (FPE_FLTDIV): Likewise.
3089 (FPE_FLTOVF): Likewise.
3090 (FPE_FLTUND): Likewise.
3091 (FPE_FLTRES): Likewise.
3092 (FPE_FLTINV): Likewise.
3093 (FPE_FLTSUB): Likewise.
3094 (SEGV_MAPERR): Likewise.
3095 (SEGV_ACCERR): Likewise.
3096 (BUS_ADRALN): Likewise.
3097 (BUS_ADRERR): Likewise.
3098 (BUS_OBJERR): Likewise.
3099 (BUS_MCEERR_AR): Likewise.
3100 (BUS_MCEERR_AO): Likewise.
3101 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3102 (TRAP_TRACE): Likewise.
3103 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3105 (CLD_KILLED): Likewise.
3106 (CLD_DUMPED): Likewise.
3107 (CLD_TRAPPED): Likewise.
3108 (CLD_STOPPED): Likewise.
3109 (CLD_CONTINUED): Likewise.
3110 (POLL_IN): Likewise.
3111 (POLL_OUT): Likewise.
3112 (POLL_MSG): Likewise.
3113 (POLL_ERR): Likewise.
3114 (POLL_PRI): Likewise.
3115 (POLL_HUP): Likewise.
3116 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3117 (ILL_ILLOPN): Likewise.
3118 (ILL_ILLADR): Likewise.
3119 (ILL_ILLTRP): Likewise.
3120 (ILL_PRVOPC): Likewise.
3121 (ILL_PRVREG): Likewise.
3122 (ILL_COPROC): Likewise.
3123 (ILL_BADSTK): Likewise.
3124 (FPE_INTDIV): Likewise.
3125 (FPE_INTOVF): Likewise.
3126 (FPE_FLTDIV): Likewise.
3127 (FPE_FLTOVF): Likewise.
3128 (FPE_FLTUND): Likewise.
3129 (FPE_FLTRES): Likewise.
3130 (FPE_FLTINV): Likewise.
3131 (FPE_FLTSUB): Likewise.
3132 (SEGV_MAPERR): Likewise.
3133 (SEGV_ACCERR): Likewise.
3134 (BUS_ADRALN): Likewise.
3135 (BUS_ADRERR): Likewise.
3136 (BUS_OBJERR): Likewise.
3137 (BUS_MCEERR_AR): Likewise.
3138 (BUS_MCEERR_AO): Likewise.
3139 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3140 (TRAP_TRACE): Likewise.
3141 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3143 (CLD_KILLED): Likewise.
3144 (CLD_DUMPED): Likewise.
3145 (CLD_TRAPPED): Likewise.
3146 (CLD_STOPPED): Likewise.
3147 (CLD_CONTINUED): Likewise.
3148 (POLL_IN): Likewise.
3149 (POLL_OUT): Likewise.
3150 (POLL_MSG): Likewise.
3151 (POLL_ERR): Likewise.
3152 (POLL_PRI): Likewise.
3153 (POLL_HUP): Likewise.
3154 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3156 (ILL_ILLOPN): Likewise.
3157 (ILL_ILLADR): Likewise.
3158 (ILL_ILLTRP): Likewise.
3159 (ILL_PRVOPC): Likewise.
3160 (ILL_PRVREG): Likewise.
3161 (ILL_COPROC): Likewise.
3162 (ILL_BADSTK): Likewise.
3163 (ILL_BADIADDR): Likewise.
3164 (ILL_BREAK): Likewise.
3165 (FPE_INTDIV): Likewise.
3166 (FPE_INTOVF): Likewise.
3167 (FPE_FLTDIV): Likewise.
3168 (FPE_FLTOVF): Likewise.
3169 (FPE_FLTUND): Likewise.
3170 (FPE_FLTRES): Likewise.
3171 (FPE_FLTINV): Likewise.
3172 (FPE_FLTSUB): Likewise.
3173 (FPE_DECOVF): Likewise.
3174 (FPE_DECDIV): Likewise.
3175 (FPE_DECERR): Likewise.
3176 (FPE_INVASC): Likewise.
3177 (FPE_INVDEC): Likewise.
3178 (SEGV_MAPERR): Likewise.
3179 (SEGV_ACCERR): Likewise.
3180 (SEGV_PSTKOVF): Likewise.
3181 (BUS_ADRALN): Likewise.
3182 (BUS_ADRERR): Likewise.
3183 (BUS_OBJERR): Likewise.
3184 (BUS_MCEERR_AR): Likewise.
3185 (BUS_MCEERR_AO): Likewise.
3186 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3187 (TRAP_TRACE): Likewise.
3188 (TRAP_BRANCH): Likewise.
3189 (TRAP_HWBKPT): Likewise.
3190 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3192 (CLD_KILLED): Likewise.
3193 (CLD_DUMPED): Likewise.
3194 (CLD_TRAPPED): Likewise.
3195 (CLD_STOPPED): Likewise.
3196 (CLD_CONTINUED): Likewise.
3197 (POLL_IN): Likewise.
3198 (POLL_OUT): Likewise.
3199 (POLL_MSG): Likewise.
3200 (POLL_ERR): Likewise.
3201 (POLL_PRI): Likewise.
3202 (POLL_HUP): Likewise.
3203 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3204 (ILL_ILLOPN): Likewise.
3205 (ILL_ILLADR): Likewise.
3206 (ILL_ILLTRP): Likewise.
3207 (ILL_PRVOPC): Likewise.
3208 (ILL_PRVREG): Likewise.
3209 (ILL_COPROC): Likewise.
3210 (ILL_BADSTK): Likewise.
3211 (FPE_INTDIV): Likewise.
3212 (FPE_INTOVF): Likewise.
3213 (FPE_FLTDIV): Likewise.
3214 (FPE_FLTOVF): Likewise.
3215 (FPE_FLTUND): Likewise.
3216 (FPE_FLTRES): Likewise.
3217 (FPE_FLTINV): Likewise.
3218 (FPE_FLTSUB): Likewise.
3219 (SEGV_MAPERR): Likewise.
3220 (SEGV_ACCERR): Likewise.
3221 (BUS_ADRALN): Likewise.
3222 (BUS_ADRERR): Likewise.
3223 (BUS_OBJERR): Likewise.
3224 (BUS_MCEERR_AR): Likewise.
3225 (BUS_MCEERR_AO): Likewise.
3226 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3227 (TRAP_TRACE): Likewise.
3228 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3230 (CLD_KILLED): Likewise.
3231 (CLD_DUMPED): Likewise.
3232 (CLD_TRAPPED): Likewise.
3233 (CLD_STOPPED): Likewise.
3234 (CLD_CONTINUED): Likewise.
3235 (POLL_IN): Likewise.
3236 (POLL_OUT): Likewise.
3237 (POLL_MSG): Likewise.
3238 (POLL_ERR): Likewise.
3239 (POLL_PRI): Likewise.
3240 (POLL_HUP): Likewise.
3241 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3242 (ILL_ILLOPN): Likewise.
3243 (ILL_ILLADR): Likewise.
3244 (ILL_ILLTRP): Likewise.
3245 (ILL_PRVOPC): Likewise.
3246 (ILL_PRVREG): Likewise.
3247 (ILL_COPROC): Likewise.
3248 (ILL_BADSTK): Likewise.
3249 (FPE_INTDIV): Likewise.
3250 (FPE_INTOVF): Likewise.
3251 (FPE_FLTDIV): Likewise.
3252 (FPE_FLTOVF): Likewise.
3253 (FPE_FLTUND): Likewise.
3254 (FPE_FLTRES): Likewise.
3255 (FPE_FLTINV): Likewise.
3256 (FPE_FLTSUB): Likewise.
3257 (SEGV_MAPERR): Likewise.
3258 (SEGV_ACCERR): Likewise.
3259 (BUS_ADRALN): Likewise.
3260 (BUS_ADRERR): Likewise.
3261 (BUS_OBJERR): Likewise.
3262 (BUS_MCEERR_AR): Likewise.
3263 (BUS_MCEERR_AO): Likewise.
3264 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3265 (TRAP_TRACE): Likewise.
3266 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3268 (CLD_KILLED): Likewise.
3269 (CLD_DUMPED): Likewise.
3270 (CLD_TRAPPED): Likewise.
3271 (CLD_STOPPED): Likewise.
3272 (CLD_CONTINUED): Likewise.
3273 (POLL_IN): Likewise.
3274 (POLL_OUT): Likewise.
3275 (POLL_MSG): Likewise.
3276 (POLL_ERR): Likewise.
3277 (POLL_PRI): Likewise.
3278 (POLL_HUP): Likewise.
3279 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3280 (ILL_ILLOPN): Likewise.
3281 (ILL_ILLADR): Likewise.
3282 (ILL_ILLTRP): Likewise.
3283 (ILL_PRVOPC): Likewise.
3284 (ILL_PRVREG): Likewise.
3285 (ILL_COPROC): Likewise.
3286 (ILL_BADSTK): Likewise.
3287 (FPE_INTDIV): Likewise.
3288 (FPE_INTOVF): Likewise.
3289 (FPE_FLTDIV): Likewise.
3290 (FPE_FLTOVF): Likewise.
3291 (FPE_FLTUND): Likewise.
3292 (FPE_FLTRES): Likewise.
3293 (FPE_FLTINV): Likewise.
3294 (FPE_FLTSUB): Likewise.
3295 (SEGV_MAPERR): Likewise.
3296 (SEGV_ACCERR): Likewise.
3297 (BUS_ADRALN): Likewise.
3298 (BUS_ADRERR): Likewise.
3299 (BUS_OBJERR): Likewise.
3300 (BUS_MCEERR_AR): Likewise.
3301 (BUS_MCEERR_AO): Likewise.
3302 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3303 (TRAP_TRACE): Likewise.
3304 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3306 (CLD_KILLED): Likewise.
3307 (CLD_DUMPED): Likewise.
3308 (CLD_TRAPPED): Likewise.
3309 (CLD_STOPPED): Likewise.
3310 (CLD_CONTINUED): Likewise.
3311 (POLL_IN): Likewise.
3312 (POLL_OUT): Likewise.
3313 (POLL_MSG): Likewise.
3314 (POLL_ERR): Likewise.
3315 (POLL_PRI): Likewise.
3316 (POLL_HUP): Likewise.
3317 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3318 (ILL_ILLOPN): Likewise.
3319 (ILL_ILLADR): Likewise.
3320 (ILL_ILLTRP): Likewise.
3321 (ILL_PRVOPC): Likewise.
3322 (ILL_PRVREG): Likewise.
3323 (ILL_COPROC): Likewise.
3324 (ILL_BADSTK): Likewise.
3325 (ILL_DBLFLT): Likewise.
3326 (ILL_HARDWALL): Likewise.
3327 (FPE_INTDIV): Likewise.
3328 (FPE_INTOVF): Likewise.
3329 (FPE_FLTDIV): Likewise.
3330 (FPE_FLTOVF): Likewise.
3331 (FPE_FLTUND): Likewise.
3332 (FPE_FLTRES): Likewise.
3333 (FPE_FLTINV): Likewise.
3334 (FPE_FLTSUB): Likewise.
3335 (SEGV_MAPERR): Likewise.
3336 (SEGV_ACCERR): Likewise.
3337 (BUS_ADRALN): Likewise.
3338 (BUS_ADRERR): Likewise.
3339 (BUS_OBJERR): Likewise.
3340 (BUS_MCEERR_AR): Likewise.
3341 (BUS_MCEERR_AO): Likewise.
3342 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3343 (TRAP_TRACE): Likewise.
3344 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3346 (CLD_KILLED): Likewise.
3347 (CLD_DUMPED): Likewise.
3348 (CLD_TRAPPED): Likewise.
3349 (CLD_STOPPED): Likewise.
3350 (CLD_CONTINUED): Likewise.
3351 (POLL_IN): Likewise.
3352 (POLL_OUT): Likewise.
3353 (POLL_MSG): Likewise.
3354 (POLL_ERR): Likewise.
3355 (POLL_PRI): Likewise.
3356 (POLL_HUP): Likewise.
3357 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3358 (ILL_ILLOPN): Likewise.
3359 (ILL_ILLADR): Likewise.
3360 (ILL_ILLTRP): Likewise.
3361 (ILL_PRVOPC): Likewise.
3362 (ILL_PRVREG): Likewise.
3363 (ILL_COPROC): Likewise.
3364 (ILL_BADSTK): Likewise.
3365 (FPE_INTDIV): Likewise.
3366 (FPE_INTOVF): Likewise.
3367 (FPE_FLTDIV): Likewise.
3368 (FPE_FLTOVF): Likewise.
3369 (FPE_FLTUND): Likewise.
3370 (FPE_FLTRES): Likewise.
3371 (FPE_FLTINV): Likewise.
3372 (FPE_FLTSUB): Likewise.
3373 (SEGV_MAPERR): Likewise.
3374 (SEGV_ACCERR): Likewise.
3375 (BUS_ADRALN): Likewise.
3376 (BUS_ADRERR): Likewise.
3377 (BUS_OBJERR): Likewise.
3378 (BUS_MCEERR_AR): Likewise.
3379 (BUS_MCEERR_AO): Likewise.
3380 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3381 (TRAP_TRACE): Likewise.
3382 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3384 (CLD_KILLED): Likewise.
3385 (CLD_DUMPED): Likewise.
3386 (CLD_TRAPPED): Likewise.
3387 (CLD_STOPPED): Likewise.
3388 (CLD_CONTINUED): Likewise.
3389 (POLL_IN): Likewise.
3390 (POLL_OUT): Likewise.
3391 (POLL_MSG): Likewise.
3392 (POLL_ERR): Likewise.
3393 (POLL_PRI): Likewise.
3394 (POLL_HUP): Likewise.
3395 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3396 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3399 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3400 before #include of <time.h>.
3401 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3402 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3403 (test-xfail-UNIX98/sched.h/conform): Likewise.
3405 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3407 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3408 error absence of trapping exception support.
3409 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3411 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3413 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3414 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3415 * timezone/Makefile (testdata): Move definition above include of
3417 (test-zones): New variable.
3418 (tests-special): Add zone files.
3419 (build-testdata): Use $(evaluate-test).
3421 * elf/Makefile (tests-special): Rename tests to end with .out.
3422 ($(objpfx)noload-mem): Likewise.
3423 ($(objpfx)tst-leaks1-mem): Likewise.
3424 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3425 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3426 $(objpfx)test-iconvconfig.out.
3427 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3428 set -e inside subshell and redirect output to file.
3429 * iconvdata/Makefile (generated): Rename tests to end with .out.
3431 (tests-special): Rename tests to end with .out.
3432 ($(objpfx)mtrace-tst-loading): Likewise.
3433 * intl/Makefile (generated): Likewise.
3434 (tests-special): Likewise.
3435 ($(objpfx)mtrace-tst-gettext): Likewise.
3436 * misc/Makefile (generated): Likewise.
3437 (tests-special): Likewise.
3438 ($(objpfx)tst-error1-mem): Likewise.
3439 * nptl/Makefile (tests-special): Likewise.
3440 ($(objpfx)tst-stack3-mem): Likewise.
3441 (generated): Likewise.
3442 * posix/Makefile (generated): Likewise.
3443 (tests-special): Likewise.
3444 (xtests-special): Likewise.
3445 ($(objpfx)tst-fnmatch-mem): Likewise.
3446 ($(objpfx)bug-regex2-mem): Likewise.
3447 ($(objpfx)bug-regex14-mem): Likewise.
3448 ($(objpfx)bug-regex21-mem): Likewise.
3449 ($(objpfx)bug-regex31-mem): Likewise.
3450 ($(objpfx)tst-vfork3-mem): Likewise.
3451 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3452 ($(objpfx)tst-pcre-mem): Likewise.
3453 ($(objpfx)tst-boost-mem): Likewise.
3454 ($(objpfx)bug-ga2-mem): Likewise.
3455 ($(objpfx)bug-glob2-mem): Likewise.
3456 * resolv/Makefile (generate): Likewise.
3457 (tests-special): Likewise.
3458 (xtests-special): Likewise.
3459 (generated): Likewise.
3460 ($(objpfx)mtrace-tst-leaks): Likewise.
3461 ($(objpfx)mtrace-tst-leaks2): Likewise.
3463 * scripts/merge-test-results.sh: New file.
3464 * Makefile (tests-special-notdir): New variable.
3465 (tests): Run merge-test-results.sh.
3467 * Rules (tests-special-notdir): New variable.
3468 (xtests-special-notdir): Likewise.
3469 (tests): Run merge-test-results.sh
3472 * Makeconfig (test-xfail-name): New variable.
3473 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3474 compute variable name for expected failures.
3475 * conform/Makefile (conformtest-headers-data): New variable.
3476 (conformtest-standards): Likewise.
3477 (conformtest-headers-ISO): Likewise.
3478 (conformtest-headers-ISO99): Likewise.
3479 (conformtest-headers-ISO11): Likewise.
3480 (conformtest-headers-POSIX): Likewise.
3481 (conformtest-headers-XPG3): Likewise.
3482 (conformtest-headers-XPG4): Likewise.
3483 (conformtest-headers-UNIX98): Likewise.
3484 (conformtest-headers-XOPEN2K): Likewise.
3485 (conformtest-headers-POSIX2008): Likewise.
3486 (conformtest-headers-XOPEN2K8): Likewise.
3487 (conformtest-header-list-base): Likewise.
3488 (conformtest-header-list-tests): Likewise.
3489 (conformtest-header-base): Likewise.
3490 (conformtest-header-tests): Likewise.
3491 (tests-special): Add $(conformtest-header-list-tests). If
3492 [$(fast-check) && !$(cross-compiling)], add
3493 $(conformtest-header-tests) instead of
3494 $(objpfx)run-conformtest.out.
3495 (generated): Add $(conformtest-header-list-base). If
3496 [$(fast-check) && !$(cross-compiling)], add
3497 $(conformtest-header-base). Remove previous setting.
3498 ($(conformtest-header-list-tests)): New target.
3499 (test-xfail-run-conformtest): Remove variable.
3500 ($(objpfx)run-conformtest.out): Remove target.
3501 (test-xfail-ISO11/complex.h/conform): New variable.
3502 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3503 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3504 (test-xfail-XPG3/varargs.h/conform): Likewise.
3505 (test-xfail-XPG4/varargs.h/conform): Likewise.
3506 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3507 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3508 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3509 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3510 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3511 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3512 (test-xfail-XPG3/ftw.h/conform): Likewise.
3513 (test-xfail-XPG3/grp.h/conform): Likewise.
3514 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3515 (test-xfail-XPG3/limits.h/conform): Likewise.
3516 (test-xfail-XPG3/pwd.h/conform): Likewise.
3517 (test-xfail-XPG3/search.h/conform): Likewise.
3518 (test-xfail-XPG3/signal.h/conform): Likewise.
3519 (test-xfail-XPG3/stdio.h/conform): Likewise.
3520 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3521 (test-xfail-XPG3/string.h/conform): Likewise.
3522 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3523 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3524 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3525 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3526 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3527 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3528 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3529 (test-xfail-XPG3/termios.h/conform): Likewise.
3530 (test-xfail-XPG3/time.h/conform): Likewise.
3531 (test-xfail-XPG3/unistd.h/conform): Likewise.
3532 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3533 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3534 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3535 (test-xfail-XPG4/netdb.h/conform): Likewise.
3536 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3537 (test-xfail-XPG4/signal.h/conform): Likewise.
3538 (test-xfail-XPG4/stdio.h/conform): Likewise.
3539 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3540 (test-xfail-XPG4/stropts.h/conform): Likewise.
3541 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3542 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3543 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3544 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3545 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3546 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3547 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3548 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3549 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3550 (test-xfail-XPG4/termios.h/conform): Likewise.
3551 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3552 (test-xfail-XPG4/unistd.h/conform): Likewise.
3553 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3554 (test-xfail-POSIX/sched.h/conform): Likewise.
3555 (test-xfail-POSIX/signal.h/conform): Likewise.
3556 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3557 (test-xfail-POSIX/tar.h/conform): Likewise.
3558 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3559 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3560 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3561 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3562 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3563 (test-xfail-UNIX98/sched.h/conform): Likewise.
3564 (test-xfail-UNIX98/signal.h/conform): Likewise.
3565 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3566 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3567 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3568 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3569 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3570 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3571 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3572 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3573 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3574 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3575 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3576 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3577 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3578 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3579 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3580 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3581 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3582 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3583 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3584 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3585 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3586 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3587 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3588 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3589 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3590 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3591 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3592 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3593 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3594 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3595 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3596 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3597 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3598 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3599 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3600 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3601 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3602 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3603 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3604 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3605 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3606 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3607 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3608 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3609 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3610 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3611 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3612 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3613 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3614 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3615 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3616 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3617 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3618 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3619 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3620 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3621 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3622 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3623 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3624 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3625 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3626 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3627 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3628 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3629 (conformtest-cc-flags): Likewise.
3630 ($(conformtest-header-tests): New target.
3631 * conform/check-header-lists.sh: New file.
3632 * conform/run-conformtest.sh: Remove.
3634 * conform/conformtest.pl: Allow ' and \ in values given for
3636 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3638 [POSIX] (sys/types.h): Likewise.
3639 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3641 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3643 * conform/data/signal.h-data (SIGIO): Remove expectation.
3644 [XPG3] (SIGBUS): Do not expect.
3645 [POSIX || XPG3] (SIGPOLL): Likewise.
3646 [POSIX || XPG3] (SIGPROF): Likewise.
3647 [POSIX || XPG3] (SIGSYS): Likewise.
3648 [XPG3] (SIGTRAP): Likewise.
3649 [POSIX || XPG3] (SIGURG): Likewise.
3650 [POSIX || XPG3] (SIGVTALRM): Likewise.
3651 [POSIX || XPG3] (SIGXCPU): Likewise.
3652 [POSIX || XPG3] (SIGXFSZ): Likewise.
3653 [POSIX] (SA_SIGINFO): Expect.
3654 [XPG3] (siginfo_t): Do not expect type or contents.
3655 [POSIX] (si_pid): Do not expect element.
3656 [POSIX] (si_uid): Likewise.
3657 [POSIX] (si_addr): Likewise.
3658 [POSIX] (si_status): Likewise.
3659 [POSIX] (si_band): Likewise.
3660 [XPG4] (si_value): Likewise.
3661 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3662 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3663 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3664 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3665 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3666 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3667 [POSIX || XPG3] (ILL_COPROC): Likewise.
3668 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3669 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3670 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3671 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3672 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3673 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3674 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3675 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3676 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3677 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3678 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3679 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3680 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3681 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3682 [POSIX || XPG3] (CLD_EXITED): Likewise.
3683 [POSIX || XPG3] (CLD_KILLED): Likewise.
3684 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3685 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3686 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3687 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3688 [POSIX || XPG3] (POLL_IN): Likewise.
3689 [POSIX || XPG3] (POLL_OUT): Likewise.
3690 [POSIX || XPG3] (POLL_MSG): Likewise.
3691 [POSIX || XPG3] (POLL_ERR): Likewise.
3692 [POSIX || XPG3] (POLL_PRI): Likewise.
3693 [POSIX || XPG3] (POLL_HUP): Likewise.
3694 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3695 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3696 (SIG*): Do not allow.
3697 [XPG3] (si_*): Likewise.
3698 [XPG3] (SI_*): Likewise.
3699 [XPG3 || XPG4] (sigev_*): Likewise.
3700 [XPG3 || XPG4] (SIGEV_*): Likewise.
3701 [XPG3 || XPG4] (sival_*): Likewise.
3702 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3703 [POSIX || XPG3] (BUS_*): Likewise.
3704 [POSIX || XPG3] (CLD_*): Likewise.
3705 [POSIX || XPG3] (FPE_*): Likewise.
3706 [POSIX || XPG3] (ILL_*): Likewise.
3707 [POSIX || XPG3] (POLL_*): Likewise.
3708 [POSIX || XPG3] (SEGV_*): Likewise.
3709 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3710 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3711 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3712 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3713 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3714 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3715 Specify type and value.
3716 (TVERSLEN): Likewise.
3717 (REGTYPE): Likewise.
3718 (AREGTYPE): Likewise.
3719 (LNKTYPE): Likewise.
3720 (SYMTYPE): Likewise.
3721 (CHRTYPE): Likewise.
3722 (BLKTYPE): Likewise.
3723 (DIRTYPE): Likewise.
3724 (FIFOTYPE): Likewise.
3725 (CONTTYPE): Likewise.
3730 (TUWRITE): Likewise.
3733 (TGWRITE): Likewise.
3736 (TOWRITE): Likewise.
3738 [POSIX] (TSVTX): Expect constant.
3740 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3742 * Makefile (tests): Change dependencies to ....
3743 (tests-special): ... additions to this variable.
3744 (tests): Depend on $(tests-special).
3745 * Makerules (check-abi-list): New variable.
3746 (check-abi): Depend on $(check-abi-list).
3747 [$(subdir) = elf] (tests-special): Add
3748 $(objpfx)check-abi-libc.out.
3749 [$(build-shared) = yes && subdir] (tests-special): Add
3751 [$(build-shared) = yes && subdir] (tests): Do not depend on
3753 * Rules (tests): Depend on $(tests-special).
3754 (xtests): Depend on $(xtests-special).
3755 * catgets/Makefile (tests): Change dependencies to ....
3756 (tests-special): ... additions to this variable.
3757 * conform/Makefile (tests): Change dependencies to ....
3758 (tests-special): ... additions to this variable.
3759 * elf/Makefile (tests): Change dependencies to ....
3760 (tests-special): ... additions to this variable.
3761 * grp/Makefile (tests): Change dependencies to ....
3762 (tests-special): ... additions to this variable.
3763 * iconv/Makefile (xtests): Change dependencies to ....
3764 (xtests-special): ... additions to this variable.
3765 * iconvdata/Makefile (tests): Change dependencies to ....
3766 (tests-special): ... additions to this variable.
3767 * intl/Makefile (tests): Change dependencies to ....
3768 (tests-special): ... additions to this variable. Also add
3769 $(objpfx)tst-gettext.out.
3770 * io/Makefile (tests): Change dependencies to ....
3771 (tests-special): ... additions to this variable.
3772 * libio/Makefile (tests): Change dependencies to ....
3773 (tests-special): ... additions to this variable.
3774 * malloc/Makefile (tests): Change dependencies to ....
3775 (tests-special): ... additions to this variable.
3776 * misc/Makefile (tests): Change dependencies to ....
3777 (tests-special): ... additions to this variable.
3778 * nptl/Makefile (tests): Change dependencies to ....
3779 (tests-special): ... additions to this variable.
3780 * nptl_db/Makefile (tests): Change dependencies to ....
3781 (tests-special): ... additions to this variable.
3782 * posix/Makefile (tests): Change dependencies to ....
3783 (tests-special): ... additions to this variable.
3784 (xtests): Change dependencies to ....
3785 (xtests-special): ... additions to this variable.
3786 * resolv/Makefile (tests): Change dependencies to ....
3787 (tests-special): ... additions to this variable.
3788 (xtests): Change dependencies to ....
3789 (xtests-special): ... additions to this variable.
3790 * stdio-common/Makefile (tests): Change dependencies to ....
3791 (tests-special): ... additions to this variable.
3792 (do-tst-unbputc): Remove target.
3793 (do-tst-printf): Likewise.
3794 * stdlib/Makefile (tests): Change dependencies to ....
3795 (tests-special): ... additions to this variable.
3796 * string/Makefile (tests): Change dependencies to ....
3797 (tests-special): ... additions to this variable.
3798 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3799 (tests-special): ... additions to this variable.
3801 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3803 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3805 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3806 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3808 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3809 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3810 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3811 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3812 * conform/data/libgen.h-data [XPG3]: Likewise.
3813 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3814 * conform/data/ndbm.h-data [XPG3]: Likewise.
3815 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3816 * conform/data/netdb.h-data [XPG3]: Likewise.
3817 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3818 * conform/data/poll.h-data [XPG3]: Likewise.
3819 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3820 * conform/data/strings.h-data [XPG3]: Likewise.
3821 * conform/data/stropts.h-data [XPG3]: Likewise.
3822 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3823 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3824 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3826 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3827 * conform/data/sys/time.h-data [XPG3]: Likewise.
3828 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3829 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3830 * conform/data/sys/un.h-data [XPG3]: Likewise.
3831 * conform/data/syslog.h-data [XPG3]: Likewise.
3832 * conform/data/ucontext.h-data [XPG3]: Likewise.
3833 * conform/data/utmpx.h-data [XPG3]: Likewise.
3834 * conform/data/varargs.h-data [UNIX98]: Enable file.
3836 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3838 * math/libm-test.inc (struct test_f_f_data): Move expected results
3839 into structure for each rounding mode.
3840 (struct test_ff_f_data): Likewise.
3841 (struct test_ff_f_data_nexttoward): Likewise.
3842 (struct test_fi_f_data): Likewise.
3843 (struct test_fl_f_data): Likewise.
3844 (struct test_if_f_data): Likewise.
3845 (struct test_fff_f_data): Likewise.
3846 (struct test_c_f_data): Likewise.
3847 (struct test_f_f1_data): Likewise.
3848 (struct test_fF_f1_data): Likewise.
3849 (struct test_ffI_f1_data): Likewise.
3850 (struct test_c_c_data): Likewise.
3851 (struct test_cc_c_data): Likewise.
3852 (struct test_f_i_data): Likewise.
3853 (struct test_ff_i_data): Likewise.
3854 (struct test_f_l_data): Likewise.
3855 (struct test_f_L_data): Likewise.
3856 (struct test_fFF_11_data): Likewise.
3858 (RM_FE_DOWNWARD): Likewise.
3859 (RM_FE_TONEAREST): Likewise.
3860 (RM_FE_TOWARDZERO): Likewise.
3861 (RM_FE_UPWARD): Likewise.
3862 (RUN_TEST_LOOP_f_f): Update references to expected results.
3863 (RUN_TEST_LOOP_2_f): Likewise.
3864 (RUN_TEST_LOOP_fff_f): Likewise.
3865 (RUN_TEST_LOOP_c_f): Likewise.
3866 (RUN_TEST_LOOP_f_f1): Likewise.
3867 (RUN_TEST_LOOP_fF_f1): Likewise.
3868 (RUN_TEST_LOOP_fI_f1): Likewise.
3869 (RUN_TEST_LOOP_ffI_f1): Likewise.
3870 (RUN_TEST_LOOP_c_c): Likewise.
3871 (RUN_TEST_LOOP_cc_c): Likewise.
3872 (RUN_TEST_LOOP_f_i): Likewise.
3873 (RUN_TEST_LOOP_f_i_tg): Likewise.
3874 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3875 (RUN_TEST_LOOP_f_b): Likewise.
3876 (RUN_TEST_LOOP_f_b_tg): Likewise.
3877 (RUN_TEST_LOOP_f_l): Likewise.
3878 (RUN_TEST_LOOP_f_L): Likewise.
3879 (RUN_TEST_LOOP_fFF_11): Likewise.
3880 * math/gen-libm-test.pl (parse_args): Output four copies of
3881 expected results for each test.
3883 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3884 (__ASSUME_UTIMES): Remove.
3885 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3886 (__ASSUME_UTIMES): Likewise.
3888 * math/gen-auto-libm-tests.c: Update comment on output format.
3889 (output_for_one_input_case): Generate before-rounding and
3890 after-rounding information as conditions on output flags not
3891 floating-point format.
3892 * math/auto-libm-test-out: Regenerated.
3893 * math/gen-libm-test.pl (cond_value): New function.
3894 (or_cond_value): Use cond_value.
3895 (generate_testfile): Handle conditional exceptions.
3897 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3899 * math/libm-test.inc (max_valid_error): New variable.
3900 (init_max_error): Take new argument specifying whether function
3901 results are exactly determined. Set max_valid_error and bound
3902 other variables for errors based on this argument.
3903 (set_max_error): Do not record results above max_valid_error.
3904 (check_float_internal): Only accept errors of up to 0.5ulps if
3905 also at most max_valid_error.
3906 (START): Take new argument EXACT and pass it to init_max_error.
3907 (acos_test): Update call to START.
3908 (acos_test_tonearest): Likewise.
3909 (acos_test_towardzero): Likewise.
3910 (acos_test_downward): Likewise.
3911 (acos_test_upward): Likewise.
3912 (acosh_test): Likewise.
3913 (asin_test): Likewise.
3914 (asin_test_tonearest): Likewise.
3915 (asin_test_towardzero): Likewise.
3916 (asin_test_downward): Likewise.
3917 (asin_test_upward): Likewise.
3918 (asinh_test): Likewise.
3919 (atan_test): Likewise.
3920 (atanh_test): Likewise.
3921 (atan2_test): Likewise.
3922 (cabs_test): Likewise.
3923 (cacos_test): Likewise.
3924 (cacosh_test): Likewise.
3925 (carg_test): Likewise.
3926 (casin_test): Likewise.
3927 (casinh_test): Likewise.
3928 (catan_test): Likewise.
3929 (catanh_test): Likewise.
3930 (cbrt_test): Likewise.
3931 (ccos_test): Likewise.
3932 (ccosh_test): Likewise.
3933 (ceil_test): Likewise.
3934 (cexp_test): Likewise.
3935 (cimag_test): Likewise.
3936 (clog_test): Likewise.
3937 (clog10_test): Likewise.
3938 (conj_test): Likewise.
3939 (copysign_test): Likewise.
3940 (cos_test): Likewise.
3941 (cos_test_tonearest): Likewise.
3942 (cos_test_towardzero): Likewise.
3943 (cos_test_downward): Likewise.
3944 (cos_test_upward): Likewise.
3945 (cosh_test): Likewise.
3946 (cosh_test_tonearest): Likewise.
3947 (cosh_test_towardzero): Likewise.
3948 (cosh_test_downward): Likewise.
3949 (cosh_test_upward): Likewise.
3950 (cpow_test): Likewise.
3951 (cproj_test): Likewise.
3952 (creal_test): Likewise.
3953 (csin_test): Likewise.
3954 (csinh_test): Likewise.
3955 (csqrt_test): Likewise.
3956 (ctan_test): Likewise.
3957 (ctan_test_tonearest): Likewise.
3958 (ctan_test_towardzero): Likewise.
3959 (ctan_test_downward): Likewise.
3960 (ctan_test_upward): Likewise.
3961 (ctanh_test): Likewise.
3962 (ctanh_test_tonearest): Likewise.
3963 (ctanh_test_towardzero): Likewise.
3964 (ctanh_test_downward): Likewise.
3965 (ctanh_test_upward): Likewise.
3966 (erf_test): Likewise.
3967 (erfc_test): Likewise.
3968 (exp_test): Likewise.
3969 (exp_test_tonearest): Likewise.
3970 (exp_test_towardzero): Likewise.
3971 (exp_test_downward): Likewise.
3972 (exp_test_upward): Likewise.
3973 (exp10_test): Likewise.
3974 (exp10_test_tonearest): Likewise.
3975 (exp10_test_towardzero): Likewise.
3976 (exp10_test_downward): Likewise.
3977 (exp10_test_upward): Likewise.
3978 (pow10_test): Likewise.
3979 (exp2_test): Likewise.
3980 (expm1_test): Likewise.
3981 (expm1_test_tonearest): Likewise.
3982 (expm1_test_towardzero): Likewise.
3983 (expm1_test_downward): Likewise.
3984 (expm1_test_upward): Likewise.
3985 (fabs_test): Likewise.
3986 (fdim_test): Likewise.
3987 (floor_test): Likewise.
3988 (fma_test): Likewise.
3989 (fma_test_towardzero): Likewise.
3990 (fma_test_downward): Likewise.
3991 (fma_test_upward): Likewise.
3992 (fmax_test): Likewise.
3993 (fmin_test): Likewise.
3994 (fmod_test): Likewise.
3995 (fpclassify_test): Likewise.
3996 (frexp_test): Likewise.
3997 (hypot_test): Likewise.
3998 (ilogb_test): Likewise.
3999 (isfinite_test): Likewise.
4000 (finite_test): Likewise.
4001 (isgreater_test): Likewise.
4002 (isgreaterequal_test): Likewise.
4003 (isinf_test): Likewise.
4004 (isless_test): Likewise.
4005 (islessequal_test): Likewise.
4006 (islessgreater_test): Likewise.
4007 (isnan_test): Likewise.
4008 (isnormal_test): Likewise.
4009 (issignaling_test): Likewise.
4010 (isunordered_test): Likewise.
4011 (j0_test): Likewise.
4012 (j1_test): Likewise.
4013 (jn_test): Likewise.
4014 (ldexp_test): Likewise.
4015 (lgamma_test): Likewise.
4016 (gamma_test): Likewise.
4017 (lrint_test): Likewise.
4018 (lrint_test_tonearest): Likewise.
4019 (lrint_test_towardzero): Likewise.
4020 (lrint_test_downward): Likewise.
4021 (lrint_test_upward): Likewise.
4022 (llrint_test): Likewise.
4023 (llrint_test_tonearest): Likewise.
4024 (llrint_test_towardzero): Likewise.
4025 (llrint_test_downward): Likewise.
4026 (llrint_test_upward): Likewise.
4027 (log_test): Likewise.
4028 (log10_test): Likewise.
4029 (log1p_test): Likewise.
4030 (log2_test): Likewise.
4031 (logb_test): Likewise.
4032 (logb_test_downward): Likewise.
4033 (lround_test): Likewise.
4034 (llround_test): Likewise.
4035 (modf_test): Likewise.
4036 (nearbyint_test): Likewise.
4037 (nextafter_test): Likewise.
4038 (nexttoward_test): Likewise.
4039 (pow_test): Likewise.
4040 (pow_test_tonearest): Likewise.
4041 (pow_test_towardzero): Likewise.
4042 (pow_test_downward): Likewise.
4043 (pow_test_upward): Likewise.
4044 (remainder_test): Likewise.
4045 (drem_test): Likewise.
4046 (remainder_test_tonearest): Likewise.
4047 (drem_test_tonearest): Likewise.
4048 (remainder_test_towardzero): Likewise.
4049 (drem_test_towardzero): Likewise.
4050 (remainder_test_downward): Likewise.
4051 (drem_test_downward): Likewise.
4052 (remainder_test_upward): Likewise.
4053 (drem_test_upward): Likewise.
4054 (remquo_test): Likewise.
4055 (rint_test): Likewise.
4056 (rint_test_tonearest): Likewise.
4057 (rint_test_towardzero): Likewise.
4058 (rint_test_downward): Likewise.
4059 (rint_test_upward): Likewise.
4060 (round_test): Likewise.
4061 (scalb_test): Likewise.
4062 (scalbn_test): Likewise.
4063 (scalbln_test): Likewise.
4064 (signbit_test): Likewise.
4065 (sin_test): Likewise.
4066 (sin_test_tonearest): Likewise.
4067 (sin_test_towardzero): Likewise.
4068 (sin_test_downward): Likewise.
4069 (sin_test_upward): Likewise.
4070 (sincos_test): Likewise.
4071 (sinh_test): Likewise.
4072 (sinh_test_tonearest): Likewise.
4073 (sinh_test_towardzero): Likewise.
4074 (sinh_test_downward): Likewise.
4075 (sinh_test_upward): Likewise.
4076 (sqrt_test): Likewise.
4077 (sqrt_test_tonearest): Likewise.
4078 (sqrt_test_towardzero): Likewise.
4079 (sqrt_test_downward): Likewise.
4080 (sqrt_test_upward): Likewise.
4081 (tan_test): Likewise.
4082 (tan_test_tonearest): Likewise.
4083 (tan_test_towardzero): Likewise.
4084 (tan_test_downward): Likewise.
4085 (tan_test_upward): Likewise.
4086 (tanh_test): Likewise.
4087 (tgamma_test): Likewise.
4088 (trunc_test): Likewise.
4089 (y0_test): Likewise.
4090 (y1_test): Likewise.
4091 (yn_test): Likewise.
4092 (significand_test): Likewise.
4094 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4095 individual tests in comment.
4096 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4097 (prev_max_error): New variable.
4098 (prev_real_max_error): Likewise.
4099 (prev_imag_max_error): Likewise.
4100 (compare_ulp_data): Don't refer to test names in comment.
4101 (find_test_ulps): Remove function.
4102 (find_function_ulps): Likewise.
4103 (find_complex_function_ulps): Likewise.
4104 (init_max_error): Take function name as argument. Look up ulps
4106 (print_ulps): Remove function.
4107 (print_max_error): Use prev_max_error instead of calling
4109 (print_complex_max_error): Use prev_real_max_error and
4110 prev_imag_max_error instead of calling find_complex_function_ulps.
4111 (check_float_internal): Take max_ulp parameter instead of calling
4112 find_test_ulps. Don't call print_ulps.
4113 (check_float): Update call to check_float_internal.
4114 (check_complex): Update calls to check_float_internal.
4115 (START): Pass argument to init_max_error.
4116 * math/gen-libm-test.pl (%results): Don't include "kind"
4118 (parse_ulps): Don't handle ulps of individual tests.
4119 (print_ulps_file): Likewise.
4120 (output_ulps): Likewise.
4121 * math/README.libm-test: Update.
4122 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4124 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4125 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4126 * sysdeps/arm/libm-test-ulps: Likewise.
4127 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4128 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4129 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4130 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4131 * sysdeps/microblaze/libm-test-ulps: Likewise.
4132 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4133 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4134 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4135 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4136 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4137 * sysdeps/sh/libm-test-ulps: Likewise.
4138 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4139 * sysdeps/tile/libm-test-ulps: Likewise.
4140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4142 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4144 * math/libm-test.inc (print_complex_max_error): Check separately
4145 whether real and imaginary errors are within allowed range and
4146 pass 0 to print_complex_function_ulps instead of value within
4149 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4151 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4153 (get_handles_fopen): Likewise.
4154 (do_write_test): Likewise.
4156 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4158 * libio/fileops.c (do_ftell): Use cached offset when
4160 * libio/iofwide.c (do_ftell_wide): Likewise.
4161 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4163 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4166 * libio/libioP.h (get_file_offset): New function.
4167 * libio/fileops.c (get_file_offset): Likewise.
4168 (do_ftell): Likewise.
4169 (_IO_new_file_seekoff): Split out ftell logic.
4170 * libio/wfileops.c (do_ftell_wide): Likewise.
4171 (_IO_wfile_seekoff): Split out ftell logic.
4172 * libio/tst-ftell-active-handler.c: New test case.
4173 * libio/Makefile (tests): Add it.
4175 2014-03-03 Roland McGrath <roland@hack.frob.com>
4177 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4178 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4180 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4183 * nscd/connections.c (nscd_init): Call do_exit.
4184 (start_threads): Call do_exit and notify_parent.
4185 (begin_drop_privileges): Call do_exit.
4186 (finish_drop_privileges): Likewise.
4187 * nscd/selinux.c (preserve_capabilities): Likewise.
4188 (install_real_capabilities): Likewise.
4189 (nscd_selinux_enabled): Likewise.
4190 (avc_create_thread): Likewise.
4191 (avc_alloc_lock): Likewise.
4192 (nscd_avc_init): Likewise.
4193 * nscd/nscd.c (parent_fd): New static variable.
4194 (main): Create a pipe between parent and child processes.
4195 Skip closing parent_fd.
4196 (monitor_child): New function.
4197 (do_exit): Likewise.
4198 (notify_parent): Likewise.
4199 * nscd/nscd.h (notify_parent): Likewise.
4200 (do_exit): Likewise.
4202 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4204 * malloc/malloc.c (__libc_calloc): Revert last change.
4206 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4210 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4212 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4216 (__libc_ifunc_impl_list): Likewise.
4217 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4218 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4219 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4220 * string/strrchr.c: Define STRRCHR.
4222 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4224 * benchtest/bench-strtok.c (simple_strtok): Delete.
4225 (strtok_string): Use as benchmark.
4226 * string/strtok (STRTOK): New macro.
4228 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4230 * manual/threads.texi: Add header and standard comments to all
4233 * elf/dl-lookup.c (check_match): New function.
4234 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4235 (do_lookup_x): Remove nested function check_match. Use non-nested
4236 function check_match.
4238 2014-02-28 Roland McGrath <roland@hack.frob.com>
4240 * csu/Makefile (generated, before-compile): Use += rather than =.
4241 * catgets/Makefile (generated, generated-dirs): Likewise.
4242 * debug/Makefile (generated): Likewise.
4243 * dlfcn/Makefile (generated): Likewise.
4244 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4245 * iconvdata/Makefile (before-compile, generated): Likewise.
4246 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4247 * libio/Makefile (generated): Likewise.
4248 * malloc/Makefile (generated): Likewise.
4249 * manual/Makefile (generated, generated-dirs): Likewise.
4250 * misc/Makefile (generated): Likewise.
4251 * posix/Makefile (generated): Likewise.
4252 * resolv/Makefile (generated): Likewise.
4253 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4254 * timezone/Makefile (generated, generated-dirs): Likewise.
4256 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4258 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4261 power8 implementation.
4262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4263 file: POWER8 llround ifunc implementation.
4264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4265 (__lllround): Add POWER8 implementation.
4266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4267 POWER8 llround implementation.
4269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4270 power8 implementation.
4271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4272 file: POWER8 llrint ifunc implementation.
4273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4274 Add POWER8 implementation.
4275 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4276 POWER8 llrint implementation.
4278 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4279 power8 implementation.
4280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4281 file: POWER8 finite ifunc implementation.
4282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4283 Add POWER8 implementation.
4284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4286 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4287 POWER8 finite implementation.
4288 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4291 power8 implementation.
4292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4293 file: POWER8 isinf ifunc implementation.
4294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4295 POWER8 implementation.
4296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4298 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4299 isinf implementation.
4300 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4302 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4303 (INIT_ARCH): Add hwcap2 initialization.
4304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4305 power8 implementation.
4306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4307 file: POWER8 isnan ifunc implementation.
4308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4309 POWER8 implementation.
4310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4312 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4313 isnan implementation.
4314 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4316 2014-02-27 Joey Ye <joey.ye@arm.com>
4318 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4319 (_FP_NANFRAC_Q): Set to zero.
4321 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4324 * math/auto-libm-test-in: New test inputs.
4325 * math/auto-libm-test-out: Regenerate.
4326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4329 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4331 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4333 * scripts/evaluate-test.sh: Take new argument indicating whether
4334 failure is expected.
4335 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4336 indicating whether failure is expected.
4337 * conform/Makefile (test-xfail-run-conformtest): New variable.
4338 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4340 * posix/Makefile (test-xfail-annexc): New variable.
4341 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4343 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4345 * argp/Makefile: Include Makeconfig immediately after defining
4347 * assert/Makefile: Likewise.
4348 * benchtests/Makefile: Likewise.
4349 * catgets/Makefile: Likewise.
4350 * conform/Makefile: Likewise.
4351 * crypt/Makefile: Likewise.
4352 * csu/Makefile: Likewise.
4353 (all): Remove target.
4354 * ctype/Makefile: Include Makeconfig immediately after defining
4356 * debug/Makefile: Likewise.
4357 * dirent/Makefile: Likewise.
4358 * dlfcn/Makefile: Likewise.
4359 * gmon/Makefile: Likewise.
4360 * gnulib/Makefile: Likewise.
4361 * grp/Makefile: Likewise.
4362 * gshadow/Makefile: Likewise.
4363 * hesiod/Makefile: Likewise.
4364 * hurd/Makefile: Likewise.
4365 (all): Remove target.
4366 * iconvdata/Makefile: Include Makeconfig immediately after
4368 * inet/Makefile: Likewise.
4369 * intl/Makefile: Likewise.
4370 * io/Makefile: Likewise.
4371 * libio/Makefile: Likewise.
4372 (all): Remove target.
4373 * locale/Makefile: Include Makeconfig immediately after defining
4375 * login/Makefile: Likewise.
4376 * mach/Makefile: Likewise.
4377 (all): Remove target.
4378 * malloc/Makefile: Include Makeconfig immediately after defining
4380 (all): Remove target.
4381 * manual/Makefile: Include Makeconfig immediately after defining
4383 * math/Makefile: Likewise.
4384 * misc/Makefile: Likewise.
4385 * nis/Makefile: Likewise.
4386 * nss/Makefile: Likewise.
4387 * po/Makefile: Likewise.
4388 (all): Remove target.
4389 * posix/Makefile: Include Makeconfig immediately after defining
4391 * pwd/Makefile: Likewise.
4392 * resolv/Makefile: Likewise.
4393 * resource/Makefile: Likewise.
4394 * rt/Makefile: Likewise.
4395 * setjmp/Makefile: Likewise.
4396 * shadow/Makefile: Likewise.
4397 * signal/Makefile: Likewise.
4398 * socket/Makefile: Likewise.
4399 * soft-fp/Makefile: Likewise.
4400 * stdio-common/Makefile: Likewise.
4401 * stdlib/Makefile: Likewise.
4402 * streams/Makefile: Likewise.
4403 * string/Makefile: Likewise.
4404 * sunrpc/Makefile: Likewise.
4405 (all): Remove target.
4406 * sysvipc/Makefile: Include Makeconfig immediately after defining
4408 * termios/Makefile: Likewise.
4409 * time/Makefile: Likewise.
4410 * timezone/Makefile: Likewise.
4411 (all): Remove target.
4412 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4414 * wctype/Makefile: Likewise.
4416 2014-02-26 Steve Ellcey <sellcey@mips.com>
4418 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4419 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4420 (libc_feholdexcept_setround_mips): Ditto.
4421 (libc_feholdsetround): New.
4422 (libc_feholdsetroundf): New.
4423 (libc_feholdsetroundl): New.
4424 (libc_feupdateenv_test_mips): New.
4425 (libc_feupdateenv_test): New.
4426 (libc_feupdateenv_testf): New.
4427 (libc_feupdateenv_testl): New.
4428 (libc_feresetround): New.
4429 (libc_feresetroundf): New.
4430 (libc_feresetroundl): New.
4431 (libc_fetestexcept_mips): New.
4432 (libc_fetestexcept): New.
4433 (libc_fetestexceptf): New.
4434 (libc_fetestexceptl): New.
4436 (libc_feholdexcept_setround_mips_ctx): New.
4437 (libc_feholdexcept_setround_ctx): New.
4438 (libc_feholdexcept_setroundf_ctx): New.
4439 (libc_feholdexcept_setroundl_ctx): New.
4440 (libc_fesetenv_mips_ctx): New.
4441 (libc_fesetenv_ctx): New.
4442 (libc_fesetenv_ctxf): New.
4443 (libc_fesetenv_ctxl): New.
4444 (libc_feupdateenv_mips_ctx): New.
4445 (libc_feupdateenv_ctx): New.
4446 (libc_feupdateenvf_ctx): New.
4447 (libc_feupdateenvl_ctx): New.
4448 (libc_feholdsetround_mips_ctx): New.
4449 (libc_feholdsetround_ctx): New.
4450 (libc_feholdsetroundf_ctx): New.
4451 (libc_feholdsetroundl_ctx): New.
4452 (libc_feresetround_mips_ctx): New.
4453 (libc_feresetround_ctx): New.
4454 (libc_feresetroundf_ctx): New.
4455 (libc_feresetroundl_ctx): New.
4457 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4459 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4461 * manual/ipc.texi: New file.
4462 * manual/Makefile (chapters): Add ipc.
4463 * manual/job.texi: Add "Inter-Process Communication" to next.
4464 * manual/process.texi: Add "Inter-Process Communication" to prev.
4466 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4470 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4472 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4474 * manual/arith.texi: Fix spaces after sentences.
4475 * manual/charset.texi: Likewise.
4476 * manual/errno.texi: Likewise.
4477 * manual/install.texi: Likewise.
4478 * manual/llio.texi: Likewise.
4479 * manual/locale.texi: Likewise.
4480 * manual/maint.texi: Likewise.
4481 * manual/math.texi: Likewise.
4482 * manual/memory.texi: Likewise.
4483 * manual/message.texi: Likewise.
4484 * manual/probes.texi: Likewise.
4485 * manual/resource.texi: Likewise.
4486 * manual/signal.texi: Likewise.
4487 * manual/socket.texi: Likewise.
4488 * manual/stdio.texi: Likewise.
4489 * manual/string.texi: Likewise.
4490 * manual/time.texi: Likewise.
4491 * manual/users.texi: Likewise.
4493 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4496 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4497 _DEFAULT_SOURCE is defined.
4499 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4500 Carlos O'Donell <carlos@redhat.com>
4503 * elf/dl-tls.c (_dl_count_modids): New function.
4504 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4505 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4506 audit library and increment generation counter.
4507 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4508 * elf/tst-audit9.c: New file.
4509 * elf/tst-auditmod9a.c: New file.
4510 * elf/tst-auditmod9b.c: New file.
4511 * elf/Makefile: Add rules to build and run tst-audit9.
4513 2014-02-25 Florian Weimer <fweimer@redhat.com>
4516 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4518 2014-02-25 Will Newton <will.newton@linaro.org>
4520 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4521 (__longjmp): Restore sp and lr before restoring callee
4522 saved registers. Add longjmp and longjmp_target
4523 SystemTap probe point.
4524 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4525 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4526 Define to zero to match jmpbuf layout.
4527 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4528 (__sigsetjmp): Save sp and lr before saving callee
4529 saved registers. Add setjmp SystemTap probe point.
4531 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4533 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4535 2014-02-24 Andreas Schwab <schwab@suse.de>
4538 * elf/pldd.c (wait_for_ptrace_stop): New function.
4539 (main): Call it after attaching.
4541 2014-02-22 Roland McGrath <roland@hack.frob.com>
4543 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4544 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4545 Versions files is now verboten.
4546 * hurd/Versions (libc: GLIBC_2.0):
4547 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4548 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4549 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4550 * mach/Versions: Likewise.
4552 * csu/Versions: Remove unused %include.
4553 * resolv/Versions: Likewise.
4555 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4557 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4558 ($(objpfx)check-local-headers.out): Likewise.
4559 ($(objpfx)begin-end-check.out): Likewise.
4560 * Makerules (check-abi-%.out): Likewise.
4561 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4562 ($(objpfx)test2.cat): Likewise.
4563 ($(objpfx)de/libc.cat): Likewise.
4564 ($(objpfx)test-gencat.out): Likewise.
4565 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4566 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4567 ($(objpfx)noload-mem): Likewise.
4568 ($(objpfx)tst-pathopt.out): Likewise.
4569 ($(objpfx)tst-rtld-load-self.out): Likewise.
4570 ($(objpfx)tst-array1-cmp.out): Likewise.
4571 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4572 ($(objpfx)tst-array2-cmp.out): Likewise.
4573 ($(objpfx)tst-array3-cmp.out): Likewise.
4574 ($(objpfx)tst-array4-cmp.out): Likewise.
4575 ($(objpfx)tst-array5-cmp.out): Likewise.
4576 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4577 ($(objpfx)check-textrel.out): Likewise.
4578 ($(objpfx)check-execstack.out): Likewise.
4579 ($(objpfx)check-localplt.out): Likewise.
4580 ($(objpfx)order2-cmp.out): Likewise.
4581 ($(objpfx)tst-leaks1-mem): Likewise.
4582 ($(objpfx)tst-leaks1-static-mem): Likewise.
4583 ($(objpfx)tst-initorder-cmp.out): Likewise.
4584 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4585 ($(objpfx)tst-unused-dep.out): Likewise.
4586 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4587 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4588 * iconv/Makefile (test-iconvconfig): Likewise.
4589 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4590 ($(objpfx)iconv-test.out): Likewise.
4591 ($(objpfx)tst-tables.out): Likewise.
4592 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4593 ($(objpfx)tst-gettext.out): Likewise.
4594 ($(objpfx)tst-translit.out): Likewise.
4595 ($(objpfx)tst-gettext2.out): Likewise.
4596 ($(objpfx)tst-gettext4.out): Likewise.
4597 ($(objpfx)tst-gettext6.out): Likewise.
4598 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4599 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4600 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4601 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4602 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4603 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4604 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4605 ($(objpfx)wordexp-tst.out): Likewise.
4606 ($(objpfx)annexc.out): Likewise.
4607 ($(objpfx)tst-fnmatch-mem): Likewise.
4608 ($(objpfx)bug-regex2-mem): Likewise.
4609 ($(objpfx)bug-regex14-mem): Likewise.
4610 ($(objpfx)bug-regex21-mem): Likewise.
4611 ($(objpfx)bug-regex31-mem): Likewise.
4612 ($(objpfx)tst-vfork3-mem): Likewise.
4613 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4614 ($(objpfx)tst-pcre-mem): Likewise.
4615 ($(objpfx)tst-boost-mem): Likewise.
4616 ($(objpfx)tst-getconf.out): Likewise.
4617 ($(objpfx)bug-ga2-mem): Likewise.
4618 ($(objpfx)bug-glob2-mem): Likewise.
4619 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4620 ($(objpfx)mtrace-tst-leaks2): Likewise.
4621 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4622 ($(objpfx)tst-printf.out): Likewise.
4623 ($(objpfx)tst-setvbuf1.out): Likewise.
4624 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4625 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4626 ($(objpfx)tst-fmtmsg.out): Likewise.
4627 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4628 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4630 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4631 * bits/sigaction.h [__USE_MISC]: Likewise.
4632 * bits/waitstatus.h: Update #endif comments.
4633 * ctype/ctype.h: Likewise.
4634 * dirent/dirent.h: Likewise.
4635 [__USE_MISC]: Remove redundant conditionals.
4636 * grp/grp.h: Update #endif comments.
4637 [__USE_GNU]: Remove redundant conditionals.
4638 [__USE_MISC]: Likewise.
4639 * inet/netinet/in.h [__USE_GNU]: Likewise.
4640 * io/sys/stat.h [__USE_MISC]: Likewise.
4641 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4642 * libio/bits/stdio.h: Update #endif comments.
4643 [__USE_MISC]: Remove redundant conditionals.
4644 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4645 * libio/stdio.h: Update #endif comments.
4646 [__USE_MISC]: Remove redundant conditionals.
4647 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4648 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4649 * math/math.h: Update #else and #endif comments.
4650 [__USE_MISC]: Remove redundant conditionals.
4651 * misc/sys/uio.h: Update #endif comments.
4652 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4653 * posix/glob.h [__USE_MISC]: Likewise.
4654 * posix/sys/types.h: Update #endif comments.
4655 [__USE_MISC]: Remove redundant conditionals.
4656 * posix/sys/wait.h: Update #endif comments.
4657 [__USE_MISC]: Remove redundant conditionals.
4658 * posix/unistd.h: Update #endif comments.
4659 [__USE_MISC]: Remove redundant conditionals.
4660 * pwd/pwd.h [__USE_GNU]: Likewise.
4661 [__USE_MISC]: Likewise.
4662 * resolv/netdb.h [__USE_GNU]: Likewise.
4663 * signal/signal.h: Update #endif comments.
4664 [__USE_MISC]: Remove redundant conditionals.
4665 * stdlib/stdlib.h: Update #else and #endif comments.
4666 [__USE_MISC]: Remove redundant conditionals.
4667 [__USE_GNU]: Likewise.
4668 * string/bits/string2.h [__USE_MISC]: Likewise.
4669 * string/string.h: Update #endif comments.
4670 [__USE_MISC]: Remove redundant conditionals.
4671 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4673 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4674 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4675 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4677 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4679 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4681 [__USE_MISC]: Remove redundant conditionals.
4682 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4683 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4684 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4685 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4686 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4688 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4689 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4691 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4692 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4694 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4696 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4697 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4699 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4701 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4702 * sysdeps/x86/bits/string.h: Update #endif comments.
4703 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4705 * time/sys/time.h: Update #endif comments.
4706 * time/time.h: Likewise.
4707 [__USE_MISC]: Remove redundant conditionals.
4709 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4712 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4714 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4716 * Versions.def (librt): Add GLIBC_2.17.
4718 2014-02-21 Adam Conrad <adconrad@0c3.net>
4720 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4721 synonym for _SYS_AUXV_H to allow direct inclusion.
4722 * sysdeps/sparc/bits/hwcap.h: Likewise.
4723 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4724 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4725 * sysdeps/sparc/sysdep.h: Likewise.
4727 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4729 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4731 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4733 * benchtests/bench-strrchr.c: Print length instead of position.
4735 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4738 * sysdeps/unix/sysv/linux/kernel-features.h
4739 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4740 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4741 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4742 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4744 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4745 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4746 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4747 (__ASSUME_SENDMMSG): Define instead of using previous
4748 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4749 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4750 (__ASSUME_SENDMMSG_SYSCALL): Define.
4751 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4752 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4754 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4755 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4757 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4758 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4760 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4761 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4762 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4763 [__ASSUME_SENDMMSG]: Change conditionals to
4764 [__ASSUME_SENDMMSG_SOCKETCALL].
4765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4766 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4768 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4769 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4771 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4772 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4773 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4774 [!__ASSUME_SENDMMSG]: Change conditional to
4775 [!__ASSUME_SENDMMSG_SOCKETCALL].
4776 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4777 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4781 * sysdeps/unix/sysv/linux/kernel-features.h
4782 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4783 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4784 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4785 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4786 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4787 [__i386__ || __sparc__]
4788 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4789 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4790 (__ASSUME_RECVMMSG): Define instead of using previous
4791 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4792 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4793 (__ASSUME_RECVMMSG_SYSCALL): Define.
4794 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4795 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4797 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4798 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4800 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4801 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4803 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4804 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4805 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4806 [__ASSUME_RECVMMSG]: Change condition to
4807 [__ASSUME_RECVMMSG_SOCKETCALL].
4808 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4809 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4811 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4812 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4813 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4815 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4816 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4817 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4818 [!__ASSUME_RECVMMSG]: Change condition to
4819 [!__ASSUME_RECVMMSG_SOCKETCALL].
4820 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4821 (__ASSUME_RECVMMSG_SYSCALL): Define.
4824 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4825 __powerpc__ || __s390__ || __sh__ || __sparc__]
4826 (__ASSUME_SOCKETCALL): Define.
4827 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4828 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4829 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4830 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4831 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4832 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4833 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4834 (__ASSUME_ACCEPT4): Define instead of using previous
4835 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4836 __powerpc__ || __sparc__ || __s390__)] condition.
4837 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4838 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4839 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4840 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4841 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4842 [!__ASSUME_ACCEPT4]: Change condition to
4843 [!__ASSUME_ACCEPT4_SOCKETCALL].
4844 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4845 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4846 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4847 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4848 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4849 __ASSUME_ACCEPT4_SYSCALL.
4850 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4851 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4852 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4853 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4854 __ASSUME_ACCEPT4_SYSCALL.
4855 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4856 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4857 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4858 [__ASSUME_ACCEPT4]: Change condition to
4859 [__ASSUME_ACCEPT4_SOCKETCALL].
4860 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4861 (__ASSUME_SOCKETCALL): Define.
4862 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4864 (__ASSUME_SOCKETCALL): Define.
4865 (__ASSUME_ACCEPT4): Remove.
4866 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4868 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4869 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4871 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4872 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4874 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4876 (HWCAP_ARM_LPAE): Likewise.
4877 (HWCAP_ARM_EVTSTRM): Likewise.
4878 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4879 Add vpfd32, lpae and evtstrm.
4880 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4883 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4885 * math/auto-libm-test-in: Add tests of clog10.
4886 * math/auto-libm-test-out: Regenerated.
4887 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4888 * sysdeps/i386/fpu/libm-test-ulps: Update.
4889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891 2014-02-18 Andreas Schwab <schwab@suse.de>
4894 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4895 Store non-zero if the second buffer was newly allocated.
4896 (send_dg): Likewise.
4897 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4898 to send_vc and send_dg.
4899 (res_nsend): Pass NULL for ansp2_malloced.
4900 * resolv/res_query.c (__libc_res_nquery): Add parameter
4901 answerp2_malloced and pass it down to __libc_res_nsend.
4902 (res_nquery): Pass additional NULL to __libc_res_nquery.
4903 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4904 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4905 second answer buffer if answerp2_malloced was set.
4906 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4907 (__libc_res_nquerydomain): Add parameter
4908 answerp2_malloced and pass it down to __libc_res_nquery.
4909 (res_nquerydomain): Pass additional NULL to
4910 __libc_res_nquerydomain.
4911 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4912 additional NULL to __libc_res_nsend and __libc_res_nquery.
4913 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4914 additional NULL to __libc_res_nsearch.
4915 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4916 parameter of __libc_res_nsearch to check for separately allocated
4918 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4920 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4921 additional NULL to __libc_res_nquery.
4922 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4924 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4925 * include/resolv.h: Update prototypes of __libc_res_nquery,
4926 __libc_res_nsearch, __libc_res_nsend.
4928 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4930 * math/auto-libm-test-in: Add tests of fma.
4931 * math/auto-libm-test-out: Regenerated.
4932 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4933 (fma_towardzero_test_data): Likewise.
4934 (fma_downward_test_data): Likewise.
4935 (fma_upward_test_data): Likewise.
4936 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4938 (rounding_modes): Add values for new field.
4939 (func_calc_method): Add value mpfr_fff_f.
4940 (func_calc_desc): Add mpfr_fff_f union field.
4941 (test_function): Add field exact_args.
4942 (FUNC): Add macro argument EXACT_ARGS.
4943 (FUNC_mpfr_f_f): Update call to FUNC.
4944 (FUNC_mpfr_f_f): Likewise.
4945 (FUNC_mpfr_ff_f): Likewise.
4946 (FUNC_mpfr_if_f): Likewise.
4947 (FUNC_mpc_c_f): Likewise.
4948 (FUNC_mpc_c_c): Likewise.
4949 (test_functions): Add fma. Update calls to FUNC.
4950 (handle_input_arg): Add argument exact_args.
4951 (add_test): Update call to handle_input_arg.
4952 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4953 (output_for_one_input_case): Update call to calc_generic_results.
4954 Recalculate exact zero results in each rounding mode.
4956 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4957 non-negative before setting low bit.
4958 * math/auto-libm-test-in: Mark one asin test possibly having
4960 * math/auto-libm-test-out: Regenerated.
4961 * sysdeps/i386/fpu/libm-test-ulps: Update.
4962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4964 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4966 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4967 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4968 ports/sysdeps/unix/sysv/linux/microblaze.
4969 * README: Add missing listing for microblaze*-*-linux-gnu.
4971 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4973 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4974 * sysdeps/unix/sysv/linux/ia64: Move directory from
4975 ports/sysdeps/unix/sysv/linux/ia64.
4976 * README: Update listing for ia64-*-linux-gnu.
4978 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4979 Joseph Myers <joseph@codesourcery.com>
4981 * Makeconfig (test-name): New variable.
4982 (evaluate-test): Likewise.
4983 * Makerules (do-test-clean): Remove .test-result files.
4984 (common-mostlyclean): Likewise.
4985 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4986 * scripts/evaluate-test.sh: New file.
4988 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4990 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4991 separate $(objpfx)tst-fopenloc-cmp.out and
4992 $(objpfx)tst-fopenloc-mem.out targets.
4993 (tests): Update dependencies.
4994 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4995 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4996 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4997 (tst-rxspencer-no-utf8-ARGS): New variable.
4998 (tst-rxspencer-no-utf8-ENV): Likewise.
4999 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5000 instead of $(objpfx)tst-rxspencer-mem.
5001 ($(objpfx)tst-rxspencer-mem): Change target to
5002 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5003 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5004 * posix/tst-rxspencer-no-utf8.c: New file.
5006 * elf/Makefile ($(objpfx)order.out): Remove rule.
5007 [$(run-built-tests) = yes] (tests): Depend on
5008 $(objpfx)order-cmp.out.
5009 ($(objpfx)order-cmp.out): New rule.
5010 [$(run-built-tests) = yes] (tests): Depend on
5011 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5012 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5013 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5014 $(objpfx)tst-array5-static-cmp.out.
5015 ($(objpfx)tst-array1.out): Remove rule.
5016 ($(objpfx)tst-array1-cmp.out): New rule.
5017 ($(objpfx)tst-array1-static.out): Remove rule.
5018 ($(objpfx)tst-array1-static-cmp.out): New rule.
5019 ($(objpfx)tst-array2.out): Remove rule.
5020 ($(objpfx)tst-array2-cmp.out): New rule.
5021 ($(objpfx)tst-array3.out): Remove rule.
5022 ($(objpfx)tst-array3-cmp.out): New rule.
5023 ($(objpfx)tst-array4.out): Remove rule.
5024 ($(objpfx)tst-array4-cmp.out): New rule.
5025 ($(objpfx)tst-array5.out): Remove rule.
5026 ($(objpfx)tst-array5-cmp.out): New rule.
5027 ($(objpfx)tst-array5-static.out): Remove rule.
5028 ($(objpfx)tst-array5-static-cmp.out): New rule.
5029 [$(run-built-tests) = yes] (tests): Depend on
5030 $(objpfx)order2-cmp.out.
5031 ($(objpfx)order2.out): Remove rule.
5032 ($(objpfx)order2-cmp.out): New rule.
5033 ($(objpfx)tst-initorder.out): Remove rule.
5034 [$(run-built-tests) = yes] (tests): Depend on
5035 $(objpfx)tst-initorder-cmp.out.
5036 ($(objpfx)tst-initorder-cmp.out): New rule.
5037 ($(objpfx)tst-initorder2.out): Remove rule.
5038 [$(run-built-tests) = yes] (tests): Depend on
5039 $(objpfx)tst-initorder2-cmp.out.
5040 ($(objpfx)tst-initorder2-cmp.out): New rule.
5041 [$(run-built-tests) = yes] (tests): Depend on
5042 $(objpfx)tst-unused-dep-cmp.out.
5043 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5044 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5045 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5046 on $(objpfx)tst-setvbuf1-cmp.out.
5047 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5048 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5049 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5050 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5051 ($(objpfx)tst-svc.out): Remove rule.
5052 ($(objpfx)tst-svc-cmp.out): New rule.
5054 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5056 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5057 * ctype/ctype.h [__USE_MISC]: Likewise.
5058 * dirent/dirent.h [__USE_MISC]: Likewise.
5059 * grp/grp.h [__USE_MISC]: Likewise.
5060 * io/fcntl.h [__USE_MISC]: Likewise.
5061 * io/sys/stat.h [__USE_MISC]: Likewise.
5062 * libio/stdio.h [__USE_MISC]: Likewise.
5063 * posix/unistd.h [__USE_MISC]: Likewise.
5064 * pwd/pwd.h [__USE_MISC]: Likewise.
5065 * stdlib.h [__USE_MISC]: Likewise.
5066 * string/bits/string2.h [__USE_MISC]: Likewise.
5067 * string/string.h [__USE_MISC]: Likewise.
5068 * time/time.h [__USE_MISC]: Likewise.
5070 2014-02-13 Andreas Schwab <schwab@suse.de>
5073 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5074 second answer buffer if it was separately allocated.
5076 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5078 * sysdeps/mips/math-tests.h: Include <features.h>.
5079 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5080 (ROUNDING_TESTS_long_double): Do not define.
5081 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5082 (EXCEPTION_TESTS_long_double): Likewise.
5083 * sysdeps/mips/mips64/libm-test-ulps: Update.
5085 * include/features.h (__USE_BSD): Remove macro definitions.
5086 (__USE_SVID): Likewise.
5087 (_BSD_SOURCE): Likewise.
5088 (_SVID_SOURCE): Likewise.
5089 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5090 from definition of _DEFAULT_SOURCE.
5091 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5093 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5094 * bits/mman.h [__USE_BSD]: Likewise.
5095 * bits/termios.h [__USE_BSD]: Likewise.
5096 * bits/waitstatus.h [__USE_BSD]: Likewise.
5097 * ctype/ctype.h [__USE_SVID]: Likewise.
5098 * dirent/dirent.h [__USE_BSD]: Likewise.
5099 * grp/grp.h [__USE_SVID]: Likewise.
5100 [__USE_BSD]: Likewise.
5101 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5102 * io/fcntl.h [__USE_BSD]: Likewise.
5103 * io/ftw.h [__USE_BSD]: Likewise.
5104 * io/sys/stat.h [__USE_BSD]: Likewise.
5105 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5106 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5107 * libio/stdio.h [__USE_SVID]: Likewise.
5108 [__USE_BSD]: Likewise.
5109 * math/math.h [__USE_SVID]: Likewise.
5110 [__USE_BSD]: Likewise.
5111 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5112 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5113 * misc/search.h [__USE_SVID]: Likewise.
5114 * misc/sys/mman.h [__USE_BSD]: Likewise.
5115 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5116 * misc/sys/uio.h [__USE_BSD]: Likewise.
5117 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5118 * posix/glob.h [__USE_BSD]: Likewise.
5119 * posix/regex.h [__USE_BSD]: Likewise.
5120 * posix/sys/types.h [__USE_BSD]: Likewise.
5121 [__USE_SVID]: Likewise.
5122 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5123 * posix/sys/wait.h [__USE_BSD]: Likewise.
5124 [__USE_SVID]: Likewise.
5125 * posix/unistd.h [__USE_BSD]: Likewise.
5126 [__USE_SVID]: Likewise.
5127 * pwd/pwd.h [__USE_SVID]: Likewise.
5128 * resolv/netdb.h [__USE_BSD]: Likewise.
5129 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5130 * signal/signal.h [__USE_BSD]: Likewise.
5131 [__USE_SVID]: Likewise.
5132 * socket/sys/socket.h [__USE_BSD]: Likewise.
5133 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5134 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5135 [__USE_SVID]: Likewise.
5136 * string/bits/string2.h [__USE_BSD]: Likewise.
5137 [__USE_SVID]: Likewise.
5138 * string/bits/string3.h [__USE_BSD]: Likewise.
5139 * string/endian.h [__USE_BSD]: Likewise.
5140 * string/string.h [__USE_SVID]: Likewise.
5141 [__USE_BSD]: Likewise.
5142 * string/strings.h [__USE_BSD]: Likewise.
5143 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5144 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5145 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5146 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5147 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5148 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5150 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5152 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5153 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5155 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5156 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5158 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5160 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5161 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5162 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5164 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5166 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5167 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5168 * termios/termios.h [__USE_BSD]: Likewise.
5169 * time/sys/time.h [__USE_BSD]: Likewise.
5170 * time/time.h [__USE_BSD]: Likewise.
5171 [__USE_SVID]: Likewise.
5173 * Makefile (subdir_targets): Remove subdir_lint.out.
5175 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5176 (do-tst-printf): Likewise.
5177 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5178 $(objpfx)tst-printf.out.
5180 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5182 * Makerules (check-abi-%): Change target to
5183 $(objpfx)check-abi-%.out.
5184 (check-abi target): Update dependencies.
5185 (check-abi-pattern variable): Redirect output of diff to $@.
5186 (check-abi variable): Likewise.
5187 * elf/Makefile (check-abi): Update dependencies.
5189 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5191 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5192 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5194 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5195 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5196 value has largest subnormal exponent.
5197 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5198 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5199 * sysdeps/aarch64/soft-fp/sfp-machine.h
5200 (_FP_TININESS_AFTER_ROUNDING): New macro.
5201 * sysdeps/alpha/soft-fp/sfp-machine.h
5202 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5203 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5205 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5206 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5207 * sysdeps/mips/soft-fp/sfp-machine.h
5208 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5209 * sysdeps/powerpc/soft-fp/sfp-machine.h
5210 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5211 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5213 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5214 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5215 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5216 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5217 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5220 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5223 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5226 2014-02-12 Richard Henderson <rth@redhat.com>
5228 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5229 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5230 * sysdeps/unix/sysv/linux/alpha: Move directory from
5231 ports/sysdeps/unix/sysv/linux/alpha.
5232 * README: Update listing for alpha-*-linux-gnu.
5234 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5236 * include/features.h: Update comment documenting feature test
5238 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5240 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5241 (_SVID_SOURCE): Likewise.
5242 (_DEFAULT_SOURCE): Update description of default features.
5243 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5245 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5246 (S_ISVTX): Likewise.
5247 * manual/math.texi (Mathematical Constants): Likewise.
5248 * manual/signal.texi (Interrupted Primitives): Likewise.
5249 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5250 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5251 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5252 Don't refer to _SVID_SOURCE in warning text.
5254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5256 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5258 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5259 * sysdeps/mips/dl-lookup.c: Remove.
5260 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5262 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5265 * math/auto-libm-test-in: Add testcase for expl.
5266 * math/auto-libm-test-out: Regenerate.
5267 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5268 calculation of unsafe.
5269 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5271 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5273 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5274 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5275 ports/sysdeps/unix/sysv/linux/aarch64.
5276 * README: Update listing for aarch64*-*-linux-gnu.
5278 2014-02-11 Will Newton <will.newton@linaro.org>
5280 * manual/probes.texi (Mathematical Function Probes): Use
5281 "triggered" instead of "hit".
5283 * manual/probes.texi (Internal Probes): Add documentation
5284 of setjmp, longjmp and longjmp_target probes.
5286 * include/stap-probe.h: Add comment about probe argument
5289 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5290 definition. (tr_where, tr_freehook, tr_mallochook,
5291 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5293 2014-02-11 David S. Miller <davem@davemloft.net>
5295 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5296 processing int_tests.
5298 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5300 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5301 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5302 * sysdeps/unix/sysv/linux/mips: Move directory from
5303 ports/sysdeps/unix/sysv/linux/mips.
5304 * README: Update listing for mips-*-linux-gnu and
5307 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5309 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5310 * sysdeps/unix/sysv/linux/m68k: Move directory from
5311 ports/sysdeps/unix/sysv/linux/m68k.
5312 * README: Update listing for m68k-*-linux-gnu.
5314 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5316 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5317 * sysdeps/unix/sysv/linux/generic: Move directory from
5318 ports/sysdeps/unix/sysv/linux/generic.
5319 * sysdeps/unix/sysv/linux/tile: Move directory from
5320 ports/sysdeps/unix/sysv/linux/tile.
5321 * README: Update listing for tile*-*-linux-gnu.
5323 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5325 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5327 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5328 * catgets/open_catalog.c (__open_catalog): Likewise.
5329 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5330 * debug/confstr_chk.c: Likewise.
5331 * debug/fread_chk.c (__fread_chk): Likewise.
5332 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5333 * debug/getgroups_chk.c: Likewise.
5334 * debug/mbsnrtowcs_chk.c: Likewise.
5335 * debug/mbsrtowcs_chk.c: Likewise.
5336 * debug/mbstowcs_chk.c: Likewise.
5337 * debug/memcpy_chk.c: Likewise.
5338 * debug/memmove_chk.c: Likewise.
5339 * debug/mempcpy_chk.c: Likewise.
5340 * debug/memset_chk.c: Likewise.
5341 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5342 * debug/strcat_chk.c (__strcat_chk): Likewise.
5343 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5344 * debug/strncat_chk.c (__strncat_chk): Likewise.
5345 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5346 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5347 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5348 * debug/wcpncpy_chk.c: Likewise.
5349 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5350 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5351 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5352 * debug/wcsncpy_chk.c: Likewise.
5353 * debug/wcsnrtombs_chk.c: Likewise.
5354 * debug/wcsrtombs_chk.c: Likewise.
5355 * debug/wcstombs_chk.c: Likewise.
5356 * debug/wmemcpy_chk.c: Likewise.
5357 * debug/wmemmove_chk.c: Likewise.
5358 * debug/wmempcpy_chk.c: Likewise.
5359 * debug/wmemset_chk.c: Likewise.
5360 * dirent/scandirat.c (SCANDIRAT): Likewise.
5361 * dlfcn/dladdr1.c (dladdr1): Likewise.
5362 * dlfcn/dladdr.c (dladdr): Likewise.
5363 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5364 * dlfcn/dlerror.c (__dlerror): Likewise.
5365 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5366 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5367 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5368 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5369 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5370 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5371 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5372 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5374 * elf/dl-conflict.c: Likewise.
5375 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5376 * elf/dl-dst.h: Likewise.
5377 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5378 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5379 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5380 * elf/dl-init.c (call_init, _dl_init): Likewise.
5381 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5382 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5383 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5385 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5387 * elf/dl-minimal.c (__libc_memalign): Likewise.
5388 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5389 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5390 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5391 * elf/dl-sym.c (do_sym): Likewise.
5392 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5393 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5394 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5395 * elf/dl-writev.h (_dl_writev): Likewise.
5396 * elf/ldconfig.c (search_dir): Likewise.
5397 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5398 (dl_main): Likewise.
5399 * elf/setup-vdso.h (setup_vdso): Likewise.
5400 * grp/compat-initgroups.c (compat_call): Likewise.
5401 * grp/fgetgrent.c (fgetgrent): Likewise.
5402 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5403 * grp/putgrent.c (putgrent): Likewise.
5404 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5406 * hurd/hurdinit.c: Likewise.
5407 * iconvdata/8bit-gap.c (struct): Likewise.
5408 * iconvdata/ansi_x3.110.c : Likewise.
5409 * iconvdata/big5.c : Likewise.
5410 * iconvdata/big5hkscs.c : Likewise.
5411 * iconvdata/cp1255.c: Likewise.
5412 * iconvdata/cp1258.c : Likewise.
5413 * iconvdata/cp932.c : Likewise.
5414 * iconvdata/euc-cn.c: Likewise.
5415 * iconvdata/euc-jisx0213.c : Likewise.
5416 * iconvdata/euc-jp.c: Likewise.
5417 * iconvdata/euc-jp-ms.c : Likewise.
5418 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5419 * iconvdata/gb18030.c : Likewise.
5420 * iconvdata/gbbig5.c (const): Likewise.
5421 * iconvdata/gbgbk.c: Likewise.
5422 * iconvdata/gbk.c : Likewise.
5423 * iconvdata/ibm1364.c : Likewise.
5424 * iconvdata/ibm930.c : Likewise.
5425 * iconvdata/ibm932.c: Likewise.
5426 * iconvdata/ibm933.c : Likewise.
5427 * iconvdata/ibm935.c : Likewise.
5428 * iconvdata/ibm937.c : Likewise.
5429 * iconvdata/ibm939.c : Likewise.
5430 * iconvdata/ibm943.c: Likewise.
5431 * iconvdata/iso_11548-1.c: Likewise.
5432 * iconvdata/iso-2022-cn.c : Likewise.
5433 * iconvdata/iso-2022-cn-ext.c : Likewise.
5434 * iconvdata/iso-2022-jp-3.c: Likewise.
5435 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5436 * iconvdata/iso-2022-kr.c : Likewise.
5437 * iconvdata/iso646.c (gconv_end): Likewise.
5438 * iconvdata/iso_6937-2.c : Likewise.
5439 * iconvdata/iso_6937.c : Likewise.
5440 * iconvdata/iso8859-1.c: Likewise.
5441 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5442 * iconvdata/shift_jisx0213.c : Likewise.
5443 * iconvdata/sjis.c : Likewise.
5444 * iconvdata/t.61.c : Likewise.
5445 * iconvdata/tcvn5712-1.c : Likewise.
5446 * iconvdata/tscii.c: Likewise.
5447 * iconvdata/uhc.c : Likewise.
5448 * iconvdata/unicode.c (gconv_end): Likewise.
5449 * iconvdata/utf-16.c (gconv_end): Likewise.
5450 * iconvdata/utf-32.c (gconv_end): Likewise.
5451 * iconvdata/utf-7.c (base64): Likewise.
5452 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5453 * iconv/gconv_close.c (__gconv_close): Likewise.
5454 * iconv/gconv_open.c (__gconv_open): Likewise.
5455 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5456 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5457 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5458 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5459 (ucs4le_internal_loop_single): Likewise.
5460 * iconv/iconv.c (iconv): Likewise.
5461 * iconv/iconv_close.c: Likewise.
5462 * iconv/loop.c (SINGLE): Likewise.
5463 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5464 * include/atomic.h: Likewise.
5465 * inet/inet6_option.c (option_alloc): Likewise.
5466 * intl/bindtextdom.c (set_binding_values): Likewise.
5467 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5468 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5469 * intl/localealias.c (read_alias_file): Likewise.
5470 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5471 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5472 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5473 * libio/fmemopen.c (fmemopen): Likewise.
5474 * libio/iofgets.c (_IO_fgets): Likewise.
5475 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5476 * libio/iofgetws.c (fgetws): Likewise.
5477 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5478 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5479 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5480 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5481 * locale/findlocale.c (_nl_find_locale): Likewise.
5482 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5483 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5485 * locale/setlocale.c (setlocale): Likewise.
5486 * login/programs/pt_chown.c (main): Likewise.
5487 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5488 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5489 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5490 (mmap, mmap64, mremap, munmap): Likewise.
5491 * math/e_exp2l.c: Likewise.
5492 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5493 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5494 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5495 * math/s_catan.c (__catan): Likewise.
5496 * math/s_catanf.c (__catanf): Likewise.
5497 * math/s_catanh.c (__catanh): Likewise.
5498 * math/s_catanhf.c (__catanhf): Likewise.
5499 * math/s_catanhl.c (__catanhl): Likewise.
5500 * math/s_catanl.c (__catanl): Likewise.
5501 * math/s_ccosh.c (__ccosh): Likewise.
5502 * math/s_ccoshf.c (__ccoshf): Likewise.
5503 * math/s_ccoshl.c (__ccoshl): Likewise.
5504 * math/s_cexp.c (__cexp): Likewise.
5505 * math/s_cexpf.c (__cexpf): Likewise.
5506 * math/s_cexpl.c (__cexpl): Likewise.
5507 * math/s_clog10.c (__clog10): Likewise.
5508 * math/s_clog10f.c (__clog10f): Likewise.
5509 * math/s_clog10l.c (__clog10l): Likewise.
5510 * math/s_clog.c (__clog): Likewise.
5511 * math/s_clogf.c (__clogf): Likewise.
5512 * math/s_clogl.c (__clogl): Likewise.
5513 * math/s_csin.c (__csin): Likewise.
5514 * math/s_csinf.c (__csinf): Likewise.
5515 * math/s_csinh.c (__csinh): Likewise.
5516 * math/s_csinhf.c (__csinhf): Likewise.
5517 * math/s_csinhl.c (__csinhl): Likewise.
5518 * math/s_csinl.c (__csinl): Likewise.
5519 * math/s_csqrt.c (__csqrt): Likewise.
5520 * math/s_csqrtf.c (__csqrtf): Likewise.
5521 * math/s_csqrtl.c (__csqrtl): Likewise.
5522 * math/s_ctan.c (__ctan): Likewise.
5523 * math/s_ctanf.c (__ctanf): Likewise.
5524 * math/s_ctanh.c (__ctanh): Likewise.
5525 * math/s_ctanhf.c (__ctanhf): Likewise.
5526 * math/s_ctanhl.c (__ctanhl): Likewise.
5527 * math/s_ctanl.c (__ctanl): Likewise.
5528 * math/w_pow.c: Likewise.
5529 * math/w_powf.c: Likewise.
5530 * math/w_powl.c: Likewise.
5531 * math/w_scalb.c (sysv_scalb): Likewise.
5532 * math/w_scalbf.c (sysv_scalbf): Likewise.
5533 * math/w_scalbl.c (sysv_scalbl): Likewise.
5534 * misc/error.c (error_tail): Likewise.
5535 * misc/pselect.c (__pselect): Likewise.
5536 * nis/nis_callback.c (__nis_create_callback): Likewise.
5537 * nis/nis_call.c (__nisfind_server): Likewise.
5538 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5539 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5540 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5541 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5542 * nis/nis_lookup.c (nis_lookup): Likewise.
5543 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5544 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5545 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5546 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5547 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5548 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5549 * nis/nss_compat/compat-initgroups.c (add_group)
5550 (internal_getgrent_r): Likewise.
5551 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5552 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5553 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5554 (internal_getspnam_r): Likewise.
5555 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5556 (_nss_nis_getaliasbyname_r): Likewise.
5557 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5558 (_nss_nis_getntohost_r): Likewise.
5559 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5560 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5561 (_nss_nis_getgrgid_r): Likewise.
5562 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5563 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5564 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5565 (_nss_nis_gethostbyname4_r): Likewise.
5566 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5567 (initgroups_netid): Likewise.
5568 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5569 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5570 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5571 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5572 (_nss_nis_getprotobynumber_r): Likewise.
5573 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5574 (_nss_nis_getsecretkey): Likewise.
5575 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5576 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5577 (_nss_nis_getpwuid_r): Likewise.
5578 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5579 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5580 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5581 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5582 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5583 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5584 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5586 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5587 (_nss_nisplus_getntohost_r): Likewise.
5588 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5589 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5590 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5591 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5593 * nis/nss_nisplus/nisplus-initgroups.c
5594 (_nss_nisplus_initgroups_dyn): Likewise.
5595 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5596 (_nss_nisplus_getnetbyaddr_r): Likewise.
5597 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5598 (_nss_nisplus_getprotobynumber_r): Likewise.
5599 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5600 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5601 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5603 * nis/nss_nisplus/nisplus-service.c
5604 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5605 (_nss_nisplus_getservbyport_r): Likewise.
5606 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5607 (_nss_nisplus_getspnam_r): Likewise.
5608 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5610 * nscd/aicache.c (addhstaiX): Likewise.
5611 * nscd/cache.c (cache_search, prune_cache): Likewise.
5612 * nscd/connections.c (register_traced_file, send_ro_fd)
5613 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5614 (main_loop_epoll): Likewise.
5615 * nscd/grpcache.c (addgrbyX): Likewise.
5616 * nscd/hstcache.c (addhstbyX): Likewise.
5617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5618 * nscd/mem.c (gc, mempool_alloc): Likewise.
5619 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5620 (addinnetgrX): Likewise.
5621 * nscd/nscd-client.h (__nscd_acquire_maplock)
5622 (__nscd_drop_map_ref): Likewise.
5623 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5624 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5625 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5627 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5628 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5629 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5630 (__nscd_get_map_ref): Likewise.
5631 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5632 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5634 * nscd/pwdcache.c (addpwbyX): Likewise.
5635 * nscd/selinux.c (preserve_capabilities): Likewise.
5636 * nscd/servicescache.c (addservbyX): Likewise.
5637 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5638 * posix/fnmatch.c (fnmatch): Likewise.
5639 * posix/getopt.c (_getopt_internal_r): Likewise.
5640 * posix/glob.c (glob, glob_in_dir): Likewise.
5641 * posix/wordexp.c (exec_comm_child): Likewise.
5642 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5643 (getanswer_r, gaih_getanswer_slice): Likewise.
5644 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5645 * resolv/res_init.c: Likewise.
5646 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5647 * resolv/res_query.c (__libc_res_nquery): Likewise.
5648 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5650 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5651 * stdio-common/perror.c (perror): Likewise.
5652 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5653 * stdio-common/tmpnam.c (tmpnam): Likewise.
5654 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5655 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5656 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5658 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5659 * stdlib/putenv.c (putenv): Likewise.
5660 * stdlib/setenv.c (__add_to_environ): Likewise.
5661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5662 * stdlib/strtol_l.c (INTERNAL): Likewise.
5663 * string/memmem.c (memmem): Likewise.
5664 * string/strerror.c (strerror): Likewise.
5665 * string/strnlen.c (__strnlen): Likewise.
5666 * string/test-memmem.c (simple_memmem): Likewise.
5667 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5668 * sunrpc/pm_getport.c (__get_socket): Likewise.
5669 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5670 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5671 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5672 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5674 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5675 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5676 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5677 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5678 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5679 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5681 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5683 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5684 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5685 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5686 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5687 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5689 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5690 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5691 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5692 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5693 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5694 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5696 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5698 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5700 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5701 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5702 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5703 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5704 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5705 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5706 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5708 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5709 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5710 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5713 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5715 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5717 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5719 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5721 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5725 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5727 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5728 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5729 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5730 * sysdeps/posix/sleep.c: Likewise.
5731 * sysdeps/posix/tempname.c: Likewise.
5732 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5733 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5735 * sysdeps/powerpc/powerpc32/dl-machine.h
5736 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5737 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5739 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5740 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5742 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5743 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5744 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5745 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5746 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5747 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5748 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5749 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5750 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5751 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5753 (elf_machine_lazy_rel): Likewise.
5754 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5755 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5756 (elf_machine_lazy_rel): Likewise.
5757 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5758 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5759 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5760 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5761 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5762 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5763 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5766 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5767 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5768 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5769 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5770 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5771 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5772 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5773 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5774 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5775 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5776 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5778 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5779 (__posix_fallocate64_l64): Likewise.
5780 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5781 (posix_fallocate): Likewise.
5782 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5785 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5786 (getifaddrs_internal): Likewise.
5787 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5788 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5789 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5790 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5791 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5792 (__posix_fallocate64_l64): Likewise.
5793 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5795 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5796 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5797 (__get_clockfreq): Likewise.
5798 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5799 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5800 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5802 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5803 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5804 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5805 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5807 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5808 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5809 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5810 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5811 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5812 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5813 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5815 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5816 (posix_fallocate): Likewise.
5817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5818 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5819 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5820 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5821 (elf_machine_rela, elf_machine_rela_relative)
5822 (elf_machine_lazy_rel): Likewise.
5823 * time/asctime.c (asctime_internal): Likewise.
5824 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5825 * time/tzset.c (__tzset_parse_tz): Likewise.
5826 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5827 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5828 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5829 * wcsmbs/wcsmbsload.h: Likewise.
5832 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5834 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5835 (arena_get2): Remove THREAD_STATS conditionals.
5836 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5837 (__malloc_stats, int): Likewise.
5839 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5841 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5842 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5844 * manual/setjmp.texi: Fix typos/grammar errors.
5846 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5847 Only return early when n is <= 0. Delete unused return statement.
5849 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5850 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5851 * debug/tst-longjmp_chk3.c: New file.
5853 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5854 (test_main): Replace code with set_fortify_handler call.
5855 * debug/test-strcpy_chk.c: Likewise.
5856 * debug/tst-chk1.c: Likewise.
5857 * debug/tst-longjmp_chk.c: Likewise.
5858 * test-skeleton.c: Include fcntl.h & paths.h
5859 (set_fortify_handler): Define.
5861 * debug/tst-longjmp_chk.c: Add header comment and include
5863 (do_test): Mark static.
5864 (TEST_FUNCTION): Define.
5866 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5867 (IP_PMTUDISC_INTERFACE): Likewise.
5868 (IP_MULTICAST_IF): Likewise.
5869 (IP_MULTICAST_TTL): Likewise.
5870 (IP_MULTICAST_LOOP): Likewise.
5871 (IP_ADD_MEMBERSHIP): Likewise.
5872 (IP_DROP_MEMBERSHIP): Likewise.
5873 (IP_UNBLOCK_SOURCE): Likewise.
5874 (IP_BLOCK_SOURCE): Likewise.
5875 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5876 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5877 (IP_MSFILTER): Likewise.
5878 (MCAST_JOIN_GROUP): Likewise.
5879 (MCAST_BLOCK_SOURCE): Likewise.
5880 (MCAST_UNBLOCK_SOURCE): Likewise.
5881 (MCAST_LEAVE_GROUP): Likewise.
5882 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5883 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5884 (MCAST_MSFILTER): Likewise.
5885 (IP_MULTICAST_ALL): Likewise.
5886 (IP_UNICAST_IF): Likewise.
5888 * timezone/Makefile: Delete $(have-ksh) check.
5889 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5890 * timezone/tzselect.ksh: Add +x mode bits.
5892 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5893 (ANON_INODE_FS_MAGIC): Likewise.
5894 (BDEVFS_MAGIC): Likewise.
5895 (BINFMTFS_MAGIC): Likewise.
5896 (BTRFS_TEST_MAGIC): Likewise.
5897 (CRAMFS_MAGIC_WEND): Likewise.
5898 (DEBUGFS_MAGIC): Likewise.
5899 (ECRYPTFS_SUPER_MAGIC): Likewise.
5900 (EXT3_SUPER_MAGIC): Likewise.
5901 (EXT4_SUPER_MAGIC): Likewise.
5902 (FUTEXFS_SUPER_MAGIC): Likewise.
5903 (HOSTFS_SUPER_MAGIC): Likewise.
5904 (HUGETLBFS_MAGIC): Likewise.
5905 (MINIX3_SUPER_MAGIC): Likewise.
5906 (MTD_INODE_FS_MAGIC): Likewise.
5907 (NILFS_SUPER_MAGIC): Likewise.
5908 (OPENPROM_SUPER_MAGIC): Likewise.
5909 (PIPEFS_MAGIC): Likewise.
5910 (PSTOREFS_MAGIC): Likewise.
5911 (QNX6_SUPER_MAGIC): Likewise.
5912 (RAMFS_MAGIC): Likewise.
5913 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5914 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5915 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5916 (SECURITYFS_MAGIC): Likewise.
5917 (SELINUX_MAGIC): Likewise.
5918 (SMACK_MAGIC): Likewise.
5919 (SOCKFS_MAGIC): Likewise.
5920 (SQUASHFS_MAGIC): Likewise.
5921 (STACK_END_MAGIC): Likewise.
5922 (TMPFS_MAGIC): Likewise.
5923 (USBDEVICE_SUPER_MAGIC): Likewise.
5924 (V9FS_MAGIC): Likewise.
5925 (XENFS_SUPER_MAGIC): Likewise.
5926 (CRAMFS_MAGIC): Fix typo in comment.
5927 (EXT2_SUPER_MAGIC): Update comment.
5928 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5930 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5932 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5933 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5934 * sysdeps/unix/sysv/linux/arm: Move directory from
5935 ports/sysdeps/unix/sysv/linux/arm.
5936 * README: Update listing for arm-*-linux-gnueabi.
5938 * README: Remove mention of am33.
5940 2014-02-07 Roland McGrath <roland@hack.frob.com>
5942 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5943 than the comma operator, to avoid "rhs of comma has no effect"
5945 (__sigfillset, __sigandset, __sigorset): Likewise.
5946 * include/signal.h (__sigemptyset): Likewise.
5947 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5949 2014-02-07 Allan McRae <allan@archlinux.org>
5951 * version.h (RELEASE): Set to "development".
5952 (VERSION): Set to "2.19.90"
5953 * NEWS: Add 2.20 section.
5955 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5958 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5960 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5962 * manual/contrib.texi: Update entry for Carlos O'Donell,
5963 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5965 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5967 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5969 * sysdeps/unix/sysv/linux/kernel-features.h
5970 [__LINUX_KERNEL_VERSION >= 0x020621]
5971 (__ASSUME_PROC_PID_TASK_COMM): Define.
5973 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5976 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5977 conversion when destination buffer does not have enough space.
5978 * libio/tst-ftell-partial-wide.c: New test case.
5979 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5981 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5982 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5983 Leonard and Allan McRae.
5985 2014-02-04 David S. Miller <davem@davemloft.net>
5987 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5990 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6019 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6021 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6022 * shlib-versions: Likewise.
6024 2014-02-04 Roland McGrath <roland@hack.frob.com>
6025 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6027 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6028 (abilist-pattern): New variable, set to %-le.abilist.
6030 * Makerules (abilist-pattern): New variable.
6031 (vpath): Use $(abilist-pattern) in place of %.abilist.
6032 (check-abi-% pattern rule): Likewise.
6033 (check-abi, update-abi): Likewise.
6035 2014-02-04 Eric Wong <normalperson@yhbt.net>
6037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6039 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6041 * manual/startup.texi: Add next, previous, and top entries for
6042 the `Program Arguments' and `Environment Variables' nodes.
6044 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6046 * manual/macros.texi: Add comments before MTASC-safety macros.
6048 * manual/users.texi: Document MTASC-safety properties.
6050 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6051 (pthread_getspecific, pthread_setspecific): Format with
6052 @deftypefun, and add @safety note.
6053 * manual/signal.texi: Move comments that analyze the above
6054 functions to their home place.
6056 2014-02-03 Allan McRae <allan@archlinux.org>
6058 * po/sl.po: Update Slovenian translation from translation project.
6060 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6062 * manual/time.texi (timegm): Add missing blank after @c.
6063 Reported by Joseph Myers <joseph@codesourcery.com>.
6065 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6067 * manual/check-safety.sh: New.
6068 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6070 * manual/terminal.texi: Document MTASC-safety properties.
6072 * manual/filesys.texi: Document MTASC-safety properties.
6074 * manual/errno.texi: Document MTASC-safety properties.
6076 * manual/intro.texi: Document safety identifiers and
6079 * manual/string.texi (wcstok): Fix prototype.
6080 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6082 * manual/time.texi: Document MTASC-safety properties.
6084 * manual/string.texi: Document MTASC-safety properties.
6086 * manual/threads.texi: Document MTASC-safety properties.
6088 * manual/stdio.texi: Document MTASC-safety properties.
6090 * manual/syslog.texi: Document MTASC-safety properties.
6092 * manual/sysinfo.texi: Document MTASC-safety properties.
6094 * manual/startup.texi: Document MTASC-safety properties.
6096 * manual/socket.texi: Document MTASC-safety properties.
6098 * manual/signal.texi: Document MTASC-safety properties.
6100 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6102 * manual/setjmp.texi: Document MTASC-safety properties.
6104 * manual/search.texi: Document MTASC-safety properties.
6106 * manual/resource.texi: Document MTASC-safety properties.
6108 * manual/process.texi: Document MTASC-safety properties.
6110 * manual/platform.texi: Document MTASC-safety properties.
6112 * manual/pipe.texi: Document MTASC-safety properties.
6114 * manual/pattern.texi: Document MTASC-safety properties.
6116 * manual/message.texi: Document MTASC-safety properties.
6119 * manual/memory.texi: Document MTASC-safety properties.
6121 * manual/math.texi: Document MTASC-safety properties.
6123 * manual/locale.texi: Document MTASC-safety properties.
6125 * manual/llio.texi: Document MTASC-safety properties.
6127 * manual/libdl.texi: New.
6129 * manual/lang.texi: Document MTASC-safety properties.
6131 * manual/job.texi: Document MTASC-safety properties.
6133 * manual/getopt.texi: Document MTASC-safety properties.
6135 * manual/ctype.texi: Document MTASC-safety properties.
6137 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6140 * csu/libc-tls.c (static_map): Remove variable.
6141 (__libc_setup_tls): Use main executable's link map for TLS data.
6142 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6143 casing for LM_ID_BASE and GL(dl_nns).
6144 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6145 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6146 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6147 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6148 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6150 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6153 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6155 * manual/debug.texi: Document MTASC-safety properties.
6157 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6160 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6161 of __x86_64__ when disabling x87 inline functions.
6163 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6165 * manual/charset.texi: Document MTASC-safety properties.
6167 * manual/crypt.texi: Document MTASC-safety properties.
6169 * manual/conf.texi: Document MTASC-safety properties.
6171 * manual/arith.texi: Document MTASC-safety properties.
6173 * manual/argp.texi: Document MTASC-safety properties.
6175 * manual/macros.texi: Introduce macros to document multi
6176 thread, asynchronous signal and asynchronous cancellation
6178 * manual/intro.texi: Introduce the properties themselves.
6180 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6182 * sysdeps/sh/sh4/Makefile: New file.
6184 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6186 * math/gen-libm-test.pl ($srcdir): New variable.
6187 ($auto_input): Use it.
6189 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6192 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6193 access beyond array bounds when parsing netgroups file.
6195 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6196 the old buffer before realloc.
6198 2014-01-27 Allan McRae <allan@archlinux.org>
6200 * po/fr.po: Update French translation from translation project.
6202 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6204 * sysdeps/sh/libm-test-ulps: Regenerate.
6206 2014-01-24 David S. Miller <davem@davemloft.net>
6208 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6210 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6212 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6213 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6215 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6218 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6219 string pointers after reallocation.
6221 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6223 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6224 __SH4A__ instead of __SH_FPU_ANY__.
6226 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6228 * sysdeps/sh/fpu_control.h: New file.
6229 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6230 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6231 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6232 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6233 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6234 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6235 * sysdeps/sh/sys/ucontext.h: Remove.
6236 * sysdeps/sh/sys: Remove directory.
6238 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6240 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6241 s390/sys/ucontext.h.
6242 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6243 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6245 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6248 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6250 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6253 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6254 Adjust the vDSO correctly for internal calls.
6255 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6257 2014-01-20 Allan McRae <allan@archlinux.org>
6259 * po/ca.po: Update Catalan translation from translation project.
6261 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6263 * sysdeps/s390/sotruss-lib.c: New file.
6265 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6269 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6270 local calls issues by not having a PLT stub required for IFUNC calls.
6271 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6273 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6275 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6276 * math/test-fpucw-static.c: Likewise.
6278 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6281 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6283 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6285 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6286 implementation for powerpc.
6288 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6291 * sysdeps/posix/system.c (__libc_system): Do not enable
6292 asynchronous cancellation.
6294 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6297 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6298 handling only for numbers special also in the IEEE case.
6300 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6302 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6304 2014-01-11 Allan McRae <allan@archlinux.org>
6306 * po/bg.po: Update Bulgarian translation from translation project.
6308 * po/de.po: Update German translation from translation project.
6310 2014-01-10 Roland McGrath <roland@hack.frob.com>
6312 * sysdeps/generic/gcc-compat.h: New file.
6314 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6316 * benchtests/asin-inputs: Correct slow inputs.
6317 * benchtests/acos-inputs: Likewise.
6319 2014-01-10 Allan McRae <allan@archlinux.org>
6321 * po:sv.po: Update Swedish translation from translation project.
6323 * po/vi.po: Update Vietnamese translation from translation project.
6325 * po/eo.po: Update Esperanto translation from translation project.
6327 * po/cs.po: Update Czech translation from translation project.
6329 * po/nl.po: Update Dutch translation from translation project.
6331 * po/pl.po: Update Polish translation from translation project.
6333 * po/ru.po: Update Russian translation from translation project.
6335 * po/uk.po: Update Ukrainian translation from translation project.
6337 2014-01-08 Brooks Moses <bmoses@google.com>
6339 * elf/dl-load.c: Fix comment typo.
6341 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6343 * po/header.pot: Rename to...
6344 * po/pot.header: ... this.
6345 * po/Makefile: Use pot.header.
6347 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6348 Maxim Kuvyrkov <maxim@kugelworks.com>
6351 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6352 SRC and DEST against LEN.
6354 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6361 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6365 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6368 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6369 for large positive arguments.
6371 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6373 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6375 * math/auto-libm-test-in: Mark various tests with
6376 xfail-rounding:ldbl-128ibm.
6377 * math/auto-libm-test-out: Regenerated.
6380 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6381 Increase overflow threshold.
6383 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6386 * stdio-common/vfprintf.c: Check for integer overflow.
6388 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6390 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6391 the first argument and return value of __tls_get_addr_internal.
6393 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6395 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6396 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6398 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6400 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6401 * sysdeps/s390/rtld-global-offsets.sym: New file.
6402 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6404 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6405 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6406 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6408 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6409 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6415 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6416 halfs of GPRs for high_gprs contexts.
6417 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6418 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6420 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6422 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6424 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6425 for high GPRs (uc_high_gprs) and for future extensions
6427 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6428 for future extensions (__reserved).
6429 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6431 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6432 SC_HIGHGPRS offset definition.
6433 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6434 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6436 * Versions.def: Add GLIBC_2.19 for libpthread.
6437 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6438 siglongjmp for libpthread with GLIBC_2.19 symver.
6439 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6440 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6441 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6442 * sysdeps/s390/__longjmp.c: New file.
6443 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6444 * sysdeps/s390/longjmp.c: New file.
6445 * sysdeps/s390/setjmp.S: New file.
6446 * sysdeps/s390/sigjmp.S: New file.
6447 * sysdeps/s390/v1-longjmp.c: New file.
6448 * sysdeps/s390/v1-setjmp.h: New file.
6449 * sysdeps/s390/v1-sigjmp.c: New file.
6450 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6451 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6453 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6454 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6455 versioned symbols for ____longjmp_chk.
6456 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6466 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6467 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6468 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6469 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6470 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6471 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6472 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6473 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6474 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6475 * sysdeps/s390/rtld-__longjmp.c: New file.
6476 * sysdeps/s390/rtld-setjmp.S: New file.
6478 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6481 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6482 Return -__logl (x) for small positive arguments without evaluating
6485 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6487 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6489 (__ptrace_peeksiginfo_args): ... this.
6490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6491 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6492 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6494 2014-01-06 Allan McRae <allan@archlinux.org>
6496 * inet/netinet/in.h: Fix typo in comment.
6498 2014-01-05 Andreas Jaeger <aj@suse.de>
6500 * sysdeps/i386/fpu/libm-test-ulps: Update.
6502 2014-01-05 Allan McRae <allan@archlinux.org>
6504 * po/libc.pot: Regenerated.
6506 * malloc/memusagestat.c: Fix gettext call formatting.
6508 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6510 * nscd/nscd.c: Improve usage() output.
6512 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6514 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6515 * sysdeps/unix/sysv/linux/configure: Regenerated.
6516 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6517 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6519 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6522 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6523 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6525 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6527 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6528 extra tokens at end of #undef directive.
6529 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6530 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6531 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6533 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6535 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6537 * math/auto-libm-test-in: Mark various tests with
6538 xfail-rounding:ldbl-128ibm.
6539 * math/auto-libm-test-out: Regenerated.
6541 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6544 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6545 numbers with subnormal high part when calculating exponent.
6548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6552 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6554 (__ieee754_acoshl): Use __log1pl not __log1p.
6556 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6558 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6559 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6560 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6561 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6562 (reused_arena, arena_get2): Convert to GNU style.
6563 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6564 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6565 (memalign_check, __malloc_set_state): Likewise.
6566 * malloc/mallocbug.c (main): Likewise.
6567 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6568 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6569 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6570 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6571 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6572 (__posix_memalign, malloc_info): Likewise.
6573 * malloc/malloc.h: Likewise.
6574 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6575 (mallochook, memalignhook, reallochook, mabort): Likewise.
6576 * malloc/mcheck.h: Likewise.
6577 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6578 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6579 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6580 * malloc/morecore.c (__default_morecore): Likewise.
6581 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6582 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6583 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6584 (print_and_abort): Likewise.
6585 * malloc/obstack.h: Likewise.
6586 * malloc/set-freeres.c (__libc_freeres): Likewise.
6587 * malloc/tst-mallocstate.c (main): Likewise.
6588 * malloc/tst-mtrace.c (main): Likewise.
6589 * malloc/tst-realloc.c (do_test): Likewise.
6591 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6594 * nscd/netgroupcache.c (do_notfound): New function.
6595 (addgetnetgrentX): Use it.
6598 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6599 NSS_STATUS_NOTFOUND.
6601 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6603 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6606 2014-01-01 Allan McRae <allan@archlinux.org>
6608 * scripts/update-copyrights: Update configure input file suffix.
6610 * NEWS: Update copyright year.
6611 * catgets/gencat.c: Likewise.
6612 * csu/version.c: Likewise.
6613 * debug/catchsegv.sh: Likewise.
6614 * debug/pcprofiledump.c: Likewise.
6615 * debug/xtrace.sh: Likewise.
6616 * elf/ldconfig.c: Likewise.
6617 * elf/ldd.bash.in: Likewise.
6618 * elf/pldd.c: Likewise.
6619 * elf/sotruss.ksh: Likewise.
6620 * elf/sprof.c: Likewise.
6621 * iconv/iconv_prog.c: Likewise.
6622 * iconv/iconvconfig.c: Likewise.
6623 * locale/programs/locale.c: Likewise.
6624 * locale/programs/localedef.c: Likewise.
6625 * login/programs/pt_chown.c: Likewise.
6626 * malloc/memusage.sh: Likewise.
6627 * malloc/memusagestat.c: Likewise.
6628 * malloc/mtrace.pl: Likewise.
6629 * manual/libc.texinfo: Likewise.
6630 * nscd/nscd.c: Likewise.
6631 * nss/getent.c: Likewise.
6632 * nss/makedb.c: Likewise.
6633 * posix/getconf.c: Likewise.
6634 * scripts/test-installation.pl: Likewise.
6636 * All files with FSF copyright notices: Update copyright dates
6637 using scripts/update-copyrights.
6638 * intl/plural.c: Regenerated.
6639 * locale/programs/charmap-kw.h: Likewise.
6640 * locale/programs/locfile-kw.h: Likewise.
6642 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6644 * sysdeps/unix/sysv/linux/configure: Regenerated.
6645 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6646 the linux/fanotify.h header.
6647 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6648 HAVE_LINUX_FANOTIFY_H is defined.
6650 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6652 * benchtests/cos-inputs: New inputs.
6653 * benchtests/sin-inputs: Likewise.
6655 * benchtests/atan-inputs: New inputs. Fix name of multiple
6656 precision fallback inputs.
6658 * benchtests/atanh-inputs: New inputs.
6659 * benchtests/tanh-inputs: Likewise.
6661 * benchtests/acosh-inputs: New inputs.
6662 * benchtests/asinh-inputs: Likewise.
6664 * benchtests/cosh-inputs: New inputs.
6665 * benchtests/sinh-inputs: Likewise.
6667 * benchtests/acos-inputs: Add more inputs.
6668 * benchtests/asin-inputs: Likewise.
6670 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6673 * manual/arith.texi: Fix spelling.
6674 * manual/charset.texi: Likewise.
6675 * manual/errno.texi: Likewise.
6676 * manual/filesys.texi: Likewise.
6677 * manual/lang.texi: Likewise.
6678 * manual/llio.texi: Likewise.
6679 * manual/locale.texi: Likewise.
6680 * manual/message.texi: Likewise.
6681 * manual/resource.texi: Likewise.
6682 * manual/search.texi: Likewise.
6683 * manual/setjmp.texi: Likewise.
6684 * manual/stdio.texi: Likewise.
6685 * manual/string.texi: Likewise.
6686 * manual/sysinfo.texi: Likewise.
6687 * manual/time.texi: Likewise.
6689 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6691 * po/sl.po: New file.
6693 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6695 * .gitignore: Add core/.gdbinit/.gdb_history.
6697 2013-12-27 Allan McRae <allan@archlinux.org>
6700 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6701 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6703 2013-12-24 Brooks Moses <bmoses@google.com>
6705 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6706 all compilers that claim C++98 compliance, not just GCC.
6707 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6710 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6712 * NEWS: Restore accidentally deleted bug-fix entries.
6714 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6715 Ondřej Bílka <neleai@seznam.cz>
6718 * malloc/malloc.c (_int_free): Perform sanity check only if we
6721 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6724 * manual/stdio.texi (String Input Conversions): Clarify that character
6725 classes are not supported.
6727 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6731 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6734 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6735 Calculate results for small negative arguments directly rather
6736 than using reflection formula with special underflow handling.
6738 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6739 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6740 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6741 (fchflags): Likewise.
6743 (setlogin): Likewise.
6744 (sigaltstack): Likewise.
6747 (sigsetmask): Likewise.
6749 (waitpid): Likewise.
6750 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6751 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6753 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6754 * sysdeps/unix/bsd/Makefile: ... here.
6755 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6756 * sysdeps/unix/bsd/Versions: ... here.
6757 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6758 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6759 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6760 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6761 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6762 * sysdeps/unix/bsd/sigblock.c: ... here.
6763 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6764 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6765 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6766 * sysdeps/unix/bsd/sigvec.c: ... here.
6767 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6768 * sysdeps/unix/bsd/tcdrain.c: ... here.
6769 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6770 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6771 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6772 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6773 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6774 * sysdeps/unix/bsd/wait.c: ... here.
6775 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6776 * sysdeps/unix/bsd/wait3.c: ... here.
6777 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6778 * sysdeps/unix/bsd/waitpid.c: ... here.
6780 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6783 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6784 round-to-nearest for [!USE_AS_EXPM1L].
6785 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6786 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6787 more tests of exp and exp10. Expect some exp10 tests to miss
6788 exceptions or fail in directed rounding modes.
6789 * math/auto-libm-test-out: Regenerated.
6790 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6791 (exp10_test_tonearest): New function.
6792 (exp10_towardzero_test_data): New array.
6793 (exp10_test_towardzero): New function.
6794 (exp10_downward_test_data): New array.
6795 (exp10_test_downward): New function.
6796 (exp10_upward_test_data): New array.
6797 (exp10_test_upward): New function.
6798 (main): Call the new functions.
6799 * sysdeps/i386/fpu/libm-test-ulps: Update.
6800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6802 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6804 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6805 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6806 * math/auto-libm-test-out: Regenerated.
6807 * math/libm-test.inc (acosh_test_data): Add more tests.
6808 (atanh_test_data): Likewise.
6809 (ceil_test_data): Likewise.
6810 (copysign_test_data): Likewise.
6811 * sysdeps/i386/fpu/libm-test-ulps: Update.
6812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6814 * timezone/checktab.awk: Update from tzcode 2013i.
6815 * timezone/private.h: Likewise.
6816 * timezone/scheck.c: Likewise.
6817 * timezone/tzfile.h: Likewise.
6818 * timezone/tzselect.ksh: Likewise.
6819 * timezone/zdump.c: Likewise.
6820 * timezone/zic.c: Likewise.
6822 * math/auto-libm-test-in: Add tests of cpow.
6823 * math/auto-libm-test-out: Regenerated.
6824 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6825 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6827 (func_calc_desc): Add mpc_cc_c union field.
6828 (test_functions): Add cpow.
6829 (special_fill_2pi): New function.
6830 (special_real_inputs): Add 2pi.
6831 (calc_generic_results): Handle mpc_cc_c.
6832 * sysdeps/i386/fpu/libm-test-ulps: Update.
6833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6835 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6836 csqrt, ctan and ctanh.
6837 * math/auto-libm-test-out: Regenerated.
6838 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6839 (TEST_COND_x86): Likewise.
6840 (ccos_test_data): Use AUTO_TESTS_c_c.
6841 (ccosh_test_data): Likewise.
6842 (cexp_test_data): Likewise.
6843 (clog_test_data): Likewise.
6844 (csqrt_test_data): Likewise.
6845 (ctan_test_data): Likewise.
6846 (ctan_tonearest_test_data): Likewise.
6847 (ctan_towardzero_test_data): Likewise.
6848 (ctan_downward_test_data): Likewise.
6849 (ctan_upward_test_data): Likewise.
6850 (ctanh_test_data): Likewise.
6851 (ctanh_tonearest_test_data): Likewise.
6852 (ctanh_towardzero_test_data): Likewise.
6853 (ctanh_downward_test_data): Likewise.
6854 (ctanh_upward_test_data): Likewise.
6855 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6857 (func_calc_desc): Add mpc_c_c union field.
6858 (FUNC_mpc_c_c): New macro.
6859 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6860 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6862 (special_fill_min_subnorm_p120): New function.
6863 (special_real_inputs): Add min_subnorm_p120.
6864 (calc_generic_results): Handle mpc_c_c.
6865 * sysdeps/i386/fpu/libm-test-ulps: Update.
6866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6868 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6870 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6871 (do_sin_slow): New functions.
6872 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6873 (cslow2, csloww1, csloww2): Use the new functions.
6875 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6876 Use M to change sign of result instead of X. Assume X is
6878 (csloww1): Likewise.
6882 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6889 (sloww1): Don't adjust sign of DX.
6890 (csloww1): Likewise.
6891 (sloww2): Use X directly and don't adjust sign of DX.
6892 (csloww2): Likewise.
6894 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6896 * math/auto-libm-test-in: Add tests of cabs and carg.
6897 * math/auto-libm-test-out: Regenerated.
6898 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6899 (carg_test_data): Likewise.
6900 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6902 (func_calc_desc): Add mpc_c_f union field.
6903 (test_functions): Add cabs and carg.
6904 (calc_generic_results): Handle mpc_c_f.
6906 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6907 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6908 as a macro and a compat symbol.
6909 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6910 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6911 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6912 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6913 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6914 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6916 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6918 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6920 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6922 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6924 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6926 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6927 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6930 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6934 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6936 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6937 trailing whitespace removed.
6938 * scripts/config.guess: Update to version 2013-11-29.
6939 * scripts/config.sub: Update to version 2013-10-01.
6941 * math/auto-libm-test-in: Add tests of sincos.
6942 * math/auto-libm-test-out: Regenerated.
6943 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6946 (func_calc_desc): Add mpfr_f_11 union field.
6947 (test_functions): Add sincos.
6948 (calc_generic_results): Handle mpfr_f_11.
6949 * sysdeps/i386/fpu/libm-test-ulps: Update.
6950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6952 2013-12-19 Andreas Schwab <schwab@suse.de>
6954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6956 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6957 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6958 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6960 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6962 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6963 * sysdeps/i386/fpu/libm-test-ulps: Update.
6964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6967 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6968 round-to-nearest mode when using frndint.
6969 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6970 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6971 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6973 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6975 * math/auto-libm-test-out: Regenerated.
6976 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6977 (TEST_COND_x86): Likewise.
6978 (expm1_tonearest_test_data): New array.
6979 (expm1_test_tonearest): New function.
6980 (expm1_towardzero_test_data): New array.
6981 (expm1_test_towardzero): New function.
6982 (expm1_downward_test_data): New array.
6983 (expm1_test_downward): New function.
6984 (expm1_upward_test_data): New array.
6985 (expm1_test_upward): New function.
6986 (main): Run the new test functions.
6987 * sysdeps/i386/fpu/libm-test-ulps: Update.
6988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6990 * include/features.h: Update comment documenting feature test
6991 macros. Mention _DEFAULT_SOURCE in comment.
6992 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6993 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6994 _BSD_SOURCE and _SVID_SOURCE.
6995 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6996 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6997 !_SVID_SOURCE]: Likewise.
6998 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6999 (__USE_POSIX_IMPLICITLY): Define.
7000 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7001 (_POSIX_SOURCE): Undefine and redefine.
7002 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7003 (_POSIX_C_SOURCE): Likewise.
7004 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7005 (Feature Test Macros): Update documentation of default features.
7007 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7009 * benchtests/Makefile: Add bench-strtok.
7010 * benchtests/bench-strtok.c: New file: strtok benchtest.
7012 2013-12-19 Allan McRae <allan@archlinux.org>
7014 * manual/install.texi: Suppress menu for plain text output.
7015 * INSTALL: Regenerated.
7017 2013-12-18 Brooks Moses <bmoses@google.com>
7020 * misc/getauxval.c: Include errno.h.
7021 (__getauxval): Set errno to ENOENT if the requested type is not
7023 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7024 don't declare with __attribute_const__.
7025 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7026 * manual/startup.texi: Document that getauxval sets errno.
7028 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7030 * math/auto-libm-test-in: Add tests of jn and yn.
7031 * math/auto-libm-test-out: Regenerated.
7032 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7033 (yn_test_data): Likewise.
7034 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7036 (func_calc_desc): Add mpfr_if_f union field.
7037 (FUNC_mpfr_if_f): New macro.
7038 (test_functions): Add jn and yn.
7039 (calc_generic_results): Assert type of second input for
7040 mpfr_ff_f. Handle mpfr_if_f.
7041 (output_for_one_input_case): Disable all checking for arguments
7042 fitting floating-point types in case of an integer argument.
7043 * sysdeps/i386/fpu/libm-test-ulps: Update.
7044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7047 Don't expect fegetround reference in libm.so.
7049 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7051 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7052 $(config-cflags-nofma).
7054 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7056 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7057 * math/auto-libm-test-out: Regenerated.
7060 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7061 to determine exponent and adjust argument to have exponent of -1.
7062 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7064 * math/auto-libm-test-out: Regenerated.
7065 * sysdeps/i386/fpu/libm-test-ulps: Update.
7066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7068 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7070 * manual/probes.texi: Remove cases when per-thread arenas are
7073 2013-12-18 Andreas Schwab <schwab@suse.de>
7075 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7076 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7077 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7078 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7079 * sysdeps/i386/i686/multiarch/Makefile: Update.
7080 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7082 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7084 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7085 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7087 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7090 Support TZ transition times < 00:00:00.
7091 This is needed for version-3 tz-format files; it supports time
7092 stamps past 2037 for America/Godthab (the only entry in the tz
7093 database for which this change is relevant).
7094 * manual/time.texi (TZ Variable): Document transition times
7095 from -167:59:59 through -00:00:01.
7096 * time/tzset.c (tz_rule): Time of day is now signed.
7097 (__tzset_parse_tz): Parse negative time of day.
7099 Document TZ transition times >= 25:00:00.
7100 * manual/time.texi (TZ Variable): Document transition times from
7101 25:00:00 through 167:59:59. These are already supported, and this
7102 support will help with version-3 tz-format files.
7104 * manual/time.texi (TZ Variable): Modernize North America example
7105 to reflect current (i.e., 2007-and-later) daylight saving rules.
7107 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7109 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7111 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7112 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7113 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7114 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7115 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7116 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7117 * sysdeps/unix/bsd/clock.c: Likewise.
7118 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7119 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7120 * sysdeps/unix/bsd/init-posix.c: Likewise.
7121 * sysdeps/unix/bsd/poll.c: Likewise.
7122 * sysdeps/unix/bsd/ptsname.c: Likewise.
7123 * sysdeps/unix/bsd/seekdir.c: Likewise.
7124 * sysdeps/unix/bsd/setegid.c: Likewise.
7125 * sysdeps/unix/bsd/seteuid.c: Likewise.
7126 * sysdeps/unix/bsd/setgid.c: Likewise.
7127 * sysdeps/unix/bsd/setrgid.c: Likewise.
7128 * sysdeps/unix/bsd/setruid.c: Likewise.
7129 * sysdeps/unix/bsd/setsid.c: Likewise.
7130 * sysdeps/unix/bsd/setuid.c: Likewise.
7131 * sysdeps/unix/bsd/sigaction.c: Likewise.
7132 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7133 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7134 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7135 * sysdeps/unix/bsd/telldir.c: Likewise.
7136 * sysdeps/unix/bsd/times.c: Likewise.
7137 * sysdeps/unix/bsd/usleep.c: Likewise.
7139 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7140 ($(objpfx)libbsd-compat.a): Remove rule.
7142 * include/features.h (__FAVOR_BSD): Do not define.
7143 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7144 features conflicting with POSIX.
7145 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7146 (_BSD_SOURCE): Remove description of not being a subset of other
7147 feature test macros.
7148 * manual/job.texi (getpgrp): Do not document BSD version.
7149 (getpgid): Do not document by reference to BSD getpgrp.
7150 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7151 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7152 * signal/signal.h [__FAVOR_BSD]: Likewise.
7153 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7154 instead of making contents conditional on [__FAVOR_BSD].
7155 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7157 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7161 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7164 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7165 values below 2**-450, not 2**-500.
7166 * math/auto-libm-test-in: Don't allow spurious underflow from
7168 * math/auto-libm-test-out: Regenerated.
7172 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7173 values of ha and hb and sort them after adjusting subnormal
7175 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7177 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7178 values of ea and eb and sort them after adjusting subnormal
7180 * math/auto-libm-test-in: Do not expect some hypot tests of
7181 subnormals to fail. Add more hypot tests.
7182 * math/auto-libm-test-out: Regenerated.
7184 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7187 * sysdeps/sh/s_fma.c: New file.
7188 * sysdeps/sh/s_fmaf.c: New file.
7189 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7191 * sysdeps/sh/Implies: Add sh/soft-fp.
7193 2013-12-16 Roland McGrath <roland@hack.frob.com>
7195 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7196 level of indirection to members `objname', `errstring', `malloced'.
7197 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7198 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7199 it as the __longjmp argument (just pass 1 instead).
7200 (_dl_catch_error): Initialize C with argument pointers and address of
7201 volatile local ERRCODE rather than copying values out of C at return.
7203 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7205 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7206 * math/auto-libm-test-out: Regenerated.
7207 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7208 (hypot_test_data): Likewise.
7209 (pow_test_data): Likewise.
7210 (pow_tonearest_test_data): Likewise.
7211 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7213 (func_calc_desc): Add mpfr_ff_f union field.
7214 (FUNC_mpfr_ff_f): New macro.
7215 (test_functions): Add atan2, hypot and pow.
7216 (special_fill_min): New function.
7217 (special_fill_minus_min): Likewise.
7218 (special_fill_min_subnorm): Likewise.
7219 (special_fill_minus_min_subnorm): Likewise.
7220 (special_real_inputs): Add min, -min, min_subnorm and
7222 (calc_generic_results): Handle mpfr_ff_f.
7223 * sysdeps/i386/fpu/libm-test-ulps: Update.
7224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7226 2013-12-16 Will Newton <will.newton@linaro.org>
7228 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7229 (Aligned Memory Blocks): Add documentation for aligned_alloc
7230 and suggest it as an alternative to posix_memalign.
7231 (Hooks for Malloc): Document __memalign_hook is also called
7232 for aligned_alloc. (Summary of Malloc): Add summary for
7233 aligned alloc. Document __memalign_hook is also called
7236 2013-12-16 Will Newton <will.newton@linaro.org>
7238 * manual/memory.texi (Malloc Examples): Clarify default
7239 alignment documentation. Suggest posix_memalign rather
7240 than memalign or valloc.
7241 (Aligned Memory Blocks): Remove suggestion to use memalign
7242 or valloc. Remove obsolete comment about BSD.
7243 Document memalign errno values and mark the function obsolete.
7244 Document posix_memalign returned error codes. Mark valloc
7245 as obsolete. (Hooks for Malloc): __memalign_hook is also
7246 called for posix_memalign and valloc.
7247 (Summary of Malloc): Add posix_memalign to function summary.
7248 __memalign_hook is also called for posix_memalign and valloc.
7250 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7252 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7256 (sloww): Use mynumber union. Expand ternary operator into
7258 (cslow): use mynumber union.
7260 2013-12-16 Allan McRae <allan@archlinux.org>
7262 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7263 * configure: Regenerated.
7265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7268 * configure.ac: Added --enable-maintainer-mode. Check for
7269 autoconf when enabled.
7270 * configure: Regenerated.
7272 * nscd/nscd.service: New file.
7273 * nscd/nscd.tmpfiles: New file.
7275 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7278 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7279 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7280 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7281 (strstr): Add __strstr_sse2_unaligned ifunc.
7282 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7283 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7284 (strcasestr): Remove __strcasestr_sse42 ifunc.
7285 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7289 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7291 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7292 * sysdeps/sh/bits/fenv.h: ... here.
7293 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7295 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7297 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7300 hypotf multiarch implementations.
7301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7303 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7304 multiarch hypot for PPC64.
7305 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7306 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7307 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7308 multiarch hypotf for PPC64.
7310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7311 modff multiarch implementations.
7312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7315 multiarch modf for PPC64.
7316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7319 multiarch modff for PPC64.
7321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7322 and logl multiarch implementations.
7323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7326 multiarch logb for PPC64.
7327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7330 multiarch logb for PPC64.
7331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7334 multiarch logb for PPC64.
7336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7337 isinff multiarch implementation.
7338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7342 multiarch isinf for PPC64.
7343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7346 multiarch isinff for PPC64.
7348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7349 finitef multiarch implementation.
7350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7354 multiarch finite for PPC64.
7355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7358 multiarch finitef for PPC64.
7360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7361 lrint multiarch implementation.
7362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7366 multiarch llrint for PPC64.
7367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7368 multiarch lrint for PPC64.
7370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7371 copysignf multiarch implementation.
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7377 multiarch copysign for PPC64.
7378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7379 multiarch copysignf for PPC64.
7381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7382 multiarch implementation.
7383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7391 multiarch llround for PPC64.
7392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7393 multiarch trunc for PPC64.
7394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7395 multiarch truncf for PPC64.
7397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7398 multiarch implementation.
7399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7407 multiarch llround for PPC64.
7408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7409 multiarch round for PPC64.
7410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7411 multiarch roundf for PPC64.
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7414 multiarch implementation.
7415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7423 multiarch llround for PPC64.
7424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7425 multiarch floor for PPC64.
7426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7427 multiarch floorf for PPC64.
7429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7430 multiarch implementation.
7431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7439 multiarch llround for PPC64.
7440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7441 multiarch ceil for PPC64.
7442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7443 multiarch ceilf for PPC64.
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7446 multiarch implementation.
7447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7454 multiarch llround for PPC64.
7455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7456 multiarch lround for PPC64.
7458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7459 multiarch implementation.
7460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7467 multiarch isnan for PPC64.
7468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7469 multiarch isnanf for PPC64.
7471 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7472 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7473 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7474 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7475 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7478 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7479 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7480 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7481 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7484 multiarch implementations.
7485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7486 (__libc_ifunc_impl_list): Likewise.
7487 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7488 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7489 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7490 multiarch stpcpy for PPC64.
7492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7493 multiarch implementations.
7494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7495 (__libc_ifunc_impl_list): Likewise.
7496 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7497 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7498 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7499 multiarch strcpy for PPC64.
7501 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7502 redefine function name.
7503 (_wordcopy_fwd_dest_aligned): Likewise.
7504 (_wordcopy_bwd_aligned): Likewise.
7505 (_wordcopy_bwd_dest_aligned): Likewise.
7506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7507 multiarch implementations.
7508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7509 (__libc_ifunc_impl_list): Likewise.
7510 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7511 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7512 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7513 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7514 multiarch wcscpy for PPC64.
7516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7517 multiarch implementations.
7518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7519 (__libc_ifunc_impl_list): Likewise.
7520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7521 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7522 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7523 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7524 multiarch wcscpy for PPC64.
7526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7527 multiarch implementations.
7528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7529 (__libc_ifunc_impl_list): Likewise.
7530 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7531 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7532 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7533 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7534 multiarch wcsrchr for PPC64.
7536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7537 multiarch implementations.
7538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7539 (__libc_ifunc_impl_list): Likewise.
7540 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7541 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7542 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7543 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7544 multiarch wcschr for PPC64.
7546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7547 multiarch implementations.
7548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7549 (__libc_ifunc_impl_list): Likewise.
7550 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7551 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7552 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7553 multiarch strchrnul for PPC64.
7555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7558 (__libc_ifunc_impl_list): Likewise.
7559 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7560 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7561 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7562 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7568 (__libc_ifunc_impl_list): Likewise.
7569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7570 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7571 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7572 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7576 multiarch implementations.
7577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7578 (__libc_ifunc_impl_list): Likewise.
7579 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7580 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7581 strncasecmp for PPC64.
7582 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7583 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7584 multiarch strncasecmp_l for PPC64.
7586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7587 multiarch implementations.
7588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7589 (__libc_ifunc_impl_list): Likewise.
7590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7592 multiarch strcasecmp for PPC64.
7593 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7595 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7596 multiarch strcasecmp_l for PPC64.
7598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7601 (__libc_ifunc_impl_list): Likewise.
7602 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7603 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7604 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7610 (__libc_ifunc_impl_list): Likewise.
7611 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7612 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7613 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7619 (__libc_ifunc_impl_list): Likewise.
7620 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7621 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7622 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7623 rawmemrchr for PPC64.
7625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7628 (__libc_ifunc_impl_list): Likewise.
7629 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7630 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7631 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7637 (__libc_ifunc_impl_list): Likewise.
7638 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7639 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7640 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7646 (__libc_ifunc_impl_list): Likewise.
7647 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7649 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7652 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7653 avoid cretion of __bzero symbol.
7654 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7656 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7658 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7661 multiarch implementations.
7662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7663 (__libc_ifunc_impl_list): Likewise.
7664 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7665 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7666 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7667 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7669 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7670 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7671 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7672 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7673 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7675 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7677 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7681 (__libc_ifunc_impl_list): Likewise.
7682 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7683 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7684 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7685 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7689 multiarch for POWER/PPC64.
7690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7691 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7696 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7697 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7698 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7701 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7702 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7703 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7704 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7705 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7706 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7707 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7708 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7709 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7710 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7711 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7712 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7713 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7714 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7715 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7724 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7726 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7728 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7730 * benchtests/Makefile (bench): Add exp2 and log2.
7731 (LDLIBS-bench-exp2): Add -lm.
7732 (LDLIBS-bench-log2): Likewise.
7733 * benchtests/exp2-inputs: New inputs file.
7734 * benchtests/log2-inputs: New inputs file.
7735 * benchtests/log-inputs: Add new inputs.
7736 * benchtests/tan-inputs: Likewise.
7738 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7740 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7742 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7743 (csloww2): ... from here.
7745 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7746 instead of structures.
7747 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7748 (POLYNOMIAL): Likewise.
7749 (TAYLOR_SLOW): Likewise.
7757 (bsloww1): Likewise.
7758 (bsloww2): Likewise.
7761 (csloww1): Likewise.
7762 (csloww2): Likewise.
7764 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7766 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7767 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7768 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7769 * malloc/hooks.c (realloc_check): Likewise.
7771 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7772 * malloc/arena.c: Remove PER_THREAD conditional.
7773 [!PER_THREAD]: Remove code.
7774 (ptmalloc_unlock_all2): Likewise.
7775 (ptmalloc_init): Likewise.
7776 (_int_new_arena): Likewise.
7777 (arena_get2): Likewise.
7778 * malloc/hooks.c (__malloc_get_state): Likewise.
7779 (__malloc_set_state): Likewise.
7780 * malloc/malloc.c: Likewise.
7781 (struct malloc_state): Likewise.
7782 (struct malloc_par): Likewise.
7783 (__libc_realloc): Likewise.
7784 (__libc_mallopt): Likewise.
7786 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7788 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7790 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7792 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7793 macro to a function. Check for zero perturb_byte.
7794 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7796 * malloc/malloc.c: (force_reg): Remove.
7797 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7798 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7799 force_reg by atomic_forced_read.
7800 * malloc/arena.c (ptmalloc_init): Likewise.
7801 * malloc/hooks.c (top_check): Likewise.
7803 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7807 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7811 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7813 * math/auto-libm-test-in: Add tests of lgamma.
7814 * math/auto-libm-test-out: Regenerated.
7815 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7816 (M_LOG_2_SQRT_PIl): Likewise.
7817 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7818 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7820 (func_calc_desc): Add mpfr_f_f1 union field.
7829 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7830 (test_functions): Add lgamma.
7831 (calc_generic_results): Handle mpfr_f_f1.
7832 * sysdeps/i386/fpu/libm-test-ulps: Update.
7833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7835 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7837 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7838 __mpn_add_n for PowerPC64/POWER7.
7839 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7840 __mpn_sub_n for PowerPC64/POWER7.
7842 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7843 __mpn_addmul_1 for PowerPC64.
7844 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7845 __mpn_submul_1 for PowerPC64.
7846 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7848 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7851 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7854 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7856 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7858 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7860 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7861 add multiarch folders.
7862 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7863 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7864 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7865 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7866 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7867 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7868 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7869 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7870 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7871 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7872 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7881 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7887 multiarch __ieee754_hypot for PowerPC32.
7888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7893 multiarch __ieee754_hypotf for PowerPC32.
7895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7896 long_double_symbol only if __logbl is defined.
7897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7898 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7900 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7902 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7903 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7904 path for implementation.
7905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7906 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7908 logb, and logbl multiarch implementations for PowerPC32.
7909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7914 multiarch logb for PowerPC32.
7915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7920 multiarch logbf for PowerPC32.
7921 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7925 multiarch logbl implementation for PowerPC32.
7927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7928 and modff multiarch implementations.
7929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7934 multiarch modf for PowerPC32.
7935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7940 multiarch modff for PowerPC32.
7942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7943 and lrintf multiarch implementations.
7944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7949 multiarch lrint for PowerPC32.
7950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7951 file: multiarch lrintf for PowerPC32.
7953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7954 and lroundf multiarch implementations.
7955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7962 multiarch lround for PowerPC32.
7963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7964 file: multiarch lroundf for PowerPC32.
7966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7967 copysign and copysignf multiarch implementations.
7968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7973 file: multiarch copysign for PowerPC32.
7974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7975 file: multiarch copysignf for PowerPC32.
7977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7978 and truncf multiarch implementations.
7979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7984 multiarch trunc for PowerPC32.
7985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7990 multiarch truncf for PowerPC32.
7992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7993 and roundf multiarch implementations.
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7999 multiarch round for PowerPC32.
8000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8005 multiarch roundf for PowerPC32.
8007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8008 and floorf multiarch implementations.
8009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8014 multiarch floor for PowerPC32.
8015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8020 multiarch floorf for PowerPC32.
8022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8023 and ceilf multiarch implementations.
8024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8029 multiarch ceil for PowerPC32.
8030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8035 multiarch ceilf for PowerPC32.
8037 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8039 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8042 and finitef multiarch implementations.
8043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8048 multiarch finite for PowerPC32.
8049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8052 file: multiarch finitef for PowerPC32.
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8055 and isinff multiarch implementations.
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8061 multiarch isinf for PowerPC32.
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8065 multiarch isinff for PowerPC32.
8067 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8068 alias when __isnan is defined.
8069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8070 and isnanf multiarch implementations.
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8080 multiarch isnan for PowerPC32.
8081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8086 multiarch isnanf for PowerPC32.
8088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8089 and sqrtf multiarch implementations.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8095 multiarch sqrt for PowerPC32.
8096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8101 multiarch sqrtf for PowerPC32.
8103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8104 and llroundf multiarch implementations.
8105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8112 file: multiarch llround for PowerPC32.
8113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8114 file: multiarch llroundf for PowerPC32.
8116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8117 multiarch PowerPC32 fpu implementations.
8118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8123 multiarch llrint for PowerPC32.
8124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8133 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8135 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8137 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8139 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8140 multiarch wordcopy for PPC32.
8141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8144 (__libc_ifunc_impl_list): Likewise.
8145 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8146 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8147 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8148 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8149 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8150 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8152 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8160 multiarch wcscpy for PPC32.
8161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8164 (__libc_ifunc_impl_list): Likewise.
8165 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8166 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8167 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8168 sysdeps/powerpc/power6/wcscpy.c.
8170 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8178 multiarch wcsrchr for PPC32.
8179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8182 (__libc_ifunc_impl_list): Likewise.
8183 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8184 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8185 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8186 sysdeps/powerpc/power6/wcsrchr.c.
8188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8193 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8194 multiarch wcschr for PPc32.
8195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8198 (__libc_ifunc_impl_list): Likewise.
8199 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8200 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8201 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8202 sysdeps/powerpc/power6/wcschr.c.
8204 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8205 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8207 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8208 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8209 file: multiarch strchr for PPC32.
8210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8213 (__libc_ifunc_impl_list): Likewise.
8215 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8217 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8219 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8221 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8222 multiarch strchrnul for PPC32.
8223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8226 (__libc_ifunc_impl_list): Likewise.
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8230 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8231 multiarch strncasecmp for PPC32.
8232 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8234 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8235 multiarch strncasecmp_l for PPC32.
8236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8237 strncasecmp multiarch objects.
8238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8239 (__libc_ifunc_impl_list): Likewise.
8241 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8243 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8244 multiarch strncasecmp for PPC32.
8245 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8247 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8248 multiarch strcasecmp_l for PPC32.
8249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8252 (__libc_ifunc_impl_list): Likewise.
8254 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8256 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8258 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8259 multiarch strncmp for PPC32.
8260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8263 (__libc_ifunc_impl_list): Likewise.
8265 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8266 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8269 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8273 (__libc_ifunc_impl_list): Likewise.
8275 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8277 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8283 (__libc_ifunc_impl_list): Likewise.
8285 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8287 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8289 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8290 multiarch rawmemchr for PPC32.
8291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8294 (__libc_ifunc_impl_list): Likewise.
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8300 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8301 file: memrchr multiarch for PPC32.
8302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8305 (__libc_ifunc_impl_list): Likewise.
8307 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8308 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8310 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8311 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8312 multiarch memchr for PPC32.
8313 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8316 (__libc_ifunc_impl_list): Likewise.
8318 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8319 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8321 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8323 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8324 file: multiarch mempcpy for PPC32.
8325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8328 (__libc_ifunc_impl_list): Likewise.
8330 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8331 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8332 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8333 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8334 multiarch bzero for PPC32.
8335 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8337 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8339 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8340 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8341 file: multiarch memset for PPC32.
8342 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8344 memset multiarch objects.
8345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8346 (__libc_ifunc_impl_list): Likewise.
8348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8351 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8353 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8357 (__libc_ifunc_impl_list): Likewise.
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8363 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8365 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8367 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8368 multiarch memcpy for PPC32.
8369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8372 (__libc_ifunc_impl_list): Likewise.
8374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8375 support multiarch for POWER/PPC32.
8376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8378 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8380 Implies file to make multiarch folder appers before the fpu and
8381 default folder for power4 configuration.
8383 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8385 * scripts/bench.pl: Append volatile keyword to type.
8387 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8389 * sysdeps/sh/sotruss-lib.c: New file.
8390 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8392 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8396 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8399 * math/w_tgamma.c: Include <errno.h>.
8400 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8401 * math/w_tgammaf.c: Include <errno.h>.
8402 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8403 * math/w_tgammal.c: Include <errno.h>.
8404 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8405 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8406 underflow. Add more tgamma tests.
8407 * math/auto-libm-test-out: Regenerated.
8408 * sysdeps/i386/fpu/libm-test-ulps: Update.
8409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8411 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8412 sin, sinh, tan, tanh, tgamma, y0 and y1.
8413 * math/auto-libm-test-out: Regenerated.
8414 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8415 (TEST_COND_x86): Likewise.
8416 (M_E2l): Remove macro.
8418 (M_2_SQRT_PIl): Likewise.
8419 (M_SQRT_PIl): Likewise.
8420 (M_1_DIV_El): Likewise.
8421 (log_test_data): Use AUTO_TESTS_f_f.
8422 (log10_test_data): Likewise.
8423 (log1p_test_data): Likewise.
8424 (log2_test_data): Likewise.
8425 (sin_test_data): Likewise.
8426 (sin_tonearest_test_data): Likewise.
8427 (sin_towardzero_test_data): Likewise.
8428 (sin_downward_test_data): Likewise.
8429 (sin_upward_test_data): Likewise.
8430 (sinh_test_data): Likewise.
8431 (sinh_tonearest_test_data): Likewise.
8432 (sinh_towardzero_test_data): Likewise.
8433 (sinh_downward_test_data): Likewise.
8434 (sinh_upward_test_data): Likewise.
8435 (tan_test_data): Likewise.
8436 (tan_tonearest_test_data): Likewise.
8437 (tan_towardzero_test_data): Likewise.
8438 (tan_downward_test_data): Likewise.
8439 (tan_upward_test_data): Likewise.
8440 (tanh_test_data): Likewise.
8441 (tgamma_test_data): Likewise.
8442 (y0_test_data): Likewise.
8443 (y1_test_data): Likewise.
8444 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8445 (special_real_inputs): Add pi/4.
8446 * sysdeps/i386/fpu/libm-test-ulps: Update.
8447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8449 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8451 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8452 "longjmp_target" static probes.
8453 (__longjmp): Rename to __longjmp_symbol.
8454 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8455 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8456 on which longjmp to generate.
8457 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8458 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8460 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8461 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8462 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8463 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8464 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8465 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8467 __longjmp_symbol based on which __longjmp to generate.
8468 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8470 (setjmp): Rename to setjmp_symbol.
8471 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8472 (_setjmp): Rename to _setjmp_symbol.
8473 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8474 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8475 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8476 which setjmp to generate.
8477 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8478 "longjmp_target" static probes.
8480 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8482 * benchtests/README: Add note about output arguments.
8483 * benchtests/bench-sincos.c: Remove file.
8484 * benchtests/sincos-inputs: New file.
8485 * scripts/bench.pl: Identify output arguments and define
8486 static variables for them.
8488 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8491 * Makefile (INSTALL): Add install-plain.texi as the primary
8493 * manual/install-plain.texi: New file.
8494 * manual/install.texi: Include node directive only for
8495 non-plaintext output.
8497 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8499 * stdlib/longlong.h: Update from GCC.
8503 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8504 * math/w_j0f.c (y0f): Likewise.
8505 * math/w_j0l.c (__y0l): Likewise.
8506 * math/w_j1.c (y1): Likewise.
8507 * math/w_j1f.c (y1f): Likewise.
8508 * math/w_j1l.c (__y1l): Likewise
8509 * math/w_jn.c (yn): Likewise.
8510 * math/w_jnf.c (ynf): Likewise.
8511 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8512 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8513 value for Bessel function domain errors outside _SVID_ mode.
8514 Adjust sign of return value for yn (negative integer, 0).
8515 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8516 by zero in return for negative x and set sign appropriately for
8518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8519 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8520 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8521 expectations in error cases.
8522 (y1_test_data): Likewise.
8523 (yn_test_data): Likewise.
8524 * sysdeps/i386/fpu/libm-test-ulps: Update.
8525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8527 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8529 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8530 "64" to "64-v1". Add "64-v2".
8531 (abi-64-options): Rename to ...
8532 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8533 (abi-64-condition): Rename to ...
8534 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8535 (abi-64-ld-soname): Rename to ...
8536 (abi-64-v1-ld-soname): ... this.
8537 (abi-64-v2-options): Define.
8538 (abi-64-v2-condition): Likewise.
8539 (abi-64-v2-ld-soname): Likewise.
8540 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8541 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8546 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8547 Alan Modra <amodra@gmail.com>
8549 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8550 New versions for use with the ELFv2 ABI.
8551 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8552 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8554 (struct La_ppc64v2_retval): Likewise.
8555 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8556 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8557 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8558 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8559 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8560 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8561 Do not save or restore CR.
8562 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8563 (_dl_profile_resolve): Do no save or restore CR. Support extended
8564 return values for ELFv2 ABI. Fix location of FPR return registers.
8565 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8566 updated values for _CALL_ELF == 2.
8567 (La_regs, La_retval, int_retval): Likewise.
8569 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8571 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8572 (FRAME_MIN_SIZE_PARM): Likewise.
8573 (FRAME_BACKCHAIN): Likewise.
8574 (FRAME_CR_SAVE): Likewise.
8575 (FRAME_LR_SAVE): Likewise.
8576 (FRAME_TOC_SAVE): Likewise.
8577 (FRAME_PARM_SAVE): Likewise.
8578 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8579 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8580 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8581 (call_mcount_parm_offset): New macro.
8582 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8583 (PROF): Use symbolic stack frame offsets.
8584 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8585 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8586 Redefine in terms of FRAME_MIN_SIZE.
8587 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8588 (_dl_profile_resolve): Likewise. Update comment.
8589 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8590 symbols stack frame offsets.
8591 (__sigsetjmp): Likewise.
8592 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8593 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8594 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8595 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8598 (FRAME_BACKCHAIN): Remove.
8599 (FRAME_CR_SAVE): Likewise.
8600 (FRAME_LR_SAVE): Likewise.
8601 (FRAME_COMPILER_DW): Likewise.
8602 (FRAME_LINKER_DW): Likewise.
8603 (FRAME_TOC_SAVE): Likewise.
8604 (FRAME_PARM_SAVE): Likewise.
8605 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8606 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8607 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8609 (CHECK_SP): Use symbolic stack frame offsets.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8611 zone" instead of caller's parameter save area for temp storage.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8613 Likewise. Also, use symbolic stack frame offsets.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8615 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8616 our own stack frame instead of the caller's.
8617 (__socket): Use symbolic stack frame offsets.
8619 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8620 Alan Modra <amodra@gmail.com>
8622 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8624 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8625 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8626 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8628 (elf_machine_fixup_plt): Call it.
8629 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8631 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8632 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8633 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8634 r2 before calling target.
8636 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8637 Alan Modra <amodra@gmail.com>
8639 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8640 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8641 versions of macros to support ELFv2 ABI.
8642 (LOCALENTRY): New macro.
8643 (ENTRY, EALIGN): Use it.
8644 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8645 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8646 fall through into ENTRY entry point.
8647 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8648 Only define if _CALL_ELF != 2.
8650 (elf_machine_matches_host): Verify ABI version matches.
8651 (RTLD_START): Use LOCALENTRY.
8652 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8653 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8654 (PLT_ENTRY_WORDS): New macro.
8655 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8656 (elf_machine_runtime_setup): Support ELFv2 ABI.
8657 (elf_machine_fixup_plt): Likewise.
8658 (elf_machine_plt_conflict): Likewise.
8659 (resolve_ifunc): Likewise.
8660 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8661 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8664 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8666 (makecontext): Support ELFv2 ABI.
8667 * elf/elf.h (EF_PPC64_ABI): Define.
8669 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8671 * sysdeps/powerpc/powerpc64/sysdep.h
8672 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8673 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8674 (ENTRY) [ASSEMBLER]: ... but instead here ...
8675 (EALIGN) [ASSEMBLER]: ... and here.
8676 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8677 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8678 (ENTRY_2) [!ASSEMBLER]: Use it.
8679 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8680 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8681 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8682 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8683 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8685 Use PPC64_LOAD_FUNCPTR.
8687 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8689 2013-12-04 Alan Modra <amodra@gmail.com>
8691 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8692 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8693 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8694 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8697 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8698 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8699 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8700 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8701 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8703 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8706 (__makecontext): Fix incorrect CFI when backtracing out of
8707 context created via makecontext.
8708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8709 (__setcontext): Fix incorrect CFI during switch to new context.
8710 (__novec_setcontext): Likewise.
8712 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8715 * time/strptime_l.c (__strptime_internal): Allow modifiers
8717 * time/tst-strptime.c (day_tests): Add testcase.
8719 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8721 * scripts/bench.pl: Skip over blank lines.
8723 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8726 * manual/time.texi (Calendar Time): Clarify what timezone functions
8729 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8733 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8735 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8737 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8738 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8739 * debug/memset_chk.c (__memset_chk): Likewise.
8740 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8741 * debug/strncpy_chk.c: Likewise.
8743 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8747 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8748 (__ieee754_exp): For possibly underflowing results, check size of
8749 result and force underflow exception if required.
8750 * math/auto-libm-test-in: Add more tests of exp.
8751 * math/auto-libm-test-out: Regenerated.
8752 * sysdeps/i386/fpu/libm-test-ulps: Update.
8753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8756 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8757 * math/w_exp2f.c (__exp2f): Likewise.
8758 * math/w_exp2l.c (__exp2l): Likewise.
8759 * math/auto-libm-test-in: Do not allow missing errno on exp2
8761 * math/auto-libm-test-out: Regenerated.
8763 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8766 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8767 handle filename validation.
8768 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8771 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8774 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8775 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8776 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8778 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8779 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8780 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8781 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8782 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8784 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8785 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8786 Add more erfc tests.
8787 * math/auto-libm-test-out: Regenerated.
8788 * sysdeps/i386/fpu/libm-test-ulps: Update.
8789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8791 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8792 exp2, expm1, j0 and j1.
8793 * math/auto-libm-test-out: Regenerated.
8794 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8795 (erfc_test_data): Likewise.
8796 (exp_test_data): Likewise.
8797 (exp_tonearest_test_data): Likewise.
8798 (exp_towardzero_test_data): Likewise.
8799 (exp_downward_test_data): Likewise.
8800 (exp_upward_test_data): Likewise.
8801 (exp10_test_data): Likewise.
8802 (exp2_test_data): Likewise.
8803 (expm1_test_data): Likewise.
8804 (j0_test_data): Likewise.
8805 (j1_test_data): Likewise.
8806 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8807 (input_flag_type): Add flag_xfail_rounding.
8808 (input_flags): Add xfail-rounding.
8809 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8810 (output_for_one_input_case): Handle flag_xfail_rounding.
8811 * sysdeps/i386/fpu/libm-test-ulps: Update.
8812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8814 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8817 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8820 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8823 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8824 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8825 (STAP_PROBE0): New macro.
8826 (STAP_PROBE1): Likewise.
8827 (STAP_PROBE2): Likewise.
8828 (STAP_PROBE3): Likewise.
8829 (STAP_PROBE4): Likewise.
8831 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8833 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8835 2013-12-02 Steve Ellcey <sellcey@mips.com>
8837 * benchtests/Makefile (bench): Add sqrt.
8838 (LDLIBS-bench-sqrt): New.
8839 * benchtests/sqrt-input: New.
8841 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8843 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8844 (GAIH_EAI): Likewise.
8845 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8846 (gaih_inet): Likewise.
8847 (getaddrinfo): Don't use GAIH_EAI.
8849 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8850 (struct gaih): Remove definition.
8852 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8854 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8855 Use HERRNOP directly.
8857 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8861 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8863 * math/gen-auto-libm-tests.c (test_functions): Add more
8864 single-argument functions.
8865 (special_fill_pi_2): New function.
8866 (special_fill_minus_pi_2): Likewise.
8867 (special_fill_pi_6): Likewise.
8868 (special_fill_minus_pi_6): Likewise.
8869 (special_fill_pi_3): Likewise.
8870 (special_fill_2pi_3): Likewise.
8871 (special_fill_e): Likewise.
8872 (special_fill_1_e): Likewise.
8873 (special_fill_e_minus_1): Likewise.
8874 (special_real_inputs): Add more special inputs.
8875 (output_for_one_input_case): Do not require ERANGE on underflow to
8876 zero if round-to-nearest result does not underflow to zero, unless
8877 exact results required.
8878 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8879 atan, atanh, cbrt, cos and cosh.
8880 * math/auto-libm-test-out: Regenerated.
8881 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8882 (acos_tonearest_test_data): Likewise.
8883 (acos_towardzero_test_data): Likewise.
8884 (acos_downward_test_data): Likewise.
8885 (acos_upward_test_data): Likewise.
8886 (acosh_test_data): Likewise.
8887 (asin_test_data): Likewise.
8888 (asin_tonearest_test_data): Likewise.
8889 (asin_towardzero_test_data): Likewise.
8890 (asin_upward_test_data): Likewise.
8891 (asinh_test_data): Likewise.
8892 (atan_test_data): Likewise.
8893 (atanh_test_data): Likewise.
8894 (cbrt_test_data): Likewise.
8895 (cos_test_data): Likewise.
8896 (cos_tonearest_test_data): Likewise.
8897 (cos_towardzero_test_data): Likewise.
8898 (cos_downward_test_data): Likewise.
8899 (cos_upward_test_data): Likewise.
8900 (cosh_test_data): Likewise.
8901 (cosh_tonearest_test_data): Likewise.
8902 (cosh_towardzero_test_data): Likewise.
8903 (cosh_downward_test_data): Likewise.
8904 (cosh_upward_test_data): Likewise.
8905 * sysdeps/i386/fpu/libm-test-ulps: Update.
8906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8908 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8911 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8912 * math/w_exp10f.c (__exp10f): Likewise.
8913 * math/w_exp10l.c (__exp10l): Likewise.
8914 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8915 errno settings in existing tests.
8918 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8919 precision control set to double precision.
8920 * sysdeps/i386/fpu/w_sqrt.c: New file.
8921 * math/auto-libm-test-in: Add more tests.
8922 * math/auto-libm-test-out: Update.
8924 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8925 (sqrt_test_tonearest): New function.
8926 (sqrt_towardzero_test_data): New variable.
8927 (sqrt_test_towardzero): New function.
8928 (sqrt_downward_test_data): New variable.
8929 (sqrt_test_downward): New function.
8930 (sqrt_upward_test_data): New variable.
8931 (sqrt_test_upward): New function.
8932 (main): Call the new functions.
8934 * math/gen-auto-libm-tests.c: New file.
8935 * math/auto-libm-test-in: Likewise.
8936 * math/auto-libm-test-out: New generated file.
8937 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8939 (%beautify): Add generated representations of zero.
8940 (top level): Set $auto_input and call parse_auto_input.
8941 (beautify): Remove trailing "f" from hex float constants.
8942 (parse_args): Handle XFAIL_TEST.
8943 (convert_condition): New function.
8944 (or_value): Likewise.
8945 (or_cond_value): Likewise.
8946 (generate_testfile): Handle AUTO_TESTS_* lines.
8947 (parse_auto_input): New function.
8948 * math/libm-test.inc (XFAIL_TEST): New macro.
8949 (ERRNO_UNCHANGED): Update value.
8950 (ERRNO_EDOM): Likewise.
8951 (ERRNO_ERANGE): Likewise.
8952 (IGNORE_RESULT): Likewise.
8953 (TEST_COND_flt_32): New macro.
8954 (TEST_COND_dbl_64): Likewise.
8955 (TEST_COND_ldbl_96_intel): Likewise.
8956 (TEST_COND_ldbl_96_m68k): Likewise.
8957 (TEST_COND_ldbl_128): Likewise.
8958 (TEST_COND_ldbl_128ibm): Likewise.
8959 (TEST_COND_long32): Likewise.
8960 (TEST_COND_long64): Likewise.
8961 (TEST_COND_before_rounding): Likewise.
8962 (TEST_COND_after_rounding): Likewise.
8963 (enable_test): Handle XFAIL_TEST flag.
8964 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8965 with finite results.
8966 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8969 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8970 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8973 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8974 __tls_get_addr_internal instead of __tls_get_offset in order to
8975 avoid GOT pointer dependency. Make rtld export
8976 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8977 __tls_get_addr since we are a __tls_get_offset platform.
8978 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8979 GOT pointer being set up before.
8980 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8982 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8984 * manual/math.texi (Errors in Math Functions): Document accuracy
8988 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8989 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8992 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8994 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9005 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9006 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9007 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9008 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9009 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9011 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9013 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9015 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9016 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9017 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9018 atomic-feupdateenv and flt-rounds.
9019 * sysdeps/powerpc/nofpu/Versions (libc): Add
9020 __atomic_feholdexcept, __atomic_feclearexcept,
9021 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9022 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9023 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9024 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9025 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9030 * manual/arith.texi (FP Exceptions): Document that exceptions may
9031 not be raised when matherr is used.
9032 (Math Error Reporting): Document overflow in directed rounding
9033 modes. Document that errno may not be set when finite values are
9034 returned on overflow. Document intent to set errno on underflow
9035 only for underflow to zero.
9038 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9039 round-to-nearest then adjust result for other rounding modes.
9040 * include/fenv.h (fegetround): Use libm_hidden_proto.
9041 * math/fegetround.c (fegetround): Use libm_hidden_def.
9042 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9043 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9044 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9045 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9047 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9048 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9049 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9050 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9052 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9055 * nss/Versions (libnss_files): Add
9056 _nss_files_gethostbyname3_r.
9057 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9059 (HOST_DB_LOOKUP): Remove macro.
9060 (_nss_files_gethostbyname_r): Implement function without the
9061 HOST_DB_LOOKUP macro.
9062 (_nss_files_gethostbyname2_r): Likewise.
9064 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9066 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9068 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9070 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9071 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9074 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9076 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9077 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9078 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9079 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9080 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9081 __fe_nomask_env_priv and attribute_hidden.
9082 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9083 (libc_feupdateenv_test_ppc): Likewise.
9084 (libc_feresetround_ppc): Likewise.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9086 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9087 compat_symbol macro.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9089 (__fe_nomask_env): Likewise.
9090 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9092 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9094 * string/Makefile: Remove ifunc tests.
9095 * string/test-string.h: Define TEST_IFUNC.
9096 * string/test-bcopy-ifunc.c: Remove.
9097 * string/test-bzero-ifunc.c: Likewise.
9098 * string/test-memccpy-ifunc.c: Likewise.
9099 * string/test-memchr-ifunc.c: Likewise.
9100 * string/test-memcmp-ifunc.c: Likewise.
9101 * string/test-memcpy-ifunc.c: Likewise.
9102 * string/test-memmem-ifunc.c: Likewise.
9103 * string/test-memmove-ifunc.c: Likewise.
9104 * string/test-mempcpy-ifunc.c: Likewise.
9105 * string/test-memrchr-ifunc.c: Likewise.
9106 * string/test-memset-ifunc.c: Likewise.
9107 * string/test-rawmemchr-ifunc.c: Likewise.
9108 * string/test-stpcpy-ifunc.c: Likewise.
9109 * string/test-stpncpy-ifunc.c: Likewise.
9110 * string/test-strcasecmp-ifunc.c: Likewise.
9111 * string/test-strcasestr-ifunc.c: Likewise.
9112 * string/test-strcat-ifunc.c: Likewise.
9113 * string/test-strchr-ifunc.c: Likewise.
9114 * string/test-strchrnul-ifunc.c: Likewise.
9115 * string/test-strcmp-ifunc.c: Likewise.
9116 * string/test-strcpy-ifunc.c: Likewise.
9117 * string/test-strcspn-ifunc.c: Likewise.
9118 * string/test-strlen-ifunc.c: Likewise.
9119 * string/test-strncasecmp-ifunc.c: Likewise.
9120 * string/test-strncat-ifunc.c: Likewise.
9121 * string/test-strncmp-ifunc.c: Likewise.
9122 * string/test-strncpy-ifunc.c: Likewise.
9123 * string/test-strnlen-ifunc.c: Likewise.
9124 * string/test-strpbrk-ifunc.c: Likewise.
9125 * string/test-strrchr-ifunc.c: Likewise.
9126 * string/test-strspn-ifunc.c: Likewise.
9127 * string/test-strstr-ifunc.c: Likewise.
9129 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9131 * benchtests/Makefile: Remove ifunc tests.
9132 * benchtests/bench-string.h: Define TEST_IFUNC.
9133 * benchtests/bench-bcopy-ifunc.c: Remove.
9134 * benchtests/bench-bzero-ifunc.c: Likewise.
9135 * benchtests/bench-memccpy-ifunc.c: Likewise.
9136 * benchtests/bench-memchr-ifunc.c: Likewise.
9137 * benchtests/bench-memcmp-ifunc.c: Likewise.
9138 * benchtests/bench-memcpy-ifunc.c: Likewise.
9139 * benchtests/bench-memmem-ifunc.c: Likewise.
9140 * benchtests/bench-memmove-ifunc.c: Likewise.
9141 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9142 * benchtests/bench-memrchr-ifunc.c: Likewise.
9143 * benchtests/bench-memset-ifunc.c: Likewise.
9144 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9145 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9146 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9147 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9148 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9149 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9150 * benchtests/bench-strcat-ifunc.c: Likewise.
9151 * benchtests/bench-strchr-ifunc.c: Likewise.
9152 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9153 * benchtests/bench-strcmp-ifunc.c: Likewise.
9154 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9155 * benchtests/bench-strcpy-ifunc.c: Likewise.
9156 * benchtests/bench-strcspn-ifunc.c: Likewise.
9157 * benchtests/bench-strlen-ifunc.c: Likewise.
9158 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9159 * benchtests/bench-strncat-ifunc.c: Likewise.
9160 * benchtests/bench-strncmp-ifunc.c: Likewise.
9161 * benchtests/bench-strncpy-ifunc.c: Likewise.
9162 * benchtests/bench-strnlen-ifunc.c: Likewise.
9163 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9164 * benchtests/bench-strrchr-ifunc.c: Likewise.
9165 * benchtests/bench-strsep-ifunc.c: Likewise.
9166 * benchtests/bench-strspn-ifunc.c: Likewise.
9167 * benchtests/bench-strstr-ifunc.c: Likewise.
9169 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9171 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9173 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9175 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9176 * rt/aio.h: Likewise.
9177 * sysdeps/gnu/bits/utmp.h: Likewise.
9178 * sysdeps/gnu/bits/utmpx.h: Likewise.
9179 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9180 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9181 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9182 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9183 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9184 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9185 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9186 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9187 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9188 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9189 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9190 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9191 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9193 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9194 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9195 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9196 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9197 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9198 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9199 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9200 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9201 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9202 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9203 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9205 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9206 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9207 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9208 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9209 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9211 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9212 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9213 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9214 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9215 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9216 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9217 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9218 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9219 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9220 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9222 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9225 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9226 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9228 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9230 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9231 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9234 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9236 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9237 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9238 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9239 (__fesetround): Remove define.
9240 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9241 rounding and exceptions handling.
9242 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9243 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9244 (__fe_nomask_env): Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9246 __fegetround instead of fegetround.
9247 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9250 2013-11-21 Roland McGrath <roland@hack.frob.com>
9252 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9255 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9257 2013-11-21 Meador Inge <meadori@codesourcery.com>
9260 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9261 (encrypt_r): Likewise.
9262 * malloc/obstack.h (obstack_free): Likewise.
9263 * posix/unistd.h (encrypt): Likewise.
9265 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9267 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9268 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9269 DL_CALL_DT_FINI() that call the functions directly.
9270 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9271 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9272 * elf/dl-fini.c: Likewise.
9274 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9276 * malloc/hooks.c (memalign_check): Add alignment rounding.
9277 * malloc/malloc.c (_mid_memalign): New function.
9278 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9279 Implement by calling _mid_memalign.
9280 * manual/probes.texi (Memory Allocation Probes): Remove
9281 memory_valloc_retry and memory_pvalloc_retry.
9283 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9285 * locale/programs/locarchive.c (open_archive): Add const
9286 qualifier to ARCHIVEFNAME and copy default fname to
9290 * libio/tst-widetext.input: Rename Oriya to Odia.
9291 * locale/iso-639.def: Likewise.
9293 * manual/probes.texi (Mathematical Function Probes): Add
9294 documentation for sin, cos, asin and acos probes.
9295 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9296 (__sin32): Add slowasin probe.
9297 (__cos32): Add slowacos probe.
9298 (__mpsin): Add slowsin probe.
9299 (__mpcos): Add slowcos probe.
9301 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9304 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9305 thread-local __sim_exceptions_thread and global
9306 __sim_exceptions_global.
9307 (__sim_disabled_exceptions): Change to thread-local
9308 __sim_disabled_exceptions_thread and global
9309 __sim_disabled_exceptions_global.
9310 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9311 and global __sim_round_mode_global.
9312 (__simulate_exceptions): Use thread-local floating-point state and
9313 set global state from it as needed.
9314 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9315 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9316 __sim_round_mode_thread.
9317 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9318 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9319 and global __sim_exceptions_global.
9320 (__sim_disabled_exceptions): Change to thread-local
9321 __sim_disabled_exceptions_thread and global
9322 __sim_disabled_exceptions_global.
9323 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9324 and global __sim_round_mode_global.
9325 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9326 (SIM_SET_GLOBAL): Likewise.
9327 * sysdeps/powerpc/soft-fp/sfp-machine.h
9328 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9329 __sim_round_mode_thread.
9330 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9331 __sim_disabled_exceptions_thread.
9332 (__sim_exceptions): Change to __sim_exceptions_thread.
9333 (__sim_disabled_exceptions): Change to
9334 __sim_disabled_exceptions_thread.
9335 (__sim_round_mode): Change to __sim_round_mode_thread.
9336 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9337 thread-local floating-point state and set global state from it as
9339 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9340 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9341 (__sim_disabled_exceptions): Remove extern declaration.
9342 (feenableexcept): Use thread-local floating-point state and set
9343 global state from it as needed.
9344 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9346 (__sim_disabled_exceptions): Likewise.
9347 (__sim_round_mode): Likewise.
9348 (__fegetenv): Use thread-local floating-point state.
9349 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9350 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9351 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9352 floating-point state and set global state from it as needed.
9353 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9354 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9355 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9357 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9358 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9360 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9361 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9362 Use __sim_round_mode_thread.
9363 * math/test-fenv-tls.c: New file.
9364 * math/Makefile (tests): Add test-fenv-tls.
9365 ($(objpfx)test-fenv-tls): Depend on
9366 $(common-objpfx)nptl/libpthread.so.
9368 2013-11-19 Andreas Schwab <schwab@suse.de>
9370 * locale/programs/locale.c (show_info): Decode wordarray elements.
9371 * locale/categories.def (LC_MONETARY): Add element for
9372 _NL_MONETARY_CRNCYSTR.
9373 * locale/C-monetary.c (conversion_rate): New variable.
9374 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9377 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9379 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9380 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9382 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9384 * elf/Makefile (tst-auxv): New test.
9385 * elf/tst-auxv.c: New
9386 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9388 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9390 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9391 (hidden_proto): Caller changed.
9392 (hidden_tls_proto): New macro.
9393 (libc_hidden_tls_proto): Likewise.
9394 (rtld_hidden_tls_proto): Likewise.
9395 (libm_hidden_tls_proto): Likewise.
9396 (libresolv_hidden_tls_proto): Likewise.
9397 (librt_hidden_tls_proto): Likewise.
9398 (libdl_hidden_tls_proto): Likewise.
9399 (libnss_files_hidden_tls_proto): Likewise.
9400 (libnsl_hidden_tls_proto): Likewise.
9401 (libnss_nisplus_hidden_tls_proto): Likewise.
9402 (libutil_hidden_tls_proto): Likewise.
9404 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9407 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9408 (decompose_rpath): Defer expansion to fillin_rpath.
9409 (_dl_init_paths): Pass linkmap to fillin_rpath.
9411 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9413 * benchtests/Makefile: Add strsep.
9414 * benchtests/bench-strsep.c: New file: strsep benchtest.
9415 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9417 2013-11-18 Andreas Schwab <schwab@suse.de>
9419 * locale/programs/locale.c (show_info) [case byte]: Check for
9420 '\377' instead of '\177'.
9421 * locale/C-monetary.c (not_available): Always use "\377".
9422 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9423 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9424 detect unavailable sign_posn locale elements.
9425 * locale/localeconv.c (__localeconv): For grouping and
9426 mon_grouping handle "\177" and "\377" like no grouping.
9427 (INT_ELEM): New macro. Use it to set all numeric members.
9428 * locale/programs/ld-monetary.c (monetary_read)
9429 <tok_mon_grouping>: Normalize single -1 to the empty string.
9430 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9433 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9436 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9437 when we match (nil).
9438 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9440 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9442 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9443 (NO_TEST_INLINE): Update value.
9444 (ERRNO_UNCHANGED): Likewise.
9445 (ERRNO_EDOM): Likewise.
9446 (ERRNO_ERANGE): Likewise.
9447 (IGNORE_RESULT): Likewise.
9448 (check_float_internal): Check signs of NaN results if
9450 (check_complex): Pass TEST_NAN_SIGN flag through to second
9451 check_float_internal call.
9452 (copysign_test_data): Add tests with quiet NaNs as second
9453 argument. Use TEST_NAN_SIGN.
9454 (fabs_test_data): Add test of negative quiet NaN argument. Use
9456 (signbit_test_data): Add tests of quiet NaN argument.
9457 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9459 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9461 (parse_args): Handle function results specified as IGNORE.
9462 * math/libm-test.inc (IGNORE_RESULT): New macro.
9463 (check_float_internal): Do not check numerical result if flag
9465 (check_complex): Pass through IGNORE_RESULT to second
9466 check_float_internal call.
9467 (check_int): Do not check numerical result if flag IGNORE_RESULT
9469 (check_long): Likewise.
9470 (check_bool): Likewise.
9471 (check_longlong): Likewise.
9472 (lrint_test_data): Add tests of infinite and NaN arguments.
9473 (lrint_tonearest_test_data): Likewise.
9474 (lrint_towardzero_test_data): Likewise.
9475 (lrint_downward_test_data): Likewise.
9476 (lrint_upward_test_data): Likewise.
9477 (llrint_test_data): Likewise.
9478 (llrint_tonearest_test_data): Likewise.
9479 (llrint_towardzero_test_data): Likewise.
9480 (llrint_downward_test_data): Likewise.
9481 (llrint_upward_test_data): Likewise.
9482 (lround_test_data): Likewise.
9483 (llround_test_data): Likewise.
9485 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9486 (ERRNO_UNCHANGED): Update value.
9487 (ERRNO_EDOM): Likewise.
9488 (ERRNO_ERANGE): Likewise.
9489 (NO_TEST_INLINE_FLOAT): New macro.
9490 (NO_TEST_INLINE_DOUBLE): Likewise.
9491 (enable_test): New function.
9492 (RUN_TEST_f_f): Check enable_test before running test.
9493 (RUN_TEST_2_f): Likewise.
9494 (RUN_TEST_fff_f): Likewise.
9495 (RUN_TEST_c_f): Likewise.
9496 (RUN_TEST_f_f1): Likewise.
9497 (RUN_TEST_fF_f1): Likewise.
9498 (RUN_TEST_fI_f1): Likewise.
9499 (RUN_TEST_ffI_f1): Likewise.
9500 (RUN_TEST_c_c): Likewise.
9501 (RUN_TEST_cc_c): Likewise.
9502 (RUN_TEST_f_i): Likewise.
9503 (RUN_TEST_f_i_tg): Likewise.
9504 (RUN_TEST_ff_i_tg): Likewise.
9505 (RUN_TEST_f_b): Likewise.
9506 (RUN_TEST_f_b_tg): Likewise.
9507 (RUN_TEST_f_l): Likewise.
9508 (RUN_TEST_f_L): Likewise.
9509 (RUN_TEST_fFF_11): Likewise.
9510 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9512 (cosh_test_data): Likewise.
9513 (exp_test_data): Likewise.
9514 (expm1_test_data): Likewise.
9515 (hypot_test_data): Likewise.
9516 (pow_test_data): Likewise.
9517 (sinh_test_data): Likewise.
9518 (tanh_test_data): Likewise.
9519 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9522 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9523 tests with quiet NaN input and output.
9524 (acosh_test_data): Likewise.
9525 (asin_test_data): Likewise.
9526 (asinh_test_data): Likewise.
9527 (atan_test_data): Likewise.
9528 (atanh_test_data): Likewise.
9529 (atan2_test_data): Likewise.
9530 (cbrt_test_data): Likewise.
9531 (cos_test_data): Likewise.
9532 (cosh_test_data): Likewise.
9533 (erf_test_data): Likewise.
9534 (erfc_test_data): Likewise.
9535 (exp_test_data): Likewise.
9536 (exp10_test_data): Likewise.
9537 (exp2_test_data): Likewise.
9538 (expm1_test_data): Likewise.
9539 (hypot_test_data): Likewise.
9540 (j0_test_data): Likewise.
9541 (j1_test_data): Likewise.
9542 (jn_test_data): Likewise.
9543 (lgamma_test_data): Likewise.
9544 (log_test_data): Likewise.
9545 (log10_test_data): Likewise.
9546 (log1p_test_data): Likewise.
9547 (log2_test_data): Likewise.
9548 (pow_test_data): Likewise.
9549 (scalb_test_data): Likewise.
9550 (sin_test_data): Likewise.
9551 (sincos_test_data): Likewise.
9552 (sinh_test_data): Likewise.
9553 (tan_test_data): Likewise.
9554 (tanh_test_data): Likewise.
9555 (tgamma_test_data): Likewise.
9556 (y0_test_data): Likewise.
9557 (y1_test_data): Likewise.
9558 (yn_test_data): Likewise.
9561 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9562 argument being NaN and avoid computations with second argument in
9564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9566 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9568 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9570 * locale/iso-639.def: Add Chitwani Tharu (the).
9572 2013-11-14 Andreas Schwab <schwab@suse.de>
9574 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9575 word instead of empty string.
9577 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9580 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9582 (__fe_nomask_env): Likewise.
9584 2013-11-13 Steve Ellcey <sellcey@mips.com>
9586 * benchtests/bench-timing.h: Include time.h.
9588 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9591 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9593 * sysdeps/unix/sysv/linux/configure: Regenerated.
9595 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9598 * stdlib/strtod_l.c (round_and_return): Do not consider
9599 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9600 exponent one less than half the least subnormal exponent.
9601 * stdlib/test-strtod-round-data: Add more tests.
9602 * stdlib/tst-strtod-round.c (tests): Regenerated.
9604 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9607 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9608 (__fe_mask_env): Likewise.
9609 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9610 libm_hidden_proto and add function prototype.
9611 (__fe_mask_env): Add function prototype.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9613 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9615 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9617 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9619 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9621 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9622 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9624 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9626 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9627 of htab_find_slot().
9629 2013-11-11 David S. Miller <davem@davemloft.net>
9632 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9633 symbol in the non-vis3 case in static builds.
9634 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9635 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9636 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9637 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9639 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9642 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9645 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9647 * benchtests/Makefile: Add bench-strtod.
9648 * benchtests/bench-strtod.c: New file: strtod benchtest
9650 2013-11-11 Andreas Schwab <schwab@suse.de>
9653 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9654 terminating NUL in key length.
9656 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9658 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9659 Add artificial ODP entry for vDSO symbol for PPC64.
9660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9661 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9663 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9666 * nss/getent.c (services_keys): Recognize services starting with digit.
9668 2013-11-06 David S. Miller <davem@davemloft.net>
9671 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9672 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9674 2013-11-06 Will Newton <will.newton@linaro.org>
9676 * manual/memory.texi (Malloc Examples): Remove register
9677 keyword from examples.
9679 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9681 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9683 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9686 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9687 depending on [__GCC_IEC_559 > 0].
9688 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9689 depending on [__GCC_IEC_559_COMPLEX > 0].
9691 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9693 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9696 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9698 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9700 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9703 * malloc/malloc (malloc_info): Do not handle first bin as
9706 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9708 * locale/iso-639.def: Add Central Nahuatl (nhn).
9710 2013-11-01 Bruno Haible <bruno@clisp.org>
9713 * manual/math.texi (BSD Random): Specify range upper bound as
9716 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9718 * locale/iso-639.def: Add Meadow Mari (mhr).
9720 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9722 [BZ #14752], [BZ #15763]
9723 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9725 * rt/tst_shm.c: Add test for escaping directory.
9727 2013-10-31 Andreas Schwab <schwab@suse.de>
9730 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9731 followed by 'x' as part of digit sequence.
9732 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9734 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9737 * configure.ac: allow GNU Make 4.0 and greater.
9738 * configure: Regenerated.
9740 2013-10-30 Will Newton <will.newton@linaro.org>
9743 * malloc/hooks.c (memalign_check): Limit alignment to the
9744 maximum representable power of two.
9745 * malloc/malloc.c (__libc_memalign): Likewise.
9746 * malloc/tst-memalign.c (do_test): Add test for very
9747 large alignment values.
9748 * malloc/tst-posix_memalign.c (do_test): Likewise.
9750 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9753 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9754 (munmap_chunk): Likewise.
9755 (mremap_chunk): Likewise.
9757 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9760 * stdlib/div.c (div): Remove obsolete code.
9761 * stdlib/ldiv.c (ldiv): Likewise.
9762 * stdlib/lldiv.c (lldiv): Likewise.
9764 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9767 * nss/nss_files/files-XXX.c (get_contents_ret): New
9769 (get_contents): New function.
9770 (internal_getent): Use it. Expand size of LINEBUFLEN.
9772 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9774 * configure.in: Moved to ...
9775 * configure.ac: ... here. Change reference to configure.in
9777 * sysdeps/arm/preconfigure.ac: ... here.
9778 configure.in to configure.ac.
9779 * sysdeps/gnu/configure.in: Moved to ...
9780 * sysdeps/gnu/configure.ac: ... here.
9781 * sysdeps/i386/configure.in: Moved to ...
9782 * sysdeps/i386/configure.ac: ... here.
9783 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9784 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9785 * sysdeps/mach/configure.in: Moved to ...
9786 * sysdeps/mach/configure.ac: ... here.
9787 * sysdeps/mach/hurd/configure.in: Moved to ...
9788 * sysdeps/mach/hurd/configure.ac: ... here.
9789 * sysdeps/powerpc/configure.in: Moved to ...
9790 * sysdeps/powerpc/configure.ac: ... here.
9791 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9792 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9793 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9794 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9795 * sysdeps/s390/s390-32/configure.in: Moved to ...
9796 * sysdeps/s390/s390-32/configure.ac: ... here.
9797 * sysdeps/s390/s390-64/configure.in: Moved to ...
9798 * sysdeps/s390/s390-64/configure.ac: ... here.
9799 * sysdeps/sh/configure.in: Moved to ...
9800 * sysdeps/sh/configure.ac: ... here.
9801 * sysdeps/sparc/configure.in: Moved to ...
9802 * sysdeps/sparc/configure.ac: ... here.
9803 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9804 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9805 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9806 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9807 * sysdeps/x86_64/configure.in: Moved to ...
9808 * sysdeps/x86_64/configure.ac: ... here.
9809 * sysdeps/x86_64/preconfigure.in: Moved to ...
9810 * sysdeps/x86_64/preconfigure.ac: ... here.
9811 * aclocal.m4: Change reference to configure.in to configure.ac.
9812 * config.h.in: Likewise.
9813 * manual/install.texi: Likewise.
9814 * manual/maint.texi: Likewise.
9815 * Makefile: Likewise.
9816 * malloc/Makefile: Likewise.
9817 * nscd/Makefile: Likewise.
9818 * Makeconfig: Change reference to configure.in and
9819 preconfigure.in to configure.ac and preconfigure.ac
9821 * INSTALL: Regenerated.
9822 * configure: Likewise.
9823 * sysdeps/gnu/configure: Likewise.
9824 * sysdeps/i386/configure: Likewise.
9825 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9826 * sysdeps/mach/configure: Likewise.
9827 * sysdeps/mach/hurd/configure: Likewise.
9828 * sysdeps/powerpc/configure: Likewise.
9829 * sysdeps/powerpc/powerpc32/configure: Likewise.
9830 * sysdeps/powerpc/powerpc64/configure: Likewise.
9831 * sysdeps/s390/s390-32/configure: Likewise.
9832 * sysdeps/s390/s390-64/configure: Likewise.
9833 * sysdeps/sh/configure: Likewise.
9834 * sysdeps/sparc/configure: Likewise.
9835 * sysdeps/unix/sysv/linux/configure: Likewise.
9836 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9837 * sysdeps/x86_64/configure: Likewise.
9838 * sysdeps/x86_64/preconfigure: Likewise.
9840 2013-10-29 Andreas Schwab <schwab@suse.de>
9842 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9844 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9846 * benchtests/pow-inputs: Add new inputs.
9848 * benchtests/exp-inputs: Add new inputs.
9850 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9851 conditional check for return value.
9852 (__cos32): Likewise.
9854 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9856 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9857 to provide a boost for large inputs with word alignment.
9858 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9859 implementation based on optimized PPC64 strcpy.
9860 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9861 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9862 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9863 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9865 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9868 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9870 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9873 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9874 * time/tst-strptime.c (day_tests): Add testcase.
9876 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9879 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9881 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9884 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9885 MAP_FAILED on error.
9887 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9890 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9891 heap for large requests.
9893 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9896 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9897 result if the result has no associated interface.
9898 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9899 interface for all 127.X.Y.Z addresses.
9901 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9903 * locale/iso-639.def: Add Ligurian (lij)
9905 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9908 * sunrpc/rpc_main.c: Document rpcgen -5.
9910 2013-10-19 Michael Stahl <mstahl@redhat.com>
9912 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9914 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9917 * posix/glob.c: Match only directories when trailing slash is present.
9918 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9919 (main): Add testcase.
9921 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9924 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9926 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9928 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9929 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9930 AUTH_DES and cindex for FIPS 140-2.
9931 (DES Encryption): Add cindex FIPS 46-3.
9933 * locale/locarchive.h (struct locarhandle): Add fname.
9934 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9935 if an optional argument was specified to --list-archive,
9937 * locale/programs/locarchive.c (show_archive_content): Take new
9938 argument fname and pass it via ah.fname to open_archive.
9939 * locale/programs/localedef.h: Update decl.
9940 (open_archive): If AH->fname is non-null, open that file
9941 rather than the default file name, and don't ignore ENOENT.
9942 (create_archive): Set AH.fname to NULL.
9943 (delete_locales_from_archive): Likewise.
9944 (add_locales_to_archive): Likewise.
9945 * locale/programs/locfile.c (write_all_categories): Likewise.
9947 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9948 Aldy Hernandez <aldyh@redhat.com>
9950 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9951 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9952 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9953 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9954 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9955 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9956 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9957 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9958 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9959 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9960 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9961 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9962 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9963 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9964 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9966 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9968 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9970 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9972 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9973 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9975 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9976 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9977 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9978 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9980 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9981 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9982 * sysdeps/powerpc/preconfigure: Likewise.
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9985 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9986 Replace contents of file by #include of <fenv_libc.h>.
9987 * sysdeps/powerpc/soft-fp/sfp-machine.h
9988 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9990 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9997 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9998 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9999 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10000 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10001 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10003 Allow copysignl PLT reference to be missing.
10005 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10006 Joseph Myers <joseph@codesourcery.com
10009 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10011 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10013 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10015 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10016 * elf/tst-tls1.c: Likewise.
10017 * elf/tst-tls10.h: Likewise.
10018 * elf/tst-tls14.c: Likewise.
10019 * elf/tst-tls2.c: Likewise.
10020 * elf/tst-tls3.c: Likewise.
10021 * elf/tst-tls4.c: Likewise.
10022 * elf/tst-tls5.c: Likewise.
10023 * elf/tst-tls6.c: Likewise.
10024 * elf/tst-tls7.c: Likewise.
10025 * elf/tst-tls8.c: Likewise.
10026 * elf/tst-tls9.c: Likewise.
10027 * elf/tst-tlsmod1.c: Likewise.
10028 * elf/tst-tlsmod13.c: Likewise.
10029 * elf/tst-tlsmod13a.c: Likewise.
10030 * elf/tst-tlsmod14a.c: Likewise.
10031 * elf/tst-tlsmod16a.c: Likewise.
10032 * elf/tst-tlsmod16b.c: Likewise.
10033 * elf/tst-tlsmod2.c: Likewise.
10034 * elf/tst-tlsmod3.c: Likewise.
10035 * elf/tst-tlsmod4.c: Likewise.
10036 * elf/tst-tlsmod5.c: Likewise.
10037 * elf/tst-tlsmod6.c: Likewise.
10039 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10042 * malloc/malloc.c: remove checks for statistics.
10044 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10047 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10048 * inet/tst-network.c: Add testcase.
10050 2013-10-17 Andreas Schwab <schwab@suse.de>
10053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10054 to determine canonical name.
10056 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10058 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10059 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10082 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10083 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10088 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10117 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10120 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10121 make result into a quiet NaN.
10123 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10125 * soft-fp/adddf3.c: Fix horizontal whitespace.
10126 * soft-fp/addsf3.c: Likewise.
10127 * soft-fp/addtf3.c: Likewise.
10128 * soft-fp/divdf3.c: Likewise.
10129 * soft-fp/divsf3.c: Likewise.
10130 * soft-fp/divtf3.c: Likewise.
10131 * soft-fp/double.h: Likewise.
10132 * soft-fp/eqdf2.c: Likewise.
10133 * soft-fp/eqsf2.c: Likewise.
10134 * soft-fp/eqtf2.c: Likewise.
10135 * soft-fp/extenddftf2.c: Likewise.
10136 * soft-fp/extended.h: Likewise.
10137 * soft-fp/extendsfdf2.c: Likewise.
10138 * soft-fp/extendsftf2.c: Likewise.
10139 * soft-fp/extendxftf2.c: Likewise.
10140 * soft-fp/fixdfdi.c: Likewise.
10141 * soft-fp/fixdfsi.c: Likewise.
10142 * soft-fp/fixdfti.c: Likewise.
10143 * soft-fp/fixsfdi.c: Likewise.
10144 * soft-fp/fixsfsi.c: Likewise.
10145 * soft-fp/fixsfti.c: Likewise.
10146 * soft-fp/fixtfdi.c: Likewise.
10147 * soft-fp/fixtfsi.c: Likewise.
10148 * soft-fp/fixtfti.c: Likewise.
10149 * soft-fp/fixunsdfdi.c: Likewise.
10150 * soft-fp/fixunsdfsi.c: Likewise.
10151 * soft-fp/fixunsdfti.c: Likewise.
10152 * soft-fp/fixunssfdi.c: Likewise.
10153 * soft-fp/fixunssfsi.c: Likewise.
10154 * soft-fp/fixunssfti.c: Likewise.
10155 * soft-fp/fixunstfdi.c: Likewise.
10156 * soft-fp/fixunstfsi.c: Likewise.
10157 * soft-fp/fixunstfti.c: Likewise.
10158 * soft-fp/floatdidf.c: Likewise.
10159 * soft-fp/floatdisf.c: Likewise.
10160 * soft-fp/floatditf.c: Likewise.
10161 * soft-fp/floatsidf.c: Likewise.
10162 * soft-fp/floatsisf.c: Likewise.
10163 * soft-fp/floatsitf.c: Likewise.
10164 * soft-fp/floattidf.c: Likewise.
10165 * soft-fp/floattisf.c: Likewise.
10166 * soft-fp/floattitf.c: Likewise.
10167 * soft-fp/floatundidf.c: Likewise.
10168 * soft-fp/floatundisf.c: Likewise.
10169 * soft-fp/floatunditf.c: Likewise.
10170 * soft-fp/floatunsidf.c: Likewise.
10171 * soft-fp/floatunsisf.c: Likewise.
10172 * soft-fp/floatunsitf.c: Likewise.
10173 * soft-fp/floatuntidf.c: Likewise.
10174 * soft-fp/floatuntisf.c: Likewise.
10175 * soft-fp/floatuntitf.c: Likewise.
10176 * soft-fp/fmadf4.c: Likewise.
10177 * soft-fp/fmasf4.c: Likewise.
10178 * soft-fp/fmatf4.c: Likewise.
10179 * soft-fp/gedf2.c: Likewise.
10180 * soft-fp/gesf2.c: Likewise.
10181 * soft-fp/getf2.c: Likewise.
10182 * soft-fp/ledf2.c: Likewise.
10183 * soft-fp/lesf2.c: Likewise.
10184 * soft-fp/letf2.c: Likewise.
10185 * soft-fp/muldf3.c: Likewise.
10186 * soft-fp/mulsf3.c: Likewise.
10187 * soft-fp/multf3.c: Likewise.
10188 * soft-fp/negdf2.c: Likewise.
10189 * soft-fp/negsf2.c: Likewise.
10190 * soft-fp/negtf2.c: Likewise.
10191 * soft-fp/op-1.h: Likewise.
10192 * soft-fp/op-2.h: Likewise.
10193 * soft-fp/op-4.h: Likewise.
10194 * soft-fp/op-8.h: Likewise.
10195 * soft-fp/op-common.h: Likewise.
10196 * soft-fp/quad.h: Likewise.
10197 * soft-fp/single.h: Likewise.
10198 * soft-fp/soft-fp.h: Likewise.
10199 * soft-fp/sqrtdf2.c: Likewise.
10200 * soft-fp/sqrtsf2.c: Likewise.
10201 * soft-fp/sqrttf2.c: Likewise.
10202 * soft-fp/subdf3.c: Likewise.
10203 * soft-fp/subsf3.c: Likewise.
10204 * soft-fp/subtf3.c: Likewise.
10205 * soft-fp/truncdfsf2.c: Likewise.
10206 * soft-fp/trunctfdf2.c: Likewise.
10207 * soft-fp/trunctfsf2.c: Likewise.
10208 * soft-fp/trunctfxf2.c: Likewise.
10209 * soft-fp/unorddf2.c: Likewise.
10210 * soft-fp/unordsf2.c: Likewise.
10211 * soft-fp/unordtf2.c: Likewise.
10213 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10215 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10216 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10218 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10220 * elf/dl-libc.c: Clear initfini list after freeing.
10222 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10224 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10225 * soft-fp/addsf3.c: Likewise.
10226 * soft-fp/addtf3.c: Likewise.
10227 * soft-fp/divdf3.c: Likewise.
10228 * soft-fp/divsf3.c: Likewise.
10229 * soft-fp/divtf3.c: Likewise.
10230 * soft-fp/double.h: Likewise.
10231 * soft-fp/eqdf2.c: Likewise.
10232 * soft-fp/eqsf2.c: Likewise.
10233 * soft-fp/eqtf2.c: Likewise.
10234 * soft-fp/extenddftf2.c: Likewise.
10235 * soft-fp/extended.h: Likewise.
10236 * soft-fp/extendsfdf2.c: Likewise.
10237 * soft-fp/extendsftf2.c: Likewise.
10238 * soft-fp/extendxftf2.c: Likewise.
10239 * soft-fp/fixdfdi.c: Likewise.
10240 * soft-fp/fixdfsi.c: Likewise.
10241 * soft-fp/fixdfti.c: Likewise.
10242 * soft-fp/fixsfdi.c: Likewise.
10243 * soft-fp/fixsfsi.c: Likewise.
10244 * soft-fp/fixsfti.c: Likewise.
10245 * soft-fp/fixtfdi.c: Likewise.
10246 * soft-fp/fixtfsi.c: Likewise.
10247 * soft-fp/fixtfti.c: Likewise.
10248 * soft-fp/fixunsdfdi.c: Likewise.
10249 * soft-fp/fixunsdfsi.c: Likewise.
10250 * soft-fp/fixunsdfti.c: Likewise.
10251 * soft-fp/fixunssfdi.c: Likewise.
10252 * soft-fp/fixunssfsi.c: Likewise.
10253 * soft-fp/fixunssfti.c: Likewise.
10254 * soft-fp/fixunstfdi.c: Likewise.
10255 * soft-fp/fixunstfsi.c: Likewise.
10256 * soft-fp/fixunstfti.c: Likewise.
10257 * soft-fp/floatdidf.c: Likewise.
10258 * soft-fp/floatdisf.c: Likewise.
10259 * soft-fp/floatditf.c: Likewise.
10260 * soft-fp/floatsidf.c: Likewise.
10261 * soft-fp/floatsisf.c: Likewise.
10262 * soft-fp/floatsitf.c: Likewise.
10263 * soft-fp/floattidf.c: Likewise.
10264 * soft-fp/floattisf.c: Likewise.
10265 * soft-fp/floattitf.c: Likewise.
10266 * soft-fp/floatundidf.c: Likewise.
10267 * soft-fp/floatundisf.c: Likewise.
10268 * soft-fp/floatunsidf.c: Likewise.
10269 * soft-fp/floatunsisf.c: Likewise.
10270 * soft-fp/floatuntidf.c: Likewise.
10271 * soft-fp/floatuntisf.c: Likewise.
10272 * soft-fp/floatuntitf.c: Likewise.
10273 * soft-fp/fmadf4.c: Likewise.
10274 * soft-fp/fmasf4.c: Likewise.
10275 * soft-fp/fmatf4.c: Likewise.
10276 * soft-fp/gedf2.c: Likewise.
10277 * soft-fp/gesf2.c: Likewise.
10278 * soft-fp/getf2.c: Likewise.
10279 * soft-fp/ledf2.c: Likewise.
10280 * soft-fp/lesf2.c: Likewise.
10281 * soft-fp/letf2.c: Likewise.
10282 * soft-fp/muldf3.c: Likewise.
10283 * soft-fp/mulsf3.c: Likewise.
10284 * soft-fp/multf3.c: Likewise.
10285 * soft-fp/negdf2.c: Likewise.
10286 * soft-fp/negsf2.c: Likewise.
10287 * soft-fp/negtf2.c: Likewise.
10288 * soft-fp/op-1.h: Likewise.
10289 * soft-fp/op-2.h: Likewise.
10290 * soft-fp/op-4.h: Likewise.
10291 * soft-fp/op-8.h: Likewise.
10292 * soft-fp/op-common.h: Likewise.
10293 * soft-fp/quad.h: Likewise.
10294 * soft-fp/single.h: Likewise.
10295 * soft-fp/soft-fp.h: Likewise.
10296 * soft-fp/sqrtdf2.c: Likewise.
10297 * soft-fp/sqrtsf2.c: Likewise.
10298 * soft-fp/sqrttf2.c: Likewise.
10299 * soft-fp/subdf3.c: Likewise.
10300 * soft-fp/subsf3.c: Likewise.
10301 * soft-fp/subtf3.c: Likewise.
10302 * soft-fp/truncdfsf2.c: Likewise.
10303 * soft-fp/trunctfdf2.c: Likewise.
10304 * soft-fp/trunctfsf2.c: Likewise.
10305 * soft-fp/trunctfxf2.c: Likewise.
10306 * soft-fp/unorddf2.c: Likewise.
10307 * soft-fp/unordsf2.c: Likewise.
10308 * soft-fp/unordtf2.c: Likewise.
10310 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10313 * misc/error.c (error_tail): Fix possible buffer overflow.
10315 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10318 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10321 2013-10-14 P. J. McDermott <pj@pehjota.net>
10324 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10325 testing pipefail option.
10327 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10329 * soft-fp/double.h: Indent preprocessor directives inside #if.
10330 * soft-fp/extended.h: Likewise.
10331 * soft-fp/op-2.h: Likewise.
10332 * soft-fp/op-4.h: Likewise.
10333 * soft-fp/op-common.h: Likewise.
10334 * soft-fp/quad.h: Likewise.
10335 * soft-fp/single.h: Likewise.
10336 * soft-fp/soft-fp.h: Likewise.
10338 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10340 * iconv/iconv_prog.c: Fix typos.
10341 * stdio-common/psiginfo-data.h: Likewise.
10343 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10346 * locale/setlocale.c: Fix typo.
10348 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10351 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10352 signaling NaN arguments.
10353 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10354 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10357 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10358 unordered operands.
10359 * soft-fp/gesf2.c (__gesf2): Likewise.
10360 * soft-fp/getf2.c (__getf2): Likewise.
10361 * soft-fp/ledf2.c (__ledf2): Likewise.
10362 * soft-fp/lesf2.c (__lesf2): Likewise.
10363 * soft-fp/letf2.c (__letf2): Likewise.
10365 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10366 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10367 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10368 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10369 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10370 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10371 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10372 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10373 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10374 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10375 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10376 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10377 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10378 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10379 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10380 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10381 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10382 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10383 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10384 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10385 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10386 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10387 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10388 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10389 * soft-fp/floattidf.c (__floattidf): Likewise.
10390 * soft-fp/floattisf.c (__floattisf): Likewise.
10391 * soft-fp/floattitf.c (__floattitf): Likewise.
10392 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10393 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10394 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10395 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10396 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10397 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10398 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10399 * soft-fp/gesf2.c (__gesf2): Likewise.
10400 * soft-fp/getf2.c (__getf2): Likewise.
10401 * soft-fp/ledf2.c (__ledf2): Likewise.
10402 * soft-fp/lesf2.c (__lesf2): Likewise.
10403 * soft-fp/letf2.c (__letf2): Likewise.
10405 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10406 Undefine and redefine.
10407 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10408 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10409 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10410 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10411 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10412 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10413 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10414 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10415 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10416 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10417 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10418 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10419 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10420 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10421 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10424 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10425 without decrementing exponent if mantissa >= that for the
10426 denominator, not >.
10427 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10428 denominator, not >. Decrement exponent in < case instead of
10429 incrementing in >= case.
10430 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10431 without decrementing exponent if mantissa >= that for the
10432 denominator, not >.
10434 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10435 computing saturated result for unsigned overflow.
10437 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10438 Jeff Law <law@redhat.com>
10440 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10441 (atan2Mp): Add systemtap probe marker.
10442 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10443 (__ieee754_log): Add systemtap probe marker.
10444 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10445 (atanMp): Add systemtap probe marker.
10446 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10447 (tanMp): Add systemtap probe marker.
10448 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10449 (__slowexp): Add systemtap probe marker.
10450 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10451 (__slowpow): Add systemtap probe marker.
10452 * manual/probes.texi: Document probes.
10454 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10457 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10459 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10461 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10462 written to buffer but not flushed.
10463 * libio/iofwrite_u.c: Likewise.
10464 * libio/iopadn.c: Return bytes returned even if EOF was
10466 * libio/iowpadn.c: Likewise.
10467 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10468 if _IO_padn does not write the whole buffer.
10469 [!COMPILE_WPRINTF] (PAD): Likewise.
10471 2013-10-10 David S. Miller <davem@davemloft.net>
10473 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10476 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10478 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10479 instead of FSF address.
10480 * soft-fp/fixdfti.c: Likewise.
10481 * soft-fp/fixsfti.c: Likewise.
10482 * soft-fp/fixtfti.c: Likewise.
10483 * soft-fp/fixunsdfti.c: Likewise.
10484 * soft-fp/fixunssfti.c: Likewise.
10485 * soft-fp/fixunstfti.c: Likewise.
10486 * soft-fp/floattidf.c: Likewise.
10487 * soft-fp/floattisf.c: Likewise.
10488 * soft-fp/floattitf.c: Likewise.
10489 * soft-fp/floatuntidf.c: Likewise.
10490 * soft-fp/floatuntisf.c: Likewise.
10491 * soft-fp/floatuntitf.c: Likewise.
10492 * soft-fp/trunctfxf2.c: Likewise.
10494 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10495 * soft-fp/fixdfti.c: Likewise.
10496 * soft-fp/fixsfti.c: Likewise.
10497 * soft-fp/fixtfti.c: Likewise.
10498 * soft-fp/fixunsdfti.c: Likewise.
10499 * soft-fp/fixunssfti.c: Likewise.
10500 * soft-fp/fixunstfti.c: Likewise.
10501 * soft-fp/floattidf.c: Likewise.
10502 * soft-fp/floattisf.c: Likewise.
10503 * soft-fp/floattitf.c: Likewise.
10504 * soft-fp/floatuntidf.c: Likewise.
10505 * soft-fp/floatuntisf.c: Likewise.
10506 * soft-fp/floatuntitf.c: Likewise.
10507 * soft-fp/trunctfxf2.c: Likewise.
10509 2013-10-10 David S. Miller <davem@davemloft.net>
10511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10513 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10515 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10516 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10517 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10518 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10519 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10520 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10521 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10523 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10524 for NaNs before doing comparisons on argument.
10525 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10528 2013-10-10 Will Newton <will.newton@linaro.org>
10530 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10531 passed to _int_memalign does not overflow.
10533 2013-10-10 Torvald Riegel <triegel@redhat.com>
10535 * scripts/bench.pl: Add include-sources directive.
10536 * benchtests/README: Update documentation.
10538 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10540 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10541 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10542 instead of FP_INIT_ROUNDMODE.
10543 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10544 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10547 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10548 copy class of input value.
10549 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10550 not handle exceptions.
10551 * soft-fp/negsf2.c (__negsf2): Likewise.
10552 * soft-fp/negtf2.c (__negtf2): Likewise.
10553 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10555 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10557 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10558 semicolon. From Linux kernel.
10560 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10562 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10564 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10567 * manual/socket.texi: Added statement about buffer
10568 for gethostbyname2_r.
10570 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10572 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10573 Use .p2align directive instead, throughout.
10574 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10575 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10576 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10577 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10578 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10579 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10580 * sysdeps/x86_64/strchr.S: Likewise.
10581 * sysdeps/x86_64/strrchr.S: Likewise.
10583 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10585 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10587 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10589 * sysdeps/generic/math_private.h (__mpsin1): Remove
10591 (__mpcos1): Likewise.
10592 (__mpsin): New argument __range_reduce.
10593 (__mpcos): Likewise.
10594 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10595 (slow): Use __mpsin and __mpcos.
10599 (sloww1): Likewise.
10600 (sloww2): Likewise.
10601 (bsloww): Likewise.
10602 (bsloww1): Likewise.
10603 (bsloww2): Likewise.
10604 (cslow2): Likewise.
10605 (csloww): Likewise.
10606 (csloww1): Likewise.
10607 (csloww2): Likewise.
10608 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10609 range_reduce. Merge in __mpsin1.
10610 (__mpcos): Likewise.
10611 (__mpsin1): Remove.
10612 (__mpcos1): Likewise.
10614 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10616 * locale/loadlocale.c (_nl_intern_locale_data): Use
10618 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10619 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10620 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10621 obstack data is appropriately aligned.
10622 (obstack_int32_grow_fast): Likewise.
10623 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10624 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10625 (add_locale_uint32_array): Likewise.
10627 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10629 * benchtests/Makefile: Remove ARGLIST and RET variables.
10630 ($(objpfx)bench-%.c): Pass only function name to the script.
10631 * benchtests/README: Update documentation.
10632 * benchtests/acos-inputs: Add new directives.
10633 * benchtests/acosh-inputs: Likewise.
10634 * benchtests/asin-inputs: Likewise.
10635 * benchtests/asinh-inputs: Likewise.
10636 * benchtests/atan-inputs: Likewise.
10637 * benchtests/atanh-inputs: Likewise.
10638 * benchtests/cos-inputs: Likewise.
10639 * benchtests/cosh-inputs: Likewise.
10640 * benchtests/exp-inputs: Likewise.
10641 * benchtests/log-inputs: Likewise.
10642 * benchtests/pow-inputs: Likewise.
10643 * benchtests/rint-inputs: Likewise.
10644 * benchtests/sin-inputs: Likewise.
10645 * benchtests/sinh-inputs: Likewise.
10646 * benchtests/tan-inputs: Likewise.
10647 * benchtests/tanh-inputs: Likewise.
10648 * scripts/bench.pl: Add support for new directives.
10650 2013-10-07 Alan Modra <amodra@gmail.com>
10652 * README: Fix careless merge.
10654 2013-10-05 Alan Modra <amodra@gmail.com>
10656 * NEWS: Mention powerpc64le support and bugs fixed.
10657 * README: Both big-endian and little-endian powerpc64 supported.
10659 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10661 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10662 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10663 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10664 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10666 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10668 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10671 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10673 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10674 Move -mhard-float appending from
10675 ports/sysdeps/powerpc/powerpc32/Makefile.
10676 [$(with-fp) = yes] (ASFLAGS): Likewise.
10677 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10678 * sysdeps/powerpc/nofpu: Move directory from
10679 ports/sysdeps/powerpc/nofpu.
10680 * sysdeps/powerpc/soft-fp: Move directory from
10681 ports/sysdeps/powerpc/soft-fp.
10682 * sysdeps/powerpc/powerpc32/405: Move directory from
10683 ports/sysdeps/powerpc/powerpc32/405.
10684 * sysdeps/powerpc/powerpc32/440: Move directory from
10685 ports/sysdeps/powerpc/powerpc32/440.
10686 * sysdeps/powerpc/powerpc32/464: Move directory from
10687 ports/sysdeps/powerpc/powerpc32/464.
10688 * sysdeps/powerpc/powerpc32/476: Move directory from
10689 ports/sysdeps/powerpc/powerpc32/476.
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10691 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10693 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10695 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10697 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10699 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10700 * README: Update for powerpc-*-linux-gnu software floating point
10703 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10704 case to powerpc/powerpc32*.
10705 * sysdeps/unix/sysv/linux/configure: Regenerated.
10707 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10708 (_FPU_MASK_OM): Define as 0x04.
10709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10717 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10720 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10723 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10724 and setcontext_e500.
10726 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10728 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10730 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10732 * manual/threads.texi (Default Thread Attributes): Fix typo.
10734 2013-10-04 Will Newton <will.newton@linaro.org>
10736 * malloc/Makefile: Add tst-memalign.
10737 * malloc/tst-memalign.c: New file.
10739 * malloc/tst-posix_memalign.c: Add comments.
10740 (do_test): Add comments and call free on all potentially
10741 allocated pointers. Add space after cast.
10743 * malloc/tst-pvalloc.c: Add comments.
10744 (do_test): Add comments and call free on all potentially
10745 allocated pointers. Remove duplicate check for NULL pointer.
10746 Add space after cast.
10748 * malloc/tst-valloc.c: Add comments.
10749 (do_test): Add comments and call free on all potentially
10750 allocated pointers. Remove duplicate check for NULL pointer.
10751 Add space after cast.
10753 2013-10-04 Alan Modra <amodra@gmail.com>
10755 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10756 Use stdint types in rather than __attribute__((mode())).
10757 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10759 2013-10-04 Alan Modra <amodra@gmail.com>
10761 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10762 Correct handling of unaligned relocs for little-endian.
10763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10765 2013-10-04 Alan Modra <amodra@gmail.com>
10767 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10768 * configure: Regenerate.
10769 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10770 * shlib-versions: Likewise.
10772 2013-10-04 Alan Modra <amodra@gmail.com>
10774 * string/tester.c (test_memrchr): Increment reported test cycle.
10776 2013-10-04 Alan Modra <amodra@gmail.com>
10778 * string/test-memcpy.c (do_one_test): When reporting errors, print
10779 string address and don't overrun end of string.
10781 2013-10-04 Alan Modra <amodra@gmail.com>
10783 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10784 insrdi. Make better use of reg selection to speed exit slightly.
10785 Schedule entry path a little better. Remove useless "are we done"
10786 checks on entry to main loop. Handle wrapping around zero address.
10787 Correct main loop count. Handle single left-over word from main
10788 loop inline rather than by using loop_small. Remove extra word
10789 case in loop_small caused by wrong loop count. Add little-endian
10791 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10792 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10794 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10795 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10796 support. Avoid rlwimi.
10797 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10799 2013-10-04 Alan Modra <amodra@gmail.com>
10801 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10802 insrdi. Formatting.
10803 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10804 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10805 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10806 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10807 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10808 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10810 2013-10-04 Alan Modra <amodra@gmail.com>
10812 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10813 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10814 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10815 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10816 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10817 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10818 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10819 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10820 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10821 use of regs. Use power7 mtocrf. Tidy function tails.
10823 2013-10-04 Alan Modra <amodra@gmail.com>
10825 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10826 Formatting. Consistently use rXXX register defines or rN defines.
10827 Use early exit labels that avoid restoring unused non-volatile regs.
10828 Make cr field use more consistent with rWORDn compares. Rename
10829 regs used as shift registers for unaligned loop, using rN defines
10830 for short lifetime/multiple use regs.
10831 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10832 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10833 addi 1,1,64 to pop stack frame. Simplify return value code.
10834 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10836 2013-10-04 Alan Modra <amodra@gmail.com>
10838 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10839 support. Correct typos, formatting. Optimize tail. Use insrdi
10840 rather than rlwimi.
10841 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10842 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10843 little-endian support. Correct typos.
10844 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10845 rather than rlwimi.
10846 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10847 in loop and entry code to keep "and." results.
10848 (strchr): Add little-endian support. Comment. Move cntlzd
10850 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10852 2013-10-04 Alan Modra <amodra@gmail.com>
10854 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10855 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10856 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10857 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10859 2013-10-04 Alan Modra <amodra@gmail.com>
10861 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10862 (rTMP): Define as r11.
10863 (strcmp): Add little-endian support. Optimise tail.
10864 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10865 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10866 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10867 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10868 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10869 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10870 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10872 2013-10-04 Alan Modra <amodra@gmail.com>
10874 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10875 little-endian support. Remove unnecessary "are we done" tests.
10876 Handle "s" wrapping around zero and extremely large "size".
10877 Correct main loop count. Handle single left-over word from main
10878 loop inline rather than by using small_loop. Correct comments.
10879 Delete "zero" tail, use "end_max" instead.
10880 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10882 2013-10-04 Alan Modra <amodra@gmail.com>
10884 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10885 support. Don't branch over align.
10886 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10887 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10888 support. Rearrange tmp reg use to suit. Comment.
10889 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10891 2013-10-04 Alan Modra <amodra@gmail.com>
10893 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10895 2013-10-04 Alan Modra <amodra@gmail.com>
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10898 conditional form of branch and link when obtaining pc.
10899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10901 2013-10-04 Alan Modra <amodra@gmail.com>
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10908 2013-10-04 Alan Modra <amodra@gmail.com>
10910 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10911 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10912 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10913 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10914 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10915 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10916 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10917 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10918 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10919 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10921 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10922 Alistair Popple <alistair@ozlabs.au.ibm.com>
10923 Alan Modra <amodra@gmail.com>
10926 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10927 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10928 _dl_hwcap access for little-endian.
10929 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10930 destroy vmx regs when saving unaligned.
10931 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10932 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10933 destroy vmx regs when saving unaligned.
10935 2013-10-04 Alan Modra <amodra@gmail.com>
10937 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10938 Don't use a union to pack hi/low value.
10940 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10942 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10944 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10946 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10947 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10948 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10950 2013-10-04 Alan Modra <amodra@gmail.com>
10952 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10953 constants to usual value for .cst8 section, and remove redundant
10955 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10956 constant for 0x1p52. Load little-endian words of double from
10957 correct stack offsets.
10959 2013-10-04 Alan Modra <amodra@gmail.com>
10961 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10962 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10963 words of double from correct stack offsets.
10964 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10965 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10966 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10967 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10968 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10969 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10971 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10972 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10973 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10974 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10975 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10976 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10977 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10978 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10979 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10980 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10982 2013-10-04 Alan Modra <amodra@gmail.com>
10984 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10985 64-bit int/double union.
10986 (_FPU_SETCW): Likewise.
10987 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10988 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10990 2013-10-04 Alan Modra <amodra@gmail.com>
10992 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10993 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10995 2013-10-04 Alan Modra <amodra@gmail.com>
10997 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10998 use vector int constants.
10999 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11001 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11003 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11004 array with long long.
11005 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11006 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11007 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11008 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11009 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11010 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11011 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11012 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11013 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11014 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11015 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11016 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11017 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11019 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11021 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11022 (__signbit): Likewise. Correct for little-endian.
11023 (__signbitl): Call __signbit.
11024 (lrint): Correct for little-endian.
11025 (lrintf): Call lrint.
11027 2013-10-04 Alan Modra <amodra@gmail.com>
11029 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11030 union 32-bit int array member with 64-bit int array.
11031 (t515, tm256): Double rather than long double.
11032 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11034 2013-10-04 Alan Modra <amodra@gmail.com>
11036 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11038 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11040 version of math_ldbl.h.
11042 2013-10-04 Alan Modra <amodra@gmail.com>
11044 [BZ #15734], [BZ #15735]
11045 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11046 all uses of ieee875 long double macros and unions. Simplify test
11047 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11048 ldbl_extract_mantissa value for ix,iy exponents. Properly
11049 normalize after ldbl_extract_mantissa, and don't add hidden bit
11050 already handled. Don't treat low word of ieee854 mantissa like
11051 low word of IBM long double and mask off bit when testing for
11053 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11054 all uses of ieee875 long double macros and unions. Simplify tests
11055 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11056 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11057 two1022, instead use their values. Recognise that tests for large
11058 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11059 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11060 Rewrite all uses of ieee875 long double macros and unions. Simplify
11061 test for 0.0L and nan. Correct negation.
11062 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11063 ieee875 long double macros and unions. Correct output for large
11064 magnitude x. Correct absolute value calculation.
11065 (__erfcl): Likewise.
11066 * math/libm-test.inc: Add tests for errors discovered in IBM long
11067 double versions of fmodl, remainderl, erfl and erfcl.
11069 2013-10-04 Alan Modra <amodra@gmail.com>
11071 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11072 all uses of ieee854 long double macros and unions. Simplify tests
11073 for long doubles that are fully specified by the high double.
11074 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11076 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11077 Remove dead code too.
11078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11079 (__ieee754_ynl): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11083 Remove dead code too.
11084 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11094 Comment on variable precision.
11095 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11098 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11102 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11104 2013-10-04 Alan Modra <amodra@gmail.com>
11106 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11107 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11108 all uses of ieee854 long double macros and unions.
11109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11122 Simplify sign and nan test too.
11123 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11128 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11136 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11138 2013-10-04 Alan Modra <amodra@gmail.com>
11140 * stdio-common/printf_size.c (__printf_size): Don't use
11141 union ieee854_long_double in fpnum union.
11142 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11143 signbit macro to retrieve sign from long double.
11144 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11145 retrieve sign from long double.
11146 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11147 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11149 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11150 * math/test-misc.c (main): Don't use union ieee854_long_double.
11152 2013-10-04 Alan Modra <amodra@gmail.com>
11155 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11156 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11157 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11158 calculation. Remove unnecessary test for denormal exponent.
11159 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11160 Correct handling of denormals. Avoid undefined shift behaviour.
11161 Correct normalisation of low mantissa when low double is denormal.
11162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11163 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11164 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11165 Correct normalisation of low mantissa. Test for overflow of high
11166 mantissa and normalise.
11167 (ldbl_nearbyint): Use more readable constant for two52.
11168 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11169 (__mpn_construct_long_double): Fix test for overflow of high
11170 mantissa and correct normalisation. Avoid undefined shift.
11172 2013-10-04 Alan Modra <amodra@gmail.com>
11174 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11175 (union ibm_extended_long_double): Define as an array of ieee754_double.
11176 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11177 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11178 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11179 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11183 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11188 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11190 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11191 page size instead of calling getpagesize.
11193 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11194 (LOCFILE_ALIGN_MASK): Likewise.
11195 (LOCFILE_ALIGN_UP): Likewise.
11196 (LOCFILE_ALIGNED_P): Likewise.
11197 * locale/programs/ld-collate.c (collate_output): Use the new
11198 macros instead of __alignof__ (int32_t).
11199 * locale/weight.h (findidx): Likewise.
11201 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11204 * manual/string.texi: Fix strncat and wcsncat.
11206 2013-10-03 Brooks Moses <bmoses@google.com>
11209 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11210 * Makerules: ...here, and adjust associated comments.
11212 2013-10-02 Will Newton <will.newton@linaro.org>
11214 * malloc/Makefile: Add tst-pvalloc.
11215 * malloc/tst-pvalloc.c: New file.
11217 2013-10-02 Will Newton <will.newton@linaro.org>
11219 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11220 improve test coverage.
11222 2013-10-02 Will Newton <will.newton@linaro.org>
11224 * malloc/Makefile: Add tst-posix_memalign.
11225 * malloc/tst-posix_memalign.c: New file.
11227 2013-10-01 Eric Blake <eblake@redhat.com>
11229 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11230 Use __THROWNL rather than __THROW on static functions.
11232 2013-09-30 Petr Machata <pmachata@redhat.com>
11234 * elf/elf.h (R_AARCH64_ABS16): New macro.
11235 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11236 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11237 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11238 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11239 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11240 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11241 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11242 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11243 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11244 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11245 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11246 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11247 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11248 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11249 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11250 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11251 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11252 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11253 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11254 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11255 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11256 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11257 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11258 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11259 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11260 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11261 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11262 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11263 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11264 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11265 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11266 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11267 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11268 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11269 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11270 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11271 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11272 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11273 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11274 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11275 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11276 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11277 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11278 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11279 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11280 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11281 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11282 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11283 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11284 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11285 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11286 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11287 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11288 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11289 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11290 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11291 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11292 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11293 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11294 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11295 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11296 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11297 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11298 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11299 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11300 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11301 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11302 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11303 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11304 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11305 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11306 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11307 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11308 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11309 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11310 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11311 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11312 (R_AARCH64_TLSDESC_LDR): Likewise.
11313 (R_AARCH64_TLSDESC_ADD): Likewise.
11314 (R_AARCH64_TLSDESC_CALL): Likewise.
11316 2013-09-30 Andreas Schwab <schwab@suse.de>
11319 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11320 the nss database lookup.
11321 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11324 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11326 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11328 2013-09-28 P. J. McDermott <pj@pehjota.net>
11330 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11331 ${Bash-specific parameter/pattern/string} parameter expansion.
11332 * sysdeps/unix/make-syscalls.sh: Likewise.
11334 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11336 * sysdeps/sh/stackguard-macros.h: New file.
11338 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11342 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11343 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11344 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11345 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11347 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11349 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11350 Fix thread ID register.
11352 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11354 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11355 [POSIX || UNIX98]: Require rather than permitting all symbols from
11357 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11358 element of struct sched_param.
11359 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11360 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11361 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11362 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11365 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11367 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11368 argument calculation.
11370 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11372 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11374 [POSIX] (pthread_attr_t): Do not require type.
11375 [POSIX] (pthread_cond_t): Likewise.
11376 [POSIX] (pthread_condattr_t): Likewise.
11377 [POSIX] (pthread_key_t): Likewise.
11378 [POSIX] (pthread_mutex_t): Likewise.
11379 [POSIX] (pthread_mutexattr_t): Likewise.
11380 [POSIX] (pthread_once_t): Likewise.
11381 [POSIX] (pthread_t): Likewise.
11382 [POSIX-based standards] (pthread_atfork): Expect function.
11384 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11385 Richard Sandiford <richard@codesourcery.com>
11387 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11388 (swap_endianness_p): New extern variable.
11389 (set_big_endian): New inline function.
11390 (maybe_swap_uint32): Likewise.
11391 (maybe_swap_uint32_array): Likewise.
11392 (maybe_swap_uint32_obstack): Likewise.
11393 * locale/programs/locfile.c: Include <stdbool.h>.
11394 (swap_endianness_p): New variable.
11395 (add_locale_uint32): Call maybe_swap_uint32.
11396 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11397 (write_locale_data): Call maybe_swap_uint32_array.
11398 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11400 (obstack_int32_grow_fast): Likewise.
11401 (output_weightwc): Call maybe_swap_uint32_obstack.
11402 (collate_output): Likewise.
11403 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11404 (OPT_LITTLE_ENDIAN): Likewise.
11405 (options): Add --little-endian and --big-endian options.
11406 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11407 * locale/programs/locarchive.c: Include "locfile.h".
11411 (create_archive): Use the new macros to access fields of
11412 structures directly mapped from or written to locale archives.
11413 (oldlocrecentcmp): Likewise.
11414 (enlarge_archive): Likewise.
11415 (insert_name): Likewise.
11416 (add_alias): Likewise.
11417 (add_locale): Likewise.
11418 (delete_locales_from_archive): Likewise.
11419 (show_archive_content): Likewise.
11420 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11423 2013-09-24 Roland McGrath <roland@hack.frob.com>
11425 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11426 http://www.gnu.org/doc/freemanuals.texi.
11427 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11429 2013-09-24 Will Newton <will.newton@linaro.org>
11431 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11434 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11436 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11439 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11441 * manual/threads.texi (POSIX Threads): Fix a typo.
11443 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11446 * string/tst-strcoll-overflow.c: New test case.
11447 * string/Makefile (xtests): Add tst-strcoll-overflow.
11448 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11449 cache if string sizes may cause integer overflow.
11452 * string/strcoll_l.c (coll_seq): New members rule, idx,
11453 save_idx and back_us.
11454 (get_next_seq_nocache): New function.
11455 (do_compare_nocache): New function.
11456 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11459 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11462 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11463 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11464 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11467 * elf/Makefile (tests): Add tst-ptrguard1.
11468 (tests-static): Add tst-ptrguard1-static.
11469 (tst-ptrguard1-ARGS): Define.
11470 (tst-ptrguard1-static-ARGS): Define.
11471 * elf/tst-ptrguard1.c: New file.
11472 * elf/tst-ptrguard1-static.c: New file.
11473 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11474 * sysdeps/i386/stackguard-macros.h: Likewise.
11475 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11476 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11477 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11478 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11479 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11480 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11482 2013-09-23 Hector Marco <hecmargi@upv.es>
11483 Ismael Ripoll <iripoll@disca.upv.es>
11484 Carlos O'Donell <carlos@redhat.com>
11487 * sysdeps/generic/stackguard-macros.h: Define
11488 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11489 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11490 Define __pointer_chk_guard_local.
11491 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11492 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11494 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11497 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11499 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11501 * include/string.h (__ffs): Declare as hidden.
11502 * string/ffs.c (__ffs): Define as hidden.
11503 * sysdeps/i386/ffs.c (__ffs): Likewise.
11504 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11505 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11506 * sysdeps/s390/ffs.c (__ffs): Likewise.
11507 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11509 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11511 * NEWS: Mention malloc probes.
11513 * malloc/arena.c (new_heap): New memory_heap_new probe.
11514 (grow_heap): New memory_heap_more probe.
11515 (shrink_heap): New memory_heap_less probe.
11516 (heap_trim): New memory_heap_free probe.
11517 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11518 (systrim): New memory_sbrk_less probe.
11519 * manual/probes.texi: Document them.
11521 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11522 * manual/probes.texi: Document it.
11524 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11525 (__libc_realloc): Add memory_realloc_retry probe.
11526 (__libc_memalign): Add memory_memalign_retry probe.
11527 (__libc_valloc): Add memory_valloc_retry probe.
11528 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11529 (__libc_calloc): Add memory_calloc_retry probe.
11530 * manual/probes.texi: Document them.
11532 * malloc/arena.c (get_free_list): Add probe
11533 memory_arena_reuse_free_list.
11534 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11535 and memory_arena_reuse.
11536 (arena_get2) [!PER_THREAD]: Likewise.
11537 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11538 memory_arena_reuse_realloc.
11539 * manual/probes.texi: Document them.
11541 * malloc/malloc.c (__libc_free): Add
11542 memory_mallopt_free_dyn_thresholds probe.
11543 (__libc_mallopt): Add multiple memory_mallopt probes.
11544 * manual/probes.texi: Document them.
11546 * malloc/malloc.c: Include stap-probe.h.
11547 (__libc_mallopt): Add memory_mallopt probe.
11548 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11549 * manual/probes.texi: New.
11550 * manual/Makefile (chapters): Add probes.
11551 * manual/threads.texi: Set next node.
11553 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11555 [BZ #15963, #13985]
11556 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11557 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11558 Add `Chinese' to `nan' entry name.
11560 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11562 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11563 (POLYNOMIAL): Likewise.
11564 (TAYLOR_SINCOS): Likewise.
11565 (TAYLOR_SLOW): Likewise.
11566 (__sin): Use TAYLOR_SINCOS.
11568 (slow): Use TAYLOR_SLOW.
11570 (bsloww): Likewise.
11571 (csloww): Likewise.
11573 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11575 * stdlib/strtod_l.c: Fix buffer overrun.
11577 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11579 * benchtests/Makefile (bench): Add sincos.
11580 * benchtests/bench-sincos.c: New file.
11582 * math/libm-test.inc (cos_test_data): New test inputs.
11583 (sin_test_data): Likewise.
11585 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11591 (sloww1): Likewise.
11592 (sloww2): Likewise.
11593 (bsloww1): Likewise.
11594 (bsloww2): Likewise.
11595 (cslow2): Likewise.
11596 (csloww1): Likewise.
11597 (csloww2): Likewise.
11599 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11604 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11608 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11610 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11611 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11612 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11613 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11614 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11615 * elf/cache.c (print_entry): Handle the new cache flags.
11617 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11618 Aldy Hernandez <aldyh@redhat.com>
11620 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11621 Change condition to [_SOFT_FLOAT].
11622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11634 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11637 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11640 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11642 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11643 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11644 (__longjmp): Use LOAD_GP to load saved GPRs.
11645 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11646 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11647 (__sigsetjmp): Use SAVE_GP to save GPRs.
11649 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11650 Do not append -msoft-float.
11651 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11653 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11655 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11657 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11660 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11661 (_FPU_GETCW): Use initial "__" on variable and field names but not
11662 on macro parameter name.
11663 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11664 parentheses around reference to macro parameter.
11666 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11668 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11670 (ctype_startup): Use uint32_t in cast and sizeof for
11673 2013-09-11 Jia Liu <proljc@gmail.com>
11675 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11677 [__FreeBSD__]: Likewise.
11679 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11682 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11683 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11684 (strchr): Remove __strchr_sse42 ifunc selection.
11685 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11686 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11688 2013-09-11 Will Newton <will.newton@linaro.org>
11690 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11691 parameter to RES. Remove hardcoded 1000 value.
11692 * benchtests/bench-skeleton.c (main): Pass RES parameter
11693 to TIMING_INIT and multiply result by 1000.
11695 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11699 2013-09-11 Andreas Schwab <schwab@suse.de>
11701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11703 (O_TMPFILE) [__USE_GNU]: Define.
11704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11707 2013-09-11 Will Newton <will.newton@linaro.org>
11710 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11713 2013-09-11 Will Newton <will.newton@linaro.org>
11716 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11719 2013-09-11 Will Newton <will.newton@linaro.org>
11722 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11725 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11727 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11728 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11733 2013-09-10 Allan McRae <allan@archlinux.org>
11736 * manual/arith.texi (Parsing of Floats): Clarify
11740 * manual/install.texi (Running make install): Mention
11742 * INSTALL: Regenerated.
11744 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11746 * csu/init-first.c (_init): Remove the !SHARED condition around
11747 FPU control word initialization.
11748 * elf/dl-support.c (_dl_fpu_control): New variable.
11749 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11750 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11751 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11752 * math/test-fpucw-static.c: New file.
11753 * math/test-fpucw-ieee.c: New file.
11754 * math/test-fpucw-ieee-static.c: New file.
11755 * math/Makefile (tests): Add `test-fpucw-ieee' and
11757 (tests-static): New variable.
11758 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11760 [($(build-shared),yes)]
11761 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11763 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11766 2013-09-09 Allan McRae <allan@archlinux.org>
11769 * manual/string.texi (Collation Functions): Fix typo in
11771 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11774 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11777 * libio/memstream.c (open_memstream): Fix memory leak.
11778 * libio/wmemstream.c (open_wmemstream): Likewise.
11781 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11783 2013-09-09 Will Newton <will.newton@linaro.org>
11785 * malloc/Makefile: Add tst-realloc to tests.
11786 * malloc/tst-realloc.c: New file.
11788 2013-09-09 Allan McRae <allan@archlinux.org>
11791 * COPYING: Update from GNU website to fix FSF address.
11792 * COPYING.LIB: Likewise.
11794 2013-09-06 David S. Miller <davem@davemloft.net>
11796 * po/zh_TW.po: Update Chinese (traditional) translation from
11797 translation project.
11799 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11800 Joseph Myers <joseph@codesourcery.com>
11802 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11804 (obstack_chunk_alloc): New macro.
11805 (obstack_chunk_free): Likewise.
11806 (record_offset): New function.
11807 (init_locale_data): Likewise.
11808 (align_locale_data): Likewise.
11809 (add_locale_empty): Likewise.
11810 (add_locale_raw_data): Likewise.
11811 (add_locale_raw_obstack): Likewise.
11812 (add_locale_string): Likewise.
11813 (add_locale_wstring): Likewise.
11814 (add_locale_uint32): Likewise.
11815 (add_locale_uint32_array): Likewise.
11816 (add_locale_char): Likewise.
11817 (start_locale_structure): Likewise.
11818 (end_locale_structure): Likewise.
11819 (start_locale_prelude): Likewise.
11820 (end_locale_prelude): Likewise.
11821 (write_locale_data): Take locale_file structure rather than an
11823 * locale/programs/locfile.h: Include "obstack.h".
11824 (struct locale_file): Change to store locale file contents instead
11826 (init_locale_data): New prototype.
11827 (align_locale_data): Likewise.
11828 (add_locale_empty): Likewise.
11829 (add_locale_raw_data): Likewise.
11830 (add_locale_raw_obstack): Likewise.
11831 (add_locale_string): Likewise.
11832 (add_locale_wstring): Likewise.
11833 (add_locale_uint32): Likewise.
11834 (add_locale_uint32_array): Likewise.
11835 (add_locale_char): Likewise.
11836 (start_locale_structure): Likewise.
11837 (end_locale_structure): Likewise.
11838 (start_locale_prelude): Likewise.
11839 (end_locale_prelude): Likewise.
11840 (write_locale_data): Update prototype.
11841 * locale/programs/3level.h (struct TABLE): Remove result field.
11842 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11843 Use new locale_file interface.
11844 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11845 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11846 * locale/programs/ld-address.c (address_output): Use new
11847 locale_file interface.
11848 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11850 (collate_finish): Don't call collseq_table_finalize.
11851 (collate_output): Use new locale_file interface.
11852 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11854 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11855 (TABLE): Move defines earlier in file.
11856 (ELEMENT): Likewise.
11857 (DEFAULT): Likewise.
11858 (wctrans_table_add): Move macro and inline function earlier in
11860 (struct wctype_table): Move type earlier in file.
11861 (add_locale_wctype_table): New static prototype.
11862 (struct locale_ctype_t): Use logical types instead of struct iovec
11863 pointers for members.
11864 (ctype_output): Use new locale_file interface.
11865 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11866 new locale_file interface.
11867 (allocate_arrays): Update for use of new locale_file interface.
11868 * locale/programs/ld-identification.c (identification_output): Use
11869 new locale_file interface.
11870 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11871 * locale/programs/ld-messages.c (messages_output): Likewise.
11872 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11873 * locale/programs/ld-name.c (name_output): Likewise.
11874 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11875 * locale/programs/ld-paper.c (paper_output): Likewise.
11876 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11877 * locale/programs/ld-time.c (time_output): Likewise.
11879 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881 * benchtests/Makefile: Add memrchr benchmark.
11882 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11883 benchmark as memrchr.
11884 * benchtests/bench-memrchr-ifunc.c: New file.
11885 * benchtests/bench-memrchr.c: New file.
11887 2013-09-06 Will Newton <will.newton@linaro.org>
11889 * benchtests/Makefile (string-bench): Add memcpy.
11891 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11892 Cong Wang <amwang@redhat.com>
11895 * sysdeps/unix/sysv/linux/bits/in.h
11896 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11897 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11898 before __USE_KERNEL_IPV6_DEFS uses.
11899 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11901 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11902 sockaddr_in6, or ipv6_mreq.
11904 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11906 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11907 memory access for final bytes in some large inputs.
11908 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11910 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11912 * string/test-memrchr.c: New file.
11913 * string/test-memrchr-ifunc.c: New file.
11914 * string/Makefile: Add new memrchr testcase.
11916 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11918 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11919 fanotify_init returns EPERM.
11921 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11923 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11925 (top level): Treat second token from macro or constant entries for
11926 allowed headers as allowed.
11927 * include/complex.h: Condition internal declarations on
11929 * include/fenv.h: Condition include of <stdbool.h> and internal
11930 declarations on [!_ISOMAC].
11932 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11935 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11937 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11939 * configure.in (--enable-versioning): Remove configure option.
11940 (libc_cv_asm_symver_directive): Remove configure test.
11941 (libc_cv_ld_version_script_option): Likewise.
11942 (VERSIONING): Remove variable and AC_SUBST.
11943 (DO_VERSIONING): Remove AC_DEFINE.
11944 * configure: Regenerated.
11945 * config.h.in (DO_VERSIONING): Remove macro.
11946 * Makerules [$(versioning) = yes]: Change conditionals to
11947 [$(build-shared) = yes].
11948 * config.make.in (versioning): Remove variable.
11949 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11950 [$(build-shared) = yes].
11951 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11952 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11953 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11954 [$(build-shared) = yes].
11955 * extra-lib.mk [$(versioning) = yes]: Likewise.
11956 * hurd/Makefile [$(versioning) = yes]: Likewise.
11957 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11959 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11961 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11962 [SHARED && !NO_HIDDEN].
11963 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11965 [SHARED && DO_VERSIONING]: Likewise..
11966 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11967 [$(build-shared) = yes].
11968 * manual/install.texi (--disable-versioning): Remove
11970 * INSTALL: Regenerated.
11971 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11973 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11974 [$(build-shared) = yes].
11975 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11976 * sysdeps/i386/i686/multiarch/strstr-c.c
11977 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11978 [SHARED && !NO_HIDDEN].
11979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11980 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11981 * sysdeps/powerpc/powerpc32/dl-machine.c
11982 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11983 * sysdeps/powerpc/powerpc32/sysdep.h
11984 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11985 to [SHARED && PIC && !NO_HIDDEN].
11986 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11987 conditional to [SHARED].
11989 2013-09-04 Will Newton <will.newton@linaro.org>
11991 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11992 * benchtests/bench-string.h: Include bench-timing.h instead
11993 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11994 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11995 call to HP_TIMING_DIFF_INIT.
11996 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11997 instead of hp-timing.h macros.
11998 * benchtests/bench-memchr.c: Likewise.
11999 * benchtests/bench-memcmp.c: Likewise.
12000 * benchtests/bench-memcpy.c: Likewise.
12001 * benchtests/bench-memmem.c: Likewise.
12002 * benchtests/bench-memmove.c: Likewise.
12003 * benchtests/bench-memset.c: Likewise.
12004 * benchtests/bench-rawmemchr.c: Likewise.
12005 * benchtests/bench-strcasecmp.c: Likewise.
12006 * benchtests/bench-strcasestr.c: Likewise.
12007 * benchtests/bench-strcat.c: Likewise.
12008 * benchtests/bench-strchr.c: Likewise.
12009 * benchtests/bench-strcmp.c: Likewise.
12010 * benchtests/bench-strcpy.c: Likewise.
12011 * benchtests/bench-strcpy_chk.c: Likewise.
12012 * benchtests/bench-strlen.c: Likewise.
12013 * benchtests/bench-strncasecmp.c: Likewise.
12014 * benchtests/bench-strncat.c: Likewise.
12015 * benchtests/bench-strncmp.c: Likewise.
12016 * benchtests/bench-strncpy.c: Likewise.
12017 * benchtests/bench-strnlen.c: Likewise.
12018 * benchtests/bench-strpbrk.c: Likewise.
12019 * benchtests/bench-strrchr.c: Likewise.
12020 * benchtests/bench-strspn.c: Likewise.
12021 * benchtests/bench-strstr.c: Likewise.
12023 2013-09-04 Will Newton <will.newton@linaro.org>
12025 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12027 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12030 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12031 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12032 * math/libm-test.inc (lgamma_test_data): Add more tests.
12033 * sysdeps/i386/fpu/libm-test-ulps: Update.
12034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12036 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12038 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12042 Add strcmp-sse2-unaligned
12043 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12045 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12047 * Versions.def (libc): Add GLIBC_2.19.
12049 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12051 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12052 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12054 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12057 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12058 intermediate calculations in recurrence.
12059 (__ieee754_ynf): Likewise.
12060 * math/libm-test.inc (jn_test_data): Do not allow spurious
12061 underflow exception. Add more tests.
12062 (yn_test_data): Add more tests.
12063 * sysdeps/i386/fpu/libm-test-ulps: Update.
12064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12066 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12068 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12070 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12072 * csu/init-first.c: Fix then/than typos.
12073 * locale/programs/ld-collate.c: Likewise.
12074 * locale/programs/linereader.h: Likewise.
12075 * manual/charset.texi: Likewise.
12076 * manual/filesys.texi: Likewise.
12077 * manual/stdio.texi: Likewise.
12078 * manual/string.texi: Likewise.
12079 * stdlib/fmtmsg.c: Likewise.
12080 * sysdeps/i386/stpncpy.S: Likewise.
12081 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12082 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12083 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12084 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12086 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12088 * elf/dl-open.c: Fix typos.
12089 * iconvdata/gbbig5.c: Likewise.
12090 * iconvdata/iso-2022-jp.c: Likewise.
12091 * iconv/gconv_int.h: Likewise.
12092 * iconv/loop.c: Likewise.
12093 * nis/rpcsvc/nis.h: Likewise.
12094 * resolv/ns_name.c: Likewise.
12095 * stdio-common/vfscanf.c: Likewise.
12096 * streams/stropts.h: Likewise.
12097 * sunrpc/rpc_thread.c: Likewise.
12098 * sysdeps/i386/strpbrk.S: Likewise.
12099 * sysdeps/ieee754/k_standard.c: Likewise.
12100 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12102 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12103 * sysdeps/mach/hurd/profil.c: Likewise.
12104 * sysdeps/s390/dl-procinfo.h: Likewise.
12105 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12106 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12107 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12108 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12111 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12113 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12116 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12118 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12119 aix specific files.
12120 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12121 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12122 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12123 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12124 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12125 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12126 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12127 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12129 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12130 Roland McGrath <roland@hack.frob.com>
12132 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12133 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12135 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12137 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12138 __executable_start symbol instead of _start.
12140 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12142 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12143 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12145 * sysdeps/gnu/ldsodefs.h: ... this new file.
12147 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12148 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12149 instead of ELFOSABI_LINUX.
12151 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12152 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12153 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12154 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12156 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12157 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12158 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12160 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12161 (ibm_extended_long_double): Add ieee_nan member.
12162 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12163 (do_test): New function.
12165 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12167 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12168 functions, renamed from truncdfsf_test, trunctfsf_test,
12170 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12172 (do_test): Run all these.
12174 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12176 * argp/argp-help.c: Fix typos.
12177 * argp/argp-parse.c: Likewise.
12178 * debug/backtracesyms.c: Likewise.
12179 * elf/elf.h: Likewise.
12180 * malloc/malloc.c: Likewise.
12181 * nis/nis_print.c: Likewise.
12182 * resolv/res_comp.c: Likewise.
12183 * stdlib/stdlib.h: Likewise.
12184 * sunrpc/clnt_tcp.c: Likewise.
12185 * sunrpc/clnt_udp.c: Likewise.
12186 * sunrpc/clnt_unix.c: Likewise.
12187 * sysdeps/unix/bsd/ptsname.c: Likewise.
12188 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12189 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12196 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12198 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12200 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12203 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12206 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12207 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12208 ($(objpfx)bug-dl-leaf): New rule.
12209 ($(objpfx)bug-dl-leaf.so): Likewise.
12210 ($(objpfx)bug-dl-leaf.out): Likewise.
12211 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12212 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12213 * dlfcn/bug-dl-leaf.c: New test.
12214 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12215 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12216 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12217 (dlclose): Likewise.
12218 (dlmopen): Likewise.
12220 2013-08-27 Roland McGrath <roland@hack.frob.com>
12222 * include/netdb.h [!_ISOMAC]:
12223 Don't include <tls.h>.
12224 (h_errno, __libc_h_errno): Move declaration and macros out of
12227 * include/resolv.h [_RESOLV_H_]:
12228 Don't include <tls.h>.
12229 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12230 * resolv/res_libc.c: Don't include <tls.h>.
12231 (_res): Use __attribute__ ((nocommon)) in place of
12232 __attribute__ ((section (".bss"))).
12234 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12235 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12237 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12239 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12240 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12242 * resolv/res_mkquery.c: Include <sys/time.h>.
12244 * inet/ifreq.c: Moved to ...
12245 * sysdeps/unix/ifreq.c: ... here.
12246 * inet/ifreq.c: New file, true stub version.
12248 * socket/sa_len.c: New file.
12249 * socket/Makefile (aux): Add it.
12250 * sysdeps/unix/sysv/linux/Makefile
12251 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12252 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12253 and #include <socket/sa_len.c>.
12254 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12255 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12257 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12258 * bits/socket.h: ... here.
12260 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12261 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12262 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12264 2013-08-27 Andreas Schwab <schwab@suse.de>
12267 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12268 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12269 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12270 * string/test-strcasecmp.c (test_main): Run tests in several
12272 * string/test-strncasecmp.c (test_main): Likewise.
12274 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12275 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12276 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12278 (__strncasecmp_ssse3) [PIC]: Likewise.
12280 2013-08-26 Roland McGrath <roland@hack.frob.com>
12282 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12284 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12285 instead of explicitly declaring xdecrypt.
12286 * nis/nss_nis/nis-publickey.c: Likewise.
12288 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12291 * nscd/aicache.c: Include res_hconf.h.
12292 (addhstaiX): Initialize res_hconf.
12294 2013-08-26 Andreas Schwab <schwab@suse.de>
12296 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12297 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12299 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12301 * nscd/aicache.c (addhstaiX): Fix indentation.
12303 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12305 * configure.ac: Quote $build_pt_chown test.
12306 * configure: Regenerated.
12308 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12311 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12312 * math/s_cexpf.c (__cexpf): Likewise.
12313 * math/s_cexpl.c (__cexpl): Likewise.
12314 * math/libm-test.inc (cexp_test_data): Correct expected return
12315 value for NaN + i0. Add another test.
12317 2013-08-22 David S. Miller <davem@davemloft.net>
12319 * po/ca.po: Update Catalan translation from translation project.
12320 * po/uk.po: Add Ukrainian translations from translation project.
12322 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12325 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12326 is infinite, not alongside NaN test.
12327 * math/s_fdimf.c (__fdimf): Likewise.
12328 * math/s_fdiml.c (__fdiml): Likewise.
12329 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12330 errno is unchanged.
12332 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12334 * argp/argp-help.c: Fix typos.
12335 * crypt/speeds.c: Likewise.
12336 * csu/check_fds.c: Likewise.
12337 * elf/dl-load.c: Likewise.
12338 * elf/dl-open.c: Likewise.
12339 * elf/reldep3.c: Likewise.
12340 * elf/reldep.c: Likewise.
12341 * elf/sprof.c: Likewise.
12342 * iconv/iconv_charmap.c: Likewise.
12343 * iconv/skeleton.c: Likewise.
12344 * iconv/strtab.c: Likewise.
12345 * io/lockf64.c: Likewise.
12346 * libio/libioP.h: Likewise.
12347 * resolv/gai_notify.c: Likewise.
12348 * resolv/ns_name.c: Likewise.
12349 * resolv/ns_samedomain.c: Likewise.
12350 * resolv/res_send.c: Likewise.
12351 * stdlib/random.c: Likewise.
12352 * sunrpc/rpc/xdr.h: Likewise.
12353 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12354 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12355 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12356 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12357 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12358 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12361 * sysdeps/mach/hurd/check_fds.c: Likewise.
12362 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12363 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12365 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12366 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12367 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12368 * sysdeps/pthread/aio_notify.c: Likewise.
12369 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12370 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12371 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12373 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12375 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12377 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12378 version if bit_Slow_SSE4_2 is set.
12379 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12380 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12382 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12385 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12386 trampoline stack frame information.
12387 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12388 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12389 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12390 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12391 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12392 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12393 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12394 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12396 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12397 interrupting a syscall and set with option SA_SIGINFO.
12399 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12402 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12403 argument is infinite.
12404 * math/s_cprojf.c (__cprojf): Likewise.
12405 * math/s_cprojl.c (__cprojl): Likewise.
12406 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12407 * math/libm-test.inc (cproj_test_data): Add more tests.
12409 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12411 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12412 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12413 size. Use __ffs to determine corresponding shift.
12415 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12416 Roland McGrath <roland@hack.frob.com>
12418 * Makefile (INSTALL): Remove trailing blank lines from output of
12421 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12423 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12424 Align 32 bit compat elf_greg to 8 bytes.
12426 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12428 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12430 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12432 * string/strcoll_l.c (coll_seq): New structure.
12433 (get_next_seq_cached): New function.
12434 (get_next_seq): New function.
12435 (do_compare): New function.
12436 (STRCOLL): Use GNU style definition. Simplify implementation
12437 by using get_next_seq, get_next_seq_cached and do_compare.
12439 2013-08-16 Florian Weimer <fweimer@redhat.com>
12443 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12445 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12447 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12448 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12449 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12451 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12452 GETDENTS_64BIT_ALIGNED.
12453 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12454 * manual/filesys.texi (Reading/Closing Directory): Document
12455 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12457 * manual/conf.texi (Limits for Files): Add portability note to
12458 NAME_MAX, PATH_MAX.
12459 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12461 2013-08-13 Andreas Schwab <schwab@suse.de>
12464 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12466 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12467 LDBL_MAX_EXP >= 16384]: Add tests for it.
12469 2013-08-12 David S. Miller <davem@davemloft.net>
12471 * version.h (RELEASE): Set to "development".
12472 (VERSION): Set to "2.18.90".
12473 * NEWS: Add 2.19 section.
12475 2013-08-03 David S. Miller <davem@davemloft.net>
12477 * po/ko.po: Update Korean translation from translation project.
12479 2013-08-01 David S. Miller <davem@davemloft.net>
12481 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12482 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12485 2013-07-30 David S. Miller <davem@davemloft.net>
12487 * po/fr.po: Update French translation from translation project.
12489 2013-07-28 David S. Miller <davem@davemloft.net>
12491 * po/cs.po: Update Czech translation from translation project.
12493 * po/sv.po: Update Swedish translation from translation project.
12495 2013-07-27 David S. Miller <davem@davemloft.net>
12497 * po/eo.po: Update Esperanto translation from translation project.
12499 * po/vi.po: Update Vietnamese translation from translation project.
12501 * po/de.po: Update German translation from translation project.
12503 2013-07-26 David S. Miller <davem@davemloft.net>
12505 * po/bg.po: Update Bulgarian translation from translation project.
12507 * po/nl.po: Update Dutch translation from translation project.
12508 * po/pl.po: Update Polish translation from translation project.
12509 * po/ru.po: Update Russian translation from translation project.
12511 2013-07-24 David S. Miller <davem@davemloft.net>
12513 * po/libc.pot: Update.
12515 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12517 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12518 variable page size.
12519 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12521 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12523 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12525 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12527 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12528 Andreas Schwab <schwab@suse.de>
12529 Roland McGrath <roland@hack.frob.com>
12530 Joseph Myers <joseph@codesourcery.com>
12531 Carlos O'Donell <carlos@redhat.com>
12534 * config.h.in: Define HAVE_PT_CHOWN.
12535 * config.make.in (build-pt-chown): New variable.
12536 * configure.in (--enable-pt_chown): New configure option.
12537 * configure: Regenerate.
12538 * login/Makefile: Include Makeconfig. Build pt_chown only if
12539 build-pt-chown is enabled.
12540 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12541 pt_chown to fix pty ownership.
12542 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12544 * manual/install.texi (Configuring and compiling): Mention
12545 --enable-pt_chown. Add @findex for grantpt.
12546 * INSTALL: Regenerate.
12548 2013-07-20 David S. Miller <davem@davemloft.net>
12550 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12551 difference between 32-bit and 64-bit.
12553 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12556 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12557 Avoid system header dependency with -ffreestanding.
12558 ($(objpfx)bits/syscall%d): Likewise.
12560 2013-07-13 David S. Miller <davem@davemloft.net>
12562 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12563 underflows from atanl/atan2l due to bug 15319.
12564 (casinh_test_data): Likewise.
12566 2013-07-07 David S. Miller <davem@davemloft.net>
12568 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12570 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12572 * sysdeps/i386/fpu/libm-test-ulps: Update.
12573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12575 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12577 * configure.in (--enable-lock-elision): Fix message text.
12578 * INSTALL: Regenerate.
12579 * configure: Regenerate.
12581 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12585 2013-07-03 Andreas Jaeger <aj@suse.de>
12587 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12589 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12590 (ptrace_peeksiginfo_args): Add.
12591 (__ptrace_peeksiginfo_flags): Add.
12592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12594 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12596 2013-07-03 Allan McRae <allan@archlinux.org>
12598 * sysdeps/i386/fpu/libm-test-ulps: Update.
12600 2013-07-02 David S. Miller <davem@davemloft.net>
12602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12604 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12608 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12610 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12613 2013-07-02 Andi Kleen <ak@linux.intel.com>
12615 * config.h.in (ENABLE_LOCK_ELISION): Add.
12616 * configure.in (--enable-lock-elision): Add option.
12617 * manual/install.texi: Document --enable lock elision.
12618 * configure: Regenerate
12619 * INSTALL: Regenerate.
12621 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12623 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12624 SSE4.2 strcasecmp for libc.a.
12625 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12627 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12630 * soft-fp/op-common.h (_FP_FMA): New macro.
12631 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12632 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12633 (_FP_MUL_MEAT_1_imm): ... here.
12634 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12635 (_FP_MUL_MEAT_1_wide): ... here.
12636 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12637 (_FP_MUL_MEAT_1_hard): ... here.
12638 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12639 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12640 (_FP_MUL_MEAT_2_wide): ... here.
12641 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12642 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12643 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12644 (_FP_MUL_MEAT_2_gmp): ... here.
12645 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12646 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12647 (_FP_MUL_MEAT_4_wide): ... here.
12648 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12649 (_FP_MUL_MEAT_4_gmp): ... here.
12650 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12651 (_FP_WFRACBITS_DW_S): Likewise.
12652 (_FP_WFRACXBITS_DW_S): Likewise.
12653 (_FP_HIGHBIT_DW_S): Likewise.
12654 (FP_FMA_S): Likewise.
12655 (_FP_FRAC_HIGH_DW_S): Likewise.
12656 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12657 (_FP_WFRACBITS_DW_D): Likewise.
12658 (_FP_WFRACXBITS_DW_D): Likewise.
12659 (_FP_HIGHBIT_DW_D): Likewise.
12660 (FP_FMA_D): Likewise.
12661 (_FP_FRAC_HIGH_DW_D): Likewise.
12662 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12663 (_FP_WFRACBITS_DW_E): Likewise.
12664 (_FP_WFRACXBITS_DW_E): Likewise.
12665 (_FP_HIGHBIT_DW_E): Likewise.
12666 (FP_FMA_E): Likewise.
12667 (_FP_FRAC_HIGH_DW_E): Likewise.
12668 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12669 (_FP_WFRACBITS_DW_Q): Likewise.
12670 (_FP_WFRACXBITS_DW_Q): Likewise.
12671 (_FP_HIGHBIT_DW_Q): Likewise.
12672 (FP_FMA_Q): Likewise.
12673 (_FP_FRAC_HIGH_DW_Q): Likewise.
12674 * soft-fp/fmasf4.c: New file.
12675 * soft-fp/fmadf4.c: Likewise.
12676 * soft-fp/fmatf4.c: Likewise.
12678 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12681 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12683 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12685 (index_Slow_SSE4_2): Likewise.
12686 (index_Prefer_PMINUB_for_stringop): Likewise.
12687 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12688 bit_Slow_SSE4_2 is set.
12689 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12690 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12692 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12694 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12695 rtld_global._dl_hwcap2.
12696 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12698 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12699 POWER8 feature descriptions defined in _dl_hwcap2.
12700 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12701 string handling for POWER8 feature bits.
12702 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12703 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12704 _dl_powerpc_cap_flags.
12705 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12706 * sysdeps/powerpc/rtld-global-offsets.sym
12707 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12708 _dl_hwcap2 in the rtld_global_ro structure.
12710 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12712 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12713 hardware capabilities in support of AT_HWCAP2.
12714 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12715 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12717 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12718 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12719 explicitly the unknown a_type display mechanism is used.
12720 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12721 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12723 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12724 to macro prototype for AT_HWCAP2 support.
12725 * sysdeps/i386/dl-procinfo.h: Likewise.
12726 * sysdeps/s390/dl-procinfo.h: Likewise.
12727 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12728 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12729 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12730 return -1 for unknown a_type display fallback.
12731 * sysdeps/sparc/dl-procinfo.h: Likewise.
12732 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12733 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12735 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12737 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12738 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12740 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12743 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12744 mprotect making __stack_prot writable.
12746 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12747 Joseph Myers <joseph@codesourcery.com>
12749 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12750 as being properly aligned.
12752 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12754 * dlfcn/modstatic5.c: New file.
12755 * dlfcn/tststatic5.c: New file.
12756 * dlfcn/Makefile (tests): Add tststatic5.
12757 (tests-static): Likewise.
12758 (modules-names): Add modstatic5.
12759 (tststatic5-ENV): New variable.
12760 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12763 * elf/dl-support.c (_dl_main_map): New variable.
12764 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12765 (_dl_nns, _dl_load_adds): Set to 1.
12766 (_dl_initial_searchlist): Refer to _dl_main_map.
12767 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12768 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12769 call to _dl_get_origin.
12770 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12772 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12773 * dlfcn/modstatic3.c: New file.
12774 * dlfcn/tststatic3.c: New file.
12775 * dlfcn/tststatic4.c: New file.
12776 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12777 (tests-static): Likewise.
12778 (modules-names): Add modstatic3.
12779 (tststatic3-ENV, tststatic4-ENV): New variables.
12780 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12781 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12783 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12785 * configure.in (CC): Require GCC version 4.4 or later.
12786 * configure: Regenerated.
12787 * manual/install.texi (Tools for Compilation): Update GCC version
12789 * INSTALL: Regenerated.
12791 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12794 * string/test-memcmp.c (check2): New.
12795 (main): Call check2.
12797 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12799 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12802 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12804 (dl_open_worker) [!SHARED]: ... here.
12806 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12808 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12810 2013-06-25 Richard Henderson <rth@redhat.com>
12812 * locale/programs/locarchive.c: Include <libc-internal.h>
12814 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12816 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12817 trailing whitespace removed.
12819 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12822 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12823 * locale/programs/locarchive.c: Include libc-mmap.h.
12824 (prepare_address_space): Take two new outputs (the mmap base and len).
12825 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12827 (create_archive): Declare new mmap base and len values for
12828 prepare_address_space, and store the result in ah.
12829 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12830 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12831 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12832 Declare new mmap base and len values for
12833 prepare_address_space, and store the result in new_ah.
12834 (open_archive): Declare new mmap base and len values for
12835 prepare_address_space, and store the result in ah.
12836 (close_archive): If ah->mmap_base is not NULL, use that and
12837 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12838 * sysdeps/generic/libc-mmap.h: New file.
12840 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12842 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12843 (ALIGN_UP): Likewise.
12844 (PTR_ALIGN_DOWN): Likewise.
12845 (PTR_ALIGN_UP): Likewise.
12847 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12849 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12850 entry mapped to PPC_PLATFORM_POWER8.
12851 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12853 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12854 (_dl_string_platform): Add case for exporting platform position for
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12857 search path to sysdeps/powerpc/powerpc32/power8 directory.
12858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12859 search path to sysdeps/powerpc/powerpc64/power8 directory.
12860 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12861 power7 directories.
12862 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12863 power7 directories.
12865 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12867 * INSTALL: Regenerate.
12869 * nscd/connections.c (nscd_init): Fix comment.
12871 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12873 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12876 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12877 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12879 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12881 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12883 (DL_DST_REQ_STATIC): Remove macro.
12885 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12888 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12889 with a shift of 0 bits.
12891 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12893 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12896 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12899 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12901 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12903 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12904 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12905 accepts -fno-tree-loop-distribute-patterns.
12906 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12907 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12909 * string/memset.c (memset): Likewise.
12910 * string/test-memmove.c (simple_memmove): Disable loop transformation
12912 * string/test-memset.c (simple_memset): Likewise.
12913 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12914 * benchtests/bench-memset.c (simple_memset): Likewise.
12915 * configure: Regenerated.
12917 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12919 * math/test-misc.c (main): Ignore fesetround failure when failures
12920 of subsequent rounding tests would be ignored.
12923 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12924 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12925 * math/fegetenv.c (__fegetenv): Return 0.
12926 * math/fegetexcept.c (fegetexcept): Return 0.
12927 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12929 * math/feholdexcpt.c (feholdexcept): Return 0.
12930 * math/fesetenv.c (__fesetenv): Return 0.
12931 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12932 argument FE_TONEAREST.
12933 * math/feupdateenv.c (__feupdateenv): Return 0.
12934 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12936 2013-06-18 Roland McGrath <roland@hack.frob.com>
12938 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12939 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12940 ($(objpfx)rtld-%.os rules): Use them.
12942 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12944 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12947 2013-06-17 Roland McGrath <roland@hack.frob.com>
12949 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12950 length of target pattern, then descending length of dependency pattern.
12951 * configure.in (AWK): Require gawk 3.1.2 or newer.
12952 * manual/install.texi (Tools for Compilation): Say that we do.
12953 * configure: Regenerated.
12955 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12956 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12957 * scripts/sysd-rules.awk: ... this new script.
12958 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12959 than a glob-style pattern.
12961 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12963 * math/test-misc.c (main): Do not treat incorrectly rounded
12964 conversions as failure unless ROUNDING_TESTS passes.
12966 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12969 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12970 restore exception state around main square root computation, then
12971 check for inexactness explicitly.
12973 * math/libm-test.inc (fma_test_data): Add another test.
12975 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12977 * manual/threads.texi (Non-POSIX Extensions): New document
12978 node. Document pthread_getattr_default_np and
12979 pthread_setattr_default_np.
12981 * Versions.def (libpthread): Add GLIBC_2.18.
12982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12991 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13002 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13005 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13007 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13008 H.J. Lu <hjl.tools@gmail.com>
13011 * sysdeps/x86_64/rtld-memset.c: Remove file.
13012 * sysdeps/x86_64/rtld-memset.S: New file.
13014 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13016 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13017 (test_in_one_mode): Take arguments for whether the rounding mode
13018 is supported for each floating-point type.
13019 (do_test): Pass new arguments to test_in_one_mode using
13022 2013-06-13 Roland McGrath <roland@hack.frob.com>
13024 * posix/tst-waitid.c (do_test): Distinguish different instances of
13025 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13026 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13027 before entering the kernel for waitpid.
13029 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13031 * NEWS: Fix note on clock function precision. Text by Roland
13034 2013-06-13 Roland McGrath <roland@hack.frob.com>
13036 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13037 it into place only when and if the sanity check passes.
13039 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13041 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13042 output for whether conversion result is exact. Take argument
13043 indicating whether type is IBM long double.
13044 (round_for_all): Change need_exact field to ibm_ld.
13045 * stdlib/tst-strtod-round.c (struct exactness): New type.
13046 (struct test): Change bool ld_ok field to struct exactness exact.
13047 (TEST): Update all definitions for change to field.
13048 (tests): Regenerate array contents.
13049 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13050 field value. Check for IBM long double here.
13051 (do_test): Update calls to test_in_one_mode.
13053 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13056 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13057 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13059 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13062 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13063 generated by the compiler on loop optimizations.
13064 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13065 general definitions.
13067 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13069 * math/bug-nextafter.c: Include <math-tests.h>.
13070 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13072 * math/bug-nexttoward.c: Include <math-tests.h>.
13073 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13075 * math/test-misc.c: Include <math-tests.h>.
13076 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13079 2013-06-12 Andreas Jaeger <aj@suse.de>
13081 * po/ia.po: Update Interlingua translation from translation
13084 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13086 * include/fenv.h: Include stdbool.h.
13087 (struct rm_ctx): New structure.
13088 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13090 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13091 (SET_RESTORE_ROUNDF): Likewise.
13092 (SET_RESTORE_ROUNDL): Likewise.
13093 (SET_RESTORE_ROUND_NOEX): Likewise.
13094 (SET_RESTORE_ROUND_NOEXF): Likewise.
13095 (SET_RESTORE_ROUND_NOEXL): Likewise.
13096 (SET_RESTORE_ROUND_53BIT): Likewise.
13097 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13098 (libc_feresetround_noexf_ctx): Likewise.
13099 (libc_feresetround_noexl_ctx): Likewise.
13100 (libc_feholdsetround_53bit_ctx): Likewise.
13101 (libc_feresetround_53bit_ctx): Likewise.
13102 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13103 (libc_feholdexcept_setround_sse_ctx): New function.
13104 (libc_fesetenv_sse_ctx): Likewise.
13105 (libc_feupdateenv_sse_ctx): Likewise.
13106 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13107 (libc_feholdexcept_setround_387_ctx): Likewise.
13108 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13109 (libc_feholdsetround_387_prec_ctx): Likewise.
13110 (libc_feholdsetround_387_ctx): Likewise.
13111 (libc_feholdsetround_387_53bit_ctx): Likewise.
13112 (libc_feholdsetround_sse_ctx): Likewise.
13113 (libc_feresetround_sse_ctx): Likewise.
13114 (libc_feresetround_387_ctx): Likewise.
13115 (libc_feupdateenv_387_ctx): Likewise.
13116 (libc_feholdexcept_setroundf_ctx): Define macro.
13117 (libc_fesetenvf_ctx): Likewise.
13118 (libc_feupdateenvf_ctx): Likewise.
13119 (libc_feholdsetroundf_ctx): Likewise.
13120 (libc_feresetroundf_ctx): Likewise.
13121 (libc_feholdexcept_setround_ctx): Likewise.
13122 (libc_fesetenv_ctx): Likewise.
13123 (libc_feupdateenv_ctx): Likewise.
13124 (libc_feholdsetround_ctx): Likewise.
13125 (libc_feresetround_ctx): Likewise.
13126 (libc_feholdexcept_setroundl_ctx): Likewise.
13127 (libc_feupdateenvl_ctx): Likewise.
13128 (libc_feholdsetroundl_ctx): Likewise.
13129 (libc_feresetroundl_ctx): Likewise.
13130 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13131 (libc_feresetround_53bit_ctx): Likewise.
13133 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13135 * locale/iso-639.def: Convert to UTF-8.
13137 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13139 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13140 (EXCEPTION_TESTS_double): Likewise.
13141 (EXCEPTION_TESTS_long_double): Likewise.
13142 (EXCEPTION_TESTS): Likewise.
13143 * math/libm-test.inc (test_exceptions): Only test exceptions if
13144 EXCEPTION_TESTS (FLOAT).
13146 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13148 * benchtests/Makefile (string-bench): Add strcpy_chk and
13150 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13151 * benchtests/bench-stpcpy_chk.c: New file.
13152 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13153 * benchtests/bench-strcpy_chk.c: New file.
13154 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13156 (do_test): Likewise.
13158 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13160 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13161 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13162 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13163 with tabs where appropriate.
13164 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13166 [PPC_PLATFORM_PPC440]: Likewise.
13167 [PPC_PLATFORM_PPC464]: Likewise.
13168 [PPC_PLATFORM_PPC476]: Likewise.
13169 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13170 ppc464, and ppc476 platform strings merging from ports/
13173 2013-06-11 Andreas Schwab <schwab@suse.de>
13176 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13177 (from_ucs4_idx): Regenerate.
13178 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13179 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13180 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13181 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13182 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13183 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13184 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13185 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13186 from FROM_LOOP and TO_LOOP specific macros.
13187 (BODY): Handle combining characters.
13188 * iconvdata/BIG5HKSCS.irreversible: Update.
13189 * iconvdata/BIG5HKSCS.precomposed: New file.
13190 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13192 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13194 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13196 * include/sys/time.h: Fix indentation and add copyright header.
13198 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13199 (do_test): Likewise.
13200 * string/test-memchr.c (do_one_test): Likewise.
13201 (do_test): Likewise.
13202 * string/test-memcmp.c (do_one_test): Likewise.
13203 (do_test): Likewise.
13204 * string/test-memcpy.c (do_one_test): Likewise.
13205 (do_test): Likewise.
13206 * string/test-memmem.c (do_one_test): Likewise.
13207 (do_test): Likewise.
13208 (do_random_tests): Likewise.
13209 * string/test-memmove.c (do_one_test): Likewise.
13210 (do_test): Likewise.
13211 * string/test-memset.c (do_one_test): Likewise.
13212 (do_test): Likewise.
13213 * string/test-rawmemchr.c (do_one_test): Likewise.
13214 (do_test): Likewise.
13215 * string/test-strcasecmp.c (do_one_test): Likewise.
13216 (do_test): Likewise.
13217 * string/test-strcasestr.c (do_one_test): Likewise.
13218 (do_test): Likewise.
13219 * string/test-strcat.c (do_one_test): Likewise.
13220 (do_test): Likewise.
13221 * string/test-strchr.c (do_one_test): Likewise.
13222 (do_test): Likewise.
13223 * string/test-strcmp.c (do_one_test): Likewise.
13224 (do_test): Likewise.
13225 * string/test-strcpy.c (do_one_test): Likewise.
13226 (do_test): Likewise.
13227 * string/test-string.h: Likewise.
13228 (test_init): Likewise.
13229 * string/test-strlen.c (do_one_test): Likewise.
13230 (do_test): Likewise.
13231 * string/test-strncasecmp.c (do_one_test): Likewise.
13232 (do_test): Likewise.
13233 * string/test-strncat.c (do_one_test): Likewise.
13234 (do_test): Likewise.
13235 * string/test-strncmp.c (do_one_test): Likewise.
13236 (do_test_limit): Likewise.
13237 (do_test): Likewise.
13238 * string/test-strncpy.c (do_one_test): Likewise.
13239 (do_test): Likewise.
13240 * string/test-strnlen.c (do_one_test): Likewise.
13241 (do_test): Likewise.
13242 * string/test-strpbrk.c (do_one_test): Likewise.
13243 (do_test): Likewise.
13244 * string/test-strrchr.c (do_one_test): Likewise.
13245 (do_test): Likewise.
13246 * string/test-strspn.c (do_one_test): Likewise.
13247 (do_test): Likewise.
13248 * string/test-strstr.c (do_one_test): Likewise.
13249 (do_test): Likewise.
13251 * benchtests/Makefile (string-bench): Add string benchmarks.
13252 * benchtests/bench-bcopy-ifunc.c: New file.
13253 * benchtests/bench-bcopy.c: New file.
13254 * benchtests/bench-bzero-ifunc.c: New file.
13255 * benchtests/bench-bzero.c: New file.
13256 * benchtests/bench-memccpy-ifunc.c: New file.
13257 * benchtests/bench-memccpy.c: New file.
13258 * benchtests/bench-memchr-ifunc.c: New file.
13259 * benchtests/bench-memchr.c: New file.
13260 * benchtests/bench-memcmp-ifunc.c: New file.
13261 * benchtests/bench-memcmp.c: New file.
13262 * benchtests/bench-memmem-ifunc.c: New file.
13263 * benchtests/bench-memmem.c: New file.
13264 * benchtests/bench-memmove-ifunc.c: New file.
13265 * benchtests/bench-memmove.c: New file.
13266 * benchtests/bench-mempcpy-ifunc.c: New file.
13267 * benchtests/bench-mempcpy.c: New file.
13268 * benchtests/bench-memset-ifunc.c: New file.
13269 * benchtests/bench-memset.c: New file.
13270 * benchtests/bench-rawmemchr-ifunc.c: New file.
13271 * benchtests/bench-rawmemchr.c: New file.
13272 * benchtests/bench-stpcpy-ifunc.c: New file.
13273 * benchtests/bench-stpcpy.c: New file.
13274 * benchtests/bench-stpncpy-ifunc.c: New file.
13275 * benchtests/bench-stpncpy.c: New file.
13276 * benchtests/bench-strcasecmp-ifunc.c: New file.
13277 * benchtests/bench-strcasecmp.c: New file.
13278 * benchtests/bench-strcasestr-ifunc.c: New file.
13279 * benchtests/bench-strcasestr.c: New file.
13280 * benchtests/bench-strcat-ifunc.c: New file.
13281 * benchtests/bench-strcat.c: New file.
13282 * benchtests/bench-strchr-ifunc.c: New file.
13283 * benchtests/bench-strchr.c: New file.
13284 * benchtests/bench-strchrnul-ifunc.c: New file.
13285 * benchtests/bench-strchrnul.c: New file.
13286 * benchtests/bench-strcmp-ifunc.c: New file.
13287 * benchtests/bench-strcmp.c: New file.
13288 * benchtests/bench-strcpy-ifunc.c: New file.
13289 * benchtests/bench-strcpy.c: New file.
13290 * benchtests/bench-strcspn-ifunc.c: New file.
13291 * benchtests/bench-strcspn.c: New file.
13292 * benchtests/bench-strlen-ifunc.c: New file.
13293 * benchtests/bench-strlen.c: New file.
13294 * benchtests/bench-strncasecmp-ifunc.c: New file.
13295 * benchtests/bench-strncasecmp.c: New file.
13296 * benchtests/bench-strncat-ifunc.c: New file.
13297 * benchtests/bench-strncat.c: New file.
13298 * benchtests/bench-strncmp-ifunc.c: New file.
13299 * benchtests/bench-strncmp.c: New file.
13300 * benchtests/bench-strncpy-ifunc.c: New file.
13301 * benchtests/bench-strncpy.c: New file.
13302 * benchtests/bench-strnlen-ifunc.c: New file.
13303 * benchtests/bench-strnlen.c: New file.
13304 * benchtests/bench-strpbrk-ifunc.c: New file.
13305 * benchtests/bench-strpbrk.c: New file.
13306 * benchtests/bench-strrchr-ifunc.c: New file.
13307 * benchtests/bench-strrchr.c: New file.
13308 * benchtests/bench-strspn-ifunc.c: New file.
13309 * benchtests/bench-strspn.c: New file.
13310 * benchtests/bench-strstr-ifunc.c: New file.
13311 * benchtests/bench-strstr.c: New file.
13313 * benchtests/Makefile: Disable parallel execution of targets.
13314 (string-bench): Add memcpy.
13315 (benchset): New variable to store a list of benchmark sets.
13316 (bench-func): Renamed from bench.
13317 (bench-set): New target.
13318 (bench): Depend on bench-func and bench-set.
13319 * benchtests/README: Add section on benchmark sets.
13320 * benchtests/bench-memcpy-ifunc.c: New file.
13321 * benchtests/bench-memcpy.c: New file.
13322 * benchtests/bench-string.h: New file.
13324 2013-06-11 Andreas Schwab <schwab@suse.de>
13327 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13328 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13329 values in the triple.
13330 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13331 terminator in the group key.
13333 2013-06-11 Andreas Jaeger <aj@suse.de>
13335 * po/zh_TW.po: Update Chinese (traditional) translation from
13336 translation project.
13338 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13340 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13341 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13342 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13343 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13344 (clock_getcpuclockid): Likewise.
13345 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13346 Add weak_alias and libc_hidden_def.
13347 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13348 * rt/clock_gettime.c (clock_gettime): Rename to
13349 __clock_gettime. Add weak_alias and libc_hidden_def.
13350 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13351 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13352 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13353 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13354 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13356 * rt/clock_settime.c (clock_settime): Rename to
13357 __clock_settime. Add weak_alias and libc_hidden_def.
13358 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13360 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13362 * mach/err_boot.sub: Remove trailing whitespace.
13363 * mach/err_ipc.sub: Likewise.
13364 * mach/err_mach.sub: Likewise.
13366 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13367 (ROUNDING_TESTS_double): Likewise.
13368 (ROUNDING_TESTS_long_double): Likewise.
13369 (ROUNDING_TESTS): Likewise.
13370 * math/libm-test.inc: Include <math-tests.h>.
13371 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13372 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13373 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13374 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13376 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13378 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13381 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13383 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13384 otherwise empty TRANS lines.
13385 * sysdeps/gnu/errlist.c: Regenerated.
13387 * catgets/gencat.c (error_print): Use (void) in function
13389 * crypt/crypt_util.c (__init_des): Likewise.
13390 * crypt/speeds.c (Stop): Likewise.
13392 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13393 * inet/ruserpass.c (token): Likewise.
13394 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13395 * intl/localealias.c (extend_alias_table): Likewise.
13396 * intl/plural-exp.c (init_germanic_plural): Likewise.
13397 * libio/fcloseall.c (__fcloseall): Likewise.
13398 * libio/genops.c (_IO_flush_all): Likewise.
13399 (_IO_flush_all_linebuffered): Likewise.
13400 (_IO_cleanup): Likewise.
13401 (_IO_iter_begin): Likewise.
13402 (_IO_iter_end): Likewise.
13403 (_IO_list_lock): Likewise.
13404 (_IO_list_unlock): Likewise.
13405 (_IO_list_resetlock): Likewise.
13406 * libio/getchar.c (getchar): Likewise.
13407 * libio/getchar_u.c (getchar_unlocked): Likewise.
13408 * libio/getwchar.c (getwchar): Likewise.
13409 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13410 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13411 * login/getpt.c (__getpt): Likewise.
13412 * login/tst-utmp.c (main): Likewise.
13413 * malloc/hooks.c (__malloc_check_init): Likewise.
13414 * malloc/malloc.c (__malloc_stats): Likewise.
13415 * malloc/mtrace.c (tr_break): Likewise.
13416 (mtrace): Likewise.
13417 (muntrace): Likewise.
13418 * misc/fstab.c (endfsent): Likewise.
13419 * misc/getclktck.c (__getclktck): Likewise.
13420 * misc/getdtsz.c (__getdtablesize): Likewise.
13421 * misc/gethostid.c (gethostid): Likewise.
13422 * misc/getpagesize.c (__getpagesize): Likewise.
13423 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13424 (__get_nprocs): Likewise.
13425 (__get_phys_pages): Likewise.
13426 (__get_avphys_pages): Likewise.
13427 * misc/getttyent.c (getttyent): Likewise.
13428 (setttyent): Likewise.
13429 (endttyent): Likewise.
13430 * misc/getusershell.c (getusershell): Likewise.
13431 (endusershell): Likewise.
13432 (setusershell): Likewise.
13433 (initshells): Likewise.
13434 * misc/hsearch.c (__hdestroy): Likewise.
13435 * misc/sync.c (sync): Likewise.
13436 * misc/syslog.c (closelog_internal): Likewise.
13437 (closelog): Likewise.
13438 * misc/ttyslot.c (ttyslot): Likewise.
13439 * misc/vhangup.c (vhangup): Likewise.
13440 * posix/fork.c (__fork): Likewise.
13441 * posix/getegid.c (__getegid): Likewise.
13442 * posix/geteuid.c (__geteuid): Likewise.
13443 * posix/getgid.c (__getgid): Likewise.
13444 * posix/getpid.c (__getpid): Likewise.
13445 * posix/getppid.c (__getppid): Likewise.
13446 * posix/getuid.c (__getuid): Likewise.
13447 * posix/pause.c (pause): Likewise.
13448 * posix/setpgrp.c (setpgrp): Likewise.
13449 * posix/setsid.c (__setsid): Likewise.
13450 * posix/test-vfork.c (noop): Likewise.
13451 * resolv/gethnamaddr.c (_endhtent): Likewise.
13452 (_gethtent): Likewise.
13453 (ht_endhostent): Likewise.
13454 (gethostent): Likewise.
13455 (dns_service): Likewise.
13456 * stdlib/drand48.c (drand48): Likewise.
13457 * stdlib/lrand48.c (lrand48): Likewise.
13458 * stdlib/mrand48.c (mrand48): Likewise.
13459 * stdlib/rand.c (rand): Likewise.
13460 * stdlib/random.c (__random): Likewise.
13461 * stdlib/setenv.c (clearenv): Likewise.
13462 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13463 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13464 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13465 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13466 (__get_nprocs): Likewise.
13467 (__get_phys_pages): Likewise.
13468 (__get_avphys_pages): Likewise.
13469 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13470 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13471 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13472 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13473 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13474 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13475 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13476 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13477 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13478 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13479 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13480 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13481 * sysdeps/posix/clock.c (clock): Likewise.
13482 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13483 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13484 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13485 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13486 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13487 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13488 (__get_nprocs_conf): Likewise.
13489 (__get_phys_pages): Likewise.
13490 (__get_avphys_pages): Likewise.
13491 * time/clock.c (clock): Likewise.
13492 * time/tzset.c (__tzname_max): Likewise.
13494 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13496 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13497 (__bswap_32): Do not use "register".
13498 * crypt/crypt.c (_ufc_doit_r): Likewise.
13499 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13500 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13501 * gmon/gmon.c (__monstartup): Likewise.
13502 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13503 * hurd/hurdmalloc.c (more_memory): Likewise.
13504 (malloc): Likewise.
13506 (realloc): Likewise.
13507 (malloc_fork_prepare): Likewise.
13508 (malloc_fork_parent): Likewise.
13509 (malloc_fork_child): Likewise.
13510 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13511 (_svcauth_des): Likewise.
13512 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13513 * inet/inet_net.c (inet_network): Likewise.
13514 * inet/inet_netof.c (inet_netof): Likewise.
13515 * inet/rcmd.c (__validuser2_sa): Likewise.
13516 * io/fts.c (fts_open): Likewise.
13517 (fts_load): Likewise.
13518 (fts_close): Likewise.
13519 (fts_read): Likewise.
13520 (fts_children): Likewise.
13521 (fts_build): Likewise.
13522 (fts_stat): Likewise.
13523 (fts_sort): Likewise.
13524 (fts_alloc): Likewise.
13525 (fts_lfree): Likewise.
13526 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13527 (_IO_file_xsgetn): Likewise.
13528 (_IO_file_xsgetn_mmap): Likewise.
13529 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13530 (_IO_cookie_write): Likewise.
13531 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13532 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13533 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13534 * malloc/obstack.c (_obstack_begin): Likewise.
13535 (_obstack_begin_1): Likewise.
13536 (_obstack_newchunk): Likewise.
13537 (_obstack_allocated_p): Likewise.
13538 (obstack_free): Likewise.
13539 (_obstack_memory_used): Likewise.
13540 * misc/getttyent.c (getttynam): Likewise.
13541 (getttyent): Likewise.
13544 * misc/getusershell.c (initshells): Likewise.
13545 * misc/syslog.c (__vsyslog_chk): Likewise.
13546 * misc/ttyslot.c (ttyslot): Likewise.
13547 * nis/nis_hash.c (__nis_hash): Likewise.
13548 * posix/fnmatch_loop.c (FCT): Likewise.
13549 * posix/getconf.c (print_all): Likewise.
13551 * posix/getopt.c (exchange): Likewise.
13552 * posix/glob.c (globfree): Likewise.
13553 (prefix_array): Likewise.
13554 (__glob_pattern_type): Likewise.
13555 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13556 (NS_GET32): Likewise.
13557 (NS_PUT16): Likewise.
13558 (NS_PUT32): Likewise.
13559 * resolv/gethnamaddr.c (getanswer): Likewise.
13560 (gethostbyname2): Likewise.
13561 (gethostbyaddr): Likewise.
13562 (_gethtent): Likewise.
13563 (_gethtbyname2): Likewise.
13564 (_gethtbyaddr): Likewise.
13565 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13566 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13567 * resolv/res_init.c (__res_vinit): Likewise.
13568 (net_mask): Likewise.
13569 * resolv/res_mkquery.c (outchar): Likewise.
13571 * stdio-common/printf_fp.c (outchar): Likewise.
13573 * stdio-common/printf_fphex.c (outchar): Likewise.
13575 * stdio-common/printf_size.c (outchar): Likewise.
13577 * stdio-common/test_rdwr.c (main): Likewise.
13578 * stdio-common/tfformat.c (matches): Likewise.
13579 * stdio-common/vfprintf.c (outchar): Likewise.
13580 (printf_unknown): Likewise.
13581 (buffered_vfprintf): Likewise.
13582 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13583 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13584 (ReadFile): Likewise.
13585 * stdlib/qsort.c (SWAP): Likewise.
13586 (_quicksort): Likewise.
13587 * stdlib/setenv.c (__add_to_environ): Likewise.
13588 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13589 * stdlib/strtol_l.c (__strtol_l): Likewise.
13590 * stdlib/tst-strtod.c (main): Likewise.
13591 * stdlib/tst-strtol.c (main): Likewise.
13592 * stdlib/tst-strtoll.c (main): Likewise.
13593 * string/bits/string2.h (__strcmp_cc): Likewise.
13594 (__strcmp_cg): Likewise.
13595 (__strcspn_c1): Likewise.
13596 (__strcspn_c2): Likewise.
13597 (__strcspn_c3): Likewise.
13598 (__strspn_c1): Likewise.
13599 (__strspn_c2): Likewise.
13600 (__strspn_c3): Likewise.
13601 (__strsep_1c): Likewise.
13602 (__strsep_2c): Likewise.
13603 (__strsep_3c): Likewise.
13604 * string/memccpy.c (__memccpy): Likewise.
13605 * string/stpcpy.c (__stpcpy): Likewise.
13606 * string/strcmp.c (strcmp): Likewise.
13607 * string/strrchr.c (strrchr): Likewise.
13608 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13610 * sysdeps/mach/hurd/getcwd.c
13611 (_hurd_canonicalize_directory_name_internal): Likewise.
13612 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13613 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13614 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13615 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13616 Likewise, in both definitions.
13617 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13619 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13620 64] (__bswap_64): Likewise.
13621 * time/test_time.c (main): Likewise.
13622 * time/tzfile.c (__tzfile_read): Likewise.
13623 (__tzfile_compute): Likewise.
13624 * time/tzset.c (__tzset_parse_tz): Likewise.
13625 (tzset_internal): Likewise.
13626 (compute_change): Likewise.
13627 * wcsmbs/wcscat.c (__wcscat): Likewise.
13628 * wcsmbs/wcschr.c (wcschr): Likewise.
13629 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13630 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13631 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13632 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13633 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13634 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13635 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13636 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13637 * wcsmbs/wmemset.c (wmemset): Likewise.
13639 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13641 * scripts/config.guess: Update to version 2013-05-16.
13642 * scripts/config.sub: Update to version 2013-04-24.
13643 * scripts/install-sh: Update to version 2011-11-20.07.
13644 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13645 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13647 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13649 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13650 * elf/sln.c: Likewise.
13651 * hurd/hurd/ioctl.h: Likewise.
13652 * hurd/hurdmalloc.c: Likewise.
13653 * hurd/xattr.c: Likewise.
13654 * include/shlib-compat.h: Likewise.
13655 * inet/ruserpass.c: Likewise.
13656 * libio/iofgets_u.c: Likewise.
13657 * libio/iofgetws_u.c: Likewise.
13658 * locale/programs/ld-identification.c: Likewise.
13659 * locale/programs/ld-time.c: Likewise.
13660 * mach/msg-destroy.c: Likewise.
13661 * nss/nss_files/files-netgrp.c: Likewise.
13662 * resolv/res_data.c: Likewise.
13663 * soft-fp/op-1.h: Likewise.
13664 * soft-fp/op-2.h: Likewise.
13665 * soft-fp/op-4.h: Likewise.
13666 * soft-fp/op-common.h: Likewise.
13667 * stdio-common/printf_fphex.c: Likewise.
13668 * stdlib/strtod_l.c: Likewise.
13669 * sunrpc/rpc/clnt.h: Likewise.
13670 * sysdeps/generic/framestate.c: Likewise.
13671 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13672 * sysdeps/i386/bsd-setjmp.S: Likewise.
13673 * sysdeps/i386/__longjmp.S: Likewise.
13674 * sysdeps/i386/setjmp.S: Likewise.
13675 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13676 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13677 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13692 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13693 * sysdeps/ieee754/support.c: Likewise.
13694 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13695 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13696 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13697 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13698 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13699 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13700 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13701 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13702 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13703 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13704 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13705 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13706 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13707 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13708 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13709 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13710 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13713 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13715 * posix/transbug.c: Remove executable mode.
13717 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13719 * crypt/speeds.c: Remove trailing whitespace.
13720 * dlfcn/default.c: Likewise.
13721 * elf/ifuncdep2.c: Likewise.
13722 * elf/ifuncmain1.c: Likewise.
13723 * elf/ifuncmain1vis.c: Likewise.
13724 * elf/testobj.h: Likewise.
13725 * elf/tst-stackguard1.c: Likewise.
13726 * gmon/sys/gmon.h: Likewise.
13727 * hurd/hurdmsg.c: Likewise.
13728 * hurd/new-fd.c: Likewise.
13729 * hurd/ports-get.c: Likewise.
13730 * iconvdata/ibm1008_420.c: Likewise.
13731 * inet/tst-getni1.c: Likewise.
13732 * inet/tst-getni2.c: Likewise.
13733 * libio/ioungetc.c: Likewise.
13734 * libio/wfiledoalloc.c: Likewise.
13735 * manual/libm-err-tab.pl: Likewise.
13736 * math/w_dremf.c: Likewise.
13737 * misc/ftruncate.c: Likewise.
13738 * posix/bug-glob2.c: Likewise.
13739 * posix/tst-pcre.c: Likewise.
13740 * posix/wait4.c: Likewise.
13741 * resolv/README: Likewise.
13742 * resolv/res_debug.h: Likewise.
13743 * resolv/tst-inet_ntop.c: Likewise.
13744 * setjmp/bug269-setjmp.c: Likewise.
13745 * soft-fp/extended.h: Likewise.
13746 * soft-fp/op-1.h: Likewise.
13747 * soft-fp/op-2.h: Likewise.
13748 * soft-fp/op-4.h: Likewise.
13749 * soft-fp/op-8.h: Likewise.
13750 * soft-fp/testit.c: Likewise.
13751 * stdio-common/bug16.c: Likewise.
13752 * stdlib/random.c: Likewise.
13753 * sunrpc/rpcsvc/rquota.x: Likewise.
13754 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13755 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13757 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13758 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13759 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13760 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13761 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13762 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13763 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13764 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13783 * sysdeps/ieee754/s_lib_version.c: Likewise.
13784 * sysdeps/mach/hurd/check_fds.c: Likewise.
13785 * sysdeps/mach/hurd/getsockname.c: Likewise.
13786 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13787 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13788 * sysdeps/powerpc/bits/link.h: Likewise.
13789 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13790 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13791 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13792 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13793 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13794 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13795 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13796 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13797 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13798 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13799 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13800 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13801 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13802 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13803 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13804 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13805 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13806 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13807 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13808 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13809 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13810 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13811 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13812 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13813 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13814 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13815 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13816 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13817 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13818 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13819 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13820 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13822 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13823 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13824 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13825 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13826 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13827 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13828 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13829 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13830 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13831 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13832 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13833 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13834 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13835 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13836 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13837 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13838 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13839 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13840 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13841 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13842 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13843 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13844 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13845 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13846 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13847 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13848 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13849 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13852 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13853 * sysdeps/powerpc/sysdep.h: Likewise.
13854 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13855 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13856 * sysdeps/sh/dl-trampoline.S: Likewise.
13857 * sysdeps/sh/memset.S: Likewise.
13858 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13859 * sysdeps/sh/strlen.S: Likewise.
13860 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13861 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13862 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13863 * sysdeps/sparc/sparc32/rem.S: Likewise.
13864 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13865 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13866 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13867 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13868 * sysdeps/sparc/sparc32/urem.S: Likewise.
13869 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13870 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13871 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13872 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13873 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13874 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13875 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13876 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13877 * sysdeps/unix/bsd/times.c: Likewise.
13878 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13879 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13883 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13885 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13886 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13888 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13889 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13890 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13891 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13892 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13893 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13894 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13895 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13896 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13897 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13898 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13899 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13900 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13901 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13902 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13903 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13904 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13905 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13906 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13907 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13908 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13909 * sysdeps/x86_64/strcspn.S: Likewise.
13911 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13913 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13914 generated file. Regenerate properly from gen-translit.pl.
13915 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13916 locale/C-translit.h.
13918 2013-06-05 Andreas Schwab <schwab@suse.de>
13921 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13922 week as 6 instead of -1.
13923 * time/tst-strptime.c (day_tests): Add test case.
13925 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13927 * sysdeps/generic/math_private.h
13928 (libc_feholdexcept_setround_53bit): Replace with
13929 libc_feholdsetround_53bit.
13930 (libc_feupdateenv_53bit): Replace with
13931 libc_feresetround_53bit.
13932 (SET_RESTORE_ROUND_53BIT): Adjust.
13934 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13936 * string/test-strchrnul.c: Add copyright header.
13938 * posix/tst-getaddrinfo4.c: Increase test timeout.
13940 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13943 * math/libm-test.inc (MAX_EXP): Remove
13945 (ulp): Use MIN_EXP - MANT_DIG.
13946 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13948 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13950 * po/be.po: Revert last change.
13951 * po/zh_CN.po: Likewise.
13952 * po/header.pot: Likewise.
13954 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13956 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13957 link-libc-deps to empty as target-specific variable.
13958 * Makerules (link-libc-args): New variable.
13959 (libc-for-link): Likewise.
13960 (link-libc-deps): Likewise.
13961 (lib%.so): Depend on $(link-libc-deps). Link with
13963 (build-module): Link with $(link-libc-args).
13964 (build-module-asneeded): Likewise.
13965 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13967 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13968 target-specific variable.
13969 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13970 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13971 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13973 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13975 ($(objpfx)libpcprofile.so): Likewise.
13976 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13978 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13979 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13980 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13982 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13983 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13984 * login/Makefile ($(objpfx)libutil.so): Likewise.
13985 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13986 * math/Makefile ($(objpfx)libm.so): Likewise.
13987 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13988 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13989 variable instead of depending directly on libc.
13990 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13991 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13993 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13995 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13996 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13997 ($(objpfx)libanl.so): Likewise.
13998 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14000 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14002 * sysdeps/i386/fpu/Makefile: Remove file.
14003 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14004 ($(objpfx)libm.so): Remove dependency on ld.so.
14006 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14009 * nis/yp_xdr.c (XDRMAXNAME): Define.
14010 (XDRMAXRECORD): Define.
14011 (xdr_domainname): Use XDRMAXNAME.
14012 (xdr_mapname): Likewise.
14013 (xdr_peername): Likewise.
14014 (xdr_keydat): Use XDRMAXRECORD.
14015 (xdr_valdat): Likewise.
14017 2013-05-30 Jeff Law <law@redhat.com>
14020 * manual/errno.texi (ESTALE): Update to account for more than
14021 just NFS file systems.
14022 * sysdeps/gnu/errlist.c: Regenerated.
14024 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14027 * elf/Makefile (tests): Add tst-null-argv.
14028 (modules-names): Add tst-null-argv-lib.
14029 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14030 (tst-null-argv-ENV): Set environment for tst-null-argv.
14031 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14032 (RTLD_PROGNAME): New macro.
14033 * elf/tst-null-argv.c: New test case.
14034 * elf/tst-null-argv-lib.c: Library for test case.
14035 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14036 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14037 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14038 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14039 * elf/dl-init.c (call_init): Likewise.
14040 (_dl_init): Likewise.
14041 * elf/dl-load.c (print_search_path): Likewise.
14042 (_dl_map_object): Likewise.
14043 * elf/dl-lookup.c (do_lookup_x): Likewise.
14044 (add_dependency): Likewise.
14045 (_dl_lookup_symbol_x): Likewise.
14046 (_dl_debug_bindings): Likewise.
14047 * elf/dl-open.c (_dl_show_scope): Likewise.
14048 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14049 * elf/dl-version.c (match_symbol): Likewise.
14050 (_dl_check_map_versions): Likewise.
14051 * elf/rtld.c (dl_main): Likewise.
14052 (print_unresolved): Use RTLD_PROGNAME.
14053 (print_missing_version): Likewise.
14054 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14055 (elf_machine_rela): Likewise.
14056 * sysdeps/powerpc/powerpc32/dl-machine.c
14057 (__process_machine_rela): Likewise.
14058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14060 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14062 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14064 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14065 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14067 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14071 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14073 * po/be.po: Add descriptive title.
14074 * po/zh_CN.po: Likewise.
14075 * po/header.pot: Likewise.
14077 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14079 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14081 (enlarge_archive): Likewise.
14083 2013-05-28 Ben North <ben@redfrontdoor.org>
14085 * manual/arith.texi (frexp): It is the magnitude of the return
14086 value which lies in [0.5, 1), not the return value itself.
14088 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14092 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14094 * stdio-common/bug26.c (main): Correct fscanf template.
14096 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14097 declare _dl_skip_args.
14099 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14102 * manual/platform.texi: Add missing @end deftypefun.
14104 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14107 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14108 bit of mantissa of 2^16382.
14109 * math/libm-test.inc (hypot_test_data): Add more tests.
14111 * math/libm-test.inc: Add drem and pow10 to list of tested
14113 (pow10_test): New function.
14114 (drem_test): Likewise.
14115 (drem_test_tonearest): Likewise.
14116 (drem_test_towardzero): Likewise.
14117 (drem_test_downward): Likewise.
14118 (drem_test_upward): Likewise.
14119 (main): Call the new functions.
14121 * math/libm-test.inc (finite_test_data): Remove.
14122 (finite_test): Run tests from isfinite_test_data.
14123 (gamma_test_data): Remove.
14124 (gamma_test): Run tests from lgamma_test_data.
14125 * sysdeps/i386/fpu/libm-test-ulps: Update.
14126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14128 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14130 * manual/platform.texi: Add PowerPC PPR function set documentation.
14131 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14134 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14136 * math/libm-test.inc (MAX_EXP): Define.
14138 (ulp): New function.
14139 (check_float_internal): Use ULPDIFF.
14140 (cpow_test): Disable failing test.
14141 (check_ulp): Test ulp() implemetnation.
14142 (main): Call check_ulp before starting tests.
14144 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14146 * math/gen-libm-test.pl (generate_testfile): Do not handle
14147 START_DATA and END_DATA.
14148 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14150 (acos_tonearest_test_data): Likewise.
14151 (acos_towardzero_test_data): Likewise.
14152 (acos_downward_test_data): Likewise.
14153 (acos_upward_test_data): Likewise.
14154 (acosh_test_data): Likewise.
14155 (asin_test_data): Likewise.
14156 (asin_tonearest_test_data): Likewise.
14157 (asin_towardzero_test_data): Likewise.
14158 (asin_downward_test_data): Likewise.
14159 (asin_upward_test_data): Likewise.
14160 (asinh_test_data): Likewise.
14161 (atan_test_data): Likewise.
14162 (atanh_test_data): Likewise.
14163 (atan2_test_data): Likewise.
14164 (cabs_test_data): Likewise.
14165 (cacos_test_data): Likewise.
14166 (cacosh_test_data): Likewise.
14167 (carg_test_data): Likewise.
14168 (casin_test_data): Likewise.
14169 (casinh_test_data): Likewise.
14170 (catan_test_data): Likewise.
14171 (catanh_test_data): Likewise.
14172 (cbrt_test_data): Likewise.
14173 (ccos_test_data): Likewise.
14174 (ccosh_test_data): Likewise.
14175 (ceil_test_data): Likewise.
14176 (cexp_test_data): Likewise.
14177 (cimag_test_data): Likewise.
14178 (clog_test_data): Likewise.
14179 (clog10_test_data): Likewise.
14180 (conj_test_data): Likewise.
14181 (copysign_test_data): Likewise.
14182 (cos_test_data): Likewise.
14183 (cos_tonearest_test_data): Likewise.
14184 (cos_towardzero_test_data): Likewise.
14185 (cos_downward_test_data): Likewise.
14186 (cos_upward_test_data): Likewise.
14187 (cosh_test_data): Likewise.
14188 (cosh_tonearest_test_data): Likewise.
14189 (cosh_towardzero_test_data): Likewise.
14190 (cosh_downward_test_data): Likewise.
14191 (cosh_upward_test_data): Likewise.
14192 (cpow_test_data): Likewise.
14193 (cproj_test_data): Likewise.
14194 (creal_test_data): Likewise.
14195 (csin_test_data): Likewise.
14196 (csinh_test_data): Likewise.
14197 (csqrt_test_data): Likewise.
14198 (ctan_test_data): Likewise.
14199 (ctan_tonearest_test_data): Likewise.
14200 (ctan_towardzero_test_data): Likewise.
14201 (ctan_downward_test_data): Likewise.
14202 (ctan_upward_test_data): Likewise.
14203 (ctanh_test_data): Likewise.
14204 (ctanh_tonearest_test_data): Likewise.
14205 (ctanh_towardzero_test_data): Likewise.
14206 (ctanh_downward_test_data): Likewise.
14207 (ctanh_upward_test_data): Likewise.
14208 (erf_test_data): Likewise.
14209 (erfc_test_data): Likewise.
14210 (exp_test_data): Likewise.
14211 (exp_tonearest_test_data): Likewise.
14212 (exp_towardzero_test_data): Likewise.
14213 (exp_downward_test_data): Likewise.
14214 (exp_upward_test_data): Likewise.
14215 (exp10_test_data): Likewise.
14216 (exp2_test_data): Likewise.
14217 (expm1_test_data): Likewise.
14218 (fabs_test_data): Likewise.
14219 (fdim_test_data): Likewise.
14220 (finite_test_data): Likewise.
14221 (floor_test_data): Likewise.
14222 (fma_test_data): Likewise.
14223 (fma_towardzero_test_data): Likewise.
14224 (fma_downward_test_data): Likewise.
14225 (fma_upward_test_data): Likewise.
14226 (fmax_test_data): Likewise.
14227 (fmin_test_data): Likewise.
14228 (fmod_test_data): Likewise.
14229 (fpclassify_test_data): Likewise.
14230 (frexp_test_data): Likewise.
14231 (gamma_test_data): Likewise.
14232 (hypot_test_data): Likewise.
14233 (ilogb_test_data): Likewise.
14234 (isfinite_test_data): Likewise.
14235 (isgreater_test_data): Likewise.
14236 (isgreaterequal_test_data): Likewise.
14237 (isinf_test_data): Likewise.
14238 (isless_test_data): Likewise.
14239 (islessequal_test_data): Likewise.
14240 (islessgreater_test_data): Likewise.
14241 (isnan_test_data): Likewise.
14242 (isnormal_test_data): Likewise.
14243 (issignaling_test_data): Likewise.
14244 (isunordered_test_data): Likewise.
14245 (j0_test_data): Likewise.
14246 (j1_test_data): Likewise.
14247 (jn_test_data): Likewise.
14248 (ldexp_test_data): Likewise.
14249 (lgamma_test_data): Likewise.
14250 (lrint_test_data): Likewise.
14251 (lrint_tonearest_test_data): Likewise.
14252 (lrint_towardzero_test_data): Likewise.
14253 (lrint_downward_test_data): Likewise.
14254 (lrint_upward_test_data): Likewise.
14255 (llrint_test_data): Likewise.
14256 (llrint_tonearest_test_data): Likewise.
14257 (llrint_towardzero_test_data): Likewise.
14258 (llrint_downward_test_data): Likewise.
14259 (llrint_upward_test_data): Likewise.
14260 (log_test_data): Likewise.
14261 (log10_test_data): Likewise.
14262 (log1p_test_data): Likewise.
14263 (log2_test_data): Likewise.
14264 (logb_test_data): Likewise.
14265 (logb_downward_test_data): Likewise.
14266 (lround_test_data): Likewise.
14267 (llround_test_data): Likewise.
14268 (modf_test_data): Likewise.
14269 (nearbyint_test_data): Likewise.
14270 (nextafter_test_data): Likewise.
14271 (nexttoward_test_data): Likewise.
14272 (pow_test_data): Likewise.
14273 (pow_tonearest_test_data): Likewise.
14274 (pow_towardzero_test_data): Likewise.
14275 (pow_downward_test_data): Likewise.
14276 (pow_upward_test_data): Likewise.
14277 (remainder_test_data): Likewise.
14278 (remainder_tonearest_test_data): Likewise.
14279 (remainder_towardzero_test_data): Likewise.
14280 (remainder_downward_test_data): Likewise.
14281 (remainder_upward_test_data): Likewise.
14282 (remquo_test_data): Likewise.
14283 (rint_test_data): Likewise.
14284 (rint_tonearest_test_data): Likewise.
14285 (rint_towardzero_test_data): Likewise.
14286 (rint_downward_test_data): Likewise.
14287 (rint_upward_test_data): Likewise.
14288 (round_test_data): Likewise.
14289 (scalb_test_data): Likewise.
14290 (scalbn_test_data): Likewise.
14291 (scalbln_test_data): Likewise.
14292 (signbit_test_data): Likewise.
14293 (sin_test_data): Likewise.
14294 (sin_tonearest_test_data): Likewise.
14295 (sin_towardzero_test_data): Likewise.
14296 (sin_downward_test_data): Likewise.
14297 (sin_upward_test_data): Likewise.
14298 (sincos_test_data): Likewise.
14299 (sinh_test_data): Likewise.
14300 (sinh_tonearest_test_data): Likewise.
14301 (sinh_towardzero_test_data): Likewise.
14302 (sinh_downward_test_data): Likewise.
14303 (sinh_upward_test_data): Likewise.
14304 (sqrt_test_data): Likewise.
14305 (tan_test_data): Likewise.
14306 (tan_tonearest_test_data): Likewise.
14307 (tan_towardzero_test_data): Likewise.
14308 (tan_downward_test_data): Likewise.
14309 (tan_upward_test_data): Likewise.
14310 (tanh_test_data): Likewise.
14311 (tgamma_test_data): Likewise.
14312 (trunc_test_data): Likewise.
14313 (y0_test_data): Likewise.
14314 (y1_test_data): Likewise.
14315 (yn_test_data): Likewise.
14316 (significand_test_data): Likewise.
14318 * math/gen-libm-test.pl (@functions): Remove variable.
14319 (generate_testfile): Don't handle START and END lines.
14320 * math/libm-test.inc (START): New macro.
14322 (END_COMPLEX): Likewise.
14323 (acos_test): Use END macro without arguments.
14324 (acos_test_tonearest): Likewise.
14325 (acos_test_towardzero): Likewise.
14326 (acos_test_downward): Likewise.
14327 (acos_test_upward): Likewise.
14328 (acosh_test): Likewise.
14329 (asin_test): Likewise.
14330 (asin_test_tonearest): Likewise.
14331 (asin_test_towardzero): Likewise.
14332 (asin_test_downward): Likewise.
14333 (asin_test_upward): Likewise.
14334 (asinh_test): Likewise.
14335 (atan_test): Likewise.
14336 (atanh_test): Likewise.
14337 (atan2_test): Likewise.
14338 (cabs_test): Likewise.
14339 (cacos_test): Use END_COMPLEX macro without arguments.
14340 (cacosh_test): Likewise.
14341 (carg_test): Use END macro without arguments.
14342 (casin_test): Use END_COMPLEX macro without arguments.
14343 (casinh_test): Likewise.
14344 (catan_test): Likewise.
14345 (catanh_test): Likewise.
14346 (cbrt_test): Use END macro without arguments.
14347 (ccos_test): Use END_COMPLEX macro without arguments.
14348 (ccosh_test): Likewise.
14349 (ceil_test): Use END macro without arguments.
14350 (cexp_test): Use END_COMPLEX macro without arguments.
14351 (cimag_test): Use END macro without arguments.
14352 (clog_test): Use END_COMPLEX macro without arguments.
14353 (clog10_test): Likewise.
14354 (conj_test): Likewise.
14355 (copysign_test): Use END macro without arguments.
14356 (cos_test): Likewise.
14357 (cos_test_tonearest): Likewise.
14358 (cos_test_towardzero): Likewise.
14359 (cos_test_downward): Likewise.
14360 (cos_test_upward): Likewise.
14361 (cosh_test): Likewise.
14362 (cosh_test_tonearest): Likewise.
14363 (cosh_test_towardzero): Likewise.
14364 (cosh_test_downward): Likewise.
14365 (cosh_test_upward): Likewise.
14366 (cpow_test): Use END_COMPLEX macro without arguments.
14367 (cproj_test): Likewise.
14368 (creal_test): Use END macro without arguments.
14369 (csin_test): Use END_COMPLEX macro without arguments.
14370 (csinh_test): Likewise.
14371 (csqrt_test): Likewise.
14372 (ctan_test): Likewise.
14373 (ctan_test_tonearest): Likewise.
14374 (ctan_test_towardzero): Likewise.
14375 (ctan_test_downward): Likewise.
14376 (ctan_test_upward): Likewise.
14377 (ctanh_test): Likewise.
14378 (ctanh_test_tonearest): Likewise.
14379 (ctanh_test_towardzero): Likewise.
14380 (ctanh_test_downward): Likewise.
14381 (ctanh_test_upward): Likewise.
14382 (erf_test): Use END macro without arguments.
14383 (erfc_test): Likewise.
14384 (exp_test): Likewise.
14385 (exp_test_tonearest): Likewise.
14386 (exp_test_towardzero): Likewise.
14387 (exp_test_downward): Likewise.
14388 (exp_test_upward): Likewise.
14389 (exp10_test): Likewise.
14390 (exp2_test): Likewise.
14391 (expm1_test): Likewise.
14392 (fabs_test): Likewise.
14393 (fdim_test): Likewise.
14394 (finite_test): Likewise.
14395 (floor_test): Likewise.
14396 (fma_test): Likewise.
14397 (fma_test_towardzero): Likewise.
14398 (fma_test_downward): Likewise.
14399 (fma_test_upward): Likewise.
14400 (fmax_test): Likewise.
14401 (fmin_test): Likewise.
14402 (fmod_test): Likewise.
14403 (fpclassify_test): Likewise.
14404 (frexp_test): Likewise.
14405 (gamma_test): Likewise.
14406 (hypot_test): Likewise.
14407 (ilogb_test): Likewise.
14408 (isfinite_test): Likewise.
14409 (isgreater_test): Likewise.
14410 (isgreaterequal_test): Likewise.
14411 (isinf_test): Likewise.
14412 (isless_test): Likewise.
14413 (islessequal_test): Likewise.
14414 (islessgreater_test): Likewise.
14415 (isnan_test): Likewise.
14416 (isnormal_test): Likewise.
14417 (issignaling_test): Likewise.
14418 (isunordered_test): Likewise.
14419 (j0_test): Likewise.
14420 (j1_test): Likewise.
14421 (jn_test): Likewise.
14422 (ldexp_test): Likewise.
14423 (lgamma_test): Likewise.
14424 (lrint_test): Likewise.
14425 (lrint_test_tonearest): Likewise.
14426 (lrint_test_towardzero): Likewise.
14427 (lrint_test_downward): Likewise.
14428 (lrint_test_upward): Likewise.
14429 (llrint_test): Likewise.
14430 (llrint_test_tonearest): Likewise.
14431 (llrint_test_towardzero): Likewise.
14432 (llrint_test_downward): Likewise.
14433 (llrint_test_upward): Likewise.
14434 (log_test): Likewise.
14435 (log10_test): Likewise.
14436 (log1p_test): Likewise.
14437 (log2_test): Likewise.
14438 (logb_test): Likewise.
14439 (logb_test_downward): Likewise.
14440 (lround_test): Likewise.
14441 (llround_test): Likewise.
14442 (modf_test): Likewise.
14443 (nearbyint_test): Likewise.
14444 (nextafter_test): Likewise.
14445 (nexttoward_test): Likewise.
14446 (pow_test): Likewise.
14447 (pow_test_tonearest): Likewise.
14448 (pow_test_towardzero): Likewise.
14449 (pow_test_downward): Likewise.
14450 (pow_test_upward): Likewise.
14451 (remainder_test): Likewise.
14452 (remainder_test_tonearest): Likewise.
14453 (remainder_test_towardzero): Likewise.
14454 (remainder_test_downward): Likewise.
14455 (remainder_test_upward): Likewise.
14456 (remquo_test): Likewise.
14457 (rint_test): Likewise.
14458 (rint_test_tonearest): Likewise.
14459 (rint_test_towardzero): Likewise.
14460 (rint_test_downward): Likewise.
14461 (rint_test_upward): Likewise.
14462 (round_test): Likewise.
14463 (scalb_test): Likewise.
14464 (scalbn_test): Likewise.
14465 (scalbln_test): Likewise.
14466 (signbit_test): Likewise.
14467 (sin_test): Likewise.
14468 (sin_test_tonearest): Likewise.
14469 (sin_test_towardzero): Likewise.
14470 (sin_test_downward): Likewise.
14471 (sin_test_upward): Likewise.
14472 (sincos_test): Likewise.
14473 (sinh_test): Likewise.
14474 (sinh_test_tonearest): Likewise.
14475 (sinh_test_towardzero): Likewise.
14476 (sinh_test_downward): Likewise.
14477 (sinh_test_upward): Likewise.
14478 (sqrt_test): Likewise.
14479 (tan_test): Likewise.
14480 (tan_test_tonearest): Likewise.
14481 (tan_test_towardzero): Likewise.
14482 (tan_test_downward): Likewise.
14483 (tan_test_upward): Likewise.
14484 (tanh_test): Likewise.
14485 (tgamma_test): Likewise.
14486 (trunc_test): Likewise.
14487 (y0_test): Likewise.
14488 (y1_test): Likewise.
14489 (yn_test): Likewise.
14490 (significand_test): Likewise.
14492 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14495 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14497 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14500 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14501 __ppc_mdoio and __ppc_mdoom.
14502 * manual/platform.texi: Document new functions __ppc_yield,
14503 __ppc_mdoio and __ppc_mdoom.
14505 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14507 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14508 (main): Mention "tls" pseudo-hwcap is legacy.
14509 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14511 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14513 * math/gen-libm-test.pl (parse_args): Output only string of
14514 arguments as text for test name, not full call or descriptions of
14515 tests for extra outputs.
14516 (generate_testfile): Do not pass function name to parse_args.
14517 Generate this_func variable from START.
14518 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14520 (struct test_ff_f_data): Likewise.
14521 (test_ff_f_data_nexttoward): Likewise.
14522 (struct test_fi_f_data): Likewise.
14523 (struct test_fl_f_data): Likewise.
14524 (struct test_if_f_data): Likewise.
14525 (struct test_fff_f_data): Likewise.
14526 (struct test_c_f_data): Likewise.
14527 (struct test_f_f1_data): Likewise. Remove field extra_name.
14528 (struct test_fF_f1_data): Likewise.
14529 (struct test_ffI_f1_data): Likewise.
14530 (struct test_c_c_data): Rename test_name field to arg_str.
14531 (struct test_cc_c_data): Likewise.
14532 (struct test_f_i_data): Likewise.
14533 (struct test_ff_i_data): Likewise.
14534 (struct test_f_l_data): Likewise.
14535 (struct test_f_L_data): Likewise.
14536 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14538 (COMMON_TEST_SETUP): New macro.
14539 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14540 (COMMON_TEST_CLEANUP): Likewise.
14541 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14542 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14544 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14545 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14547 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14548 (RUN_TEST_fff_f): Take argument string. Call new setup and
14550 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14551 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14553 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14554 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14556 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14557 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14559 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14560 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14562 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14563 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14565 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14566 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14568 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14569 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14571 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14572 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14574 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14575 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14577 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14578 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14580 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14581 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14583 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14584 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14586 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14587 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14589 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14590 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14592 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14593 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14595 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14597 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14599 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14600 to _sifields.sigfault.
14601 (si_addr_lsb): Define new macro.
14602 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14603 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14604 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14606 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14609 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14611 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14613 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14614 loading the domain.
14616 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14618 * math/gen-libm-test.pl (parse_args): Do not include expected
14619 result in test name.
14620 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14621 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14622 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14623 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14624 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14627 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14629 * benchtests/Makefile: Sort function entries.
14631 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14632 tanh, asinh, acosh, atanh.
14633 * benchtests/acos-inputs: New file.
14634 * benchtests/acosh-inputs: New file.
14635 * benchtests/asin-inputs: New file.
14636 * benchtests/asinh-inputs: New file.
14637 * benchtests/atanh-inputs: New file.
14638 * benchtests/cosh-inputs: New file.
14639 * benchtests/log-inputs: New file.
14640 * benchtests/sinh-inputs: New file.
14641 * benchtests/tanh-inputs: New file.
14643 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14646 * posix/tst-getaddrinfo4.c: New test.
14647 * posix/Makefile (tests): Add it.
14649 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14652 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14653 when no services were used.
14654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14655 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14657 2013-05-21 Andreas Schwab <schwab@suse.de>
14660 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14661 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14663 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14664 redundant variable declarations and reallocation of buffer when
14665 parsing as IPv6 address. Always set NSS status when called from
14666 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14667 buffer too small. Correct computation of needed size.
14668 * nss/Makefile (tests): Add test-digits-dots.
14669 * nss/test-digits-dots.c: New test.
14671 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14673 * benchtests/Makefile: Remove instructions for adding
14675 * benchtests/README: New file to explain how to execute and
14676 enhance the benchmark tests.
14678 2013-05-21 Andreas Schwab <schwab@suse.de>
14681 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14682 * setjmp/tst-sigsetjmp.c: New test.
14684 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14686 * sysdeps/x86_64/memset.S (memset): New implementation.
14687 (__bzero): Likewise.
14688 (__memset_tail): New function.
14690 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14692 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14693 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14694 __memcpy_sse2_unaligned ifunc selection.
14695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14696 Add memcpy-sse2-unaligned.S.
14697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14698 Add: __memcpy_sse2_unaligned.
14700 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14703 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14704 math_force_eval before restoring floating-point envrionment.
14705 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14706 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14708 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14710 (__nearbyintl): Use math_force_eval before restoring
14711 floating-point environment.
14712 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14714 * math/gen-libm-test.pl (special_functions): Remove.
14715 (parse_args): Don't handle TEST_extra. Handle functions with no
14717 * math/libm-test.inc (struct test_sincos_data): Replace with
14718 struct test_fFF_11_data.
14719 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14720 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14721 (sincos_test_data): Change element type to struct
14722 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14723 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14724 RUN_TEST_LOOP_sincos.
14725 * math/README.libm-test: Don't mention special handling of
14726 individual functions.
14727 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14728 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14729 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14730 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14731 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14734 * math/gen-libm-test.pl (get_variable): Remove function.
14735 (parse_args): Don't show pointer parameters to call in test
14736 names. Use "extra output N" in test names for extra outputs
14737 rather than naming variables.
14739 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14742 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14743 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14744 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14746 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14748 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14751 * math/gen-libm-test.pl (@tests): Remove variable.
14752 ($count): Likewise.
14753 (new_test): Remove function.
14754 (show_exceptions): New function.
14755 (special_functions): Use show_exceptions instead of new_test.
14756 (parse_args): Likewise.
14757 (generate_testfile): Pass only function name in generated call to
14758 print_max_error or print_complex_max_error.
14759 (get_ulps): Do not handle complex tests specially.
14760 (output_test): Rename to ...
14761 (get_all_ulps_for_test): ... this. Return a string rather than
14762 printing to a file. Require ulps to be present.
14763 (output_ulps): Generate arrays rather than #defines.
14764 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14765 (struct ulp_data): New type.
14766 (BUILD_COMPLEX_ULP): Remove macro.
14767 (compare_ulp_data): New function.
14768 (find_ulps): Likewise.
14769 (find_test_ulps): Likewise.
14770 (find_function_ulps): Likewise.
14771 (find_complex_function_ulps): Likewise.
14772 (print_max_error): Determine allowed ulps using
14773 find_function_ulps.
14774 (print_complex_max_error): Determine allowed ulps using
14775 find_complex_function_ulps.
14776 (check_float_internal): Determine max ulps using find_test_ulps.
14777 (check_float): Do not take max_ulp parameter. Update call to
14778 check_float_internal.
14779 (check_complex): Likewise.
14780 (check_int): Do not take max_ulp parameter.
14781 (check_long): Likewise.
14782 (check_bool): Likewise.
14783 (check_longlong): Likewise.
14784 (struct test_f_f_data): Remove max_ulp field.
14785 (struct test_ff_f_data): Likewise.
14786 (struct test_ff_f_data_nexttoward): Likewise.
14787 (struct test_fi_f_data): Likewise.
14788 (struct test_fl_f_data): Likewise.
14789 (struct test_if_f_data): Likewise.
14790 (struct test_fff_f_data): Likewise.
14791 (struct test_c_f_data): Likewise.
14792 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14793 (struct test_fF_f1_data): Likewise.
14794 (struct test_ffI_f1_data): Likewise.
14795 (struct test_c_c_data): Remove max_ulp field.
14796 (struct test_cc_c_data): Likewise.
14797 (struct test_f_i_data): Likewise.
14798 (struct test_ff_i_data): Likewise.
14799 (struct test_f_l_data): Likewise.
14800 (struct test_f_L_data): Likewise.
14801 (struct test_sincos_data): Likewise.
14802 (RUN_TEST_f_f): Do not handle ulps.
14803 (RUN_TEST_LOOP_f_f): Likewise.
14804 (RUN_TEST_2_f): Likewise.
14805 (RUN_TEST_LOOP_2_f): Likewise.
14806 (RUN_TEST_fff_f): Likewise.
14807 (RUN_TEST_LOOP_fff_f): Likewise.
14808 (RUN_TEST_c_f): Likewise.
14809 (RUN_TEST_LOOP_c_f): Likewise.
14810 (RUN_TEST_f_f1): Likewise.
14811 (RUN_TEST_LOOP_f_f1): Likewise.
14812 (RUN_TEST_fF_f1): Likewise.
14813 (RUN_TEST_LOOP_fF_f1): Likewise.
14814 (RUN_TEST_fI_f1): Likewise.
14815 (RUN_TEST_LOOP_fI_f1): Likewise.
14816 (RUN_TEST_ffI_f1): Likewise.
14817 (RUN_TEST_LOOP_ffI_f1): Likewise.
14818 (RUN_TEST_c_c): Likewise.
14819 (RUN_TEST_LOOP_c_c): Likewise.
14820 (RUN_TEST_cc_c): Likewise.
14821 (RUN_TEST_LOOP_cc_c): Likewise.
14822 (RUN_TEST_f_i): Likewise.
14823 (RUN_TEST_LOOP_f_i): Likewise.
14824 (RUN_TEST_f_i_tg): Likewise.
14825 (RUN_TEST_LOOP_f_i_tg): Likewise.
14826 (RUN_TEST_ff_i_tg): Likewise.
14827 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14828 (RUN_TEST_f_b): Likewise.
14829 (RUN_TEST_LOOP_f_b): Likewise.
14830 (RUN_TEST_f_b_tg): Likewise.
14831 (RUN_TEST_LOOP_f_b_tg): Likewise.
14832 (RUN_TEST_f_l): Likewise.
14833 (RUN_TEST_LOOP_f_l): Likewise.
14834 (RUN_TEST_f_L): Likewise.
14835 (RUN_TEST_LOOP_f_L): Likewise.
14836 (RUN_TEST_sincos): Likewise.
14837 (RUN_TEST_LOOP_sincos): Likewise.
14839 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14843 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14844 main case of finite arguments, set rounding mode to FE_TONEAREST
14845 and discard exceptions.
14846 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14848 (remainder_tonearest_test_data): New variable.
14849 (remainder_test_tonearest): New function.
14850 (remainder_towardzero_test_data): New variable.
14851 (remainder_test_towardzero): New function.
14852 (remainder_downward_test_data): New variable.
14853 (remainder_test_downward): New function.
14854 (remainder_upward_test_data): New variable.
14855 (remainder_test_upward): New function.
14856 (main): Call the new test functions.
14858 * math/libm-test.inc (struct test_f_f1_data): Remove field
14860 (struct test_fF_f1_data): Likewise.
14861 (struct test_ffI_f1_data): Likewise.
14862 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14863 based on value of EXTRA_EXPECTED.
14864 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14865 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14866 EXTRA_VAR based on value of EXTRA_EXPECTED.
14867 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14868 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14869 EXTRA_VAR based on value of EXTRA_EXPECTED.
14870 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14871 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14872 EXTRA_VAR based on value of EXTRA_EXPECTED.
14873 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14874 * math/gen-libm-test.pl (parse_args): Don't output initializers
14875 for extra output values.
14877 * math/libm-test.inc (check_int): Expect result to be exactly
14878 equal to expected value and do not handle ulps.
14879 (check_long): Likewise.
14880 (check_longlong): Likewise.
14882 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14884 (cimag_test_data): Likewise.
14885 (conj_test_data): Likewise.
14886 (copysign_test_data): Likewise.
14887 (cproj_test_data): Likewise.
14888 (creal_test_data): Likewise.
14889 (fabs_test_data): Likewise.
14890 (fdim_test_data): Likewise.
14891 (finite_test_data): Likewise.
14892 (floor_test_data): Likewise.
14893 (fmax_test_data): Likewise.
14894 (fmin_test_data): Likewise.
14895 (fmod_test_data): Likewise.
14896 (fpclassify_test_data): Likewise.
14897 (frexp_test_data): Likewise.
14898 (ilogb_test_data): Likewise.
14899 (isfinite_test_data): Likewise.
14900 (isgreater_test_data): Likewise.
14901 (isgreaterequal_test_data): Likewise.
14902 (isinf_test_data): Likewise.
14903 (isless_test_data): Likewise.
14904 (islessequal_test_data): Likewise.
14905 (islessgreater_test_data): Likewise.
14906 (isnan_test_data): Likewise.
14907 (isnormal_test_data): Likewise.
14908 (issignaling_test_data): Likewise.
14909 (isunordered_test_data): Likewise.
14910 (ldexp_test_data): Likewise.
14911 (lrint_test_data): Likewise.
14912 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14913 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14914 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14915 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14916 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14917 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14919 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14920 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14921 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14922 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14924 (lrint_downward_test_data): Test for "inexact" exceptions.
14925 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14926 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14927 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14929 (lrint_upward_test_data): Test for "inexact" exceptions.
14930 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14932 (llrint_test_data): Test for "inexact" exceptions.
14933 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14934 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14935 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14936 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14937 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14938 (llrint_downward_test_data): Test for "inexact" exceptions.
14939 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14940 (llrint_upward_test_data): Test for "inexact" exceptions.
14941 (logb_test_data): Likewise.
14942 (logb_downward_test_data): Likewise.
14943 (nextafter_test_data): Likewise.
14944 (nexttoward_test_data): Likewise.
14945 (remainder_test_data): Likewise.
14946 (remquo_test_data): Likewise.
14947 (scalbn_test_data): Likewise.
14948 (scalbln_test_data): Likewise.
14949 (signbit_test_data): Likewise.
14950 (sqrt_test_data): Likewise.
14951 (significand_test_data): Likewise.
14953 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14956 * benchtests/bench-modf.c (struct args): Mark arg0 as
14958 * scripts/bench.pl: Mark members of struct args as volatile.
14960 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14963 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14964 negative infinity on POWER6 or lower.
14965 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14967 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14970 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14971 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14972 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14973 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14974 (_FP_SETQNAN): New macro.
14975 (_FP_SETQNAN_SEMIRAW): Likewise.
14976 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14977 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14978 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14979 (FP_EXTEND): Use _FP_FRAC_SNANP.
14980 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14981 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14983 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14985 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14988 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14990 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14991 with DIVIDE_BY_ZERO_EXCEPTION.
14992 (gamma_test_data): Likewise.
14993 (lgamma_test_data): Likewise.
14994 (log_test_data): Likewise.
14995 (log10_test_data): Likewise.
14996 (log2_test_data): Likewise.
14997 (tgamma_test_data): Likewise.
14999 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15000 (acos_test_tonearest): Likewise.
15001 (acos_test_towardzero): Likewise.
15002 (acos_test_downward): Likewise.
15003 (acos_test_upward): Likewise.
15004 (acosh_test): Likewise.
15005 (asin_test): Likewise.
15006 (asin_test_tonearest): Likewise.
15007 (asin_test_towardzero): Likewise.
15008 (asin_test_downward): Likewise.
15009 (asin_test_upward): Likewise.
15010 (asinh_test): Likewise.
15011 (atan_test): Likewise.
15012 (atanh_test): Likewise.
15013 (atan2_test): Likewise.
15014 (cabs_test): Likewise.
15015 (cacos_test): Likewise.
15016 (cacosh_test): Likewise.
15017 (casin_test): Likewise.
15018 (casinh_test): Likewise.
15019 (catan_test): Likewise.
15020 (catanh_test): Likewise.
15021 (cbrt_test): Likewise.
15022 (ccos_test): Likewise.
15023 (ccosh_test): Likewise.
15024 (cexp_test): Likewise.
15025 (clog_test): Likewise.
15026 (clog10_test): Likewise.
15027 (cos_test): Likewise.
15028 (cos_test_tonearest): Likewise.
15029 (cos_test_towardzero): Likewise.
15030 (cos_test_downward): Likewise.
15031 (cos_test_upward): Likewise.
15032 (cosh_test): Likewise.
15033 (cosh_test_tonearest): Likewise.
15034 (cosh_test_towardzero): Likewise.
15035 (cosh_test_downward): Likewise.
15036 (cosh_test_upward): Likewise.
15037 (cpow_test): Likewise.
15038 (csin_test): Likewise.
15039 (csinh_test): Likewise.
15040 (csqrt_test): Likewise.
15041 (ctan_test): Likewise.
15042 (ctan_test_tonearest): Likewise.
15043 (ctan_test_towardzero): Likewise.
15044 (ctan_test_downward): Likewise.
15045 (ctan_test_upward): Likewise.
15046 (ctanh_test): Likewise.
15047 (ctanh_test_tonearest): Likewise.
15048 (ctanh_test_towardzero): Likewise.
15049 (ctanh_test_downward): Likewise.
15050 (ctanh_test_upward): Likewise.
15051 (erf_test): Likewise.
15052 (erfc_test): Likewise.
15053 (exp_test): Likewise.
15054 (exp_test_tonearest): Likewise.
15055 (exp_test_towardzero): Likewise.
15056 (exp_test_downward): Likewise.
15057 (exp_test_upward): Likewise.
15058 (exp10_test): Likewise.
15059 (exp2_test): Likewise.
15060 (expm1_test): Likewise.
15061 (fmod_test): Likewise.
15062 (gamma_test): Likewise.
15063 (hypot_test): Likewise.
15064 (j0_test): Likewise.
15065 (j1_test): Likewise.
15066 (jn_test): Likewise.
15067 (lgamma_test): Likewise.
15068 (log_test): Likewise.
15069 (log10_test): Likewise.
15070 (log1p_test): Likewise.
15071 (log2_test): Likewise.
15072 (logb_test_downward): Likewise.
15073 (pow_test): Likewise.
15074 (pow_test_tonearest): Likewise.
15075 (pow_test_towardzero): Likewise.
15076 (pow_test_downward): Likewise.
15077 (pow_test_upward): Likewise.
15078 (remainder_test): Likewise.
15079 (remquo_test): Likewise.
15080 (sin_test): Likewise.
15081 (sin_test_tonearest): Likewise.
15082 (sin_test_towardzero): Likewise.
15083 (sin_test_downward): Likewise.
15084 (sin_test_upward): Likewise.
15085 (sincos_test): Likewise.
15086 (sinh_test): Likewise.
15087 (sinh_test_tonearest): Likewise.
15088 (sinh_test_towardzero): Likewise.
15089 (sinh_test_downward): Likewise.
15090 (sinh_test_upward): Likewise.
15091 (sqrt_test): Likewise.
15092 (tan_test): Likewise.
15093 (tan_test_tonearest): Likewise.
15094 (tan_test_towardzero): Likewise.
15095 (tan_test_downward): Likewise.
15096 (tan_test_upward): Likewise.
15097 (tanh_test): Likewise.
15098 (tgamma_test): Likewise.
15099 (y0_test): Likewise.
15100 (y1_test): Likewise.
15101 (yn_test): Likewise.
15103 * math/gen-libm-test.pl (adjust_arg): Remove function.
15104 (special_function): Remove argument $in_func. Only handle
15105 generating output for tables of tests, not inside functions.
15106 (parse_args): Likewise.
15107 (generate_testfile): Remove variable $in_func. Update call to
15109 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15110 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15111 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15112 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15113 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15114 (MAX_VALUE_INIT): Rename macro to max_value.
15115 (MIN_VALUE_INIT): Rename macro to min_value.
15116 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15117 (plus_zero): Remove variable.
15118 (minus_zero): Likewise.
15119 (plus_infty): Likewise.
15120 (minus_infty): Likewise.
15121 (qnan_value): Likewise.
15122 (max_value): Likewise.
15123 (min_value): Likewise.
15124 (min_subnorm_value): Likewise.
15126 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15128 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15129 uint64_t or uint32_t usage.
15130 * crypt/sha256-block.c: Likewise.
15131 * crypt/sha256-crypt.c: Likewise.
15132 * crypt/sha256.c: Likewise.
15133 * crypt/sha512-block.c: Likewise.
15134 * crypt/sha512-crypt.c: Likewise.
15135 * crypt/sha512.c: Likewise.
15136 * debug/backtrace-tst.c: Likewise.
15137 * debug/pcprofiledump.c: Likewise.
15138 * elf/cache.c: Likewise.
15139 * elf/dl-cache.c: Likewise.
15140 * elf/dl-misc.c: Likewise.
15141 * elf/dl-profile.c: Likewise.
15142 * elf/dl-support.c: Likewise.
15143 * elf/ldconfig.c: Likewise.
15144 * elf/sprof.c: Likewise.
15145 * iconv/dummy-repertoire.c: Likewise.
15146 * iconv/iconv_charmap.c: Likewise.
15147 * iconv/skeleton.c: Likewise.
15148 * iconvdata/8bit-generic.c: Likewise.
15149 * iconvdata/cp737.h: Likewise.
15150 * iconvdata/cp775.h: Likewise.
15151 * iconvdata/ibm1008.h: Likewise.
15152 * iconvdata/ibm1025.h: Likewise.
15153 * iconvdata/ibm1046.h: Likewise.
15154 * iconvdata/ibm1097.h: Likewise.
15155 * iconvdata/ibm1112.h: Likewise.
15156 * iconvdata/ibm1122.h: Likewise.
15157 * iconvdata/ibm1123.h: Likewise.
15158 * iconvdata/ibm1124.h: Likewise.
15159 * iconvdata/ibm1129.h: Likewise.
15160 * iconvdata/ibm1130.h: Likewise.
15161 * iconvdata/ibm1132.h: Likewise.
15162 * iconvdata/ibm1133.h: Likewise.
15163 * iconvdata/ibm1137.h: Likewise.
15164 * iconvdata/ibm1140.h: Likewise.
15165 * iconvdata/ibm1141.h: Likewise.
15166 * iconvdata/ibm1142.h: Likewise.
15167 * iconvdata/ibm1143.h: Likewise.
15168 * iconvdata/ibm1144.h: Likewise.
15169 * iconvdata/ibm1145.h: Likewise.
15170 * iconvdata/ibm1146.h: Likewise.
15171 * iconvdata/ibm1147.h: Likewise.
15172 * iconvdata/ibm1148.h: Likewise.
15173 * iconvdata/ibm1149.h: Likewise.
15174 * iconvdata/ibm1153.h: Likewise.
15175 * iconvdata/ibm1154.h: Likewise.
15176 * iconvdata/ibm1155.h: Likewise.
15177 * iconvdata/ibm1156.h: Likewise.
15178 * iconvdata/ibm1157.h: Likewise.
15179 * iconvdata/ibm1158.h: Likewise.
15180 * iconvdata/ibm1160.h: Likewise.
15181 * iconvdata/ibm1161.h: Likewise.
15182 * iconvdata/ibm1162.h: Likewise.
15183 * iconvdata/ibm1163.h: Likewise.
15184 * iconvdata/ibm1164.h: Likewise.
15185 * iconvdata/ibm1166.h: Likewise.
15186 * iconvdata/ibm1167.h: Likewise.
15187 * iconvdata/ibm12712.h: Likewise.
15188 * iconvdata/ibm1390.h: Likewise.
15189 * iconvdata/ibm1399.h: Likewise.
15190 * iconvdata/ibm16804.h: Likewise.
15191 * iconvdata/ibm4517.h: Likewise.
15192 * iconvdata/ibm4899.h: Likewise.
15193 * iconvdata/ibm4909.h: Likewise.
15194 * iconvdata/ibm4971.h: Likewise.
15195 * iconvdata/ibm5347.h: Likewise.
15196 * iconvdata/ibm803.h: Likewise.
15197 * iconvdata/ibm856.h: Likewise.
15198 * iconvdata/ibm901.h: Likewise.
15199 * iconvdata/ibm902.h: Likewise.
15200 * iconvdata/ibm9030.h: Likewise.
15201 * iconvdata/ibm9066.h: Likewise.
15202 * iconvdata/ibm921.h: Likewise.
15203 * iconvdata/ibm922.h: Likewise.
15204 * iconvdata/ibm9448.h: Likewise.
15205 * iconvdata/isiri-3342.h: Likewise.
15206 * iconvdata/jis0201.h: Likewise.
15207 * include/link.h: Likewise.
15208 * include/netdb.h: Likewise.
15209 * inet/check_native.c: Likewise.
15210 * inet/check_pf.c: Likewise.
15211 * inet/getipv4sourcefilter.c: Likewise.
15212 * inet/getnameinfo.c: Likewise.
15213 * inet/getsourcefilter.c: Likewise.
15214 * inet/htonl.c: Likewise.
15215 * inet/setipv4sourcefilter.c: Likewise.
15216 * inet/setsourcefilter.c: Likewise.
15217 * inet/test-inet6_opt.c: Likewise.
15218 * inet/tst-network.c: Likewise.
15219 * locale/C-collate.c: Likewise.
15220 * locale/C-ctype.c: Likewise.
15221 * locale/C-time.c: Likewise.
15222 * locale/C-translit.h: Likewise.
15223 * locale/loadarchive.c: Likewise.
15224 * locale/programs/3level.h: Likewise.
15225 * locale/programs/charmap.c: Likewise.
15226 * locale/programs/charmap.h: Likewise.
15227 * locale/programs/ld-address.c: Likewise.
15228 * locale/programs/ld-collate.c: Likewise.
15229 * locale/programs/ld-ctype.c: Likewise.
15230 * locale/programs/ld-identification.c: Likewise.
15231 * locale/programs/ld-measurement.c: Likewise.
15232 * locale/programs/ld-messages.c: Likewise.
15233 * locale/programs/ld-monetary.c: Likewise.
15234 * locale/programs/ld-name.c: Likewise.
15235 * locale/programs/ld-numeric.c: Likewise.
15236 * locale/programs/ld-paper.c: Likewise.
15237 * locale/programs/ld-telephone.c: Likewise.
15238 * locale/programs/ld-time.c: Likewise.
15239 * locale/programs/linereader.c: Likewise.
15240 * locale/programs/locale.c: Likewise.
15241 * locale/programs/locarchive.c: Likewise.
15242 * locale/programs/locfile.h: Likewise.
15243 * locale/programs/repertoire.c: Likewise.
15244 * locale/programs/simple-hash.c: Likewise.
15245 * locale/programs/simple-hash.h: Likewise.
15246 * malloc/memusage.c: Likewise.
15247 * malloc/memusagestat.c: Likewise.
15248 * nis/nis_defaults.c: Likewise.
15249 * nis/nis_hash.c: Likewise.
15250 * nis/nis_print.c: Likewise.
15251 * nis/nis_xdr.c: Likewise.
15252 * nscd/connections.c: Likewise.
15253 * nscd/hstcache.c: Likewise.
15254 * nscd/nscd_gethst_r.c: Likewise.
15255 * nscd/nscd_getserv_r.c: Likewise.
15256 * nscd/nscd_helper.c: Likewise.
15257 * nscd/servicescache.c: Likewise.
15258 * nss/makedb.c: Likewise.
15259 * nss/nss_db/db-XXX.c: Likewise.
15260 * nss/nss_db/db-initgroups.c: Likewise.
15261 * nss/nss_db/db-netgrp.c: Likewise.
15262 * nss/nss_files/files-network.c: Likewise.
15263 * nss/nss_files/files-parse.c: Likewise.
15264 * posix/bug-regex5.c: Likewise.
15265 * posix/fnmatch_loop.c: Likewise.
15266 * posix/regcomp.c: Likewise.
15267 * posix/regexec.c: Likewise.
15268 * posix/tst-rfc3484-2.c: Likewise.
15269 * posix/tst-rfc3484-3.c: Likewise.
15270 * posix/tst-rfc3484.c: Likewise.
15271 * resolv/nss_dns/dns-canon.c: Likewise.
15272 * resolv/nss_dns/dns-network.c: Likewise.
15273 * resolv/res_init.c: Likewise.
15274 * resolv/res_mkquery.c: Likewise.
15275 * resolv/tst-aton.c: Likewise.
15276 * stdlib/cxa_atexit.c: Likewise.
15277 * stdlib/cxa_finalize.c: Likewise.
15278 * stdlib/gen-fpioconst.c: Likewise.
15279 * stdlib/strtol_l.c: Likewise.
15280 * string/tst-endian.c: Likewise.
15281 * sunrpc/auth_des.c: Likewise.
15282 * sunrpc/clnt_udp.c: Likewise.
15283 * sunrpc/rtime.c: Likewise.
15284 * sunrpc/svcauth_des.c: Likewise.
15285 * sunrpc/xdr.c: Likewise.
15286 * sunrpc/xdr_intXX_t.c: Likewise.
15287 * sunrpc/xdr_rec.c: Likewise.
15288 * sysdeps/generic/ldconfig.h: Likewise.
15289 * sysdeps/generic/ldsodefs.h: Likewise.
15290 * sysdeps/generic/memusage.h: Likewise.
15291 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15294 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15301 * sysdeps/posix/getaddrinfo.c: Likewise.
15302 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15303 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15304 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15305 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15306 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15307 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15308 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15309 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15310 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15311 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15312 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15313 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15314 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15315 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15316 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15317 * sysdeps/x86_64/dl-tls.h: Likewise.
15318 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15319 * time/alt_digit.c: Likewise.
15320 * time/era.c: Likewise.
15321 * wcsmbs/tst-c16c32-1.c: Likewise.
15323 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15325 * math/libm-test.inc (struct test_sincos_data): New type.
15326 (RUN_TEST_LOOP_sincos): New macro.
15327 (sincos_test_data): New variable.
15328 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15330 2013-05-16 Richard Henderson <rth@redhat.com>
15332 * math/atest-exp2.c (LIMB64): New macro.
15333 (CONSTSZ): New macro.
15334 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15336 (print_mpn_fp): ... to function scope.
15337 (read_mpn_hex): Remove.
15338 (get_log2): Remove.
15339 (exp2_mpn): Use mp_log2.
15340 (main): Use mp_exp1.
15342 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15344 * math/libm-test.inc: Remove comment about not testing "inexact"
15346 (INEXACT_EXCEPTION): New macro.
15347 (NO_INEXACT_EXCEPTION): Likewise.
15348 (INVALID_EXCEPTION_OK): Update value.
15349 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15350 (OVERFLOW_EXCEPTION_OK): Likewise.
15351 (UNDERFLOW_EXCEPTION_OK): Likewise.
15352 (IGNORE_ZERO_INF_SIGN): Likewise.
15353 (ERRNO_UNCHANGED): Likewise.
15354 (ERRNO_EDOM): Likewise.
15355 (ERRNO_ERANGE): Likewise.
15356 (test_exceptions): Handle testing "inexact" exceptions.
15357 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15358 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15359 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15360 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15362 (rint_towardzero_test_data): Likewise.
15363 (rint_downward_test_data): Likewise.
15364 (rint_upward_test_data): Likewise.
15366 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15367 with OVERFLOW_EXCEPTION.
15368 (exp10_test_data): Likewise.
15369 (exp2_test_data): Likewise.
15370 (expm1_test_data): Likewise.
15371 (lgamma_test_data): Likewise.
15372 (pow_test_data): Likewise.
15373 (tgamma_test_data): Likewise.
15374 (yn_test_data): Remove duplicate test of overflow.
15376 * math/libm-test.inc (struct test_cc_c_data): New type.
15377 (RUN_TEST_LOOP_cc_c): New macro.
15378 (cpow_test_data): New variable.
15379 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15381 * math/libm-test.inc (struct test_f_L_data): New type.
15382 (RUN_TEST_LOOP_f_L): New macro.
15383 (llrint_test_data): New variable.
15384 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15385 (llrint_tonearest_test_data): New variable.
15386 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15387 (llrint_towardzero_test_data): New variable.
15388 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15389 (llrint_downward_test_data): New variable.
15390 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15391 (llrint_upward_test_data): New variable.
15392 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15393 (llround_test_data): New variable.
15394 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15396 2013-05-13 Peter Collingbourne <pcc@google.com>
15398 * math/atest-exp2.c (get_log2): Remove const attribute.
15400 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15402 * math/libm-test.inc (struct test_f_l_data): New type.
15403 (RUN_TEST_LOOP_f_l): New macro.
15404 (lrint_test_data): New variable.
15405 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15406 (lrint_tonearest_test_data): New variable.
15407 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15408 (lrint_towardzero_test_data): New variable.
15409 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15410 (lrint_downward_test_data): New variable.
15411 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15412 (lrint_upward_test_data): New variable.
15413 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15414 (lround_test_data): New variable.
15415 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15417 2013-05-15 Peter Collingbourne <pcc@google.com>
15419 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15420 (EXTRACT_WORDS64) Use where appropriate.
15421 (INSERT_WORDS64) Likewise.
15423 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15424 constraints with x constraints.
15425 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15427 * malloc/obstack.c (_obstack_compat): Add initializer.
15429 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15431 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15432 si_trapno and add si_addr_lsb to _sifields.sigfault.
15433 (si_trapno): Remove macro.
15434 (si_addr_lsb): Define new macro.
15435 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15437 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15439 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15440 instead of TEST_f_l.
15441 (llrint_test_tonearest): Likewise.
15442 (llrint_test_towardzero): Likewise.
15443 (llrint_test_downward): Likewise.
15444 (llrint_test_upward): Likewise.
15445 (llround_test): Likewise.
15447 * math/libm-test.inc (struct test_f_i_data): Add comment.
15448 (RUN_TEST_LOOP_f_b): New macro.
15449 (RUN_TEST_LOOP_f_b_tg): Likewise.
15450 (finite_test_data): New variable.
15451 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15452 (isfinite_test_data): New variable.
15453 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15454 (isinf_test_data): New variable.
15455 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15456 (isnan_test_data): New variable.
15457 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15458 (isnormal_test_data): New variable.
15459 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15460 (issignaling_test_data): New variable.
15461 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15462 (signbit_test_data): New variable.
15463 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15465 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15466 with INVALID_EXCEPTION.
15467 (acosh_test_data): Likewise.
15468 (asin_test_data): Likewise.
15469 (atanh_test_data): Likewise.
15470 (fmod_test_data): Likewise.
15471 (log_test_data): Likewise.
15472 (log10_test_data): Likewise.
15473 (log2_test_data): Likewise.
15474 (pow_test_data): Likewise.
15475 (sqrt_test_data): Likewise.
15476 (y0_test_data): Likewise.
15477 (y1_test_data): Likewise.
15478 (yn_test_data): Likewise.
15480 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15483 * math/libm-test.inc (struct test_ff_i_data): New type.
15484 (RUN_TEST_LOOP_ff_i_tg): New macro.
15485 (isgreater_test_data): New variable.
15486 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15487 (isgreaterequal_test_data): New variable.
15488 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15489 (isless_test_data): New variable.
15490 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15491 (islessequal_test_data): New variable.
15492 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15493 (islessgreater_test_data): New variable.
15494 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15495 (isunordered_test_data): New variable.
15496 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15498 2013-05-14 David S. Miller <davem@davemloft.net>
15500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15502 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15504 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15506 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15508 (struct test_f_i_data): Change type of max_ulp to int.
15510 * math/libm-test.inc (test_ffI_f1_data): New type.
15511 (RUN_TEST_LOOP_ffI_f1): New macro.
15512 (remquo_test_data): New variable.
15513 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15515 * setjmp/tst-setjmp-fp.c: New file.
15516 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15517 (link-libm): New variable.
15518 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15520 * math/libm-test.inc (struct test_f_i_data): New type.
15521 (RUN_TEST_LOOP_f_i): New macro.
15522 (RUN_TEST_LOOP_f_i_tg): Likewise.
15523 (fpclassify_test_data): New variable.
15524 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15525 (ilogb_test_data): New variable.
15526 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15528 * math/libm-test.inc (scalbln_test): Correct function name in END
15531 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15532 (RUN_TEST_LOOP_fI_f1): New macro.
15533 (frexp_test_data): New variable.
15534 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15536 * math/libm-test.inc (struct test_fF_f1_data): New type.
15537 (RUN_TEST_LOOP_fF_f1): New macro.
15538 (modf_test_data): New variable.
15539 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15541 * math/libm-test.inc (struct test_f_f1_data): New type.
15542 (RUN_TEST_LOOP_f_f1): New macro.
15543 (gamma_test_data): New variable.
15544 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15545 (lgamma_test_data): New variable.
15546 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15548 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15550 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15551 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15552 (main): Comment "tls" pseudo-hwcap.
15554 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15556 * math/libm-test.inc (struct test_fl_f_data): New type.
15557 (RUN_TEST_LOOP_fl_f): New variable.
15558 (scalbln_test_data): New variable.
15559 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15561 * math/libm-test.inc (struct test_fi_f_data): New type.
15562 (RUN_TEST_LOOP_fi_f): New macro.
15563 (ldexp_test_data): New variable.
15564 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15565 (scalbn_test_data): New variable.
15566 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15568 * math/libm-test.inc (struct test_c_f_data): New type.
15569 (RUN_TEST_LOOP_c_f): New macro.
15570 (cabs_test_data): New variable.
15571 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15572 (carg_test_data): New variable.
15573 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15574 (cimag_test_data): New variable.
15575 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15576 (creal_test_data): New variable.
15577 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15579 * math/libm-test.inc (struct test_if_f_data): New type.
15580 (RUN_TEST_LOOP_if_f): New macro.
15581 (jn_test_data): New variable.
15582 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15583 (yn_test_data): New variable.
15584 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15586 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15588 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15590 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15591 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15593 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15595 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15596 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15597 (bench-deps): Add bench-timing.h.
15598 * benchtests-bench-skeleton.c: Include bench-timing.h.
15599 (main): Use TIMING_* macros instead of clock_gettime.
15600 * benchtests/bench-timing.h: New file.
15603 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15604 Renamed from _LIB_VERSION.
15605 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15607 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15609 * math/libm-test.inc (struct test_fff_f_data): New type.
15610 (RUN_TEST_LOOP_fff_f): New macro.
15611 (fma_test_data): New variable.
15612 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15613 (fma_towardzero_test_data): New variable.
15614 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15615 (fma_downward_test_data): New variable.
15616 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15617 (fma_upward_test_data): New variable.
15618 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15620 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15621 (struct test_c_c_data): New type.
15622 (RUN_TEST_LOOP_c_c): New macro.
15623 (cacos_test_data): New variable.
15624 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15625 (cacosh_test_data): New variable.
15626 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15627 (casin_test_data): New variable.
15628 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15629 (casinh_test_data): New variable.
15630 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15631 (catan_test_data): New variable.
15632 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15633 (catanh_test_data): New variable.
15634 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15635 (ccos_test_data): New variable.
15636 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15637 (ccosh_test_data): New variable.
15638 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15639 (cexp_test_data): New variable.
15640 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15641 (clog_test_data): New variable.
15642 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15643 (clog10_test_data): New variable.
15644 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15645 (conj_test_data): New variable.
15646 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15647 (cproj_test_data): New variable.
15648 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15649 (csin_test_data): New variable.
15650 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15651 (csinh_test_data): New variable.
15652 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15653 (csqrt_test_data): New variable.
15654 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15655 (ctan_test_data): New variable.
15656 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15657 (ctan_tonearest_test_data): New variable.
15658 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15659 (ctan_towardzero_test_data): New variable.
15660 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15661 (ctan_downward_test_data): New variable.
15662 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15663 (ctan_upward_test_data): New variable.
15664 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15665 (ctanh_test_data): New variable.
15666 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15667 (ctanh_tonearest_test_data): New variable.
15668 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15669 (ctanh_towardzero_test_data): New variable.
15670 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15671 (ctanh_downward_test_data): New variable.
15672 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15673 (ctanh_upward_test_data): New variable.
15674 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15675 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15678 * math/libm-test.inc (struct test_ff_f_data): New type.
15679 (struct test_ff_f_data_nexttoward): Likewise.
15680 (RUN_TEST_LOOP_2_f): New macro.
15681 (RUN_TEST_LOOP_ff_f): Likewise.
15682 (atan2_test_data): New variable.
15683 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15684 (copysign_test_data): New variable.
15685 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15686 (fdim_test_data): New variable.
15687 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15688 (fmax_test_data): New variable.
15689 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15690 (fmin_test_data): New variable.
15691 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15692 (fmod_test_data): New variable.
15693 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15694 (hypot_test_data): New variable.
15695 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15696 (nextafter_test_data): New variable.
15697 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15698 (nexttoward_test_data): New variable.
15699 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15700 (pow_test_data): New variable.
15701 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15702 (pow_tonearest_test_data): New variable.
15703 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15704 (pow_towardzero_test_data): New variable.
15705 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15706 (pow_downward_test_data): New variable.
15707 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15708 (pow_upward_test_data): New variable.
15709 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15710 (remainder_test_data): New variable.
15711 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15712 (scalb_test_data): New variable.
15713 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15714 * sysdeps/i386/fpu/libm-test-ulps: Update.
15716 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15718 * math/libm-test.inc (fma_test): Use max_value instead of local
15720 (nextafter_test): Likewise.
15722 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15723 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15724 (acos_downward_test_data): New variable.
15725 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15726 (acos_upward_test_data): New variable.
15727 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15728 (acosh_test_data): New variable.
15729 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15730 (asin_test_data): New variable.
15731 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15732 (asin_tonearest_test_data): New variable.
15733 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15734 (asin_towardzero_test_data): New variable.
15735 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15736 (asin_downward_test_data): New variable.
15737 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15738 (asin_upward_test_data): New variable.
15739 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15740 (asinh_test_data): New variable.
15741 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15742 (atan_test_data): New variable.
15743 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15744 (atanh_test_data): New variable.
15745 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15746 (cbrt_test_data): New variable.
15747 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15748 (ceil_test_data): New variable.
15749 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15750 (cos_test_data): New variable.
15751 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15752 (cos_tonearest_test_data): New variable.
15753 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15754 (cos_towardzero_test_data): New variable.
15755 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15756 (cos_downward_test_data): New variable.
15757 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15758 (cos_upward_test_data): New variable.
15759 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15760 (cosh_test_data): New variable.
15761 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15762 (cosh_tonearest_test_data): New variable.
15763 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15764 (cosh_towardzero_test_data): New variable.
15765 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15766 (cosh_downward_test_data): New variable.
15767 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15768 (cosh_upward_test_data): New variable.
15769 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15770 (erf_test_data): New variable.
15771 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15772 (erfc_test_data): New variable.
15773 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15774 (exp_test_data): New variable.
15775 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15776 (exp_tonearest_test_data): New variable.
15777 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15778 (exp_towardzero_test_data): New variable.
15779 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15780 (exp_downward_test_data): New variable.
15781 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15782 (exp_upward_test_data): New variable.
15783 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15784 (exp10_test_data): New variable.
15785 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15786 (exp2_test_data): New variable.
15787 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15788 (expm1_test_data): New variable.
15789 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15790 (fabs_test_data): New variable.
15791 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15792 (floor_test_data): New variable.
15793 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15794 (j0_test_data): New variable.
15795 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15796 (j1_test_data): New variable.
15797 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15798 (log_test_data): New variable.
15799 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15800 (log10_test_data): New variable.
15801 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15802 (log1p_test_data): New variable.
15803 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15804 (log2_test_data): New variable.
15805 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15806 (logb_test_data): New variable.
15807 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15808 (logb_downward_test_data): New variable.
15809 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15810 (nearbyint_test_data): New variable.
15811 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15812 (rint_test_data): New variable.
15813 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15814 (rint_tonearest_test_data): New variable.
15815 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15816 (rint_towardzero_test_data): New variable.
15817 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15818 (rint_downward_test_data): New variable.
15819 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15820 (rint_upward_test_data): New variable.
15821 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15822 (round_test_data): New variable.
15823 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15824 (sin_test_data): New variable.
15825 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15826 (sin_tonearest_test_data): New variable.
15827 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15828 (sin_towardzero_test_data): New variable.
15829 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15830 (sin_downward_test_data): New variable.
15831 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15832 (sin_upward_test_data): New variable.
15833 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15834 (sinh_test_data): New variable.
15835 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15836 (sinh_tonearest_test_data): New variable.
15837 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15838 (sinh_towardzero_test_data): New variable.
15839 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15840 (sinh_downward_test_data): New variable.
15841 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15842 (sinh_upward_test_data): New variable.
15843 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15844 (sqrt_test_data): New variable.
15845 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15846 (tan_test_data): New variable.
15847 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15848 (tan_tonearest_test_data): New variable.
15849 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15850 (tan_towardzero_test_data): New variable.
15851 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15852 (tan_downward_test_data): New variable.
15853 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15854 (tan_upward_test_data): New variable.
15855 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15856 (tanh_test_data): New variable.
15857 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15858 (tgamma_test_data): New variable.
15859 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15860 (trunc_test_data): New variable.
15861 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15862 (y0_test_data): New variable.
15863 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15864 (y1_test_data): New variable.
15865 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15866 (significand_test_data): New variable.
15867 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15869 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15872 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15874 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15876 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15878 2013-05-10 Andreas Jaeger <aj@suse.de>
15881 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15882 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15884 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15886 * math/gen-libm-test.pl (adjust_arg): New function.
15887 (special_functions): Handle generating output in both functions
15889 (parse_args): Likewise.
15890 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15891 $in_func argument to parse_args.
15892 * math/libm-test.inc (struct test_f_f_data): New type.
15893 (IF_ROUND_INIT_): New macro.
15894 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15895 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15896 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15897 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15898 (ROUND_RESTORE_): Likewise.
15899 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15900 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15901 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15902 (ROUND_RESTORE_FE_UPWARD): Likewise.
15903 (RUN_TEST_LOOP_f_f): New macro.
15904 (acos_test_data): New variable.
15905 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15906 (acos_tonearest_test_data): New variable.
15907 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15909 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15911 * benchtests/bench-skeleton.c (startup): Fix coding style.
15913 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15916 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15917 negative infinity argument.
15918 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15919 negative infinity argument.
15920 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15921 negative infinity argument.
15922 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15925 2013-05-10 Florian Weimer <fweimer@redhat.com>
15927 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15928 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15929 * iconv/iconv_prog.c (main): Likewise.
15930 * locale/programs/charmap-dir.c (charmap_readdir)
15931 (fopen_uncompressed): Likewise.
15932 * locale/programs/locfile.c (siblings_uncached)
15933 (write_locale_data): Use lstat64 instead of lstat.
15934 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15937 2013-05-10 Andreas Jaeger <aj@suse.de>
15940 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15942 Include <locale.h>.
15944 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15946 * elf/dl-close.c (_dl_close_worker): Add comments.
15948 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15951 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15953 (__ieee754_rem_pio2l): Update comments.
15956 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15958 (__ieee754_rem_pio2l): Update comments.
15960 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15961 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15963 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15966 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15967 (M_PI_34_LOG10El): Likewise.
15968 (M_PI2_LOG10El): Likewise.
15969 (M_PI4_LOG10El): Likewise.
15970 (M_PI_LOG10El): Likewise.
15972 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15976 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15978 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15979 (MINUS_ZERO_INIT): Likewise.
15980 (PLUS_INFTY_INIT): Likewise.
15981 (MINUS_INFTY_INIT): Likewise.
15982 (QNAN_VALUE_INIT): Likewise.
15983 (MAX_VALUE_INIT): Likewise.
15984 (MIN_VALUE_INIT): Likewise.
15985 (MIN_SUBNORM_VALUE_INIT): Likewise.
15986 (plus_zero): Initialize with PLUS_ZERO_INIT.
15987 (minus_zero): Initialize with MINUS_ZERO_INIT.
15988 (plus_infty): Initialize with PLUS_INFTY_INIT.
15989 (minus_infty): Initialize with MINUS_INFTY_INIT.
15990 (qnan_value): Initialize with QNAN_VALUE_INIT.
15991 (max_value): Initialize with MAX_VALUE_INIT.
15992 (min_value): Initialize with MIN_VALUE_INIT.
15993 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15995 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15996 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15997 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15998 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16000 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16001 (RUN_TEST_2_f): Likewise.
16002 (RUN_TEST_ff_f): Likewise.
16003 (RUN_TEST_fi_f): Likewise.
16004 (RUN_TEST_fl_f): Likewise.
16005 (RUN_TEST_fff_f): Likewise.
16006 (RUN_TEST_c_f): Likewise.
16007 (RUN_TEST_f_f1): Likewise.
16008 (RUN_TEST_fF_f1): Likewise.
16009 (RUN_TEST_fI_f1): Likewise.
16010 (RUN_TEST_ffI_f1): Likewise.
16011 (RUN_TEST_c_c): Likewise.
16012 (RUN_TEST_cc_c): Likewise.
16013 (RUN_TEST_f_i): Likewise.
16014 (RUN_TEST_f_i_tg): Likewise.
16015 (RUN_TEST_ff_i_tg): Likewise.
16016 (RUN_TEST_f_b): Likewise.
16017 (RUN_TEST_f_b_tg): Likewise.
16018 (RUN_TEST_f_l): Likewise.
16019 (RUN_TEST_f_L): Likewise.
16020 (RUN_TEST_sincos): Likewise.
16021 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16022 whether to show exceptions. Do not include ");\n" in return
16024 (special_functions): Output call to RUN_TEST_sincos instead of
16025 check_float calls. Update calls to new_test.
16026 (parse_args): Output call to single RUN_TEST_* macro instead of
16027 check_* calls and other assignments. Update calls to new_test.
16033 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16034 input to result for tgamma overflow.
16035 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16036 (gamma_coeff): New variable.
16037 (NCOEFF): New macro.
16038 (gamma_positive): New function.
16039 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16040 underflow here. Use gamma_positive instead of exp (lgamma) for
16042 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16043 (gamma_coeff): New variable.
16044 (NCOEFF): New macro.
16045 (gammaf_positive): New function.
16046 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16047 underflow here. Use gamma_positive instead of exp (lgamma) for
16049 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16050 (gamma_coeff): New variable.
16051 (NCOEFF): New macro.
16052 (gammal_positive): New function.
16053 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16054 underflow here. Use gamma_positive instead of exp (lgamma) for
16056 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16057 (gamma_coeff): New variable.
16058 (NCOEFF): New macro.
16059 (gammal_positive): New function.
16060 (__ieee754_gammal_r): Handle positive infinity, overflow and
16061 underflow here. Handle NaN the same as positive infinity. Remove
16062 check x < 0xffffffff for negative integers. Use gamma_positive
16063 instead of exp (lgamma) for other arguments.
16064 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16065 (gamma_coeff): New variable.
16066 (NCOEFF): New macro.
16067 (gammal_positive): New function.
16068 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16069 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16070 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16073 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16074 * sysdeps/generic/math_private.h (__gamma_productf): New
16076 (__gamma_product): Likewise.
16077 (__gamma_productl): Likewise.
16078 * math/Makefile (libm-calls): Add gamma_product.
16079 * math/libm-test.inc (tgamma_test): Add more tests.
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16083 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16085 * benchtests/bench-skeleton.c (main): Preheat CPU.
16087 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16089 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16091 2013-05-07 Roland McGrath <roland@hack.frob.com>
16093 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16094 and _dl_skip_args_internal.
16096 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16098 * manual/message.texi (Message Translation): Talk about users.
16099 Message to key mapping impacts design.
16101 2013-05-06 Roland McGrath <roland@hack.frob.com>
16103 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16105 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16107 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16108 * sysdeps/wordsize-64/glob64.c: ... here.
16110 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16111 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16114 * debug/getlogin_r_chk.c: Moved to ...
16115 * login/getlogin_r_chk.c: ... here.
16116 * debug/Makefile (routines): Move getlogin_r_chk to ...
16117 * login/Makefile (routines): ... here.
16118 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16119 * login/Versions (libc: GLIBC_2.4): ... here.
16121 * io/poll.c (__poll): Renamed from poll.
16122 Add libc_hidden_def.
16123 (poll): Define as weak alias.
16125 * debug/ptsname_r_chk.c: Moved to ...
16126 * login/ptsname_r_chk.c: ... here.
16127 * debug/Makefile (routines): Move ptsname_r_chk to ...
16128 * login/Makefile (routines): ... here.
16129 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16130 * login/Versions (libc: GLIBC_2.4): ... here.
16132 * posix/getlogin.c: Moved to ...
16133 * login/getlogin.c: ... here.
16134 * posix/getlogin_r.c: Moved to ...
16135 * login/getlogin_r.c: ... here.
16136 * posix/getlogin_r.c: Moved to ...
16137 * login/getlogin_r.c: ... here.
16138 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16139 * login/Makefile (routines): ... here.
16140 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16141 * login/Versions (libc: GLIBC_2.0): ... here.
16143 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16144 (setrlimit): Define as weak alias.
16146 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16147 Call __ names for open, ftruncate, and close.
16148 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16149 (truncate): Define as weak alias.
16151 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16153 * math/gen-libm-test.pl (parse_args): Initialize x before each
16154 test of frexp, modf and remquo.
16156 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16157 test signgam value.
16159 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16163 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16165 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16167 2013-05-06 Roland McGrath <roland@hack.frob.com>
16169 * elf/dl-writev.h: New file.
16170 * elf/dl-misc.c: Include it.
16171 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16172 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16174 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16176 * math/libm-test.inc (noXFails): Remove variable.
16177 (noXPasses): Likewise.
16178 (BUILD_COMPLEX_INT): Remove macro.
16179 (print_screen): Remove xfail argument.
16180 (print_screen_max_error): Likewise.
16181 (update_stats): Likewise.
16182 (print_max_error): Likewise. Update calls to other affected
16184 (print_complex_max_error): Likewise.
16185 (test_single_exception): Update calls to print_screen.
16186 (test_single_errno): Likewise.
16187 (check_float_internal): Remove xfail argument. Update calls to
16188 other affected functions.
16189 (check_float): Likewise.
16190 (check_complex): Likewise.
16191 (check_int): Likewise.
16192 (check_long): Likewise.
16193 (check_bool): Likewise.
16194 (check_longlong): Likewise.
16195 (main): Don't print noXFails and noXPasses.
16196 * math/gen-libm-test.pl (top level): Don't mention expected
16197 failure handling in comment.
16198 (new_test): Don't handle expected failures.
16199 (parse_args): Don't mention expected failure handling in comment.
16200 (generate_testfile): Don't handle expected failures.
16201 (parse_ulps): Likewise.
16202 (print_ulps_file): Likewise.
16203 (get_failure): Remove function.
16204 (output_test): Don't handle expected failures.
16205 * make/README.libm-test: Don't mention expected failure handling.
16207 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16208 (minus_zero): Likewise.
16209 (plus_infty): Likewise.
16210 (minus_infty): Likewise.
16211 (qnan_value): Likewise.
16212 (max_value): Likewise.
16213 (min_value): Likewise.
16214 (min_subnorm_value): Likewise.
16215 (initialize): Do not initialize those variables dynamically.
16217 2013-05-03 Roland McGrath <roland@hack.frob.com>
16219 * io/open.c (__open_2): Moved to ...
16220 * io/open_2.c: ... this new file.
16221 * io/open64.c (__open64_2): Moved to ...
16222 * io/open64_2.c: ... this new file.
16223 * io/openat.c (__openat_2): Moved to ...
16224 * io/openat_2.c: ... this new file.
16225 * io/openat64.c (__openat64_2): Moved to ...
16226 * io/openat64_2.c: ... this new file.
16227 * io/Makefile (routines): Add them.
16228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16229 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16230 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16231 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16232 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16233 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16234 (__openat64): Add hidden_ver.
16235 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16236 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16238 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16239 Separately conditionalize setting of GLRO(dl_sysinfo) so
16240 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16241 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16243 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16245 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16246 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16248 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16249 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16250 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16251 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16252 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16254 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16256 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16257 test signgam value.
16259 * math/libm-test.inc (hypot_test): Do not use
16260 IGNORE_ZERO_INF_SIGN.
16262 2013-05-03 Andreas Jaeger <aj@suse.de>
16264 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16266 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16267 (PF_MAX): Adjust for VSOCK change.
16269 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16273 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16276 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16277 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16278 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16280 2013-05-02 David S. Miller <davem@davemloft.net>
16282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16284 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16286 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16288 2013-05-01 Roland McGrath <roland@hack.frob.com>
16290 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16292 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16295 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16296 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16297 Use __attribute__ ((__gnu_inline__)).
16298 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16299 Don't use __attribute__ ((__gnu_inline__)).
16301 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16304 * math/s_catan.c (__catan): Handle small real or imaginary part of
16305 input specially to avoid spurious underflow.
16306 * math/s_catanf.c (__catanf): Likewise.
16307 * math/s_catanh.c (__catanh): Likewise.
16308 * math/s_catanhf.c (__catanhf): Likewise.
16309 * math/s_catanhl.c (__catanhl): Likewise.
16310 * math/s_catanl.c (__catanl): Likewise.
16311 * math/libm-test.inc (catan_test): Add more tests.
16312 (catanh_test): Likewise.
16313 * sysdeps/i386/fpu/libm-test-ulps: Update.
16314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16316 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16320 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16323 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16324 accurately for denominator in atan2.
16325 * math/s_catanf.c (__catanf): Likewise.
16326 * math/s_catanh.c (__catanh): Likewise.
16327 * math/s_catanhf.c (__catanhf): Likewise.
16328 * math/s_catanhl.c (__catanhl): Likewise.
16329 * math/s_catanl.c (__catanl): Likewise.
16330 * math/libm-test.inc (catan_test): Add more tests.
16331 (catanh_test): Likewise.
16332 * sysdeps/i386/fpu/libm-test-ulps: Update.
16333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16335 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16337 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16339 * benchtests/Makefile (bench): Remove slow benchmarks.
16340 * benchtests/atan-inputs: Add slow benchmark inputs.
16341 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16342 (BENCH_FUNC): Accept variant offset.
16344 * benchtests/bench-skeleton.c (main): Run benchmark for each
16346 * benchtests/cos-inputs: Add slow benchmark inputs.
16347 * benchtests/exp-inputs: Likewise.
16348 * benchtests/pow-inputs: Likewise.
16349 * benchtests/sin-inputs: Likewise.
16350 * benchtests/slowatan-inputs: Remove.
16351 * benchtests/slowatan.c: Remove.
16352 * benchtests/slowcos-inputs: Remove.
16353 * benchtests/slowcos.c: Remove.
16354 * benchtests/slowexp-inputs: Remove.
16355 * benchtests/slowexp.c: Remove.
16356 * benchtests/slowpow-inputs: Remove.
16357 * benchtests/slowpow.c: Remove.
16358 * benchtests/slowsin-inputs: Remove.
16359 * benchtests/slowsin.c: Remove.
16360 * benchtests/slowtan-inputs: Remove.
16361 * benchtests/slowtan.c: Remove.
16362 * benchtests/tan-inputs: Add slow benchmark inputs.
16363 * scripts/bench.pl: Parse comments and directives.
16365 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16367 ($(objpfx)bench-%.c): Remove *-ITER.
16368 * benchtests/bench-modf.c: Remove definition of ITER.
16369 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16370 (main): Loop for DURATION seconds instead of fixed number of
16372 * scripts/bench.pl: Don't expect iterations in parameters.
16374 2013-04-29 Roland McGrath <roland@hack.frob.com>
16376 * io/fchdir.c (__fchdir): Renamed from fchdir.
16377 (fchdir): Define as weak alias.
16379 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16381 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16382 (ERRNO_EDOM): Likewise.
16383 (ERRNO_ERANGE): Likewise.
16384 (noErrnoTests): New variable.
16385 (init_max_error): Set errno to 0.
16386 (test_single_errno): New function.
16387 (test_errno): Likewise.
16388 (check_float_internal): Call test_errno. Set errno to 0.
16389 (check_complex): Refer to errno tests in comment.
16390 (check_int): Call test_errno. Set errno to 0.
16391 (check_long): Likewise.
16392 (check_bool): Likewise.
16393 (check_longlong): Likewise.
16394 (cos_test): Use ERRNO_* flags for errno tests instead of
16396 (expm1_test): Likewise.
16397 (fmod_test): Likewise.
16398 (ilogb_test): Likewise.
16399 (lgamma_test): Likewise.
16400 (pow_test): Likewise.
16401 (remainder_test): Likewise.
16402 (sin_test): Likewise.
16403 (tan_test): Likewise.
16404 (yn_test): Likewise.
16405 (initialize): Set errno to 0.
16406 (main): Print number of errno tests.
16407 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16409 2013-04-29 Andreas Jaeger <aj@suse.de>
16412 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16416 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16417 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16421 * stdlib/random.c (__initstate): Return NULL if
16425 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16426 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16429 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16433 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16435 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16436 of individual tests.
16437 (casin_test): Likewise.
16438 (casinh_test): Likewise.
16440 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16443 * math/s_catan.c (__catan): Handle arguments with large real or
16444 imaginary part separately without squaring.
16445 * math/s_catanf.c (__catanf): Likewise.
16446 * math/s_catanh.c (__catanh): Likewise.
16447 * math/s_catanhf.c (__catanhf): Likewise.
16448 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16450 (__catanhl): Handle arguments with large real or imaginary part
16451 separately without squaring.
16452 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16454 (__catanl): Handle arguments with large real or imaginary part
16455 separately without squaring.
16456 * math/libm-test.inc (catan_test): Add more tests.
16457 (catanh_test): Likewise.
16458 * sysdeps/i386/fpu/libm-test-ulps: Update.
16459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16461 2013-04-27 Andreas Jaeger <aj@suse.de>
16464 * stdlib/stdlib.h: Update guards for qecvt.
16465 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16468 2013-04-27 Allan McRae <allan@archlinux.org>
16470 * sysdeps/i386/fpu/libm-test-ulps: Update.
16472 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16475 * math/s_catan.c: Include <float.h>.
16476 (__catan): Ensure underflow exception occurs for underflowed
16478 * math/s_catanf.c: Include <float.h>.
16479 (__catanf): Ensure underflow exception occurs for underflowed
16481 * math/s_catanh.c: Include <float.h>.
16482 (__catanh): Ensure underflow exception occurs for underflowed
16484 * math/s_catanhf.c: Include <float.h>.
16485 (__catanhf): Ensure underflow exception occurs for underflowed
16487 * math/s_catanhl.c: Include <float.h>.
16488 (__catanhl): Ensure underflow exception occurs for underflowed
16490 * math/s_catanl.c: Include <float.h>.
16491 (__catanl): Ensure underflow exception occurs for underflowed
16493 * math/libm-test.inc (catan_test): Add more tests.
16494 (catanh_test): Likewise.
16497 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16498 underflowed result.
16499 * math/s_ccoshf.c (__ccoshf): Likewise.
16500 * math/s_ccoshl.c (__ccoshl): Likewise.
16501 * math/s_csin.c (__csin): Likewise.
16502 * math/s_csinf.c (__csinf): Likewise.
16503 * math/s_csinh.c (__csinh): Likewise.
16504 * math/s_csinhf.c (__csinhf): Likewise.
16505 * math/s_csinhl.c (__csinhl): Likewise.
16506 * math/s_csinl.c (__csinl): Likewise.
16507 * math/libm-test.inc (ccos_test): Add more tests.
16508 (ccosh_test): Likewise.
16509 (csin_test): Likewise.
16510 (csinh_test): Likewise.
16512 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16514 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16515 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16516 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16517 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16518 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16519 powerpc/power5+/fpu folders.
16520 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16523 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16527 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16529 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16530 additions to variable.
16531 [$(config-machine) = x86_64] (modules-names): Likewise.
16532 ($(objpfx)tst-audit3): Remove dependency.
16533 ($(objpfx)tst-audit3.out): Likewise.
16534 ($(objpfx)tst-audit4): Likewise.
16535 ($(objpfx)tst-audit4.out): Likewise.
16536 ($(objpfx)tst-audit5): Likewise.
16537 ($(objpfx)tst-audit5.out): Likewise.
16538 ($(objpfx)tst-audit6): Likewise.
16539 ($(objpfx)tst-audit6.out): Likewise.
16540 ($(objpfx)tst-audit7): Likewise.
16541 ($(objpfx)tst-audit7.out): Likewise.
16542 (tst-audit3-ENV): Remove variable.
16543 (tst-audit4-ENV): Likewise.
16544 (tst-audit5-ENV): Likewise.
16545 (tst-audit6-ENV): Likewise.
16546 (tst-audit7-ENV): Likewise.
16547 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16548 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16549 addition to variable.
16550 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16551 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16552 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16553 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16554 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16555 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16556 tst-audit3, tst-audit4 and tst-audit5.
16557 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16558 tst-audit6 and tst-audit7.
16559 [$(subdir) = elf] (modules-names): Add audit modules for those
16561 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16562 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16563 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16564 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16565 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16566 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16567 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16568 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16569 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16570 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16571 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16572 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16573 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16574 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16575 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16576 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16578 [$(subdir) = elf && $(config-cflags-avx) = yes]
16579 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16580 [$(subdir) = elf && $(config-cflags-avx) = yes]
16581 (CFLAGS-tst-auditmod4a.c): Likewise.
16582 [$(subdir) = elf && $(config-cflags-avx) = yes]
16583 (CFLAGS-tst-auditmod4b.c): Likewise.
16584 [$(subdir) = elf && $(config-cflags-avx) = yes]
16585 (CFLAGS-tst-auditmod6b.c): Likewise.
16586 [$(subdir) = elf && $(config-cflags-avx) = yes]
16587 (CFLAGS-tst-auditmod6c.c): Likewise.
16588 [$(subdir) = elf && $(config-cflags-avx) = yes]
16589 (CFLAGS-tst-auditmod7b.c): Likewise.
16590 * elf/tst-audit3.c: Move to ...
16591 * sysdeps/x86_64/tst-audit3.c: ... here.
16592 * elf/tst-audit4.c: Move to ...
16593 * sysdeps/x86_64/tst-audit4.c: ... here.
16594 * elf/tst-audit5.c: Move to ...
16595 * sysdeps/x86_64/tst-audit5.c: ... here.
16596 * elf/tst-audit6.c: Move to ...
16597 * sysdeps/x86_64/tst-audit6.c: ... here.
16598 * elf/tst-audit7.c: Move to ...
16599 * sysdeps/x86_64/tst-audit7.c: ... here.
16600 * elf/tst-auditmod3a.c: Move to ...
16601 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16602 * elf/tst-auditmod3b.c: Move to ...
16603 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16604 * elf/tst-auditmod4a.c: Move to ...
16605 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16606 * elf/tst-auditmod4b.c: Move to ...
16607 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16608 * elf/tst-auditmod5a.c: Move to ...
16609 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16610 * elf/tst-auditmod5b.c: Move to ...
16611 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16612 * elf/tst-auditmod6a.c: Move to ...
16613 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16614 * elf/tst-auditmod6b.c: Move to ...
16615 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16616 * elf/tst-auditmod6c.c: Move to ...
16617 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16618 * elf/tst-auditmod7a.c: Move to ...
16619 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16620 * elf/tst-auditmod7b.c: Move to ...
16621 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16623 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16626 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16627 define unconditionally.
16628 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16629 define unconditionally.
16630 (INT8_C, INT16_C, etc.): Likewise.
16632 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16634 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16635 __ehdr_start with hidden visibility.
16637 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16639 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16641 * math/libm-test.inc (cos_test): Use accurate hex constants.
16642 (sincost_test): Likewise.
16644 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16646 * math/libm-test.inc (catan_test): Add more tests.
16647 (catanh_test): Likewise.
16649 * math/s_catanf.c (__catanf): Use suffixed floating-point
16651 * math/s_catanhf.c (__catanhf): Likewise.
16652 * math/s_catanhl.c (__catanhl): Likewise.
16653 * math/s_catanl.c (__catanl): Likewise.
16656 * math/s_catan.c (__catan): Calculate imaginary part of result
16657 with log1p not log unless computing log of number close to 0.
16658 * math/s_catanf.c (__catanf): Likewise.
16659 * math/s_catanl.c (__catanl): Likewise.
16660 * math/s_catanh.c (__catanh): Calculate real part of result with
16661 log1p not log unless computing log of number close to 0.
16662 * math/s_catanhf.c (__catanhf): Likewise.
16663 * math/s_catanhl.c (__catanhl): Likewise.
16664 * math/libm-test.inc (catan_test): Add more tests.
16665 (catanh_test): Likewise.
16666 * sysdeps/i386/fpu/libm-test-ulps: Update.
16667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16669 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16671 * benchtests/Makefile: Mention files in which fast and slow
16672 paths of math functions are implemented.
16674 2013-04-23 Roland McGrath <roland@hack.frob.com>
16676 * sysdeps/posix/timespec_get.c: New file.
16678 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16680 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16682 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16684 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16685 powerpc/power5/fpu folders.
16686 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16687 * benchtests/Makefile: Add modf testcase.
16688 * benchtests/bench-modf.c: New file: Benchmark test for mo
16690 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16693 * time/Makefile (tests): Add tst-strptime-whitespace.
16694 * time/strptime_l.c (get_number): Use ISSPACE.
16695 (__strptime_internal): Likewise.
16696 * time/tst-strptime-whitespace.c: New test case.
16698 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16700 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16702 (_nss_files_init): Set it here.
16704 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16706 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16707 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16710 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16712 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16714 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16719 2013-04-21 David S. Miller <davem@davemloft.net>
16721 * po/ru.po: Update Russion translation from translation project.
16723 2013-04-17 Adam Conrad <adconrad@0c3.net>
16725 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16728 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16730 * configure.in: Remove i386 configure warning. Remove i386 case.
16731 * configure: Regenerate.
16732 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16733 Add example to error message.
16734 * sysdeps/i386/configure: Regenerate.
16736 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16738 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16740 * benchtests/cos-inputs: New file.
16741 * benchtests/slowcos-inputs: New file.
16742 * benchtests/slowcos.c: New file.
16743 * benchtests/slowtan-inputs: New file.
16744 * benchtests/slowtan.c: New file.
16745 * benchtests/tan-inputs: New file.
16747 2013-04-16 Roland McGrath <roland@hack.frob.com>
16749 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16752 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16754 * benchtests/Makefile: Include cppflags-iterator.mk to add
16755 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16757 * Makefile.in (bench-clean): New target.
16758 * benchtests/Makefile (bench-clean): Likewise.
16760 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16762 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16764 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16766 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16768 2013-04-15 Andreas Schwab <schwab@suse.de>
16770 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16771 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16772 * nscd/pwdcache.c (cache_addpw): Likewise.
16773 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16776 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16778 * benchtests/Makefile (bench): Write all output to
16779 bench-out.tmp together.
16781 2013-04-15 Andreas Schwab <schwab@suse.de>
16783 * nscd/nscd.c (main): Don't fork again after closing files.
16785 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16787 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16789 * benchtests/Rules (bench-deps): Collect dependencies into a
16790 single variable. Add Makefile to dependencies.
16791 ($(objpfx)bench-%.c): Depend on bench-deps.
16793 2013-04-12 Roland McGrath <roland@hack.frob.com>
16794 Xavier Roche <roche+kml2@exalead.com>
16797 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16798 just that it's a file descriptor.
16799 * manual/llio.texi (Synchronizing AIO Operations): Update description
16800 for EBADF error from aio_fsync.
16802 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16804 * Rules (bench): Move target definition...
16805 * benchtests/Makefile: ... here.
16807 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16809 * math/libm-test.inc (cos_test): Fix PI/2 test.
16810 (sincos_test): Likewise.
16811 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16812 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16814 2013-04-11 Andreas Schwab <schwab@suse.de>
16817 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16818 accept exponent character only when digits were seen.
16819 * stdio-common/Makefile (tests): Add bug26.
16820 * stdio-common/bug26.c: New file.
16823 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16826 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16828 * Makeconfig (rtld-prefix): Define built linker prefix.
16829 * Rules (run-bench): Use it.
16830 * math/Makefile (run-regen-ulps): Likewise.
16832 * Rules (bench): Remove eval.
16834 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16835 Roland McGrath <roland@hack.frob.com>
16836 Ondrej Bilka <neleai@seznam.cz>
16839 * time/getdate.c: Include ctype.h and alloca.h.
16840 (__getdate_r): Trim leading and trailing spaces of input.
16841 * time/tst-getdate.c (tests): Add tests with leading and
16844 2013-04-08 Roland McGrath <roland@hack.frob.com>
16847 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16848 when computing value.
16850 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16852 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16853 Use testrun.sh to run libm tests.
16856 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16858 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16861 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16863 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16865 * Makefile.in (regen-ulps): New target.
16866 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16867 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16868 [ifneq (no,$(PERL)] (regen-ulps): New target.
16869 [ifeq (no,$(PERL)] (regen-ulps): New target.
16870 * math/libm-test.inc (ulps_file_name): Define.
16871 (output_dir): New variable.
16872 (options): Add "output-dir" option.
16873 (parse_opt): Handle 'o' case.
16874 (main): If output_dir is non-NULL use it as a prefix
16876 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16878 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16880 [BZ #10060, #10062]
16881 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16882 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16883 fail configure if __sync_val_compare_and_swap is not inlined.
16884 * sysdeps/i386/configure: Regenerate.
16885 * configure.in: Build for i686 when configured for i386.
16886 * configure: Regenerate.
16887 * README: Remove i386 reference.
16889 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16891 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16892 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16894 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16896 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16897 (lmsnanval): New variables.
16898 (F): Add conversion tests.
16899 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16900 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16902 * stdio-common/tstdiomisc.c (F): Properly collect individual
16905 [BZ #14686, #15336]
16906 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16907 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16908 Instead, use input NaN values or generate a qNaN by arithmetic
16909 operation. Also fix bugs to comply with the standard.
16910 * math/libm-test.inc (remainder_test): Add more tests.
16912 [BZ #15335, #15342]
16913 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16915 input NaN values or generate a qNaN by arithmetic operation.
16917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16920 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16923 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16926 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16927 underflowed result.
16928 * math/s_cexpf.c (__cexpf): Likewise.
16929 * math/s_cexpl.c (__cexpl): Likewise.
16930 * math/libm-test.inc (cexp_test): Add more tests.
16932 2013-04-03 Andreas Schwab <schwab@suse.de>
16935 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16936 order arrays from heap if bigger than alloca cutoff.
16938 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16940 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16941 (SNAN_TESTS_double): Refer to GCC PR56831.
16942 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16945 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16947 * Rules (bench): Move bench.out after the run is complete.
16949 * Rules (bench): Echo currently running benchmark.
16951 * benchtests/Makefile (bench): Add atan and slowatan.
16952 * benchtests/atan-inputs: New file.
16953 * benchtests/slowatan-inputs: New file.
16954 * benchtests/slowatan.c: New file.
16956 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16957 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16961 * sysdeps/unix/sysv/linux/kernel-features.h
16962 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16963 __ASSUME_XFS_RESTRICTED_CHOWN.
16964 * sysdeps/unix/sysv/linux/pathconf.c
16965 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16966 Save and restore errno.
16968 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16971 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16972 arguments using __kernel_casinh.
16973 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16974 arguments using __kernel_casinhf.
16975 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16976 arguments using __kernel_casinhl.
16977 * math/libm-test.inc (cacosh_test): Add more tests.
16978 * sysdeps/i386/fpu/libm-test-ulps: Update.
16979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16981 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16983 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16986 * bench/Makefile (bench): Add sin and slowsin.
16987 * benchtests/sin-inputs: New file.
16988 * benchtests/slowsin-inputs: New file.
16989 * benchtests/slowsin.c: New file.
16991 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16992 (bench): Add slowexp and slowpow.
16993 (exp-ITER): Increase iterations.
16994 (pow-ITER): Likewise.
16995 * benchtests/exp-inputs: Change input.
16996 * benchtests/pow-inputs: Likewise.
16997 * benchtests/slowexp-inputs: New file.
16998 * benchtests/slowexp.c: New file.
16999 * benchtests/slowpow-inputs: New file.
17000 * benchtests/slowpow.c: New file.
17002 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17004 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17006 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17007 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17008 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17009 * benchtests/Makefile: Add rint benchtest.
17010 * benchtests/rint-inputs: Input for rint benchtest.
17012 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17014 * Versions.def (libm): Add GLIBC_2.18.
17015 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17016 hidden libm prototypes.
17017 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17018 * math/Makefile (libm-calls): Add s_issignaling.
17019 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17020 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17021 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17023 * math/math.h [__USE_GNU] (issignaling): New macro.
17024 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17025 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17026 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17027 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17030 * manual/arith.texi (issignaling): New section.
17031 * manual/libm-err-tab.pl (@all_functions): Update comment.
17032 * math/gen-libm-test.pl (parse_args): Apply special handling for
17034 * math/libm-test.inc (print_float, issignaling_test): New
17036 (check_float_internal): Add issignaling checks.
17037 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17038 default definition.
17039 * sysdeps/powerpc/math-tests.h: New file.
17040 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17042 * math/test-snan.c (TEST_FUNC): Likewise.
17044 2013-03-30 David S. Miller <davem@davemloft.net>
17046 * po/de.po: Update from translation team.
17048 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17051 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17052 imaginary part less than 1.0 and real part less than 0.5
17054 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17055 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17056 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17057 (cacos_test): Add more tests.
17058 (casin_test): Likewise.
17059 (casinh_test): Likewise.
17060 * sysdeps/i386/fpu/libm-test-ulps: Update.
17061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17063 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17065 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17066 ONE with its value.
17068 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17069 (__pow_mp): Replace ONE and MONE with their values.
17070 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17071 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17072 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17073 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17074 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17075 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17077 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17079 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17080 (__pow_mp): Replace ZERO and MZERO with their values.
17081 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17082 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17083 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17085 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17086 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17089 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17091 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17093 2013-03-28 Roland McGrath <roland@hack.frob.com>
17095 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17096 Declare with __attribute__ ((weak)).
17097 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17098 Call __call_tls_dtors only if it's not NULL.
17100 2013-03-28 Roland McGrath <roland@hack.frob.com>
17102 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17103 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17104 magic __ehdr_start linker symbol if it's defined.
17105 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17106 them up here if it was already done.
17108 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17109 (_dl_aux_init): Use const in cast when setting it.
17110 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17111 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17112 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17114 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17116 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17117 * csu/libc-tls.c: Nor here.
17118 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17120 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17121 (__libc_message): Never call vsyslog.
17123 2013-03-28 Alan Modra <amodra@gmail.com>
17125 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17127 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17130 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17133 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17137 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17140 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17141 Don't add gid passed as argument.
17143 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17145 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17148 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17149 imaginary part between 1.0 and 1.5 and real part less than 0.5
17151 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17152 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17153 * math/libm-test.inc (cacos_test): Add more tests.
17154 (casin_test): Likewise.
17155 (casinh_test): Likewise.
17156 * sysdeps/i386/fpu/libm-test-ulps: Update.
17157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17159 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17161 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17164 (denorm): Likewise.
17165 (__dbl_mp): Likewise.
17166 (add_magnitudes): Likewise.
17167 (sub_magnitudes): Likewise.
17175 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17177 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17178 (__dubcos): Likewise.
17179 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17180 (__ieee754_acos): Likewise.
17181 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17182 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17183 (__exp1): Likewise.
17184 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17185 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17187 (my_log2): Likewise.
17188 (checkint): Likewise.
17189 * sysdeps/ieee754/dbl-64/e_remainder.c
17190 (__ieee754_remainder): Likewise.
17191 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17193 (bsloww): Likewise.
17194 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17196 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17197 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17198 MANTISSA_STORE_T to store computations on mantissa. Use
17199 macros for rounding and division.
17200 (denorm): Likewise.
17201 (__dbl_mp): Likewise.
17202 (add_magnitudes): Likewise.
17203 (sub_magnitudes): Likewise.
17206 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17207 powers of two in terms of TWOPOW macro.
17208 (mp_no): Make type of mantissa as MANTISSA_T.
17209 [!RADIXI]: Define RADIXI.
17210 [!TWO52]: Define TWO52.
17211 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17213 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17215 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17216 llroundl symbol when building for PPC32.
17218 2013-03-24 Mark H Weaver <mhw@netris.org>
17220 * manual/arith.texi (Normalization Functions): Fix prototypes for
17221 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17223 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17226 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17227 high value to check if expl overflow.
17228 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17229 to check for underflow and overflow.
17230 * math/libm-test.inc: Add exp test.
17232 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17235 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17238 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17240 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17243 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17245 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17246 wrap blocks consisting of several statements.
17248 * sysdeps/generic/math-tests.h: New file.
17249 * sysdeps/i386/fpu/math-tests.h: Likewise.
17250 * math/test-snan.c: Include it.
17251 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17253 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17256 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17257 (__ieee754_j0l): Do not improve calculations using cos of twice
17258 input for inputs above LDBL_MAX / 2.0L.
17259 (__ieee754_y0l): Likewise.
17260 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17261 (__ieee754_j1l): Do not improve calculations using cos of twice
17262 input for inputs above LDBL_MAX / 2.0L.
17263 (__ieee754_y1l): Likewise.
17264 * math/libm-test.inc (j0_test): Add another test.
17265 (j1_test): Likewise.
17266 (y0_test): Likewise.
17267 (y1_test): Likewise.
17268 * sysdeps/i386/fpu/libm-test-ulps: Update.
17270 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * Rules ($(objpfx)bench-%.c): Include code from a C source
17275 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17278 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17279 imaginary part 1.0 and real part less than 0.5 specially.
17280 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17281 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17282 * math/libm-test.inc (cacos_test): Add more tests.
17283 (casin_test): Likewise.
17284 (casinh_test): Likewise.
17285 * sysdeps/i386/fpu/libm-test-ulps: Update.
17286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17288 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17290 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17291 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17293 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17295 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17296 * config.make.in (config-cflags-sse4): Remove variable.
17297 (config-cflags-avx): Likewise.
17298 (config-cflags-sse2avx): Likewise.
17299 (config-cflags-novzeroupper): Likewise.
17300 (config-asflags-i686): Likewise.
17301 (have-mfma4): Likewise.
17302 (have-as-vis3): Likewise.
17304 * configure.in (MIG): Do not AC_SUBST.
17305 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17306 (libc_cv_cc_sse4): Do not AC_SUBST.
17307 (libc_cv_cc_avx): Likewise.
17308 (libc_cv_cc_sse2avx): Likewise.
17309 (libc_cv_cc_novzeroupper): Likewise.
17310 (libc_cv_cc_fma4): Likewise.
17311 (libc_cv_as_i686): Likewise.
17312 (libc_cv_sparc_as_vis3): Likewise.
17313 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17315 (config-asflags-i686): Likewise.
17316 (config-cflags-avx): Likewise.
17317 (config-cflags-sse2avx): Likewise.
17318 (have-mfma4): Likewise.
17319 (config-cflags-novzeroupper): Likewise.
17320 * sysdeps/mach/configure.in (MIG): Likewise.
17321 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17322 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17324 (config-cflags-avx): Likewise.
17325 (config-cflags-sse2avx): Likewise.
17326 (have-mfma4): Likewise.
17327 (config-cflags-novzeroupper): Likewise.
17328 * configure: Regenerated.
17329 * sysdeps/i386/configure: Likewise.
17330 * sysdeps/mach/configure: Likewise.
17331 * sysdeps/sparc/configure: Likewise.
17332 * sysdeps/x86_64/configure: Likewise.
17334 2013-03-20 Roland McGrath <roland@hack.frob.com>
17337 * locale/programs/localedef.c (options): Put N_ translation marker
17338 on argument names, not just descriptions.
17340 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17342 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17344 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17347 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17349 2013-03-19 Roland McGrath <roland@hack.frob.com>
17351 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17352 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17353 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17354 [!BEFORE_ABORT] (before_abort): New function.
17355 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17356 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17357 (writev_for_fatal): New function.
17358 (WRITEV_FOR_FATAL): New macro; call that.
17359 (backtrace_and_maps): New function.
17360 (BEFORE_ABORT): New macro; call that.
17361 (struct str_list): Type removed.
17362 (__libc_message, __libc_fatal): Functions removed.
17363 Include <sysdeps/posix/libc_fatal.c> instead.
17365 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17367 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17369 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17372 2013-03-19 Andreas Schwab <schwab@suse.de>
17374 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17375 * sysdeps/gnu/configure: Regenerate.
17377 * configure.in: Substitute libc_cv_rtlddir.
17378 * configure: Regenerate.
17379 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17380 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17381 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17382 * elf/Makefile (install-others, CFLAGS-interp.c)
17383 (ldso_install, common-ldd-rewrite): Likewise.
17384 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17385 $(inst_slibdir)/$(rtld-installed-name).
17386 * scripts/rellns-sh: Add -p option.
17387 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17390 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17392 * manual/nptl.texi: Renamed to ...
17393 * manual/threads.texi: ... this.
17394 * manual/Makefile (chapters): Update.
17396 2013-03-18 Roland McGrath <roland@hack.frob.com>
17399 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17400 on argument names, not just descriptions.
17401 * malloc/memusagestat.c (options): Likewise.
17402 * nss/getent.c (options): Likewise.
17404 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17407 * iconv/iconv_prog.c (options): Put N_ translation marker
17408 on argument names, not just descriptions.
17409 * iconv/iconvconfig.c (options): Likewise.
17411 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17413 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17414 implementation which is faster on all x86_64 architectures.
17415 Tested on AMD, Intel Nehalem, SNB, IVB.
17416 * sysdeps/x86_64/strnlen.S: Likewise.
17418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17419 Remove all multiarch strlen and strnlen versions.
17420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17421 Remove strlen and strnlen related parts.
17423 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17424 Inline strlen part.
17425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17427 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17428 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17429 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17430 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17431 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17432 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17434 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17436 * manual/memory.texi (Malloc Tunable Parameters):
17437 Sort parameters alphabetically. Add comments for missing entries.
17439 2013-03-17 David S. Miller <davem@davemloft.net>
17441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17443 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17446 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17447 for arguments at most half maximum finite value.
17448 * math/libm-test.inc (j0_test): Add more tests.
17449 (j1_test): Likewise.
17450 (y0_test): Likewise.
17451 (y1_test): Likewise.
17452 * sysdeps/i386/fpu/libm-test-ulps: Update.
17453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17456 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17457 1 / x and functions P and Q for arguments above 0x1p256L.
17458 (__ieee754_y0l): Likewise.
17459 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17460 (__ieee754_y1l): Likewise.
17461 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17462 (j1_test): Likewise.
17463 (y0_test): Likewise.
17464 (y1_test): Likewise.
17466 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17468 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17471 2013-03-15 Roland McGrath <roland@hack.frob.com>
17473 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17474 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17475 zero since it's initialized to EXEC_PAGESIZE.
17477 * sysdeps/unix/sysv/linux/ldsodefs.h
17478 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17479 * sysdeps/generic/ldsodefs.h: ... here.
17481 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17483 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17485 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17487 * math/test-snan.c: Renamed from
17488 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17489 * math/Makefile (tests): Add test-snan.
17490 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17493 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17494 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17496 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17497 __builtin_nan family of functions.
17498 * math/libm-test.inc (initialize): Initialize qnan_value with
17499 __builtin_nan family of functions.
17500 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17502 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17504 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17505 storage class. Initialize qNaN_var and sNaN_var with
17506 __builtin_nan and __builtin_nans families of functions,
17509 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17510 (sqrt_test): Remove duplicate test with qNaN input.
17511 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17512 (round_test, signbit_test, significand_test): Note missing +/-Inf
17513 as well as qNaN tests.
17515 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17516 qNaN_var. Fix a few strings, too.
17517 * math/libm-test.inc (nan_value): Rename to qnan_value.
17518 * math/gen-libm-test.pl (%beautify): Adjust to that.
17519 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17520 * math/test-misc.c (main): Likewise.
17521 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17522 to __qnan_bytes, and __qnan_union, respectively.
17523 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17525 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17526 and lqnanval, respectively.
17527 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17528 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17529 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17530 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17532 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17533 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17536 * math/test-misc.c (main): Fix copy'n'pastos.
17537 * misc/tst-efgcvt.c (special): Likewise.
17539 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17540 Remove declarations.
17542 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17544 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17545 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17546 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17547 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17549 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17551 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17552 macro to return vdso values correctly in IFUNC implementations.
17553 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17554 Optimization by using IFUNC.
17556 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17557 Richard Henderson <rth@redhat.com>
17558 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17560 * Makefile.in (bench): New target.
17561 * NEWS: Mention the benchmark framework.
17562 * Rules (bench): Likewise.
17563 (binaries-bench): Generate binaries for functions to
17565 * benchtests/Makefile: New makefile for benchmark tests.
17566 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17568 * benchtests/exp-inputs: New input file for EXP function.
17569 * benchtests/pow-inputs: New input file for POW function.
17570 * scripts/bench.pl: New script to generate source files for
17571 benchmark programs.
17573 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17575 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17576 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17577 computations on mantissa. Use macros for rounding and
17579 (denorm): Likewise.
17580 (__dbl_mp): Likewise.
17581 (add_magnitudes): Likewise.
17582 (sub_magnitudes): Likewise.
17585 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17586 powers of two in terms of TWOPOW macro.
17587 (mp_no): Make type of mantissa as MANTISSA_T.
17588 [!RADIXI]: Define RADIXI.
17589 [!TWO52]: Define TWO52.
17590 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17592 * manual/nptl.texi (cindex): Modify threads to pthreads.
17594 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17596 * sysdeps/x86_64/preconfigure: Regenerated.
17598 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17601 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17603 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17604 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17606 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17607 * math/libm-test.inc (j0_test): Do not allow one spurious
17608 underflow exception.
17609 (y1_test): Likewise.
17611 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17613 * manual/Makefile (chapters): Add nptl.
17614 * manual/debug.texi (Debugging Support): Add link to Threads
17616 * manual/nptl.texi: New file.
17618 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17620 2013-03-14 Petr Baudis <pasky@ucw.cz>
17622 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17623 for non-NULL pointer before the memory validity test. Pointed
17624 out by Holger Brunck <holger.brunck@keymile.com>.
17626 2013-03-13 Andreas Schwab <schwab@suse.de>
17628 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17631 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17633 * timezone/zic.c: Update from tzcode 2013b.
17635 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17637 * manual/install.texi (Configuring and compiling):
17638 Mention i686 and i586.
17639 * INSTALL: Regenerate.
17641 2013-03-12 Roland McGrath <roland@hack.frob.com>
17643 * sysdeps/init_array/elf-init.c: New file.
17645 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17646 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17648 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17649 __gmon_start__ as global, but as static with a .preinit_array pointer.
17650 * sysdeps/init_array/gmon-start.c: New file. Use that.
17651 * sysdeps/init_array/crti.S: New file, empty except for comments.
17652 * sysdeps/init_array/crtn.S: Likewise.
17654 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17656 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17659 Remove Prefer_SSE_for_memop.
17660 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17661 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17662 HAS_PREFER_SSE_FOR_MEMOP.
17663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17665 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17666 Remove bzero, memset ifunc support.
17667 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17668 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17669 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17670 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17672 2013-03-11 Andreas Schwab <schwab@suse.de>
17675 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17678 (GLIBC_2.16): Remove pthread_atfork.
17680 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17682 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17683 (ptestcases.h): Likewise.
17685 2013-03-08 Roland McGrath <roland@hack.frob.com>
17687 * Makeconfig ($(common-objpfx)config.status): Depend on
17688 sysdeps/*/preconfigure{,.in} too.
17690 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17692 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17693 (__free_hook): Use void * instead of __malloc_ptr_t.
17694 (__malloc_hook): Likewise.
17695 (__realloc_hook): Likewise.
17696 (__memalign_hook): Likewise.
17697 (__after_morecore_hook): Likewise.
17698 * malloc/arena.c (save_malloc_hook): Likewise.
17699 (save_free_hook): Likewise.
17700 * malloc/hooks.c (malloc_hook_ini): Likewise.
17701 (realloc_hook_ini): Likewise.
17702 (memalign_hook_ini): Likewise.
17703 * malloc/malloc.c (malloc_hook_ini): Likewise.
17704 (realloc_hook_ini): Likewise.
17705 (memalign_hook_ini): Likewise.
17706 (__free_hook): Likewise.
17707 (__malloc_hook): Likewise.
17708 (__realloc_hook): Likewise.
17709 (__memalign_hook): Likewise.
17710 (__libc_malloc): Likewise.
17711 (__libc_free): Likewise.
17712 (__libc_realloc): Likewise.
17713 (__libc_memalign): Likewise.
17714 (__libc_valloc): Likewise.
17715 (__libc_pvalloc): Likewise.
17716 (__libc_calloc): Likewise.
17717 (__posix_memalign): Likewise.
17718 * malloc/morecore.c (__sbrk): Likewise.
17719 (__default_morecore): Likewise.
17721 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17723 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17724 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17725 __malloc_ptrdiff_t.
17727 * malloc/malloc.h (__malloc_size_t): Remove macro.
17728 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17730 (old_memalign_hook): Likewise.
17731 (old_realloc_hook): Likewise.
17732 (struct hdr): Likewise.
17734 (mallochook): Likewise.
17735 (memalignhook): Likewise.
17736 (reallochook): Likewise.
17737 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17738 (tr_old_realloc_hook): Likewise.
17739 (tr_old_memalign_hook): Likewise.
17740 (tr_mallochook): Likewise.
17741 (tr_reallochook): Likewise.
17742 (tr_memalignhook): Likewise.
17744 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17746 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17747 default_ldbl_pack and using as default implementation.
17748 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17750 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17751 redundant definition.
17752 (ldbl_insert_mantissa): Likewise.
17753 (ldbl_canonicalize): Likewise.
17754 (ldbl_nearbyint): Likewise.
17755 (ldbl_pack): Rename to ldbl_pack_ppc.
17756 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17757 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17758 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17760 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17763 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17764 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17765 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17767 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17768 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17769 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17771 2013-03-07 Andreas Jaeger <aj@suse.de>
17773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17776 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17778 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17779 Include mpa.h and declare __MPEXP.
17780 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17781 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17782 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17783 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17784 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17785 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17786 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17788 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17789 (__slowpow): Use long double EXPL and LOGL functions to
17791 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17792 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17793 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17794 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17795 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17796 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17799 intermediate variable to calculate exponent.
17801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17805 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17806 [!NO__SQR]: Define __sqr.
17807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17808 and NO__SQR. Remove all code except __mul and __sqr. Include
17809 sysdeps/ieee754/dbl-64/mpa.c.
17810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17813 * posix/Makefile (tests): Add tst-pathconf.
17814 * posix/tst-pathconf.c: New test case.
17815 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17817 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17819 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17821 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17823 2013-03-06 Andreas Jaeger <aj@suse.de>
17825 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17826 definition via __MAP_ANONYMOUS.
17828 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17829 it's not part of Linux headers.
17831 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17832 (MAP_HUGE_MASK): Define.
17834 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17836 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17839 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17840 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17842 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17845 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17847 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17848 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17849 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17850 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17851 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17852 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17854 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17857 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17858 Handle f2fs and efivarfs.
17860 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17863 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17864 (EFIVARFS_MAGIC): Add.
17865 (F2FS_LINK_MAX): Add.
17867 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17869 * stdio-common/vfprintf.c: Replace __builtin_expect with
17872 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17875 * sysdeps/generic/bp-sym.h: Remove file.
17876 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17877 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17878 <bp-sym.h> and <bp-asm.h>.
17879 (__longjmp): Don't use BP_SYM.
17880 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17882 (memcpy): Don't use BP_SYM.
17883 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17884 <bp-sym.h> and <bp-asm.h>.
17885 (memcpy): Don't use BP_SYM.
17886 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17888 (memcpy): Don't use BP_SYM.
17889 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17891 (memset): Don't use BP_SYM.
17892 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17893 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17894 (__bzero): Don't use BP_SYM.
17895 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17896 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17897 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17898 <bp-sym.h> and <bp-asm.h>.
17899 (memcmp): Don't use BP_SYM. Remove comment about bounded
17901 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17902 <bp-sym.h> and <bp-asm.h>.
17903 (memcpy): Don't use BP_SYM.
17904 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17905 <bp-sym.h> and <bp-asm.h>.
17906 (memset): Don't use BP_SYM.
17907 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17908 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17909 (__bzero): Don't use BP_SYM.
17910 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17911 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17912 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17913 <bp-sym.h> and <bp-asm.h>.
17914 (strncmp): Don't use BP_SYM. Remove comment about bounded
17916 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17917 <bp-sym.h> and <bp-asm.h>.
17918 (memcpy): Don't use BP_SYM.
17919 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17920 <bp-sym.h> and <bp-asm.h>.
17921 (memset): Don't use BP_SYM.
17922 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17923 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17924 (__bzero): Don't use BP_SYM.
17925 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17926 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17927 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17928 <bp-sym.h> and <bp-asm.h>.
17929 (__memchr): Don't use BP_SYM.
17930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17931 <bp-sym.h> and <bp-asm.h>.
17932 (memcmp): Don't use BP_SYM. Remove comment about bounded
17934 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17935 <bp-sym.h> and <bp-asm.h>.
17936 (memcpy): Don't use BP_SYM.
17937 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17938 <bp-sym.h> and <bp-asm.h>.
17939 (__mempcpy): Don't use BP_SYM.
17940 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17941 <bp-sym.h> and <bp-asm.h>.
17942 (__memrchr): Don't use BP_SYM.
17943 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17944 <bp-sym.h> and <bp-asm.h>.
17945 (memset): Don't use BP_SYM.
17946 (__bzero): Likewise.
17947 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17948 <bp-sym.h> and <bp-asm.h>.
17949 (__rawmemchr): Don't use BP_SYM.
17950 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17951 <bp-sym.h> and <bp-asm.h>.
17952 (__STRCMP): Don't use BP_SYM.
17953 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17954 <bp-sym.h> and <bp-asm.h>.
17955 (strchr): Don't use BP_SYM.
17956 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17957 <bp-sym.h> and <bp-asm.h>.
17958 (__strchrnul): Don't use BP_SYM.
17959 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17960 <bp-sym.h> and <bp-asm.h>.
17961 (strlen): Don't use BP_SYM.
17962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17963 <bp-sym.h> and <bp-asm.h>.
17964 (strncmp): Don't use BP_SYM. Remove comment about bounded
17966 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17967 <bp-sym.h> and <bp-asm.h>.
17968 (__strnlen): Don't use BP_SYM.
17969 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17970 <bp-sym.h> and <bp-asm.h>.
17971 (__GI__setjmp): Don't use BP_SYM.
17972 (_setjmp): Likewise.
17973 (__sigsetjmp): Likewise.
17974 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17975 (L(start_addresses)): Don't use BP_SYM.
17976 (_start): Likewise.
17977 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17979 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17980 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17981 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17982 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17983 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17985 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17986 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17987 about bounded pointers.
17988 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17989 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17990 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17992 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17993 about bounded pointers. Remove GKM FIXME comments.
17994 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17995 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17997 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17998 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17999 Remove GKM FIXME comments.
18000 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18001 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18002 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18004 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18005 about bounded pointers. Remove GKM FIXME comment.
18006 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18008 (strncmp): Don't use BP_SYM. Remove comment about bounded
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18011 <bp-sym.h> and <bp-asm.h>.
18012 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18014 <bp-sym.h> and <bp-asm.h>.
18015 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18018 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18020 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18023 2013-03-05 David S. Miller <davem@davemloft.net>
18025 * po/es.po: Update from translation team.
18027 2013-03-05 Andreas Jaeger <aj@suse.de>
18029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18030 <bits/mman-linux.h>.
18031 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18033 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18034 <bits/mman-linux.h> to end of file.
18035 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18037 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18038 <bits/mman-linux.h> to end of file.
18039 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18041 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18042 <bits/mman-linux.h> to end of file.
18044 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18045 (MCL_CURRENT, MCL_FUTURE): Define here.
18047 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18050 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18052 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18054 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18056 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18057 fourth parameter needed for rt_sigprocmask syscall.
18058 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18059 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18060 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18061 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18062 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18063 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18065 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18068 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18069 comment about bounded pointers.
18070 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18071 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18073 2013-03-04 Andreas Jaeger <aj@suse.de>
18075 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18076 common definitions.
18078 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18079 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18080 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18081 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18083 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18085 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18088 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18089 __ieee754_sqrl instead of __sqrl.
18091 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18093 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18094 * sysdeps/powerpc/fpu_control.h: ... here.
18095 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18096 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18097 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18098 * sysdeps/powerpc/bits/mathinline.h: ... here.
18100 2013-03-01 Roland McGrath <roland@hack.frob.com>
18102 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18103 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18104 to just [NEED_DL_SYSINFO_DSO].
18105 * elf/dl-support.c: Likewise.
18106 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18107 * elf/rtld.c (dl_main): Likewise.
18108 * elf/setup-vdso.h (setup_vdso): Likewise.
18109 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18110 * sysdeps/unix/sysv/linux/dl-sysdep.c
18111 (_dl_discover_osversion): Likewise.
18113 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18115 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18116 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18118 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18120 * NEWS: Mention libm performance improvements and non-x86 PI
18123 * csu/libc-start.c (__pthread_initialize_minimal): Change
18124 function arguments.
18125 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18127 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18130 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18131 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18132 <bp-sym.h> and <bp-asm.h>.
18133 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18134 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18136 (memcpy): Don't use BP_SYM.
18137 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18139 (__mpn_add_n): Don't use BP_SYM.
18140 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18141 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18143 (__mpn_addmul_1): Don't use BP_SYM.
18144 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18145 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18147 (_setjmp): Don't use BP_SYM.
18148 (__novmx_setjmp): Likewise.
18149 (__GI__setjmp): Likewise.
18150 (__vmx_setjmp): Likewise.
18151 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18153 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18154 (__bzero): Don't use BP_SYM.
18155 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18156 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18157 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18158 <bp-sym.h> and <bp-asm.h>.
18159 (memcpy): Don't use BP_SYM.
18160 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18161 <bp-sym.h> and <bp-asm.h>.
18162 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18163 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18164 <bp-sym.h> and <bp-asm.h>.
18165 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18166 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18168 (__mpn_lshift): Don't use BP_SYM.
18169 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18170 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18172 (memset): Don't use BP_SYM.
18173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18175 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18177 (__mpn_mul_1): Don't use BP_SYM.
18178 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18179 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18180 <bp-sym.h> and <bp-asm.h>.
18181 (memcmp): Don't use BP_SYM.
18182 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18183 <bp-sym.h> and <bp-asm.h>.
18184 (memcpy): Don't use BP_SYM.
18185 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18186 <bp-sym.h> and <bp-asm.h>.
18187 (memset): Don't use BP_SYM.
18188 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18189 <bp-sym.h> and <bp-asm.h>.
18190 (strncmp): Don't use BP_SYM.
18191 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18192 <bp-sym.h> and <bp-asm.h>.
18193 (memcpy): Don't use BP_SYM.
18194 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18195 <bp-sym.h> and <bp-asm.h>.
18196 (memset): Don't use BP_SYM.
18197 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18198 <bp-sym.h> and <bp-asm.h>.
18199 (__memchr): Don't use BP_SYM.
18200 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18201 <bp-sym.h> and <bp-asm.h>.
18202 (memcmp): Don't use BP_SYM.
18203 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18204 <bp-sym.h> and <bp-asm.h>.
18205 (memcpy): Don't use BP_SYM.
18206 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18207 <bp-sym.h> and <bp-asm.h>.
18208 (__mempcpy): Don't use BP_SYM.
18209 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18210 <bp-sym.h> and <bp-asm.h>.
18211 (__memrchr): Don't use BP_SYM.
18212 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18213 <bp-sym.h> and <bp-asm.h>.
18214 (memset): Don't use BP_SYM.
18215 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18216 <bp-sym.h> and <bp-asm.h>.
18217 (__rawmemchr): Don't use BP_SYM.
18218 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18219 <bp-sym.h> and <bp-asm.h>.
18220 (__STRCMP): Don't use BP_SYM.
18221 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18222 <bp-sym.h> and <bp-asm.h>.
18223 (strchr): Don't use BP_SYM.
18224 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18225 <bp-sym.h> and <bp-asm.h>.
18226 (__strchrnul): Don't use BP_SYM.
18227 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18228 <bp-sym.h> and <bp-asm.h>.
18229 (strlen): Don't use BP_SYM.
18230 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18231 <bp-sym.h> and <bp-asm.h>.
18232 (strncmp): Don't use BP_SYM.
18233 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18234 <bp-sym.h> and <bp-asm.h>.
18235 (__strnlen): Don't use BP_SYM.
18236 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18238 (__mpn_rshift): Don't use BP_SYM.
18239 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18240 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18241 <bp-sym.h> and <bp-asm.h>.
18242 (__sigsetjmp): Don't use BP_SYM.
18243 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18244 (L(start_addresses)): Don't use BP_SYM.
18245 (_start): Likewise.
18246 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18248 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18249 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18250 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18251 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18253 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18254 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18255 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18256 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18258 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18260 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18261 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18263 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18265 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18266 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18267 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18269 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18271 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18273 (strncmp): Don't use BP_SYM,
18274 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18276 (__mpn_sub_n): Don't use BP_SYM.
18277 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18278 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18280 (__mpn_submul_1): Don't use BP_SYM.
18281 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18283 <bp-sym.h> and <bp-asm.h>.
18284 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18286 <bp-sym.h> and <bp-asm.h>.
18287 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18290 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18293 Use ZK to minimize writes to Z.
18294 (sub_magnitudes): Simplify code a bit.
18295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18296 Use ZK to minimize writes to Z.
18297 (sub_magnitudes): Simplify code a bit.
18299 2013-02-27 Roland McGrath <roland@hack.frob.com>
18301 * csu/gmon-start.c: Add special exception to license text.
18303 2013-02-27 Richard Henderson <rth@redhat.com>
18305 * scripts/config.guess: Update from config.git.
18306 * scripts/config.sub: Likewise.
18308 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18310 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18312 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18314 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18316 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18318 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18320 2013-02-26 Roland McGrath <roland@hack.frob.com>
18322 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18323 [$(build-shared = yes].
18325 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18327 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18328 (__mul): Reduce iterations for calculating mantissa.
18330 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18332 (__mpranred): Likewise.
18335 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18336 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18338 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18340 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18341 Define __attribute__.
18343 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18345 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18347 * posix/regex_internal.h (__attribute): Remove.
18348 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18349 (re_string_context_at): Likewise.
18350 (bitset_not): Use __attribute__ and mark function as possibly
18352 (bitset_merge): Likewise.
18353 (bitset_mask): Likewise.
18354 (re_string_char_size_at): Likewise.
18355 (re_string_wchar_at): Likewise.
18356 (re_string_elem_size_at): Likewise.
18358 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18360 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18364 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18368 (denorm): Likewise.
18369 (__dbl_mp): Likewise.
18370 (add_magnitudes): Likewise.
18371 (sub_magnitudes): Likewise.
18375 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18378 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18381 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18385 up changes with default code.
18386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18389 2013-02-24 Allan McRae <allan@archlinux.org>
18391 * manual/socket.texi (The Internet Namespace): Order menu items
18392 to match that in the file.
18394 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18395 node listing of the info page menu.
18397 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18400 * sysdeps/i386/bp-asm.h: Remove file.
18401 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18402 (PARMS): Do not use macros from bp-asm.h.
18406 (__mpn_add_n): Do not use BP_SYM
18407 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18409 (PARMS): Do not use macros from bp-asm.h.
18412 (__mpn_addmul_1): Do not use BP_SYM
18413 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18415 (PARMS): Do not use macros from bp-asm.h.
18416 (SIGMSK): Likewise.
18417 (_setjmp): Likewise. Do not use BP_SYM.
18418 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18420 (PARMS): Do not use macros from bp-asm.h.
18421 (SIGMSK): Likewise.
18422 (setjmp): Likewise. Do not use BP_SYM.
18423 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18425 (PARMS): Do not use macros from bp-asm.h.
18426 (__frexp): Do not use BP_SYM.
18428 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18430 (PARMS): Do not use macros from bp-asm.h.
18431 (__frexpf): Do not use BP_SYM.
18432 (frexpf): Likewise.
18433 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18435 (PARMS): Do not use macros from bp-asm.h.
18436 (__frexpl): Do not use BP_SYM.
18437 (frexpl): Likewise.
18438 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18440 (PARMS): Do not use macros from bp-asm.h.
18441 (__remquo): Do not use BP_SYM.
18442 (remquo): Likewise.
18443 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18445 (PARMS): Do not use macros from bp-asm.h.
18446 (__remquof): Do not use BP_SYM.
18447 (remquof): Likewise.
18448 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18450 (PARMS): Do not use macros from bp-asm.h.
18451 (__remquol): Do not use BP_SYM.
18452 (remquol): Likewise.
18453 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18455 (PARMS): Do not use macros from bp-asm.h.
18458 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18459 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18461 (PARMS): Do not use macros from bp-asm.h.
18462 (strlen): Do not use BP_SYM.
18463 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18465 (PARMS): Do not use macros from bp-asm.h.
18469 (__mpn_add_n): Do not use BP_SYM.
18470 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18472 (PARMS): Do not use macros from bp-asm.h.
18475 (__mpn_addmul_1): Do not use BP_SYM.
18476 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18479 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18481 (PARMS): Do not use macros from bp-asm.h.
18484 (__mpn_lshift): Do not use BP_SYM.
18485 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18487 (PARMS): Do not use macros from bp-asm.h.
18491 (memcpy): Likewise. Do not use BP_SYM.
18492 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18493 libc_hidden_def and weak_alias.
18494 (mempcpy): Do not use BP_SYM in weak_alias.
18495 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18497 (PARMS): Do not use macros from bp-asm.h.
18500 [!BZERO_P] (CHR): Likewise.
18501 (memset): Likewise. Do not use BP_SYM.
18502 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18504 (PARMS): Do not use macros from bp-asm.h.
18507 (__mpn_mul_1): Do not use BP_SYM.
18508 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18510 (PARMS): Do not use macros from bp-asm.h.
18513 (__mpn_rshift): Do not use BP_SYM.
18514 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18516 (PARMS): Do not use macros from bp-asm.h.
18519 (strchr): Likewise. Do not use BP_SYM.
18520 (index): Do not use BP_SYM in weak_alias.
18521 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18523 (PARMS): Do not use macros from bp-asm.h.
18526 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18527 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18529 (PARMS): Do not use macros from bp-asm.h.
18530 (strlen): Do not use BP_SYM.
18531 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18533 (PARMS): Do not use macros from bp-asm.h.
18537 (__mpn_sub_n): Do not use BP_SYM.
18538 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18540 (PARMS): Do not use macros from bp-asm.h.
18543 (__mpn_submul_1): Do not use BP_SYM.
18544 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18546 (PARMS): Do not use macros from bp-asm.h.
18550 (__mpn_add_n): Do not use BP_SYM.
18551 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18554 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18556 (PARMS): Do not use macros from bp-asm.h.
18559 (memcmp): Do not use BP_SYM.
18560 (bcmp): Do not use BP_SYM in weak_alias.
18561 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18563 (PARMS): Do not use macros from bp-asm.h.
18567 (memcpy): Likewise. Do not use BP_SYM.
18568 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18570 (PARMS): Do not use macros from bp-asm.h.
18574 (memmove): Likewise. Do not use BP_SYM.
18575 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18577 (PARMS): Do not use macros from bp-asm.h.
18581 (__mempcpy): Likewise. Do not use BP_SYM.
18582 (mempcpy): Do not use BP_SYM in weak_alias.
18583 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18585 (PARMS): Do not use macros from bp-asm.h.
18588 [!BZERO_P] (CHR): Likewise.
18589 (memset): Likewise. Do not use BP_SYM.
18590 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18592 (PARMS): Do not use macros from bp-asm.h.
18594 (strcmp): Do not use BP_SYM.
18595 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18597 (PARMS): Do not use macros from bp-asm.h.
18600 [USE_AS_STRTOK_R] (SAVE): Likewise.
18601 (FUNCTION): Likewise. Do not use BP_SYM.
18602 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18604 (strtok_r): Likewise.
18605 (__GI___strtok_r): Likewise.
18606 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18607 (PARMS): Do not use macros from bp-asm.h.
18610 (__mpn_lshift): Do not use BP_SYM.
18611 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18612 (PARMS): Do not use macros from bp-asm.h.
18615 (__memchr): Do not use BP_SYM.
18616 (memchr): Do not use BP_SYM in weak_alias.
18617 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18618 (PARMS): Do not use macros from bp-asm.h.
18621 (memcmp): Do not use BP_SYM.
18622 (bcmp): Do not use BP_SYM in weak_alias.
18623 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18624 (PARMS): Do not use macros from bp-asm.h.
18627 (__mpn_mul_1): Do not use BP_SYM.
18628 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18630 (PARMS): Do not use macros from bp-asm.h.
18633 (__rawmemchr): Do not use BP_SYM.
18634 (rawmemchr): Do not use BP_SYM in weak_alias.
18635 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18636 (PARMS): Do not use macros from bp-asm.h.
18639 (__mpn_rshift): Do not use BP_SYM.
18640 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18641 (PARMS): Do not use macros from bp-asm.h.
18642 (SIGMSK): Likewise.
18643 (__sigsetjmp): Likewise. Do not use BP_SYM.
18644 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18645 (_start): Do not use BP_SYM.
18646 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18647 (PARMS): Do not use macros from bp-asm.h.
18650 (__stpcpy): Likewise. Do not use BP_SYM.
18651 (stpcpy): Do not use BP_SYM in weak_alias.
18652 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18654 (PARMS): Do not use macros from bp-asm.h.
18658 (__stpncpy): Likewise. Do not use BP_SYM.
18659 (stpncpy): Do not use BP_SYM in weak_alias.
18660 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18661 (PARMS): Do not use macros from bp-asm.h.
18664 (strchr): Likewise. Do not use BP_SYM.
18665 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18667 (PARMS): Do not use macros from bp-asm.h.
18670 (__strchrnul): Likewise. Do not use BP_SYM.
18671 (strchrnul): Do not use BP_SYM in weak_alias.
18672 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18674 (PARMS): Do not use macros from bp-asm.h.
18676 (strcspn): Do not use BP_SYM.
18677 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18679 (PARMS): Do not use macros from bp-asm.h.
18682 (strpbrk): Likewise. Do not use BP_SYM.
18683 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18685 (PARMS): Do not use macros from bp-asm.h.
18688 (strrchr): Likewise. Do not use BP_SYM.
18689 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18690 (PARMS): Do not use macros from bp-asm.h.
18692 (strspn): Do not use BP_SYM.
18693 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18694 (PARMS): Do not use macros from bp-asm.h.
18698 (FUNCTION): Likewise. Do not use BP_SYM.
18699 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18701 (strtok_r): Likewise.
18702 (__GI___strtok_r): Likewise.
18703 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18704 (PARMS): Do not use macros from bp-asm.h.
18708 (__mpn_sub_n): Do not use BP_SYM.
18709 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18711 (PARMS): Do not use macros from bp-asm.h.
18714 (__mpn_submul_1): Do not use BP_SYM.
18715 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18717 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18719 (PARMS): Do not use macros from bp-asm.h.
18724 (__clone): Do not use BP_SYM.
18725 (clone): Do not use BP_SYM in weak_alias.
18726 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18728 (PARMS): Do not use macros from bp-asm.h.
18730 (__mmap64): Do not use BP_SYM.
18731 (mmap64): Do not use BP_SYM in weak_alias.
18732 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18733 <bp-sym.h> and <bp-asm.h>.
18734 (PARMS): Do not use macros from bp-asm.h.
18735 (__posix_fadvise64_l64): Do not use BP_SYM.
18736 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18737 (PARMS): Do not use macros from bp-asm.h.
18739 (semtimedop): Do not use BP_SYM.
18740 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18743 2013-02-21 Allan McRae <allan@archlinux.org>
18745 * manual/message.texi (Charset conversion in gettext):
18746 Move @end statement to beginning of line.
18748 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18755 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18756 (denorm): Likewise.
18757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18760 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18762 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18763 tail-call to the resolved function if pltexit isn't needed.
18765 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18768 or Y being zero as being unlikely.
18769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18772 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18774 * manual/nss.texi (System Databases and Name Service Switch):
18775 Remove frobnicate @pxref.
18777 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18779 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18780 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18782 2013-02-20 Petr Machata <pmachata@redhat.com>
18784 * elf/elf.h (R_ARM_TARGET1): New macro.
18785 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18786 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18787 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18788 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18789 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18790 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18791 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18792 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18793 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18794 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18795 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18796 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18797 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18798 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18799 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18800 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18801 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18802 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18803 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18804 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18805 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18806 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18807 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18808 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18809 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18810 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18811 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18812 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18813 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18814 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18815 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18816 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18817 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18818 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18819 (R_ARM_THM_GOT_BREL12): Likewise.
18820 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18821 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18822 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18823 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18824 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18825 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18826 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18827 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18828 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18830 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18832 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18833 __attribute_used__ to __attribute__ ((unused)).
18835 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18837 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18840 comment formatting.
18841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18843 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18846 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18848 (ENTER): Remove both macro definitions.
18850 (CHECK_BOUNDS_LOW): Likewise.
18851 (CHECK_BOUNDS_HIGH): Likewise.
18852 (CHECK_BOUNDS_BOTH): Likewise.
18853 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18854 (RETURN_BOUNDED_POINTER): Likewise.
18855 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18856 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18857 (POP_ERRNO_LOCATION_RETURN): Likewise.
18858 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18859 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18860 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18862 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18863 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18864 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18865 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18866 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18867 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18868 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18869 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18870 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18871 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18872 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18873 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18874 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18875 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18877 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18878 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18880 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18881 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18882 * sysdeps/i386/i586/memset.S (memset): Likewise.
18883 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18884 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18885 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18887 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18888 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18889 Change uses of L(2) to L(out).
18890 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18891 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18892 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18893 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18894 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18896 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18897 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18899 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18900 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18901 (RETURN): Do not use macro LEAVE.
18902 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18903 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18904 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18905 * sysdeps/i386/i686/memset.S (memset): Likewise.
18906 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18907 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18908 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18909 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18911 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18912 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18913 L(1_2) and L(1_3) into L(1).
18914 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18915 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18916 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18917 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18918 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18919 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18920 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18921 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18922 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18924 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18925 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18926 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18927 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18928 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18929 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18930 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18931 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18932 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18933 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18934 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18935 * sysdeps/i386/strspn.S (strspn): Likewise.
18936 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18938 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18939 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18940 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18941 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18942 L(1_3) into L(1_1).
18943 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18944 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18945 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18947 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18949 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18951 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18954 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18956 * math/atest-exp.c (exp_mpn): Remove ROUND.
18957 * math/atest-exp2.c (exp_mpn): Likewise.
18958 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18960 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18961 * stdlib/tst-tls-atexit-lib.c: Likewise.
18962 * stdlib/tst-tls-atexit.c: Likewise.
18964 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18966 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18967 and __attribute_alloc_size__.
18969 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18971 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18972 __attribute_alloc_size__.
18973 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18974 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18976 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18978 * include/programs/xmalloc.h: New file.
18979 * catgets/gencat.c: Include it.
18980 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18981 * elf/pldd.c: Likewise.
18982 * iconv/iconv_charmap.c: Likewise.
18983 * iconv/iconvconfig.c: Likewise.
18984 * iconv/strtab.c: Likewise.
18985 * locale/programs/locale.c: Likewise.
18986 * locale/programs/localedef.h: Likewise.
18987 * locale/programs/simple-hash.c: Likewise.
18988 * nscd/nscd.h: Likewise.
18989 * nss/makedb.c: Likewise.
18990 * sysdeps/generic/ldconfig.h: Likewise.
18992 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18994 * Versions.def: Add GLIBC_2.18.
18995 * include/link.h (struct link_map): New member l_tls_dtor_count.
18996 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18997 (__call_tls_dtors): Likewise.
18998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18999 __cxa_thread_atexit_impl.
19000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19008 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19016 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19017 (tests): Add test case tst-tls-atexit.
19018 (modules-names): Add shared library for tst-tls-atexit.
19019 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19020 (GLIBC_PRIVATE): Add __call_tls_dtors.
19021 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19023 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19024 * stdlib/tst-tls-atexit.c: New test case.
19025 * stdlib/tst-tls-atexit-lib.c: New test case.
19027 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19029 * elf/Versions (ld): Add _dl_find_dso_for_object.
19030 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19031 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19032 (dl_open_worker): Use _dl_find_dso_for_object.
19033 * elf/dl-sym.c (do_sym): Likewise.
19034 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19036 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19038 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19039 Syntactic changes only.
19040 (_dl_runtime_profile): Do a tail-call to the resolved function.
19042 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19045 * sysdeps/x86_64/bp-asm.h: Remove file.
19046 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19047 <bp-sym.h> and <bp-asm.h>.
19048 (__clone): Do not use BP_SYM.
19049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19050 <bp-sym.h> and <bp-asm.h>.
19051 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19052 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19054 (_setjmp): Do not use BP_SYM.
19055 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19057 (setjmp): Do not use BP_SYM.
19058 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19060 (mempcpy): Do not use BP_SYM in weak_alias.
19061 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19063 (strchr): Do not use BP_SYM.
19064 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19066 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19067 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19068 (_start): Do not use BP_SYM.
19069 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19071 (strcat): Do not use BP_SYM.
19072 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19074 (STRCMP): Do not use BP_SYM.
19075 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19077 (STRCPY): Do not use BP_SYM.
19078 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19080 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19082 (FUNCTION): Do not use BP_SYM.
19083 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19085 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19087 2013-02-17 Andreas Jaeger <aj@suse.de>
19089 * time/Versions: Sort entries.
19090 * string/Versions: Likewise.
19091 * resolv/Versions: Likewise.
19092 * posix/Versions: Likewise.
19093 * iconv/Versions: Likewise.
19094 * elf/Versions: Likewise.
19095 * wcsmbs/Versions: Likewise.
19097 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19099 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19100 loop termination condition.
19102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19103 variable to calculate EZ.
19106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19107 the lower precision input.
19109 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19112 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19113 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19114 (run-via-rtld-prefix): Do not handle %-bp tests.
19115 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19116 (all-object-suffixes): Remove .ob.
19117 (bppfx): Remove variable.
19118 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19119 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19120 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19121 [$(build-bounded) = yes] (libtype.ob): Likewise.
19122 * Makerules (elide-routines.ob): Remove variable.
19123 (do-tests-clean): Do not handle *-bp.out.
19124 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19125 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19126 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19127 (tests): Do not include $(tests-bp.out).
19128 (xtests): Do not include $(xtests-bp.out).
19129 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19130 [$(build-bounded) = yes] ($(addprefix
19131 $(objpfx),$(binaries-bounded))): Remove rule.
19132 ($(objpfx)%-bp.out): Remove rule.
19133 * config.make.in (build-bounded): Remove variable.
19134 * crypt/Makefile [$(build-bounded) = yes]
19135 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19136 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19137 append to variable.
19138 [$(build-bounded) = yes] (install-lib): Likewise.
19139 [$(build-bounded) = yes] (generated): Likewise.
19140 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19142 * intl/Makefile [$(build-bounded) = yes]
19143 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19144 * math/Makefile [$(build-bounded) = yes]
19145 ($(tests:%=$(objpfx)%-bp): Likewise.
19146 * misc/Makefile [$(build-bounded) = yes]
19147 ($(objpfx)tst-tsearch-bp): Likewise.
19148 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19149 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19151 * string/Makefile (o-objects.ob): Remove variable.
19152 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19153 (CFLAGS-.ob): Remove variable.
19154 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19155 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19156 both definitions of variable.
19157 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19158 (ASFLAGS-.ob): Remove variable.
19160 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19163 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19164 Remove __BOUNDED_POINTERS__ from condition.
19165 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19166 * string/bits/string2.h [!__NO_STRING_INLINES &&
19167 !__BOUNDED_POINTERS__]: Likewise.
19168 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19170 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19171 Remove conditional code.
19172 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19173 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19174 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19178 * csu/libc-start.c: Do not include <bp-sym.h>.
19179 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19180 * elf/dl-open.c: Do not include <bp-sym.h>.
19181 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19182 * math/fegetenv.c: Do not include <bp-sym.h>.
19183 (fegetenv): Do not use BP_SYM in versioned symbols.
19184 * nptl/sysdeps/pthread/bits/libc-lockP.h
19185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19188 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19190 (__pthread_mutex_destroy): Likewise.
19191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19192 (__pthread_mutex_lock): Likewise.
19193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19194 (__pthread_mutex_trylock): Likewise.
19195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19196 (__pthread_mutex_unlock): Likewise.
19197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19198 (__pthread_mutexattr_init): Likewise.
19199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19200 (__pthread_mutexattr_destroy): Likewise.
19201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19202 (__pthread_mutexattr_settype): Likewise.
19203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19204 (__pthread_rwlock_init): Likewise.
19205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19206 (__pthread_rwlock_destroy): Likewise.
19207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19208 (__pthread_rwlock_rdlock): Likewise.
19209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19210 (__pthread_rwlock_tryrdlock): Likewise.
19211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19212 (__pthread_rwlock_wrlock): Likewise.
19213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19214 (__pthread_rwlock_trywrlock): Likewise.
19215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19216 (__pthread_rwlock_unlock): Likewise.
19217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19218 (__pthread_key_create): Likewise.
19219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19220 (__pthread_setspecific): Likewise.
19221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19222 (__pthread_getspecific): Likewise.
19223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19226 (_pthread_cleanup_push_defer): Likewise.
19227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19228 (_pthread_cleanup_pop_restore): Likewise.
19229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19230 (pthread_setcancelstate): Likewise.
19231 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19233 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19234 (memchr): Do not use BP_SYM in weak_alias.
19235 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19236 (fegetenv): Do not use BP_SYM in versioned symbols.
19237 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19238 (fesetenv): Do not use BP_SYM in versioned symbols.
19239 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19240 (feupdateenv): Do not use BP_SYM in versioned symbols.
19241 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19242 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19243 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19244 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19245 (open64): Do not use BP_SYM in weak_alias.
19246 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19247 (fegetenv): Do not use BP_SYM in versioned symbols.
19248 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19249 (fesetenv): Do not use BP_SYM in versioned symbols.
19250 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19251 (feupdateenv): Do not use BP_SYM in versioned symbols.
19252 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19253 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19254 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19255 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19256 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19257 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19258 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19260 (__libc_start_main): Do not use BP_SYM.
19262 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19265 redundant return line.
19267 (denorm): Likewise.
19268 (dbl_mp): Likewise.
19269 (sub_magnitudes): Likewise.
19275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19277 (denorm): Likewise.
19278 (dbl_mp): Likewise.
19279 (sub_magnitudes): Likewise.
19286 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19288 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19289 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19292 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19293 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19295 of __mul for squares.
19296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19300 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19301 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19303 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19306 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19308 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19309 prototype or function definition. Rename ubp_* variables and
19310 parameters. Remove argv definitions conditional on
19311 [__BOUNDED_POINTERS__].
19312 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19313 * elf/dl-runtime.c (_dl_fixup): Likewise.
19314 * include/set-hooks.h (RUN_HOOK): Likewise.
19315 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19317 * string/strcpy.c (strcpy): Do not use __unbounded.
19318 * sysdeps/generic/frame.h (struct layout): Likewise.
19319 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19320 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19321 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19322 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19323 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19324 (__backtrace): Likewise.
19325 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19327 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19328 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19329 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19331 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19332 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19333 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19334 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19335 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19336 Do not use __unbounded.
19337 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19338 Rename __unboundedrlimits parameter to rlimits in prototype.
19339 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19340 Do not use __unbounded.
19341 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19342 not use __ptrvalue.
19343 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19344 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19345 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19346 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19347 __ptrvalue or __unbounded.
19348 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19349 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19351 (__new_msgctl): Do not use __ptrvalue.
19352 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19354 (__libc_msgrcv): Do not use __ptrvalue.
19355 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19356 startup_info): Do not use __unbounded.
19357 (__libc_start_main): Likewise. Rename ubp_* variables and
19358 parameters. Remove argv definitions conditional on
19359 [__BOUNDED_POINTERS__].
19360 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19362 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19364 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19366 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19368 (__new_shmctl): Do not use __ptrvalue.
19369 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19370 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19372 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19373 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19374 (__libc_sigaction): Likewise.
19375 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19376 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19378 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19380 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19382 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19384 * string/mempcpy.c: Implement by calling memcpy.
19386 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19388 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19393 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19394 values in the mantissa.
19396 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19397 minimize writes to Z.
19398 (sub_magnitudes): Simplify code a bit.
19400 2013-02-12 Roland McGrath <roland@hack.frob.com>
19402 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19403 from the message. The linker prefixes all warnings with that already.
19405 2013-02-12 Andreas Schwab <schwab@suse.de>
19408 * posix/regexec.c (extend_buffers): Add parameter min_len.
19409 (check_matching): Pass minimum needed length.
19410 (clean_state_log_if_needed): Likewise.
19411 (get_subexp): Likewise.
19412 * posix/Makefile (tests): Add bug-regex34.
19413 (bug-regex34-ENV): Define.
19414 * posix/bug-regex34.c: New file.
19417 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19418 elements compare against the byte sequence of it, not its name.
19419 * posix/Makefile (tests): Add bug-regex35.
19420 (bug-regex35-ENV): Define.
19421 * posix/bug-regex35.c: New file.
19423 2013-02-11 Tom de Vries <tom@codesourcery.com>
19425 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19427 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19428 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19429 (CHECK_EOL): Add undef.
19431 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19433 * bits/stdlib-bsearch.h: New file.
19434 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19435 * stdlib/stdlib.h: Likewise.
19437 2013-02-11 Roland McGrath <roland@hack.frob.com>
19439 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19440 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19442 * manual/search.texi (Array Search Function): Add missing const in
19444 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19445 declaration to use rlim_t.
19446 (Basic Scheduling Functions): Remove erroneous const from
19447 sched_getparam prototype. Remove erroneous * from
19448 sched_get_priority_max and sched_get_priority_min prototypes.
19449 (Resource Usage): Fix summary @comment on vtimes to refer to
19450 sys/vtimes.h rather than vtimes.h.
19451 Add missing *s in vtimes prototype.
19452 (Limits on Resources): Fix ulimit prototype to return long int.
19453 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19454 prototypes to use long int rather than double.
19455 (BSD Random): Fix initstate and setstate to use char *, not void *.
19456 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19457 prototype to make second argument 'struct aiocb64 *const[]'.
19458 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19459 (Status of AIO Operations): Remove erroneous const in aio_return and
19460 aio_return64 prototypes.
19461 (Synchronizing I/O): Fix sync prototype to return void.
19462 * manual/startup.texi (Suboptions): Remove an erroneous const in
19463 getsubopt prototype.
19464 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19465 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19466 use size_t rather than int.
19467 (Scanning All Users): Likewise for getpwent_r.
19468 (Setting Groups): Add missing const to setgroups prototype.
19469 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19470 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19471 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19472 'const void *' rather than 'const char *'.
19473 (Host Address Functions): Likewise for inet_ntop.
19474 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19475 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19476 ssize_t for return value.
19477 (Sending Data): Likewise for send, sendto, sendmsg.
19478 (Socket Option Functions): Add a missing const in setsockopt prototype.
19479 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19480 use wchar_t for the argument.
19481 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19482 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19484 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19485 double/float/long double for second argument.
19486 Fix return types of significand, significandf, significandl.
19487 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19488 argument in fchmod prototype.
19489 (File Owner): Use uid_t and gid_t in fchown prototype.
19490 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19491 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19492 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19493 use 'const struct dirent **' as argument types to CMP function pointer
19495 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19496 (File Times): Fix summary magic @comment for struct utimbuf and utime
19497 to refer to utime.h, not time.h.
19498 * manual/string.texi (Argz Functions): Add missing const in
19499 argz_extract and argz_next prototypes.
19500 (Finding Tokens in a String): Likewise for basename.
19501 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19502 (Copying and Concatenation): Fix typo in wmemmove prototype.
19503 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19504 (Signal Stack): Remove erroneous const in sigstack prototype.
19505 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19507 (Simple Calendar Time): Likewise for stime.
19508 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19510 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19511 say sys/sysctl.h instead.
19512 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19513 and vsyslog prototypes.
19515 2013-02-11 Tom de Vries <tom@codesourcery.com>
19517 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19520 2013-02-11 Roland McGrath <roland@hack.frob.com>
19522 * misc/sys/mman.h: Fix typo in mremap comment.
19524 2013-02-08 Roland McGrath <roland@hack.frob.com>
19526 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19527 the '\0' terminator.
19529 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19532 * debug/segfault.c: Don't include <bp-checks.h>.
19533 * sysdeps/generic/bp-checks.h: Remove file.
19534 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19535 (__GETDENTS): Don't use CHECK_N.
19536 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19537 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19538 (__getgroups): Don't use CHECK_N.
19539 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19540 (setgroups): Don't use CHECK_N.
19541 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19542 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19543 (__libc_msgrcv): Don't use CHECK_N.
19544 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19545 (__libc_msgsnd): Don't use CHECK_N.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19548 (__libc_pread): Don't use CHECK_N.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19550 include <bp-checks.h>.
19551 (__libc_pread64): Don't use CHECK_N.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19553 include <bp-checks.h>.
19554 (__libc_pwrite): Don't use CHECK_N.
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19556 include <bp-checks.h>.
19557 (__libc_pwrite64): Don't use CHECK_N.
19558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19560 (__libc_pread): Don't use CHECK_N.
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19562 include <bp-checks.h>.
19563 (__libc_pread64): Don't use CHECK_N.
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19565 include <bp-checks.h>.
19566 (__libc_pwrite): Don't use CHECK_N.
19567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19568 include <bp-checks.h>.
19569 (__libc_pwrite64): Don't use CHECK_N.
19570 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19571 (do_pread): Don't use CHECK_N.
19572 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19573 (do_pread64): Don't use CHECK_N.
19574 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19575 (do_pwrite): Don't use CHECK_N.
19576 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19577 (do_pwrite64): Don't use CHECK_N.
19578 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19579 (__libc_readv): Don't use CHECK_N.
19580 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19581 (semop): Don't use CHECK_N.
19582 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19584 (semtimedop): Don't use CHECK_N.
19585 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19586 (__libc_pread): Don't use CHECK_N.
19587 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19589 (__libc_pread64): Don't use CHECK_N.
19590 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19592 (__libc_pwrite): Don't use CHECK_N.
19593 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19595 (__libc_pwrite64): Don't use CHECK_N.
19596 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19598 (__libc_msgrcv): Don't use CHECK_N.
19599 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19600 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19601 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19602 (__libc_writev): Don't use CHECK_N.
19604 2013-02-08 Roland McGrath <roland@hack.frob.com>
19606 * string/strcpy.c: Removed unused variable.
19608 * Makeconfig (+sysdep-includes): Define with := rather than =.
19609 Use an existing include/ subdir of each sysdeps dir before it.
19611 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19613 * nscd/connection.c (register_traced_file): Comment function.
19614 [HAVE_INOTIFY] (union __inev): Define.
19615 [HAVE_INOTIFY] (inotify_check_files): New function.
19616 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19617 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19619 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19621 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19623 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19624 loaded if not already and that a failure is permanent.
19626 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19629 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19630 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19632 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19635 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19636 (CHECK_1_NULL_OK): Likewise.
19637 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19638 (__fxstat): Do not use CHECK_1.
19639 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19641 (___fxstat64): Do not use CHECK_1.
19642 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19644 (__fxstatat): Do not use CHECK_1.
19645 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19647 (__fxstatat64): Do not use CHECK_1.
19648 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19650 (__fxstat): Do not use CHECK_1.
19651 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19653 (__fxstatat): Do not use CHECK_1.
19654 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19656 (__getresgid): Do not use CHECK_1.
19657 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19659 (__getresuid): Do not use CHECK_1.
19660 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19662 (__lxstat): Do not use CHECK_1.
19663 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19665 (__old_msgctl): Do not use CHECK_1.
19666 (__new_msgctl): Likewise.
19667 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19669 (__new_setrlimit): Do not use CHECK_1.
19670 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19672 (__old_shmctl): Do not use CHECK_1.
19673 (__new_shmctl): Likewise.
19674 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19676 (__xstat): Do not use CHECK_1.
19677 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19678 (__lxstat): Do not use CHECK_1.
19679 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19681 (___lxstat64): Do not use CHECK_1.
19682 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19683 (__old_msgctl): Do not use CHECK_1.
19684 (__new_msgctl): Likewise.
19685 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19687 (__gettimeofday): Do not use CHECK_1.
19688 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19689 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19690 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19692 (__gettimeofday): Do not use CHECK_1.
19693 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19694 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19695 (__new_shmctl): Do not use CHECK_1.
19696 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19698 (do_sigtimedwait): Do not use CHECK_1.
19699 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19701 (do_sigwaitinfo): Do not use CHECK_1.
19702 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19704 (msgctl): Do not use CHECK_1.
19705 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19707 (shmctl): Do not use CHECK_1.
19708 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19709 (ustat): Do not use CHECK_1.
19710 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19712 (__fxstat): Do not use CHECK_1.
19713 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19715 (__fxstatat): Do not use CHECK_1.
19716 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19718 (__lxstat): Do not use CHECK_1.
19719 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19721 (__xstat): Do not use CHECK_1.
19722 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19723 (__xstat): Do not use CHECK_1.
19724 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19725 (___xstat64): Do not use CHECK_1.
19728 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19730 (CHECK_BOUNDS_HIGH): Likewise.
19731 * string/strcpy.c: Do not include <bp-checks.h>.
19732 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19734 2013-02-07 Roland McGrath <roland@hack.frob.com>
19736 * nscd/nscd-client.h (__nscd_drop_map_ref):
19737 Add __attribute__ ((unused)).
19738 * nis/nss-nisplus.h (niserr2nss): Likewise.
19740 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19741 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19743 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19744 Remove inline keyword.
19745 * include/rounding-mode.h (round_away): Likewise.
19746 * libio/wfileops.c (adjust_wide_data): Likewise.
19747 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19748 (__m128i_strloadu_tolower): Likewise.
19749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19750 (__m128i_strloadu_tolower): Likewise.
19751 * time/mktime.c (ydhms_diff): Likewise.
19752 * locale/elem-hash.h (elem_hash): Likewise.
19753 * locale/setlocale.c (setdata): Likewise.
19754 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19755 (re_string_wchar_at): Likewise.
19756 (bitset_not, bitset_merge, bitset_mask): Likewise.
19757 [!(__GNUC__ > 3)] (inline): Remove macro.
19758 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19759 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19760 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19761 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19762 * string/memcmp.c (memcmp_bytes): Likewise.
19763 * locale/programs/locarchive.c (compute_hashval): Likewise.
19764 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19765 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19766 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19767 * nss/getent.c (print_rpc, print_protocols): Likewise.
19768 (print_passwd, print_group, print_aliases): Likewise.
19769 * nis/nss-nisplus.h (niserr2nss): Likewise.
19770 * nscd/connections.c (restart_p): Likewise.
19771 Change return type to bool.
19773 2013-02-05 Roland McGrath <roland@hack.frob.com>
19775 * Makeconfig (all-Depend-files): Add existing
19776 $(sorted-subdirs:=/Depend) files.
19777 (all-subdirs): Remove nss.
19778 * sysdeps/unix/inet/Subdirs: Add it here instead.
19779 * hesiod/Depend: New file.
19781 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19782 instead of calling alloca.
19784 * io/lseek.c (__lseek): Rename to __libc_lseek.
19785 Define __lseek as an alias.
19787 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19789 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19791 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19792 else clause and remove check for non-standard endianness.
19794 2013-02-04 David S. Miller <davem@davemloft.net>
19796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19798 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19801 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19802 (__ubp_memchr): Remove prototype.
19803 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19804 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19805 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19806 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19807 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19809 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19810 (__ubp_memchr): Likewise.
19811 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19812 (__ubp_memchr): Likewise.
19813 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19814 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19815 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19816 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19818 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19819 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19820 (__getcwd): Do not use CHECK_STRING.
19821 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19823 (__real_chown): Do not use CHECK_STRING.
19824 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19826 (fchownat): Do not use CHECK_STRING.
19827 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19829 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19831 (__lchown): Do not use CHECK_STRING.
19832 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19833 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19834 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19835 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19837 include <bp-checks.h>.
19838 (truncate64): Do not use CHECK_STRING.
19839 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19841 (__real_chown): Do not use CHECK_STRING.
19842 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19844 (__lchown): Do not use CHECK_STRING.
19845 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19847 (__chown): Do not use CHECK_STRING.
19848 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19850 (truncate64): Do not use CHECK_STRING.
19851 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19853 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19854 (__xmknod): Do not use CHECK_STRING.
19855 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19857 (__xmknodat): Do not use CHECK_STRING.
19858 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19859 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19861 2013-02-04 Andreas Schwab <schwab@suse.de>
19864 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19865 * include/netdb.h: Likewise for h_errno.
19866 * elf/tst-stackguard1.c: Include <tls.h>.
19868 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19870 * elf/link.h (struct link_map): Extend the l_addr comment.
19871 * include/link.h (struct link_map): Likewise.
19873 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19876 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19877 (BOUNDED_1): Remove macro.
19878 * debug/backtrace.c: Don't include <bp-checks.h>.
19879 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19880 (__backtrace): Likewise.
19881 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19883 (__backtrace): Don't use BOUNDED_1.
19884 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19886 (__backtrace): Don't use BOUNDED_1.
19887 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19888 (__backtrace): Don't use BOUNDED_1.
19889 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19890 (shmat): Don't use BOUNDED_N.
19892 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19895 * sysdeps/generic/bp-start.h: Remove file.
19896 * csu/libc-start.c: Don't include <bp-start.h>.
19897 (LIBC_START_MAIN): Set up __environ directly instead of using
19898 INIT_ARGV_and_ENVIRON.
19899 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19903 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19905 (CHECK_FCNTL): Likewise.
19906 (CHECK_N_PAGES): Likewise.
19909 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19911 (CHECK_SIGSET_NULL_OK): Likewise.
19912 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19914 (sigpending): Don't use CHECK_SIGSET.
19915 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19917 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19918 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19920 (do_sigsuspend): Don't use CHECK_SIGSET.
19921 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19923 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19924 (do_sigwait): Don't use CHECK_SIGSET.
19925 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19927 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19928 include <bp-checks.h>.
19929 (sigpending): Don't use CHECK_SIGSET.
19930 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19931 include <bp-checks.h>.
19932 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19933 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19935 (sigpending): Don't use CHECK_SIGSET.
19936 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19938 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19941 * sysdeps/generic/bp-semctl.h: Remove file.
19942 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19943 <bp-checks.h> and <bp-semctl.h>.
19944 (__old_semctl): Don't use CHECK_SEMCTL.
19945 (__new_semctl): Likewise.
19946 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19948 (__old_semctl): Don't use CHECK_SEMCTL.
19949 (__new_semctl): Likewise.
19950 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19951 <bp-checks.h> and <bp-semctl.h>.
19952 (__old_semctl): Don't use CHECK_SEMCTL.
19953 (__new_semctl): Likewise.
19954 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19955 <bp-checks.h> and <bp-semctl.h>.
19956 (semctl): Don't use CHECK_SEMCTL.
19959 * Makerules (elide-bp-thunks): Remove variable.
19960 (elide-routines.oS): Don't use $(elide-bp-thunks).
19961 (elide-routines.os): Likewise.
19962 (elide-routines.o): Likewise.
19963 (elide-routines.op): Likewise.
19964 (elide-routines.og): Likewise.
19965 (objects): Don't use $(bp-thunks).
19966 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19968 (common-generated): Do not add s-proto-bp.d.
19969 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19972 Do not generate makefile rules for bounded-pointer thunks.
19973 * sysdeps/generic/bp-thunks.h: Remove file.
19974 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19975 * sysdeps/unix/s-proto-bp.S: Likewise.
19978 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19979 parts of result separately when argument is not close to line from
19980 -i to i and one part of argument is small.
19981 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19982 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19983 * math/libm-test.inc (cacos_test): Add more tests.
19984 (casin_test): Likewise.
19985 (casinh_test): Likewise.
19986 * sysdeps/i386/fpu/libm-test-ulps: Update.
19987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19989 2013-01-31 David S. Miller <davem@davemloft.net>
19991 * po/de.po: Update from translation team.
19993 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19995 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19997 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19999 * configure.in (_AC_PROG_CC_C89): New definition.
20000 * configure: Regenerate.
20002 * configure.in (AC_PROG_CPP): New definition.
20003 * configure: Regenerate.
20005 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20007 * debug/tst-backtrace.h: New file.
20008 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20009 (ret): Remove variable.
20011 (FAIL): Remove macro.
20012 (NO_INLINE): Likewise.
20013 (fn1): Use match function instead of strstr.
20014 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20015 (ret): Remove variable.
20017 (FAIL): Remove macro.
20018 (NO_INLINE): Likewise.
20019 (fn): Use match function instead of strstr.
20020 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20021 (ret): Remove variable.
20023 (FAIL): Remove macro.
20024 (NO_INLINE): Likewise.
20025 (handle_signal): Use match function instead of strstr.
20026 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20027 (ret): Remove variable.
20029 (FAIL): Remove macro.
20030 (NO_INLINE): Likewise.
20031 (handle_signal): Use match function instead of strstr.
20033 2013-01-23 Roland McGrath <roland@hack.frob.com>
20035 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20037 2013-01-23 David S. Miller <davem@davemloft.net>
20039 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20040 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20041 argument of CAS if possible.
20042 * sysdeps/sparc/sparc64/bits/atomic.h
20043 (__arch_compare_and_exchange_val_32_acq): Likewise.
20044 (__arch_compare_and_exchange_val_64_acq): Likewise.
20046 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20048 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20049 * sysdeps/posix/ulimit.c: ... this.
20050 Include <limits.h>.
20051 * sysdeps/unix/bsd/ulimit.c: Remove file.
20053 2013-01-23 Adam Conrad <adconrad@0c3.net>
20055 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20056 (LDFLAGS-tst-array5): Likewise.
20058 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20061 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20062 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20063 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20064 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20066 2013-01-21 David S. Miller <davem@davemloft.net>
20068 * sysdeps/sparc/backtrace.c: New file.
20069 * sysdeps/sparc/sparc32/backtrace.h: New file.
20070 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20071 * sysdeps/sparc/sparc64/backtrace.h: New file.
20072 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20073 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20076 2013-01-21 Andreas Schwab <schwab@suse.de>
20079 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20082 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20088 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20089 Mark Mitchell <mark@codesourcery.com>
20090 Tom de Vries <tom@codesourcery.com>
20091 Paul Pluzhnikov <ppluzhnikov@google.com>
20093 * debug/tst-backtrace2.c: New file.
20094 * debug/tst-backtrace3.c: Likewise.
20095 * debug/tst-backtrace4.c: Likewise.
20096 * debug/tst-backtrace5.c: Likewise.
20097 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20098 (CFLAGS-tst-backtrace3.c): Likewise.
20099 (CFLAGS-tst-backtrace4.c): Likewise.
20100 (CFLAGS-tst-backtrace5.c): Likewise.
20101 (LDFLAGS-tst-backtrace2): Likewise.
20102 (LDFLAGS-tst-backtrace3): Likewise.
20103 (LDFLAGS-tst-backtrace4): Likewise.
20104 (LDFLAGS-tst-backtrace5): Likewise.
20105 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20106 tst-backtrace4 and tst-backtrace5.
20108 2013-01-18 Anton Blanchard <anton@samba.org>
20109 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20111 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20112 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20113 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20114 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20116 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20117 "+r" and remove output regs list as redundant. Add explicit inline
20118 asm to specify register of return val to work around compiler codegen
20119 bug. Remove (int) cast on return value. Add return type parameter to
20120 use in macro so that this macro does not truncate return value for
20122 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20123 pass to INTERNAL_VSYSCALL_NCS.
20124 (INLINE_VSYSCALL): Add 'long int' as return type to
20125 INTERNAL_VSYSCALL_NCS macro invocation.
20126 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20127 INTERNAL_VSYSCALL_NCS macro invocation.
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20130 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20133 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20134 Fix application of SIMD FP exception mask.
20136 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20137 mp_no from a power of two.
20138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20139 __mpexp_twomm1. Use __pow_mp.
20141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20144 2013-01-17 David S. Miller <davem@davemloft.net>
20146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20148 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20151 * include/complex.h: Condition contents on [!_COMPLEX_H].
20152 (__kernel_casinhf): New prototype.
20153 (__kernel_casinh): Likewise.
20154 (__kernel_casinhl): Likewise.
20155 * math/Makefile (libm_calls): Add k_casinh.
20156 * math/k_casinh.c: New file.
20157 * math/k_casinhf.c: Likewise.
20158 * math/k_casinhl.c: Likewise.
20159 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20160 finite nonzero arguments.
20161 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20162 finite nonzero arguments.
20163 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20164 finite nonzero arguments.
20165 * math/s_casinh.c: Do not include <float.h>.
20166 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20167 * math/s_casinhf.c: Do not include <float.h>.
20168 (__casinhf): Move code for finite nonzero arguments to
20170 * math/s_casinhl.c: Do not include <float.h>.
20171 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20173 (__casinhl): Move code for finite nonzero arguments to
20175 * math/libm-test.inc (cacos_test): Add more tests.
20176 * sysdeps/i386/fpu/libm-test-ulps: Update.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20179 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20181 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20182 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20183 [!HAVE_MREMAP]: Remove [defined linux] case.
20184 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20186 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20188 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20190 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20192 * elf/elf.h (R_386_SIZE32): New relocation.
20193 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20195 (elf_machine_rela): Likewise.
20196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20197 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20199 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20201 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20202 (FP_FAST_FMA): Do not define.
20203 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20204 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20205 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20206 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20207 !_SOFT_FLOAT]: Likewise.
20208 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20209 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20211 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20212 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20213 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20214 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20215 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20216 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20219 2013-01-16 Andreas Schwab <schwab@suse.de>
20222 * include/stdlib.h (__mktemp): Add declaration.
20223 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20224 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20226 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20228 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20230 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20231 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20232 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20234 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20235 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20237 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20239 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20240 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20241 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20243 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20244 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20246 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20248 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20250 2013-01-15 David S. Miller <davem@davemloft.net>
20252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20253 trunc{,f} to libm-sysdep_routes.
20254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20264 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20265 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20266 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20267 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20268 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20269 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20272 nearbyint{,f} to libm-sysdep_routes.
20273 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20284 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20286 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20287 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20289 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20290 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20291 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20293 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20294 libc_feholdexcept and libc_fesetenv.
20296 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20298 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20300 2013-01-14 David S. Miller <davem@davemloft.net>
20302 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20303 (SPARC_ASM_VIS2_IFUNC): Likewise.
20304 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20306 use of 'siam' instruction.
20307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20340 routines to libm-sysdep_routines.
20341 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20344 fdim/fdimf to libm-sysdep_routines.
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20353 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20354 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20355 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20356 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20358 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20360 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20361 to optimize copies.
20363 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20368 local variable MPTWO.
20369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20372 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20374 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20377 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20379 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20381 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20383 * manual/pattern.texi (glob_t): Document gl_flags.
20384 (glob64_t): Likewise.
20386 2013-01-11 David S. Miller <davem@davemloft.net>
20388 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20389 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20390 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20391 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20392 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20393 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20394 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20395 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20396 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20397 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20398 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20399 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20400 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20402 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20403 sparc V9 rather than using V8 code.
20404 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20405 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20407 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20409 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20412 2013-01-11 Roland McGrath <roland@hack.frob.com>
20414 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20415 not in the main loop.
20416 * configure: Regenerated.
20418 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20420 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20421 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20423 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20424 [!__GLIBC_HAVE_LONG_LONG] case.
20425 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20426 condition to just #else.
20427 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20428 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20429 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20430 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20432 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20433 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20434 #elif condition to just #else.
20435 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20436 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20437 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20438 #elif condition to just #else.
20440 2013-01-11 Steve Ellcey <sellcey@mips.com>
20442 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20443 (EF_MIPS_ARCH_64): Fix value.
20444 (EF_MIPS_ARCH_32R2): New.
20445 (EF_MIPS_ARCH_64R2): New.
20447 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20449 * Makeconfig (+link-pie-before-libc): New.
20450 (+link-pie-after-libc): Likewise.
20451 (+link-pie-tests): Likewise.
20452 (+link-pie): Rewritten.
20453 (link-before-libc): Remove $(config-LDFLAGS).
20454 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20455 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20456 (config-LDFLAGS): Renamed to ...
20457 (rtld-LDFLAGS): This.
20458 (rtld-tests-LDFLAGS): New macro.
20459 (link-libc-rpath-link): Likewise.
20460 (link-libc-tests-rpath-link): Likewise.
20461 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20462 (link-libc): Prepand $(link-libc-rpath-link).
20463 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20464 (test-program-prefix): New macro.
20465 (test-via-rtld-prefix): Likewise.
20466 (test-program-cmd): Likewise.
20467 (host-test-program-cmd): Likewise.
20468 * Makefile ($(common-objpfx)testrun.sh): Replace
20469 $(run-program-prefix) with $(test-program-prefix).
20470 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20472 ($(common-objpfx)shlib.lds): Likewise.
20473 (build-module-helper): Likewise.
20474 ($(common-objpfx)format.lds): Likewise.
20475 * Rules (binaries-pie-tests): New.
20476 (binaries-pie-notests): Likewise.
20477 (binaries-pie): Rewritten.
20478 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20479 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20480 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20481 (make-test-out): Replace $(host-built-program-cmd) with
20482 $(host-test-program-cmd).
20483 * config.make.in (build-hardcoded-path-in-tests): New variable.
20484 * configure.in (--enable-hardcoded-path-in-tests): New configure
20486 (hardcoded_path_in_tests): New AC_SUBST.
20487 * configure: Regenerated.
20488 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20489 $(built-program-cmd) with $(test-program-cmd).
20490 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20491 (test_program_cmd): This.
20492 * elf/Makefile ($(objpfx)order.out): Run test with
20493 $(test-program-prefix).
20494 ($(objpfx)order2.out): Likewise.
20495 ($(objpfx)tst-initorder.out): Likewise.
20496 ($(objpfx)tst-initorder2.out): Likewise.
20497 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20498 $(test-program-cmd).
20499 ($(objpfx)tst-array1-static.out): Likewise.
20500 ($(objpfx)tst-array2.out): Likewise.
20501 ($(objpfx)tst-array3.out): Likewise.
20502 ($(objpfx)tst-array4.out): Likewise.
20503 ($(objpfx)tst-array5.out): Likewise.
20504 ($(objpfx)tst-array5-static.out): Likewise.
20505 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20506 $(test-program-cmd).
20507 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20508 $(run-program-prefix) with $(test-program-prefix).
20509 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20510 (test_program_prefix): This.
20511 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20512 $(run-program-prefix) with $(test-program-prefix).
20513 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20514 (test_program_prefix): This.
20515 * iconvdata/tst-tables.sh: Likewise.
20516 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20517 $(run-program-prefix) with $(test-program-prefix).
20518 ($(objpfx)tst-translit.out): Likewise.
20519 ($(objpfx)tst-gettext2.out): Likewise.
20520 ($(objpfx)tst-gettext4.out): Likewise.
20521 ($(objpfx)tst-gettext6.out): Likewise.
20522 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20523 (test_program_prefix): This.
20524 * intl/tst-gettext2.sh: Likewise.
20525 * intl/tst-gettext4.sh Likewise.
20526 * intl/tst-gettext6.sh: Likewise.
20527 * intl/tst-translit.sh: Likewise.
20528 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20529 with $(test-program-cmd).
20530 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20531 $(run-program-prefix) with $(test-program-prefix).
20532 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20533 (test_program_prefix): This.
20534 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20535 $(run-program-prefix) with $(test-program-prefix).
20536 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20537 (test_program_prefix): This.
20538 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20539 * posix/Makefile ($(objpfx)globtest.out): Replace
20540 $(run-via-rtld-prefix) and $(test-wrapper) with
20541 $(test-program-prefix) and $(test-via-rtld-prefix).
20542 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20543 $(test-program-prefix).
20544 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20545 $(host-test-program-cmd).
20546 (tst-spawn-ARGS): Likewise.
20547 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20548 $(test-program-prefix).
20549 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20550 (test_via_rtld_prefix): This.
20551 (test_wrapper): Renamed to ...
20552 (test_program_prefix): This.
20553 (run_program_prefix): Replaced by test_program_prefix.
20554 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20555 (test_program_prefix): This.
20556 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20557 with $(host-test-program-cmd).
20558 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20559 $(run-program-prefix) with $(test-program-prefix).
20560 ($(objpfx)tst-printf.out): Likewise.
20561 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20562 $(test-program-cmd).
20563 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20564 (test_program_prefix): This.
20565 * stdio-common/tst-unbputc.sh: Likewise.
20566 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20567 $(run-program-prefix) with $(test-program-prefix).
20568 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20569 (test_program_prefix): This.
20570 * string/Makefile ($(objpfx)tst-svc.out): Replace
20571 $(built-program-cmd) with $(test-program-cmd).
20573 2013-01-11 Andreas Jaeger <aj@suse.de>
20576 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20577 value. Sync with Linux 3.7.
20579 2013-01-10 David S. Miller <davem@davemloft.net>
20581 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20582 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20583 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20585 2013-01-10 Roland McGrath <roland@hack.frob.com>
20587 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20589 * configure: Regenerated.
20591 2013-01-10 David S. Miller <davem@davemloft.net>
20593 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20594 sparc V9 rather than using V8 code.
20595 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20596 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20598 2013-01-10 Roland McGrath <roland@hack.frob.com>
20600 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20601 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20602 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20603 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20604 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20605 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20606 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20607 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20608 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20609 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20610 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20611 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20612 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20613 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20614 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20615 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20616 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20617 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20618 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20619 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20620 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20621 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20622 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20623 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20624 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20625 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20626 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20628 2013-01-10 David S. Miller <davem@davemloft.net>
20630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20632 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20634 * posix/Makefile (tests-static): New variable.
20635 (tests): Add $(tests-static).
20636 (tst-exec-static-ARGS): New variable.
20637 (tst-spawn-static-ARGS): Likewise.
20638 * posix/tst-exec-static.c: New file.
20639 * posix/tst-spawn-static.c: Likewise.
20640 * posix/tst-exec.c: Support run directly.
20641 * posix/tst-spawn.c: Likewise.
20643 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20645 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20647 * math/bits/mathcalls.h (llrint): Likewise.
20648 (llround): Likewise.
20649 * stdlib/stdlib.h (struct drand48_data): Likewise.
20650 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20651 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20652 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20654 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20656 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20657 (elf_greg_t): Likewise.
20658 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20659 (__jmp_buf): Likewise.
20660 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20662 (llrint): Likewise, for all definitions.
20663 (llrintl): Likewise.
20665 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20666 Remove [__GNUC__] condition.
20667 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20668 condition to just [__USE_ISOC99].
20669 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20671 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20674 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20675 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20677 (_POSIX_V6_ILP32_OFF32): Likewise.
20678 (_XBS5_ILP32_OFF32): Likewise.
20679 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20680 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20682 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20684 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20686 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20687 doubles __mpexp_twomm1. Adjust usage.
20688 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20691 2013-01-10 Andreas Schwab <schwab@suse.de>
20694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20695 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20697 2013-01-09 David S. Miller <davem@davemloft.net>
20700 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20701 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20702 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20703 (TCP_FASTOPEN): Define.
20704 (tcp_repair_opt): New structure.
20705 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20707 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20708 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20709 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20710 (tcp_cookie_transactions): New structure.
20712 2013-01-09 Anton Blanchard <anton@samba.org>
20714 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20715 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20716 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20717 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20719 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20721 * include/features.h (__USE_ANSI): Remove.
20723 2013-01-09 Roland McGrath <roland@hack.frob.com>
20725 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20727 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20729 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20731 * sysdeps/s390/fpu/libm-test-ulps: Update.
20733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20735 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20739 (denorm): Likewise.
20740 (__mp_dbl): Likewise.
20741 (__dbl_mp): Likewise.
20742 (add_magnitudes): Likewise.
20743 (sub_magnitudes): Likewise.
20749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20753 (denorm): Likewise.
20754 (__mp_dbl): Likewise.
20755 (__dbl_mp): Likewise.
20756 (add_magnitudes): Likewise.
20757 (sub_magnitudes): Likewise.
20763 * sysdeps/powerpc/powerpc64/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.
20778 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20780 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20781 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20782 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20783 2 && __USE_EXTERN_INLINES]: Likewise.
20785 2013-01-08 Andreas Jaeger <aj@suse.de>
20788 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20790 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20791 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20793 2013-01-07 Anton Blanchard <anton@samba.org>
20795 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20796 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20797 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20798 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20799 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20800 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20801 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20802 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20805 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20806 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20807 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20808 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20809 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20810 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20811 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20812 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20813 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20814 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20815 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20816 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20817 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20818 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20819 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20820 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20821 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20822 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20824 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20825 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20827 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20828 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20829 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20830 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20831 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20833 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20834 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20835 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20836 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20837 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20839 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20841 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20842 (__MALLOC_PMT): Likewise.
20843 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20844 [__GNUC__], only on [_LIBC].
20845 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20846 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20847 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20848 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20849 forward declaration.
20850 (realloc_hook_ini): Likewise.
20851 (memalign_hook_ini): Likewise.
20852 (__libc_memalign): Do not use __MALLOC_PMT in variable
20854 (__libc_valloc): Likewise.
20855 (__libc_pvalloc): Likewise.
20856 (__libc_calloc): Likewise.
20857 (__posix_memalign): Likewise.
20860 * math/s_casinh.c: Include <float.h>.
20861 (__casinh): Do not do computation with squaring and square root
20862 for large arguments.
20863 * math/s_casinhf.c: Include <float.h>.
20864 (__casinhf): Do not do computation with squaring and square root
20865 for large arguments.
20866 * math/s_casinhl.c: Include <float.h>.
20867 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20868 (__casinhl): Do not do computation with squaring and square root
20869 for large arguments.
20870 * math/libm-test.inc (casin_test): Add more tests.
20871 (casinh_test): Likewise.
20872 * sysdeps/i386/fpu/libm-test-ulps: Update.
20873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20875 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20877 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20878 (__x86_64_raw_data_cache_size): Likewise.
20879 (__x86_64_data_cache_size_half): Likewise.
20880 (__x86_64_raw_data_cache_size_half): Likewise.
20881 (__x86_64_shared_cache_size): Likewise.
20882 (__x86_64_raw_shared_cache_size): Likewise.
20883 (__x86_64_shared_cache_size_half): Likewise.
20884 (__x86_64_raw_shared_cache_size_half): Likewise.
20885 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20887 (__x86_data_cache_size): This.
20888 (__x86_64_raw_data_cache_size): Renamed to ...
20889 (__x86_raw_data_cache_size): This.
20890 (__x86_64_data_cache_size_half): Renamed to ...
20891 (__x86_data_cache_size_half): This.
20892 (__x86_64_raw_data_cache_size_half): Renamed to ...
20893 (__x86_raw_data_cache_size_half): This.
20894 (__x86_64_shared_cache_size): Renamed to ...
20895 (__x86_shared_cache_size): This.
20896 (__x86_64_raw_shared_cache_size): Renamed to ...
20897 (__x86_raw_shared_cache_size): This.
20898 (__x86_64_shared_cache_size_half): Renamed to ...
20899 (__x86_shared_cache_size_half): This.
20900 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20901 (__x86_raw_shared_cache_size_half): This.
20902 * sysdeps/x86_64/memcpy.S: Updated.
20903 * sysdeps/x86_64/memset.S: Likewise.
20904 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20905 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20906 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20908 2013-01-04 David S. Miller <davem@davemloft.net>
20910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20912 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20914 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20915 1 to avoid redefinition warning.
20916 (__USE_GNU): Don't define.
20917 (init_signaling_nan): Protoize.
20919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20921 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20923 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20925 (__cpymn): Likewise.
20926 (norm): Remove commented code.
20927 (denorm): Likewise.
20928 (__mp_dbl): Likewise.
20930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20931 (__cpymn): Likewise.
20932 (norm): Remove commented code.
20933 (denorm): Likewise.
20934 (__mp_dbl): Likewise.
20937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20938 mp_no value for 1.0 and 2.0.
20939 (norm): Use RADIXI instead of radixi.d.
20940 (denorm): Likewise.
20941 (__mul): Use 0.0 instead of zero.d.
20942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20943 mp_no value for 1.0 and 2.0.
20944 (norm): Use RADIXI instead of radixi.d.
20945 (denorm): Likewise.
20946 (__mul): Use 0.0 instead of zero.d.
20948 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20951 * math/s_casinh.c (__casinh): Reduce finite argument to first
20952 quadrant then set signs of results at the end.
20953 * math/s_casinhf.c (__casinhf): Likewise.
20954 * math/s_casinhl.c (__casinhl): Likewise.
20955 * math/libm-test.inc (casin_test): Add more tests.
20956 (casinh_test): Likewise.
20957 * sysdeps/i386/fpu/libm-test-ulps: Update.
20958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20960 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20962 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20964 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20966 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20968 (denorm): Likewise.
20969 (__mp_dbl): Likewise.
20972 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20973 and adjust the header comment.
20975 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20976 variable name from declaration.
20978 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20981 Initialize COMMON_CPUID_INDEX_7 element.
20982 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20983 (CPUID_RTM): Likewise.
20984 (HAS_RTM): Likewise.
20985 (COMMON_CPUID_INDEX_7): New enum.
20987 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20990 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20991 size is zero, record memory as freed.
20993 2013-01-03 Andreas Jaeger <aj@suse.de>
20995 * po/ia.po: Add new Interlingua translation.
20997 2012-01-03 Allan McRae <allan@archlinux.org>
20999 * locale/programs/localedef.c: Fix description of '--posix' flag.
21001 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21003 * NEWS: Update dates in second copyright notice.
21004 * README: Update copyright dates in example.
21005 * manual/libc.texinfo: Update copyright dates.
21006 * scripts/test-installation.pl: Update copyright date in --version
21009 * hurd/ctty-input.c: Fix copyright notice formatting.
21010 * hurd/ctty-output.c: Likewise.
21011 * hurd/dtable.c: Likewise.
21012 * hurd/hurd-raise.c: Likewise.
21013 * hurd/hurdprio.c: Likewise.
21014 * hurd/msgportdemux.c: Likewise.
21015 * misc/sys/file.h: Likewise.
21016 * misc/sys/ioctl.h: Likewise.
21017 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21018 * sysdeps/mach/hurd/chdir.c: Likewise.
21019 * sysdeps/mach/hurd/fchdir.c: Likewise.
21020 * sysdeps/mach/hurd/rename.c: Likewise.
21021 * sysdeps/mach/hurd/rmdir.c: Likewise.
21022 * sysdeps/mach/hurd/seekdir.c: Likewise.
21023 * sysdeps/mach/hurd/setsid.c: Likewise.
21024 * sysdeps/posix/wait3.c: Likewise.
21026 * All files with FSF copyright notices: Update copyright dates
21027 using scripts/update-copyrights.
21028 * intl/plural.c: Regenerated.
21029 * locale/programs/charmap-kw.h: Likewise.
21030 * locale/programs/locfile-kw.h: Likewise.
21032 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21034 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21037 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21038 calculation loop and add branch prediction.
21040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21041 check access beyond bounds of m1np.
21043 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21045 (__inv): Remove local variable MPTWO to use the global
21047 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21050 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21051 MP3HALFS static const.
21053 2013-01-01 David S. Miller <davem@davemloft.net>
21055 * po/ca.po: Update from translation team.
21057 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21059 * scripts/update-copyrights: New file.
21060 * Makeconfig: Reformat copyright notice.
21061 * ctype/ctype.h: Likewise.
21062 * debug/swprintf_chk.c: Likewise.
21063 * elf/dl-cache.c: Likewise.
21064 * elf/dl-debug.c: Likewise.
21065 * elf/dl-object.c: Likewise.
21066 * grp/initgroups.c: Likewise.
21067 * hurd/Makefile: Likewise.
21068 * hurd/hurd/signal.h: Likewise.
21069 * hurd/hurdfault.c: Likewise.
21070 * hurd/hurdioctl.c: Likewise.
21071 * hurd/hurdlookup.c: Likewise.
21072 * hurd/intr-msg.c: Likewise.
21073 * iconv/gconv_open.c: Likewise.
21074 * libio/swprintf.c: Likewise.
21075 * locale/lc-ctype.c: Likewise.
21076 * locale/nl_langinfo.c: Likewise.
21077 * mach/Machrules: Likewise.
21078 * mach/Makefile: Likewise.
21079 * malloc/obstack.h: Likewise.
21080 * manual/Makefile: Likewise.
21081 * manual/tsort.awk: Likewise.
21082 * misc/bits/stab.def: Likewise.
21083 * nis/nis_print_group_entry.c: Likewise.
21084 * nis/nis_table.c: Likewise.
21085 * nis/nss_compat/compat-pwd.c: Likewise.
21086 * nis/nss_compat/compat-spwd.c: Likewise.
21087 * po/Makefile: Likewise.
21088 * posix/fnmatch.c: Likewise.
21089 * posix/regex.h: Likewise.
21090 * resolv/Makefile: Likewise.
21091 * resolv/nss_dns/dns-network.c: Likewise.
21092 * resolv/res_hconf.c: Likewise.
21093 * scripts/gen-sorted.awk: Likewise.
21094 * soft-fp/soft-fp.h: Likewise.
21095 * stdio-common/printf.h: Likewise.
21096 * stdlib/monetary.h: Likewise.
21097 * stdlib/random.c: Likewise.
21098 * stdlib/random_r.c: Likewise.
21099 * sysdeps/generic/Makefile: Likewise.
21100 * sysdeps/gnu/Makefile: Likewise.
21101 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21129 * sysdeps/mach/hurd/errnos.awk: Likewise.
21130 * sysdeps/mach/hurd/fork.c: Likewise.
21131 * sysdeps/mach/hurd/getcwd.c: Likewise.
21132 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21133 * sysdeps/mach/hurd/mmap.c: Likewise.
21134 * sysdeps/mach/hurd/utimes.c: Likewise.
21135 * sysdeps/mach/hurd/xmknod.c: Likewise.
21136 * sysdeps/posix/profil.c: Likewise.
21137 * sysdeps/posix/readdir_r.c: Likewise.
21138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21139 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21140 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21141 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21143 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21145 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21147 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21148 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21149 * sysdeps/pthread/lio_listio.c: Likewise.
21150 * sysdeps/sparc/dl-procinfo.h: Likewise.
21151 * sysdeps/unix/i386/sysdep.S: Likewise.
21152 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21153 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21154 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21155 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21157 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21158 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21159 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21160 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21161 * sysdeps/wordsize-32/divdi3.c: Likewise.
21162 * time/sys/time.h: Likewise.
21163 * wcsmbs/Makefile: Likewise.
21165 2013-01-01 David S. Miller <davem@davemloft.net>
21167 * po/fr.po: Update from translation team.
21169 * catgets/gencat.c: Update copyright year.
21170 * csu/version.c: Likewise.
21171 * debug/catchsegv.sh: Likewise.
21172 * debug/pcprofiledump.c: Likewise.
21173 * debug/xtrace.sh: Likewise.
21174 * elf/ldconfig.c: Likewise.
21175 * elf/ldd.bash.in: Likewise.
21176 * elf/pldd.c: Likewise.
21177 * elf/sotruss.ksh: Likewise.
21178 * elf/sprof.c: Likewise.
21179 * iconv/iconv_prog.c: Likewise.
21180 * iconv/iconvconfig.c: Likewise.
21181 * locale/programs/locale.c: Likewise.
21182 * locale/programs/localedef.c: Likewise.
21183 * login/programs/pt_chown.c: Likewise.
21184 * malloc/memusage.sh: Likewise.
21185 * malloc/memusagestat.c: Likewise.
21186 * malloc/mtrace.pl: Likewise.
21187 * nscd/nscd.c: Likewise.
21188 * nss/getent.c: Likewise.
21189 * nss/makedb.c: Likewise.
21190 * posix/getconf.c: Likewise.
21192 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21194 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21197 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21199 * math/bits/mathcalls.h (modf): Use __nonnull.
21201 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21203 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21204 (split): Use macro CN instead of the bare value.
21205 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21208 instead of the bare value.
21209 (power1): Likewise.
21211 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21215 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21217 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21219 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21220 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21221 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21222 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21224 2012-12-28 Andreas Jaeger <aj@suse.de>
21226 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21227 values are from Linux 3.7.
21229 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21230 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21232 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21234 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21237 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21239 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21240 variables with preprocessor constants.
21241 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21242 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21243 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21245 2012-12-27 Bruno Haible <bruno@clisp.org>
21248 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21251 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21253 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21254 and use variable directly.
21255 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21257 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21259 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21262 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21264 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21265 include directive. Remove local variable MPONE.
21266 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21267 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21268 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21270 2012-12-25 David S. Miller <davem@davemloft.net>
21272 * version.h (RELEASE): Set to "development".
21273 (VERSION): Set to "2.17.90".
21274 * NEWS: Add 2.18 section.
21276 2012-12-21 David S. Miller <davem@davemloft.net>
21278 * po/hr.po: Update from translation team.
21280 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21282 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21284 2012-12-19 Steve Ellcey <sellcey@mips.com>
21286 * NEWS: Mention new memcpy for MIPS.
21288 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21290 * manual/contrib.texi (Contributors): Spelling correction.
21292 2012-12-15 David S. Miller <davem@davemloft.net>
21294 * po/ru.po: Update from translation team.
21296 2012-12-13 David S. Miller <davem@davemloft.net>
21298 * NEWS: Mention IFUNC testsuite enhancements.
21300 * po/pl.po: Update from translation team.
21301 * po/bg.po: Likewise.
21303 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21304 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21306 2012-12-11 David S. Miller <davem@davemloft.net>
21308 * po/sv.po: Update from translation team.
21310 * po/vi.po: Update from translation team.
21312 * po/cs.po: Update from translation team.
21314 * po/de.po: Update from translation team.
21315 * po/eo.po: Likewise.
21316 * po/nl.po: Likewise.
21318 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21321 * manual/argp.texi (Argp Helper Functions): Move node to follow
21322 Argp Parsing State.
21325 * manual/conf.texi (Limits on File System Capacity): Mention if
21326 terminating null is included in the max size.
21328 2012-12-10 Andreas Jaeger <aj@suse.de>
21330 * po/cs.po: Update from translation team.
21332 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21334 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21335 void pointer and cast to uintptr_t.
21336 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21338 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21339 * sysdeps/s390/s390-64/memset.S: Likewise.
21341 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21344 * menual/message.texi (Message Translation): Fix typos.
21345 (Helper programs for gettext): Likewise.
21347 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21350 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21353 2012-12-07 David S. Miller <davem@davemloft.net>
21355 * po/libc.pot: Update.
21357 2012-12-07 Richard Henderson <rth@redhat.com>
21360 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21361 normal/normal case to before the switch.
21362 (_FP_DIV): Likewise.
21364 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21365 Mike Frysinger <vapier@gentoo.org>
21367 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21368 check for __NR_fadvise64_64.
21370 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21372 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21373 0, not just to plain "0" as a statement.
21374 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21377 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21379 * NEWS: Use sourceware.org in Bugzilla URL.
21381 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21384 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21386 * stdio-common/tst-put-error.c (do_test): Add newline to the
21387 padded test to ensure flush.
21389 2012-12-05 Jeff Law <law@redhat.com>
21391 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21393 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21395 * README: Don't refer to ports add-on as distributed separately.
21396 Mention AArch64 in list of systems supported in the ports add-on.
21398 * LICENSES: Add more non-FSF copyright and license notices.
21400 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21403 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21405 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21406 10000 as width of padded output.
21408 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21410 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21413 variable LX with __attribute__ ((unused)).
21414 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21416 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21419 with __attribute__ ((unused)).
21421 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21423 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21425 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21427 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21428 (CFLAGS-nldbl-acos.c): New variable.
21429 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21430 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21431 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21432 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21433 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21434 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21435 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21436 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21437 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21438 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21439 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21440 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21441 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21442 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21443 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21444 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21445 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21446 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21447 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21448 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21449 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21450 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21451 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21452 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21453 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21454 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21455 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21456 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21457 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21458 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21459 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21460 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21461 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21462 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21463 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21464 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21465 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21466 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21467 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21473 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21474 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21475 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21476 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21477 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21478 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21479 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21480 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21481 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21482 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21483 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21484 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21485 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21486 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21487 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21488 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21489 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21490 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21491 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21492 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21493 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21494 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21495 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21496 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21497 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21498 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21499 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21500 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21501 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21502 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21503 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21504 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21505 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21506 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21507 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21508 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21513 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21514 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21515 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21516 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21517 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21518 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21519 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21520 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21521 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21522 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21523 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21524 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21525 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21528 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21531 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21532 whole low double instead of just low 47 bits when splitting values
21535 2012-12-03 Allan McRae <allan@archlinux.org>
21537 * manual/stdio.texi (Predefined Printf Handlers): Remove
21538 @hsep and @vsep usage.
21540 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21542 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21543 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21545 2012-12-03 Jeff Law <law@redhat.com>
21547 * time/sys/time.h (settimeofday): Do not mark TV argument
21550 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21552 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21553 when currently writing and seek to current position when not.
21554 * libio/Makefile (tests): Remove bug-fclose1.
21555 * libio/bug-fclose1.c: Delete.
21557 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21559 * manual/arith.texi (feenableexcept): Fix typo.
21560 (fedisableexcept): Likewise.
21562 2012-11-30 Roland McGrath <roland@hack.frob.com>
21564 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21565 second, differently-typed declaration, rather than a cast.
21567 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21569 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21570 * include/rpc/svc.h: ... here.
21572 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21575 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21576 depending n and resplen2 to catch cases where answer
21579 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21581 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21582 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21584 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21586 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21588 2012-11-29 Roland McGrath <roland@hack.frob.com>
21590 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21592 2012-11-28 Jeff Law <law@redhat.com>
21595 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21596 dataset_temporary. Track alloca usage into alloca_used.
21597 If dataset is large allocate and release it via malloc/free.
21599 2012-06-04 Florian Weimer <fweimer@redhat.com>
21602 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21604 2012-11-28 David S. Miller <davem@davemloft.net>
21606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21608 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21611 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21612 of pi/2 rounded to nearest to 64 bits.
21613 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21614 nearest to 64 bits.
21615 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21618 2012-11-28 Jeff Law <law@redhat.com>
21619 Martin Osvald <mosvald@redhat.com>
21622 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21623 * sunrpc/svc.c: Include time.h.
21624 (__svc_accept_failed): New function.
21625 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21626 any reason other than EINTR, call __svc_accept_failed.
21627 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21628 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21630 2012-11-28 Andreas Schwab <schwab@suse.de>
21632 * scripts/abilist.awk: Also handle indirect functions in .opd
21635 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21638 * sysdeps/x86/fpu/powl_helper.c: New file.
21639 * sysdeps/x86/fpu/Makefile: Likewise.
21640 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21642 (__ieee754_powl): Use __powl_helper for finite arguments except
21643 integer exponents below 8.
21644 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21646 (__ieee754_powl): Use __powl_helper for finite arguments except
21647 integer exponents below 8.
21648 * math/libm-test.inc (pow_test): Add more tests and enable some
21649 previously disabled tests.
21650 * sysdeps/i386/fpu/libm-test-ulps: Update.
21651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21653 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21654 Carlos O'Donell <carlos_odonell@mentor.com>
21656 * nss/makedb.c (is_prime): Assert that input is odd and greater
21657 than 4. Note that fact in a comment too.
21658 (next_prime): Add 4 to input.
21660 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21663 * libio/Makefile (tests): Add test case tst-fwrite-error.
21664 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21665 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21666 * libio/tst-fwrite-error.c: New test case.
21668 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21670 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21671 before casting to void *.
21672 * include/libc-internal.h (__pointer_type): New macro.
21673 (__integer_if_pointer_type_sub): Likewise.
21674 (__integer_if_pointer_type): Likewise.
21675 (cast_to_integer): Likewise.
21676 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21677 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21678 before casting to atomic64_t.
21679 (atomic_exchange_acq): Likewise.
21680 (__arch_exchange_and_add_body): Likewise.
21681 (__arch_add_body): Likewise.
21682 (atomic_add_negative): Likewise.
21683 (atomic_add_zero): Likewise.
21685 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21687 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21688 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21689 (add_fdes): Likewise.
21690 (linear_search_fdes): Likewise.
21691 (binary_search_unencoded_fdes): Likewise.
21693 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21695 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21697 2012-11-24 Adam Conrad <adconrad@0c3.net>
21699 * configure.in: Autodetect C++ header directories.
21700 * configure: Regenerated.
21702 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21704 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21706 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21710 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21712 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21713 LDBL_MANT_DIG == 106]: Disable some tests.
21714 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21716 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21721 input for small inputs. Return +/- pi/2 for large inputs.
21722 * math/libm-test.inc (atan_test): Add more tests.
21724 * sysdeps/generic/unwind-dw2-fde-glibc.c
21725 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21726 __attribute__ ((unused)).
21729 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21730 x * y if x and y are nonzero and z is zero.
21733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21734 nonzero exponents with absolute value below 0x1p-117 to +/-
21738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21739 up arguments below 2**-450, not just those below 2**-500.
21740 * math/libm-test.inc (hypot_test): Add another test.
21743 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21744 Return a+b for ratio over 2**120, not 2**60.
21745 * math/libm-test.inc (hypot_test): Add another test.
21747 * math/libm-test.inc (clog_test): Use
21748 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21749 (clog10_test): Likewise.
21752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21754 2012-11-22 Andreas Schwab <schwab@suse.de>
21756 * sysdeps/i386/fpu/libm-test-ulps: Update.
21758 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21760 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21761 printf output with newline.
21763 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21766 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21767 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21768 -z nodlopen, -z initfirst and -z execstack support.
21769 * configure: Regenerated.
21771 * elf/elf.h (DF_1_NODIRECT): New macro.
21772 (DF_1_IGNMULDEF): Likewise.
21773 (DF_1_NOKSYMS): Likewise.
21774 (DF_1_NOHDR): Likewise.
21775 (DF_1_EDITED): Likewise.
21776 (DF_1_NORELOC): Likewise.
21777 (DF_1_SYMINTPOSE): Likewise.
21778 (DF_1_GLOBAUDIT): Likewise.
21779 (DF_1_SINGLETON): Likewise.
21780 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21781 DT_1_SUPPORTED_MASK bits.
21782 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21784 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21786 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21788 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21790 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21793 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21794 (sendmmsg): Move declarations...
21795 * socket/sys/socket.h: ... here.
21796 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21797 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21799 * socket/recvmmsg.c: ... this new file.
21800 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21801 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21802 definition of __sendmmsg hidden.
21803 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21804 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21805 Move ENOSYS stub into and include it from...
21806 * socket/sendmmsg.c: ... this new file.
21807 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21808 (sysdep_routines): Move recvmmsg and sendmmsg...
21809 * socket/Makefile (routines): ... here.
21810 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21811 (GLIBC_PRIVATE): Add __sendmmsg.
21812 * include/sys/socket.h (__sendmmsg): Add declarations.
21813 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21816 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21818 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21819 variable I1 with __attribute__ ((unused)).
21820 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21822 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21824 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21825 DUMMY variables with __attribute__ ((unused)).
21827 * bits/byteswap.h: Include <bits/types.h>.
21828 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21830 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21832 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21833 string_t. Do not manually set errno.
21834 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21835 length with __strnlen. Make sure to both set errno and return it on
21838 2012-11-19 David S. Miller <davem@davemloft.net>
21840 With help from Joseph Myers.
21841 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21842 very large arguments properly.
21843 * math/libm-test.inc (atan_test): New tests.
21844 (atan2_test): New tests.
21845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21848 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21851 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21854 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21855 [POSIX] (EADDRNOTAVAIL): Likewise.
21856 [POSIX] (EAFNOSUPPORT): Likewise.
21857 [POSIX] (EALREADY): Likewise.
21858 [POSIX] (ECONNABORTED): Likewise.
21859 [POSIX] (ECONNREFUSED): Likewise.
21860 [POSIX] (ECONNRESET): Likewise.
21861 [POSIX] (EDESTADDRREQ): Likewise.
21862 [POSIX] (EDQUOT): Likewise.
21863 [POSIX] (EHOSTUNREACH): Likewise.
21864 [POSIX] (EIDRM): Likewise.
21865 [POSIX] (EISCONN): Likewise.
21866 [POSIX] (ELOOP): Likewise.
21867 [POSIX] (EMULTIHOP): Likewise.
21868 [POSIX] (ENETDOWN): Likewise.
21869 [POSIX] (ENETUNREACH): Likewise.
21870 [POSIX] (ENOBUFS): Likewise.
21871 [POSIX] (ENODATA): Likewise.
21872 [POSIX] (ENOLINK): Likewise.
21873 [POSIX] (ENOMSG): Likewise.
21874 [POSIX] (ENOPROTOOPT): Likewise.
21875 [POSIX] (ENOSR): Likewise.
21876 [POSIX] (ENOSTR): Likewise.
21877 [POSIX] (ENOTCONN): Likewise.
21878 [POSIX] (ENOTSOCK): Likewise.
21879 [POSIX] (EOPNOTSUPP): Likewise.
21880 [POSIX] (EOVERFLOW): Likewise.
21881 [POSIX] (EPROTO): Likewise.
21882 [POSIX] (EPROTONOSUPPORT): Likewise.
21883 [POSIX] (EPROTOTYPE): Likewise.
21884 [POSIX] (ESTALE): Likewise.
21885 [POSIX] (ETIME): Likewise.
21886 [POSIX] (ETXTBSY): Likewise.
21887 [POSIX] (EWOULDBLOCK): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21889 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21890 [POSIX] (SEEK_CUR): Likewise.
21891 [POSIX] (SEEK_END): Likewise.
21892 [POSIX || UNIX98] (mode_t): Do not require.
21893 [POSIX] (off_t): Likewise.
21894 [POSIX] (pid_t): Likewise.
21895 [POSIX] (sys/stat.h): Do not allow header.
21896 [POSIX] (unistd.h): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21898 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21900 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21902 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21903 sigevent): Specify elements.
21904 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21906 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21907 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21909 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21910 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21911 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21912 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21913 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21914 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21915 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21916 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21917 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21918 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21919 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21920 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21921 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21922 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21924 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21926 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21928 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21930 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21931 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21932 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21933 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21934 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21935 Specify lower bound on value.
21936 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21937 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21938 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21939 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21940 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21941 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21942 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21943 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21945 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21947 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21948 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21949 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21950 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21951 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21952 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21953 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21954 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21955 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21956 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21957 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21958 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21959 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21960 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21961 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21962 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21964 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21966 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21967 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21968 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21969 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21970 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21971 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21973 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21974 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21975 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21976 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21977 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21978 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21979 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21981 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21982 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21983 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21984 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21985 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21986 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21987 specify as optional.
21988 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21989 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21990 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21991 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21992 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21993 [XPG3] (NL_LANGMAX): Likewise.
21994 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21995 [POSIX || XPG3] (NL_NMAX): Likewise.
21996 [POSIX || XPG3] (NL_SETMAX): Likewise.
21997 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21998 [XPG3] (NZERO): Likewise.
21999 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22000 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22001 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22002 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22003 (REG_ERANGE): Expect.
22004 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22006 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22007 Use (void) in prototype.
22008 [POSIX] (*_t): Allow.
22009 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22010 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22011 (WRDE_BADVAL): Expect.
22013 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22015 [XPG3 || XPG4] (O_RSYNC): Likewise.
22016 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22018 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22019 [XPG3 || XPG4] (sigqueue): Likewise.
22020 [XPG3 || XPG4] (sigtimedwait): Likewise.
22021 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22022 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22023 [XPG3 || XPG4] (vsnprintf): Likewise.
22024 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22026 [XPG3 || XPG4] (blksize_t): Likewise.
22027 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22029 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22030 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22031 [XPG3 || XPG4] (struct itimerspec): Likewise.
22032 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22033 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22034 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22035 [XPG3 || XPG4] (clockid_t): Likewise.
22036 [XPG3 || XPG4] (timer_t): Likewise.
22037 [XPG3 || XPG4] (clock_getres): Likewise.
22038 [XPG3 || XPG4] (clock_gettime): Likewise.
22039 [XPG3 || XPG4] (clock_settime): Likewise.
22040 [XPG3 || XPG4] (nanosleep): Likewise.
22041 [XPG3 || XPG4] (timer_create): Likewise.
22042 [XPG3 || XPG4] (timer_delete): Likewise.
22043 [XPG3 || XPG4] (timer_gettime): Likewise.
22044 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22045 [XPG3 || XPG4] (timer_settime): Likewise.
22046 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22047 [XPG3 || XPG4] (getlogin_r): Likewise.
22048 [XPG3 || XPG4] (pread): Likewise.
22049 [XPG3 || XPG4] (pthread_atfork): Likewise.
22050 [XPG3 || XPG4] (pwrite): Likewise.
22053 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22056 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22058 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22059 finalizing MALLSTREAM.
22061 * sysdeps/mach/hurd/syncfs.c: New file.
22063 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22066 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22067 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22068 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22069 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22070 (_nss_dns_gethostbyname4_r): Likewise.
22071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22072 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22074 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22077 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22079 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22081 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22082 * elf/cache.c (print_entry): Print ",AArch64" for
22085 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22086 * elf/cache.c (print_entry): Print ",hard-float" for
22089 2012-11-18 David S. Miller <davem@davemloft.net>
22091 With help from Joseph Myers.
22092 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22094 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22096 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22097 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22099 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22100 * math/libm-test.inc (y0_test): New tests.
22101 (y1_test): New tests.
22102 * sysdeps/i386/fpu/libm-test-ulps: Update.
22103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22106 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22108 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22110 * configure: Regenerated.
22112 2012-11-17 David S. Miller <davem@davemloft.net>
22115 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22116 nonzero exponents with absolute value below 0x1p-128 to +/-
22119 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22121 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22123 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22125 * posix/getconf-speclist.c: New file.
22126 * posix/posix-envs.def: Likewise.
22127 * posix/confstr.c (START_ENV_GROUP): New macro.
22128 (END_ENV_GROUP): Likewise.
22129 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22130 (KNOWN_PRESENT_ENV_STRING): Likewise.
22131 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22132 (UNKNOWN_ENVIRONMENT): Likewise.
22133 (confstr): Include posix-envs.def instead of handling
22134 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22135 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22136 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22137 (END_ENV_GROUP): Likewise.
22138 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22139 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22140 (UNKNOWN_ENVIRONMENT): Likewise.
22141 (__sysconf): Include posix-envs.def instead of handling associated
22142 cases directly here.
22143 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22144 preprocessing getconf-speclist.c rather than running getconf or
22145 generating empty file.
22147 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22149 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22151 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22154 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22156 2012-11-16 David S. Miller <davem@davemloft.net>
22158 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22159 smaller than LDBL_EPSILON/2.0L, just return xm1.
22161 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22163 * elf/tst-array1.c (init): Set constructor priority to 1000.
22164 (fini): Set destructor priority to 1000.
22165 * elf/tst-array2dep.c: Likewise.
22167 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22170 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22171 (_IO_new_file_xsputn): Also return EOF if none of the input
22172 data was written when overflow failed.
22173 * libio/iopadn.c (_IO_padn): Likewise.
22174 * libio/iowpadn.c (_IO_wpadn): Likewise.
22175 * stdio-common/tst-put-error.c: Add copyright notice.
22176 (do_test): Add case for printing padded string.
22177 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22178 _IO_padn returned error.
22179 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22180 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22183 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22185 * libio/libioP.h: Add comment note that the references to C++
22186 bits are now obsolete.
22188 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22190 * math/libm-test.inc (check_complex): Use asprintf.
22192 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22194 * debug/pcprofiledump.c (print_version): Update copyright year.
22195 * malloc/memusagestat.c (print_version): Likewise.
22197 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22200 * elf/Makefile (tests): Add tst-audit8.
22201 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22202 ($(objpfx)tst-audit8.out): New target.
22203 (tst-audit8-ENV): New variable.
22204 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22205 audit if l_reloc_result is NULL.
22206 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22207 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22208 * elf/tst-audit8.c: New file.
22210 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22212 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22213 * misc/Makefile (CFLAGS-select.c): Define.
22214 * posix/Makefile (CFLAGS-pause.c): Define.
22216 2012-11-13 David S. Miller <davem@davemloft.net>
22218 * crypt/Makefile: Move test targets after toplevel Rules
22219 inclusion. Grab any necessary sysdep routines when linking.
22220 * crypt/md5.c (md5_process_block): Remove define, we will always
22221 name it __md5_process_block.
22222 (md5_finish_ctx): Update md5_process_block call.
22223 (md5_stream): Likewise.
22224 (md5_process_bytes): Likewise.
22225 (md5_process_block): Rename to __md5_process_block and move to ...
22226 * crypt/md5-block.c: ... here.
22227 * crypt/sha256.c (sha256_process_block): Move to ...
22228 * crypt/sha256-block.c: ... here.
22229 * crypt/sha512.c (sha512_process_block): Move to ...
22230 * crypt/sha512-block.c: ... here.
22231 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22233 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22234 * sysdeps/sparc/sparc64/multiarch/Makefile
22235 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22237 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22238 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22240 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22241 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22242 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22243 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22244 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22245 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22246 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22247 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22248 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22250 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22251 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22253 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22255 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22257 * timezone/tzselect.ksh: Update from tzcode git revision
22258 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22259 * timezone/zdump.c: Likewise.
22260 * timezone/zic.c: Likewise.
22261 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22262 in TZVERSION setting, not $(PKGVERSION).
22263 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22264 REPORT_BUGS_TO settings.
22267 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22270 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22272 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22273 detection to immediately after _FP_ROUND().
22274 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22277 2012-11-11 David S. Miller <davem@davemloft.net>
22279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22281 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22282 __close rather than their public counterparts.
22284 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22286 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22288 [UNIX98] (sem_timedwait): Do not expect.
22289 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22290 [XPG4 || UNIX98] (sockatmark): Do not expect.
22291 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22292 (clock_getcpuclockid): Do not expect.
22293 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22294 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22296 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22297 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22298 [UNIX98] (vwscanf): Likewise.
22299 [UNIX98] (vswscanf): Likewise.
22301 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22303 * timezone/version.h: Remove file.
22304 * timezone/README: Do not refer to version.h.
22305 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22306 $(objpfx)version.h.
22307 ($(objpfx)zdump.o): Likewise.
22308 ($(objpfx)version.h): New target.
22310 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22312 * timezone/README: Don't mention modification to tzselect.ksh.
22313 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22314 work on unmodified tzselect.ksh. Substitute version numbers in
22317 * Makefile (format-me): Remove.
22318 (INSTALL): Adjust indentation. Use commands directly instead of
22319 using $(format-me).
22321 * aclocal.m4 (ACX_PKGVERSION): New macro.
22322 (ACX_BUGURL): Likewise.
22323 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22324 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22325 (REPORT_BUGS_TO): Likewise.
22326 * configure: Regenerated.
22327 * config.h.in (PKGVERSION): New macro.
22328 (REPORT_BUGS_TO): Likewise.
22329 * config.make.in (PKGVERSION): New variable.
22330 (PKGVERSION_TEXI): Likewise.
22331 (REPORT_BUGS_TO): Likewise.
22332 (REPORT_BUGS_TEXI): Likewise.
22333 * Makefile (format-me): Use -I$(common-objpfx)manual.
22334 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22335 ($(common-objpfx)manual/%): New target.
22336 (manual/%): Remove target.
22337 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22338 (print_version): Use PKGVERSION.
22339 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22340 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22341 and REPORT_BUGS_TO.
22342 ($(objpfx)xtrace): Likewise.
22343 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22344 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22345 (print_version): Use PKGVERSION.
22346 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22347 (do_version): Use PKGVERSION.
22348 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22350 (common-ldd-rewrite): Likewise.
22351 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22352 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22353 (print_version): Use PKGVERSION.
22354 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22355 * elf/pldd.c (argp_program_bug_address): Remove variable.
22356 (more_help): New function.
22357 (argp): Use more_help.
22358 (print_version): Use PKGVERSION.
22359 * elf/sln.c (main): Use PKGVERSION.
22360 (usage): Use REPORT_BUGS_TO.
22361 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22362 (top level): Use PKGVERSION.
22363 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22364 (print_version): Use PKGVERSION.
22365 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22366 (print_version): Use PKGVERSION.
22367 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22368 (print_version): Use PKGVERSION.
22369 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22370 (print_version): Use PKGVERSION.
22371 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22372 (print_version): Use PKGVERSION.
22373 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22374 (print_version): Use PKGVERSION.
22375 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22377 ($(objpfx)memusage): Likewise.
22378 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22379 (do_version): Use PKGVERSION.
22380 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22381 (print_version): Use PKGVERSION.
22382 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22383 ($PKGVERSION): New variable.
22384 ($REPORT_BUGS_TO): Likewise.
22385 (usage): Use $REPORT_BUGS_TO.
22386 (top level): Use $PKGVERSION.
22387 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22388 ($(objpfx)pkgvers.texi): New rule.
22389 ($(objpfx)stamp-pkgvers): Likewise.
22390 * manual/install.texi: Include pkgvers.texi.
22391 (--with-pkgversion): Document new configure option.
22392 (--with-bugurl): Likewise.
22393 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22394 than necessarily for this particular distribution. Use
22395 REPORT_BUGS_TO for where to report bugs.
22396 * INSTALL: Regenerated.
22397 * manual/libc.texinfo: Include pkgvers.texi.
22398 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22399 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22400 (print_version): Use PKGVERSION.
22401 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22402 (print_version): Use PKGVERSION.
22403 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22404 (print_version): Use PKGVERSION.
22405 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22406 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22408 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22409 (print_version): Use PKGVERSION.
22410 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22411 (print_version): Use PKGVERSION.
22412 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22415 * timezone/checktab.awk: Update from tzcode 2012i.
22416 * timezone/ialloc.c: Likewise.
22417 * timezone/private.h: Likewise.
22418 * timezone/scheck.c: Likewise.
22419 * timezone/tzfile.h: Likewise.
22420 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22421 (TZVERSION): Hardcode tzcode version number.
22422 * timezone/zdump.c: Update from tzcode 2012i.
22423 * timezone/zic.c: Likewise.
22424 * timezone/version.h: New file.
22425 * timezone/README: Describe version.h. Update upstream location.
22428 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22429 (mktemp): Enable declaration.
22430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22431 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22433 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22435 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22437 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22439 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22441 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22447 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22448 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22449 for copies of such integer values.
22450 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22451 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22453 2012-11-09 Andreas Jaeger <aj@suse.de>
22455 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22456 definitions and declarations that are provided by
22457 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22459 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22461 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22462 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22463 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22466 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22468 * elf/elf.h: Update comment before AArch64 relocations.
22470 2012-11-07 David S. Miller <davem@davemloft.net>
22472 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22473 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22474 (__start_context): Declare.
22475 (__makecontext_ret): Delete.
22476 (__makecontext): Hook up __start_context instead of
22478 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22479 (sysdep_routines): Add __start_context when in stdlib.
22481 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22483 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22484 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22485 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22487 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22488 (READELF): New variable. Use it instead of hardcoded "readelf".
22490 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22492 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22493 * sysdeps/x86/Makefile: Here.
22494 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22495 * sysdeps/x86/tst-xmmymm.sh: This.
22497 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22499 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22501 [UNIX98] (pthread_barrier_t): Do not expect.
22502 [UNIX98] (pthread_barrierattr_t): Likewise.
22503 [UNIX98] (pthread_spinlock_t): Likewise.
22504 [UNIX98] (pthread_barrier_destroy): Likewise.
22505 [UNIX98] (pthread_barrier_init): Likewise.
22506 [UNIX98] (pthread_barrier_wait): Likewise.
22507 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22508 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22509 [UNIX98] (pthread_barrierattr_init): Likewise.
22510 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22511 [UNIX98] (pthread_getcpuclockid): Likewise.
22512 [UNIX98] (pthread_mutex_timedlock): Likewise.
22513 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22514 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22515 [UNIX98] (pthread_sigmask): Likewise.
22516 [UNIX98] (pthread_spin_destroy): Likewise.
22517 [UNIX98] (pthread_spin_init): Likewise.
22518 [UNIX98] (pthread_spin_lock): Likewise.
22519 [UNIX98] (pthread_spin_trylock): Likewise.
22520 [UNIX98] (pthread_spin_unlock): Likewise.
22521 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22523 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22525 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22526 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22527 [XPG3 || XPG4] (pthread_key_t): Likewise.
22528 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22529 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22530 [XPG3 || XPG4] (pthread_once_t): Likewise.
22531 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22532 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22533 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22534 [XPG3 || XPG4] (pthread_t): Likewise.
22536 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22538 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22540 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22541 Change function return type to int.
22543 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22544 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22545 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22546 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22547 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22548 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22549 [!POSIX] (posix_madvise): Likewise.
22550 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22552 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22553 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22554 (mode_t): Likewise.
22555 (posix_mem_offset): Likewise.
22556 (posix_typed_mem_get_info): Likewise.
22557 (posix_typed_mem_open): Likewise.
22559 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22560 Change condition to [XOPEN2K8].
22562 * conform/conformtest.pl: Preprocess allow-header data with -x c
22563 instead of from stdin.
22564 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22565 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22566 [C99-based standards] (cerfc): Likewise.
22567 [C99-based standards] (cexp2): Likewise.
22568 [C99-based standards] (cexpm1): Likewise.
22569 [C99-based standards] (clog10): Likewise.
22570 [C99-based standards] (clog1p): Likewise.
22571 [C99-based standards] (clog2): Likewise.
22572 [C99-based standards] (clgamma): Likewise.
22573 [C99-based standards] (ctgamma): Likewise.
22574 [C99-based standards] (cerff): Likewise.
22575 [C99-based standards] (cerfcf): Likewise.
22576 [C99-based standards] (cexp2f): Likewise.
22577 [C99-based standards] (cexpm1f): Likewise.
22578 [C99-based standards] (clog10f): Likewise.
22579 [C99-based standards] (clog1pf): Likewise.
22580 [C99-based standards] (clog2f): Likewise.
22581 [C99-based standards] (clgammaf): Likewise.
22582 [C99-based standards] (ctgammaf): Likewise.
22583 [C99-based standards] (cerfl): Likewise.
22584 [C99-based standards] (cerfcl): Likewise.
22585 [C99-based standards] (cexp2l): Likewise.
22586 [C99-based standards] (cexpm1l): Likewise.
22587 [C99-based standards] (clog10l): Likewise.
22588 [C99-based standards] (clog1pl): Likewise.
22589 [C99-based standards] (clog2l): Likewise.
22590 [C99-based standards] (clgammal): Likewise.
22591 [C99-based standards] (ctgammal): Likewise.
22592 * conform/data/inttypes.h-data [C99-based standards]: Include
22593 stdint.h-data. Remove all expectations for stdint.h contents.
22594 [C99-based standards] (PRI*): Do not allow.
22595 [C99-based standards] (SCN*): Likewise.
22596 [C99-based standards] (*_t): Likewise.
22597 [C99-based-standards] (PRId8): Expect macro.
22598 [C99-based-standards] (PRIi8): Likewise.
22599 [C99-based-standards] (PRIo8): Likewise.
22600 [C99-based-standards] (PRIu8): Likewise.
22601 [C99-based-standards] (PRIx8): Likewise.
22602 [C99-based-standards] (PRIX8): Likewise.
22603 [C99-based-standards] (SCNd8): Likewise.
22604 [C99-based-standards] (SCNi8): Likewise.
22605 [C99-based-standards] (SCNo8): Likewise.
22606 [C99-based-standards] (SCNu8): Likewise.
22607 [C99-based-standards] (SCNx8): Likewise.
22608 [C99-based-standards] (PRIdLEAST8): Likewise.
22609 [C99-based-standards] (PRIiLEAST8): Likewise.
22610 [C99-based-standards] (PRIoLEAST8): Likewise.
22611 [C99-based-standards] (PRIuLEAST8): Likewise.
22612 [C99-based-standards] (PRIxLEAST8): Likewise.
22613 [C99-based-standards] (PRIXLEAST8): Likewise.
22614 [C99-based-standards] (SCNdLEAST8): Likewise.
22615 [C99-based-standards] (SCNiLEAST8): Likewise.
22616 [C99-based-standards] (SCNoLEAST8): Likewise.
22617 [C99-based-standards] (SCNuLEAST8): Likewise.
22618 [C99-based-standards] (SCNxLEAST8): Likewise.
22619 [C99-based-standards] (PRIdFAST8): Likewise.
22620 [C99-based-standards] (PRIiFAST8): Likewise.
22621 [C99-based-standards] (PRIoFAST8): Likewise.
22622 [C99-based-standards] (PRIuFAST8): Likewise.
22623 [C99-based-standards] (PRIxFAST8): Likewise.
22624 [C99-based-standards] (PRIXFAST8): Likewise.
22625 [C99-based-standards] (SCNdFAST8): Likewise.
22626 [C99-based-standards] (SCNiFAST8): Likewise.
22627 [C99-based-standards] (SCNoFAST8): Likewise.
22628 [C99-based-standards] (SCNuFAST8): Likewise.
22629 [C99-based-standards] (SCNxFAST8): Likewise.
22630 [C99-based-standards] (PRId16): Likewise.
22631 [C99-based-standards] (PRIi16): Likewise.
22632 [C99-based-standards] (PRIo16): Likewise.
22633 [C99-based-standards] (PRIu16): Likewise.
22634 [C99-based-standards] (PRIx16): Likewise.
22635 [C99-based-standards] (PRIX16): Likewise.
22636 [C99-based-standards] (SCNd16): Likewise.
22637 [C99-based-standards] (SCNi16): Likewise.
22638 [C99-based-standards] (SCNo16): Likewise.
22639 [C99-based-standards] (SCNu16): Likewise.
22640 [C99-based-standards] (SCNx16): Likewise.
22641 [C99-based-standards] (PRIdLEAST16): Likewise.
22642 [C99-based-standards] (PRIiLEAST16): Likewise.
22643 [C99-based-standards] (PRIoLEAST16): Likewise.
22644 [C99-based-standards] (PRIuLEAST16): Likewise.
22645 [C99-based-standards] (PRIxLEAST16): Likewise.
22646 [C99-based-standards] (PRIXLEAST16): Likewise.
22647 [C99-based-standards] (SCNdLEAST16): Likewise.
22648 [C99-based-standards] (SCNiLEAST16): Likewise.
22649 [C99-based-standards] (SCNoLEAST16): Likewise.
22650 [C99-based-standards] (SCNuLEAST16): Likewise.
22651 [C99-based-standards] (SCNxLEAST16): Likewise.
22652 [C99-based-standards] (PRIdFAST16): Likewise.
22653 [C99-based-standards] (PRIiFAST16): Likewise.
22654 [C99-based-standards] (PRIoFAST16): Likewise.
22655 [C99-based-standards] (PRIuFAST16): Likewise.
22656 [C99-based-standards] (PRIxFAST16): Likewise.
22657 [C99-based-standards] (PRIXFAST16): Likewise.
22658 [C99-based-standards] (SCNdFAST16): Likewise.
22659 [C99-based-standards] (SCNiFAST16): Likewise.
22660 [C99-based-standards] (SCNoFAST16): Likewise.
22661 [C99-based-standards] (SCNuFAST16): Likewise.
22662 [C99-based-standards] (SCNxFAST16): Likewise.
22663 [C99-based-standards] (PRId32): Likewise.
22664 [C99-based-standards] (PRIi32): Likewise.
22665 [C99-based-standards] (PRIo32): Likewise.
22666 [C99-based-standards] (PRIu32): Likewise.
22667 [C99-based-standards] (PRIx32): Likewise.
22668 [C99-based-standards] (PRIX32): Likewise.
22669 [C99-based-standards] (SCNd32): Likewise.
22670 [C99-based-standards] (SCNi32): Likewise.
22671 [C99-based-standards] (SCNo32): Likewise.
22672 [C99-based-standards] (SCNu32): Likewise.
22673 [C99-based-standards] (SCNx32): Likewise.
22674 [C99-based-standards] (PRIdLEAST32): Likewise.
22675 [C99-based-standards] (PRIiLEAST32): Likewise.
22676 [C99-based-standards] (PRIoLEAST32): Likewise.
22677 [C99-based-standards] (PRIuLEAST32): Likewise.
22678 [C99-based-standards] (PRIxLEAST32): Likewise.
22679 [C99-based-standards] (PRIXLEAST32): Likewise.
22680 [C99-based-standards] (SCNdLEAST32): Likewise.
22681 [C99-based-standards] (SCNiLEAST32): Likewise.
22682 [C99-based-standards] (SCNoLEAST32): Likewise.
22683 [C99-based-standards] (SCNuLEAST32): Likewise.
22684 [C99-based-standards] (SCNxLEAST32): Likewise.
22685 [C99-based-standards] (PRIdFAST32): Likewise.
22686 [C99-based-standards] (PRIiFAST32): Likewise.
22687 [C99-based-standards] (PRIoFAST32): Likewise.
22688 [C99-based-standards] (PRIuFAST32): Likewise.
22689 [C99-based-standards] (PRIxFAST32): Likewise.
22690 [C99-based-standards] (PRIXFAST32): Likewise.
22691 [C99-based-standards] (SCNdFAST32): Likewise.
22692 [C99-based-standards] (SCNiFAST32): Likewise.
22693 [C99-based-standards] (SCNoFAST32): Likewise.
22694 [C99-based-standards] (SCNuFAST32): Likewise.
22695 [C99-based-standards] (SCNxFAST32): Likewise.
22696 [C99-based-standards] (PRId64): Likewise.
22697 [C99-based-standards] (PRIi64): Likewise.
22698 [C99-based-standards] (PRIo64): Likewise.
22699 [C99-based-standards] (PRIu64): Likewise.
22700 [C99-based-standards] (PRIx64): Likewise.
22701 [C99-based-standards] (PRIX64): Likewise.
22702 [C99-based-standards] (SCNd64): Likewise.
22703 [C99-based-standards] (SCNi64): Likewise.
22704 [C99-based-standards] (SCNo64): Likewise.
22705 [C99-based-standards] (SCNu64): Likewise.
22706 [C99-based-standards] (SCNx64): Likewise.
22707 [C99-based-standards] (PRIdLEAST64): Likewise.
22708 [C99-based-standards] (PRIiLEAST64): Likewise.
22709 [C99-based-standards] (PRIoLEAST64): Likewise.
22710 [C99-based-standards] (PRIuLEAST64): Likewise.
22711 [C99-based-standards] (PRIxLEAST64): Likewise.
22712 [C99-based-standards] (PRIXLEAST64): Likewise.
22713 [C99-based-standards] (SCNdLEAST64): Likewise.
22714 [C99-based-standards] (SCNiLEAST64): Likewise.
22715 [C99-based-standards] (SCNoLEAST64): Likewise.
22716 [C99-based-standards] (SCNuLEAST64): Likewise.
22717 [C99-based-standards] (SCNxLEAST64): Likewise.
22718 [C99-based-standards] (PRIdFAST64): Likewise.
22719 [C99-based-standards] (PRIiFAST64): Likewise.
22720 [C99-based-standards] (PRIoFAST64): Likewise.
22721 [C99-based-standards] (PRIuFAST64): Likewise.
22722 [C99-based-standards] (PRIxFAST64): Likewise.
22723 [C99-based-standards] (PRIXFAST64): Likewise.
22724 [C99-based-standards] (SCNdFAST64): Likewise.
22725 [C99-based-standards] (SCNiFAST64): Likewise.
22726 [C99-based-standards] (SCNoFAST64): Likewise.
22727 [C99-based-standards] (SCNuFAST64): Likewise.
22728 [C99-based-standards] (SCNxFAST64): Likewise.
22729 [C99-based-standards] (PRIdMAX): Likewise.
22730 [C99-based-standards] (PRIiMAX): Likewise.
22731 [C99-based-standards] (PRIoMAX): Likewise.
22732 [C99-based-standards] (PRIuMAX): Likewise.
22733 [C99-based-standards] (PRIxMAX): Likewise.
22734 [C99-based-standards] (PRIXMAX): Likewise.
22735 [C99-based-standards] (SCNdMAX): Likewise.
22736 [C99-based-standards] (SCNiMAX): Likewise.
22737 [C99-based-standards] (SCNoMAX): Likewise.
22738 [C99-based-standards] (SCNuMAX): Likewise.
22739 [C99-based-standards] (SCNxMAX): Likewise.
22740 [C99-based-standards] (PRIdPTR): Likewise.
22741 [C99-based-standards] (PRIiPTR): Likewise.
22742 [C99-based-standards] (PRIoPTR): Likewise.
22743 [C99-based-standards] (PRIuPTR): Likewise.
22744 [C99-based-standards] (PRIxPTR): Likewise.
22745 [C99-based-standards] (PRIXPTR): Likewise.
22746 [C99-based-standards] (SCNdPTR): Likewise.
22747 [C99-based-standards] (SCNiPTR): Likewise.
22748 [C99-based-standards] (SCNoPTR): Likewise.
22749 [C99-based-standards] (SCNuPTR): Likewise.
22750 [C99-based-standards] (SCNxPTR): Likewise.
22751 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22753 * conform/data/stdint.h-data: Update comments to clarify
22755 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22757 [C99-based standards] (INT8_MAX): Likewise.
22758 [C99-based standards] (INT16_MIN): Likewise.
22759 [C99-based standards] (INT16_MAX): Likewise.
22760 [C99-based standards] (INT32_MIN): Likewise.
22761 [C99-based standards] (INT32_MAX): Likewise.
22762 [C99-based standards] (INT64_MIN): Likewise.
22763 [C99-based standards] (INT64_MAX): Likewise.
22764 [C99-based standards] (UINT8_MAX): Likewise.
22765 [C99-based standards] (UINT16_MAX): Likewise.
22766 [C99-based standards] (UINT32_MAX): Likewise.
22767 [C99-based standards] (UINT64_MAX): Likewise.
22768 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22769 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22770 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22771 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22772 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22773 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22774 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22775 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22776 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22777 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22778 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22779 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22780 [C99-based standards] (INT_FAST8_MIN): Likewise.
22781 [C99-based standards] (INT_FAST8_MAX): Likewise.
22782 [C99-based standards] (INT_FAST16_MIN): Likewise.
22783 [C99-based standards] (INT_FAST16_MAX): Likewise.
22784 [C99-based standards] (INT_FAST32_MIN): Likewise.
22785 [C99-based standards] (INT_FAST32_MAX): Likewise.
22786 [C99-based standards] (INT_FAST64_MIN): Likewise.
22787 [C99-based standards] (INT_FAST64_MAX): Likewise.
22788 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22789 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22790 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22791 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22792 [C99-based standards] (INTPTR_MIN): Likewise.
22793 [C99-based standards] (INTPTR_MAX): Likewise.
22794 [C99-based standards] (UINTPTR_MAX): Likewise.
22795 [C99-based standards] (INTMAX_MIN): Likewise.
22796 [C99-based standards] (INTMAX_MAX): Likewise.
22797 [C99-based standards] (UINTMAX_MAX): Likewise.
22798 [C99-based standards] (PTRDIFF_MIN): Likewise.
22799 [C99-based standards] (PTRDIFF_MAX): Likewise.
22800 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22801 [C99-based standards] (SIZE_MAX): Likewise.
22802 [C99-based standards] (WCHAR_MAX): Likewise.
22803 [C99-based standards] (WINT_MAX): Likewise.
22804 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22805 constraint on value.
22806 [C99-based standards] (WCHAR_MIN): Likewise.
22807 [C99-based standards] (WINT_MIN): Likewise.
22808 [C99-based standards] (*_t): Allow.
22809 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22810 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22811 Include math.h-data and complex.h-data. Remove all expectations
22812 of math.h and complex.h contents.
22813 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22815 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22816 (struct tm): Expect tag.
22817 [C99-based-standards] (wcstof): Expect function.
22818 [C99-based-standards] (wcstold): Likewise.
22819 [C99-based-standards] (wcstoll): Likewise.
22820 [C99-based-standards] (wcstoull): Likewise.
22821 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22822 macro-int-constant. Specify type.
22823 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22824 constraint on value.
22825 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22827 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22829 [ISO C standards]: Do not allow headers.
22830 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22831 wcs[abcdefghijklmnopqrstuvwxyz]*.
22832 [ISO C standards] (*_t): Do not allow.
22833 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22835 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22836 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22838 [ISO C standards]: Do not allow headers.
22839 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22840 is[abcdefghijklmnopqrstuvwxyz]*.
22841 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22842 to[abcdefghijklmnopqrstuvwxyz]*.
22843 [ISO C standards] (*_t): Do not allow.
22844 * conform/data/stdalign.h-data: New file.
22845 * conform/data/stdbool.h-data: Likewise.
22846 * conform/data/stdnoreturn.h-data: Likewise.
22848 2012-11-07 Roland McGrath <roland@hack.frob.com>
22851 * manual/filesys.texi (Directory Entries): Typo fix.
22852 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22854 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22856 * elf/elf.h (EM_AARCH64): New macro.
22857 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22858 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22859 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22860 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22861 (R_AARCH64_TLSDESC): Likewise.
22862 (NT_ARM_TLS): Likewise.
22863 (NT_ARM_HW_BREAK): Likewise.
22864 (NT_ARM_HW_WATCH): Likewise.
22866 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22869 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22870 (__ieee754_powl): Saturate nonzero exponents with absolute value
22871 below 0x1p-79 to +/- 0x1p-79.
22872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22873 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22874 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22875 nonzero exponents with absolute value below 0x1p-32 to +/-
22877 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22878 (__ieee754_powl): Saturate nonzero exponents with absolute value
22879 below 0x1p-79 to +/- 0x1p-79.
22880 * math/libm-test.inc (pow_test): Add more tests.
22882 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22884 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22885 _dl_s390_cap_flags with kernel. Increase string length.
22886 (_dl_s390_platforms): Add z196 and zEC12.
22888 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22890 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22891 Change XOPEN21K to XOPEN2K.
22893 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22895 * string/memmove.c: Use memcpy when possible.
22897 2012-11-06 Andreas Jaeger <aj@suse.de>
22899 * po/eo.po: Update from translation team.
22901 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22905 exponent and small x and y exponents, scale x or y up. Increase
22906 by 2 the exponent used in scaling up.
22907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22909 * math/libm-test.inc (fma_test): Add more tests.
22910 (fma_test_towardzero): Likewise.
22911 (fma_test_downward): Likewise.
22912 (fma_test_upward): Likewise.
22914 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22917 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22921 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22922 namespace for names of struct fields.
22923 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22925 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22926 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22928 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22931 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22933 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22935 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22939 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22942 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22946 definitely overflow as x * y not x * y + z.
22947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22949 * math/libm-test.inc (fma_test): Add more tests.
22950 (fma_test_towardzero): Likewise.
22951 (fma_test_downward): Likewise.
22952 (fma_test_upward): Likewise.
22954 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22958 * include/stub-tag.h: Remove file.
22959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22961 * manual/maint.texi (Porting): Don't reference it.
22962 * Makerules ($(objpfx)stubs): Likewise.
22963 * dirent/closedir.c: Don't include <stub-tag.h>.
22964 * dirent/dirfd.c: Likewise.
22965 * dirent/fdopendir.c: Likewise.
22966 * dirent/getdents.c: Likewise.
22967 * dirent/getdents64.c: Likewise.
22968 * dirent/opendir.c: Likewise.
22969 * dirent/readdir.c: Likewise.
22970 * dirent/readdir64.c: Likewise.
22971 * dirent/readdir64_r.c: Likewise.
22972 * dirent/readdir_r.c: Likewise.
22973 * dirent/rewinddir.c: Likewise.
22974 * dirent/seekdir.c: Likewise.
22975 * dirent/telldir.c: Likewise.
22976 * gmon/profil.c: Likewise.
22977 * grp/setgroups.c: Likewise.
22978 * inet/if_index.c: Likewise.
22979 * io/access.c: Likewise.
22980 * io/chdir.c: Likewise.
22981 * io/chmod.c: Likewise.
22982 * io/chown.c: Likewise.
22983 * io/close.c: Likewise.
22984 * io/dup.c: Likewise.
22985 * io/dup2.c: Likewise.
22986 * io/dup3.c: Likewise.
22987 * io/euidaccess.c: Likewise.
22988 * io/faccessat.c: Likewise.
22989 * io/fchdir.c: Likewise.
22990 * io/fchmod.c: Likewise.
22991 * io/fchmodat.c: Likewise.
22992 * io/fchown.c: Likewise.
22993 * io/fchownat.c: Likewise.
22994 * io/fcntl.c: Likewise.
22995 * io/flock.c: Likewise.
22996 * io/fstatfs.c: Likewise.
22997 * io/fstatfs64.c: Likewise.
22998 * io/fstatvfs.c: Likewise.
22999 * io/fstatvfs64.c: Likewise.
23000 * io/futimens.c: Likewise.
23001 * io/fxstat.c: Likewise.
23002 * io/fxstat64.c: Likewise.
23003 * io/fxstatat.c: Likewise.
23004 * io/fxstatat64.c: Likewise.
23005 * io/getcwd.c: Likewise.
23006 * io/isatty.c: Likewise.
23007 * io/lchmod.c: Likewise.
23008 * io/lchown.c: Likewise.
23009 * io/link.c: Likewise.
23010 * io/linkat.c: Likewise.
23011 * io/lseek.c: Likewise.
23012 * io/lseek64.c: Likewise.
23013 * io/lxstat64.c: Likewise.
23014 * io/mkdir.c: Likewise.
23015 * io/mkdirat.c: Likewise.
23016 * io/mkfifo.c: Likewise.
23017 * io/mkfifoat.c: Likewise.
23018 * io/open.c: Likewise.
23019 * io/open64.c: Likewise.
23020 * io/openat.c: Likewise.
23021 * io/openat64.c: Likewise.
23022 * io/pipe.c: Likewise.
23023 * io/pipe2.c: Likewise.
23024 * io/poll.c: Likewise.
23025 * io/posix_fadvise.c: Likewise.
23026 * io/posix_fadvise64.c: Likewise.
23027 * io/posix_fallocate.c: Likewise.
23028 * io/posix_fallocate64.c: Likewise.
23029 * io/read.c: Likewise.
23030 * io/readlink.c: Likewise.
23031 * io/readlinkat.c: Likewise.
23032 * io/rmdir.c: Likewise.
23033 * io/sendfile.c: Likewise.
23034 * io/sendfile64.c: Likewise.
23035 * io/statfs.c: Likewise.
23036 * io/statfs64.c: Likewise.
23037 * io/statvfs.c: Likewise.
23038 * io/statvfs64.c: Likewise.
23039 * io/symlink.c: Likewise.
23040 * io/symlinkat.c: Likewise.
23041 * io/ttyname.c: Likewise.
23042 * io/ttyname_r.c: Likewise.
23043 * io/umask.c: Likewise.
23044 * io/unlink.c: Likewise.
23045 * io/unlinkat.c: Likewise.
23046 * io/utime.c: Likewise.
23047 * io/utimensat.c: Likewise.
23048 * io/write.c: Likewise.
23049 * io/xmknod.c: Likewise.
23050 * io/xmknodat.c: Likewise.
23051 * io/xstat.c: Likewise.
23052 * io/xstat64.c: Likewise.
23053 * login/getpt.c: Likewise.
23054 * login/grantpt.c: Likewise.
23055 * login/unlockpt.c: Likewise.
23056 * math/e_acoshl.c: Likewise.
23057 * math/e_acosl.c: Likewise.
23058 * math/e_asinl.c: Likewise.
23059 * math/e_atan2l.c: Likewise.
23060 * math/e_atanhl.c: Likewise.
23061 * math/e_coshl.c: Likewise.
23062 * math/e_expl.c: Likewise.
23063 * math/e_fmodl.c: Likewise.
23064 * math/e_gammal_r.c: Likewise.
23065 * math/e_hypotl.c: Likewise.
23066 * math/e_j0l.c: Likewise.
23067 * math/e_j1l.c: Likewise.
23068 * math/e_jnl.c: Likewise.
23069 * math/e_lgammal_r.c: Likewise.
23070 * math/e_log10l.c: Likewise.
23071 * math/e_log2l.c: Likewise.
23072 * math/e_logl.c: Likewise.
23073 * math/e_powl.c: Likewise.
23074 * math/e_rem_pio2l.c: Likewise.
23075 * math/e_sinhl.c: Likewise.
23076 * math/e_sqrtl.c: Likewise.
23077 * math/fclrexcpt.c: Likewise.
23078 * math/fedisblxcpt.c: Likewise.
23079 * math/feenablxcpt.c: Likewise.
23080 * math/fegetenv.c: Likewise.
23081 * math/fegetexcept.c: Likewise.
23082 * math/fegetround.c: Likewise.
23083 * math/feholdexcpt.c: Likewise.
23084 * math/fesetenv.c: Likewise.
23085 * math/fesetround.c: Likewise.
23086 * math/feupdateenv.c: Likewise.
23087 * math/fgetexcptflg.c: Likewise.
23088 * math/fraiseexcpt.c: Likewise.
23089 * math/fsetexcptflg.c: Likewise.
23090 * math/ftestexcept.c: Likewise.
23091 * math/k_cosl.c: Likewise.
23092 * math/k_rem_pio2l.c: Likewise.
23093 * math/k_sinl.c: Likewise.
23094 * math/k_tanl.c: Likewise.
23095 * math/s_asinhl.c: Likewise.
23096 * math/s_atanl.c: Likewise.
23097 * math/s_cbrtl.c: Likewise.
23098 * math/s_erfl.c: Likewise.
23099 * math/s_expm1l.c: Likewise.
23100 * math/s_log1pl.c: Likewise.
23101 * math/s_tanhl.c: Likewise.
23102 * misc/acct.c: Likewise.
23103 * misc/brk.c: Likewise.
23104 * misc/chflags.c: Likewise.
23105 * misc/chroot.c: Likewise.
23106 * misc/fchflags.c: Likewise.
23107 * misc/fgetxattr.c: Likewise.
23108 * misc/flistxattr.c: Likewise.
23109 * misc/fremovexattr.c: Likewise.
23110 * misc/fsetxattr.c: Likewise.
23111 * misc/fsync.c: Likewise.
23112 * misc/ftruncate.c: Likewise.
23113 * misc/futimes.c: Likewise.
23114 * misc/futimesat.c: Likewise.
23115 * misc/getdomain.c: Likewise.
23116 * misc/getdtsz.c: Likewise.
23117 * misc/gethostid.c: Likewise.
23118 * misc/gethostname.c: Likewise.
23119 * misc/getloadavg.c: Likewise.
23120 * misc/getpagesize.c: Likewise.
23121 * misc/getsysstats.c: Likewise.
23122 * misc/getxattr.c: Likewise.
23123 * misc/gtty.c: Likewise.
23124 * misc/ioctl.c: Likewise.
23125 * misc/lgetxattr.c: Likewise.
23126 * misc/listxattr.c: Likewise.
23127 * misc/llistxattr.c: Likewise.
23128 * misc/lremovexattr.c: Likewise.
23129 * misc/lsetxattr.c: Likewise.
23130 * misc/lutimes.c: Likewise.
23131 * misc/madvise.c: Likewise.
23132 * misc/mincore.c: Likewise.
23133 * misc/mlock.c: Likewise.
23134 * misc/mlockall.c: Likewise.
23135 * misc/mmap.c: Likewise.
23136 * misc/mprotect.c: Likewise.
23137 * misc/msync.c: Likewise.
23138 * misc/munlock.c: Likewise.
23139 * misc/munlockall.c: Likewise.
23140 * misc/munmap.c: Likewise.
23141 * misc/preadv.c: Likewise.
23142 * misc/preadv64.c: Likewise.
23143 * misc/ptrace.c: Likewise.
23144 * misc/pwritev.c: Likewise.
23145 * misc/pwritev64.c: Likewise.
23146 * misc/readv.c: Likewise.
23147 * misc/reboot.c: Likewise.
23148 * misc/remap_file_pages.c: Likewise.
23149 * misc/removexattr.c: Likewise.
23150 * misc/revoke.c: Likewise.
23151 * misc/select.c: Likewise.
23152 * misc/setdomain.c: Likewise.
23153 * misc/setegid.c: Likewise.
23154 * misc/seteuid.c: Likewise.
23155 * misc/sethostid.c: Likewise.
23156 * misc/sethostname.c: Likewise.
23157 * misc/setregid.c: Likewise.
23158 * misc/setreuid.c: Likewise.
23159 * misc/setxattr.c: Likewise.
23160 * misc/sstk.c: Likewise.
23161 * misc/stty.c: Likewise.
23162 * misc/swapoff.c: Likewise.
23163 * misc/swapon.c: Likewise.
23164 * misc/sync.c: Likewise.
23165 * misc/syncfs.c: Likewise.
23166 * misc/syscall.c: Likewise.
23167 * misc/truncate.c: Likewise.
23168 * misc/ualarm.c: Likewise.
23169 * misc/usleep.c: Likewise.
23170 * misc/ustat.c: Likewise.
23171 * misc/utimes.c: Likewise.
23172 * misc/vhangup.c: Likewise.
23173 * misc/writev.c: Likewise.
23174 * posix/_exit.c: Likewise.
23175 * posix/alarm.c: Likewise.
23176 * posix/execve.c: Likewise.
23177 * posix/fexecve.c: Likewise.
23178 * posix/fork.c: Likewise.
23179 * posix/fpathconf.c: Likewise.
23180 * posix/getaddrinfo.c: Likewise.
23181 * posix/getegid.c: Likewise.
23182 * posix/geteuid.c: Likewise.
23183 * posix/getgid.c: Likewise.
23184 * posix/getgroups.c: Likewise.
23185 * posix/getlogin.c: Likewise.
23186 * posix/getlogin_r.c: Likewise.
23187 * posix/getpgid.c: Likewise.
23188 * posix/getpid.c: Likewise.
23189 * posix/getppid.c: Likewise.
23190 * posix/getresgid.c: Likewise.
23191 * posix/getresuid.c: Likewise.
23192 * posix/getsid.c: Likewise.
23193 * posix/getuid.c: Likewise.
23194 * posix/glob64.c: Likewise.
23195 * posix/nanosleep.c: Likewise.
23196 * posix/pathconf.c: Likewise.
23197 * posix/pause.c: Likewise.
23198 * posix/posix_madvise.c: Likewise.
23199 * posix/pread.c: Likewise.
23200 * posix/pread64.c: Likewise.
23201 * posix/pwrite.c: Likewise.
23202 * posix/pwrite64.c: Likewise.
23203 * posix/sched_getaffinity.c: Likewise.
23204 * posix/sched_getp.c: Likewise.
23205 * posix/sched_gets.c: Likewise.
23206 * posix/sched_primax.c: Likewise.
23207 * posix/sched_primin.c: Likewise.
23208 * posix/sched_rr_gi.c: Likewise.
23209 * posix/sched_setaffinity.c: Likewise.
23210 * posix/sched_setp.c: Likewise.
23211 * posix/sched_sets.c: Likewise.
23212 * posix/sched_yield.c: Likewise.
23213 * posix/setgid.c: Likewise.
23214 * posix/setlogin.c: Likewise.
23215 * posix/setpgid.c: Likewise.
23216 * posix/setresgid.c: Likewise.
23217 * posix/setresuid.c: Likewise.
23218 * posix/setsid.c: Likewise.
23219 * posix/setuid.c: Likewise.
23220 * posix/sleep.c: Likewise.
23221 * posix/spawni.c: Likewise.
23222 * posix/sysconf.c: Likewise.
23223 * posix/times.c: Likewise.
23224 * posix/wait.c: Likewise.
23225 * posix/wait3.c: Likewise.
23226 * posix/wait4.c: Likewise.
23227 * posix/waitpid.c: Likewise.
23228 * resolv/gai_sigqueue.c: Likewise.
23229 * resource/getpriority.c: Likewise.
23230 * resource/getrlimit.c: Likewise.
23231 * resource/getrusage.c: Likewise.
23232 * resource/nice.c: Likewise.
23233 * resource/setpriority.c: Likewise.
23234 * resource/setrlimit.c: Likewise.
23235 * resource/ulimit.c: Likewise.
23236 * rt/aio_cancel.c: Likewise.
23237 * rt/aio_fsync.c: Likewise.
23238 * rt/aio_read.c: Likewise.
23239 * rt/aio_sigqueue.c: Likewise.
23240 * rt/aio_suspend.c: Likewise.
23241 * rt/aio_write.c: Likewise.
23242 * rt/clock_getres.c: Likewise.
23243 * rt/clock_gettime.c: Likewise.
23244 * rt/clock_nanosleep.c: Likewise.
23245 * rt/clock_settime.c: Likewise.
23246 * rt/lio_listio.c: Likewise.
23247 * rt/mq_close.c: Likewise.
23248 * rt/mq_getattr.c: Likewise.
23249 * rt/mq_notify.c: Likewise.
23250 * rt/mq_open.c: Likewise.
23251 * rt/mq_receive.c: Likewise.
23252 * rt/mq_send.c: Likewise.
23253 * rt/mq_setattr.c: Likewise.
23254 * rt/mq_timedreceive.c: Likewise.
23255 * rt/mq_timedsend.c: Likewise.
23256 * rt/mq_unlink.c: Likewise.
23257 * rt/shm_open.c: Likewise.
23258 * rt/shm_unlink.c: Likewise.
23259 * rt/timer_create.c: Likewise.
23260 * rt/timer_delete.c: Likewise.
23261 * rt/timer_getoverr.c: Likewise.
23262 * rt/timer_gettime.c: Likewise.
23263 * rt/timer_settime.c: Likewise.
23264 * setjmp/__longjmp.c: Likewise.
23265 * setjmp/setjmp.c: Likewise.
23266 * signal/kill.c: Likewise.
23267 * signal/killpg.c: Likewise.
23268 * signal/raise.c: Likewise.
23269 * signal/sigaction.c: Likewise.
23270 * signal/sigaltstack.c: Likewise.
23271 * signal/sigblock.c: Likewise.
23272 * signal/sigignore.c: Likewise.
23273 * signal/sigintr.c: Likewise.
23274 * signal/signal.c: Likewise.
23275 * signal/sigpause.c: Likewise.
23276 * signal/sigpending.c: Likewise.
23277 * signal/sigqueue.c: Likewise.
23278 * signal/sigreturn.c: Likewise.
23279 * signal/sigset.c: Likewise.
23280 * signal/sigsetmask.c: Likewise.
23281 * signal/sigstack.c: Likewise.
23282 * signal/sigsuspend.c: Likewise.
23283 * signal/sigtimedwait.c: Likewise.
23284 * signal/sigvec.c: Likewise.
23285 * signal/sigwait.c: Likewise.
23286 * signal/sigwaitinfo.c: Likewise.
23287 * signal/sysv_signal.c: Likewise.
23288 * socket/accept.c: Likewise.
23289 * socket/accept4.c: Likewise.
23290 * socket/bind.c: Likewise.
23291 * socket/connect.c: Likewise.
23292 * socket/getpeername.c: Likewise.
23293 * socket/getsockname.c: Likewise.
23294 * socket/getsockopt.c: Likewise.
23295 * socket/isfdtype.c: Likewise.
23296 * socket/listen.c: Likewise.
23297 * socket/recv.c: Likewise.
23298 * socket/recvfrom.c: Likewise.
23299 * socket/recvmsg.c: Likewise.
23300 * socket/send.c: Likewise.
23301 * socket/sendmsg.c: Likewise.
23302 * socket/sendto.c: Likewise.
23303 * socket/setsockopt.c: Likewise.
23304 * socket/shutdown.c: Likewise.
23305 * socket/sockatmark.c: Likewise.
23306 * socket/socket.c: Likewise.
23307 * socket/socketpair.c: Likewise.
23308 * stdio-common/ctermid.c: Likewise.
23309 * stdio-common/cuserid.c: Likewise.
23310 * stdio-common/remove.c: Likewise.
23311 * stdio-common/rename.c: Likewise.
23312 * stdio-common/renameat.c: Likewise.
23313 * stdio-common/tempname.c: Likewise.
23314 * stdlib/getcontext.c: Likewise.
23315 * stdlib/makecontext.c: Likewise.
23316 * stdlib/setcontext.c: Likewise.
23317 * stdlib/swapcontext.c: Likewise.
23318 * stdlib/system.c: Likewise.
23319 * streams/fattach.c: Likewise.
23320 * streams/fdetach.c: Likewise.
23321 * streams/getmsg.c: Likewise.
23322 * streams/getpmsg.c: Likewise.
23323 * streams/putmsg.c: Likewise.
23324 * streams/putpmsg.c: Likewise.
23325 * sysdeps/unix/bsd/getpt.c: Likewise.
23326 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23327 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23328 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23331 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23332 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23333 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23334 * sysvipc/msgctl.c: Likewise.
23335 * sysvipc/msgget.c: Likewise.
23336 * sysvipc/msgrcv.c: Likewise.
23337 * sysvipc/msgsnd.c: Likewise.
23338 * sysvipc/semctl.c: Likewise.
23339 * sysvipc/semget.c: Likewise.
23340 * sysvipc/semop.c: Likewise.
23341 * sysvipc/semtimedop.c: Likewise.
23342 * sysvipc/shmat.c: Likewise.
23343 * sysvipc/shmctl.c: Likewise.
23344 * sysvipc/shmdt.c: Likewise.
23345 * sysvipc/shmget.c: Likewise.
23346 * termios/tcdrain.c: Likewise.
23347 * termios/tcflow.c: Likewise.
23348 * termios/tcflush.c: Likewise.
23349 * termios/tcgetattr.c: Likewise.
23350 * termios/tcgetpgrp.c: Likewise.
23351 * termios/tcsendbrk.c: Likewise.
23352 * termios/tcsetattr.c: Likewise.
23353 * termios/tcsetpgrp.c: Likewise.
23354 * time/adjtime.c: Likewise.
23355 * time/clock.c: Likewise.
23356 * time/getitimer.c: Likewise.
23357 * time/gettimeofday.c: Likewise.
23358 * time/setitimer.c: Likewise.
23359 * time/settimeofday.c: Likewise.
23360 * time/stime.c: Likewise.
23361 * time/time.c: Likewise.
23363 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23365 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23368 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23370 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23372 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23376 FE_TONEAREST before applying Dekker multiplication and Knuth
23377 addition. Clear inexact exceptions and check for exact zero
23378 results afterwards.
23379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23380 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23382 * math/libm-test.inc (fma_test): Add more tests.
23383 (fma_test_towardzero): Likewise.
23384 (fma_test_downward): Likewise.
23385 (fma_test_upward): Likewise.
23386 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23388 (libc_fesetround): New macro.
23389 (libc_fesetroundf): Likewise.
23390 (libc_fesetroundl): Likewise.
23391 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23393 (libc_fesetround_387): Likewise.
23394 (libc_fesetroundf): New macro.
23395 (libc_fesetround): Likewise.
23396 (libc_fesetroundl): Likewise.
23397 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23399 (libc_fesetroundf): New macro.
23400 (libc_fesetround): Likewise.
23401 (libc_fesetroundl): Likewise.
23402 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23403 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23404 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23406 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23407 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23409 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23410 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23412 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23416 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23417 integer constant usable in #if and use that to give value to enum
23419 (FE_DIVBYZERO): Likewise.
23420 (FE_UNDERFLOW): Likewise.
23421 (FE_OVERFLOW): Likewise.
23422 (FE_INVALID): Likewise.
23423 (FE_INVALID_SNAN): Likewise.
23424 (FE_INVALID_ISI): Likewise.
23425 (FE_INVALID_IDI): Likewise.
23426 (FE_INVALID_ZDZ): Likewise.
23427 (FE_INVALID_IMZ): Likewise.
23428 (FE_INVALID_COMPARE): Likewise.
23429 (FE_INVALID_SOFTWARE): Likewise.
23430 (FE_INVALID_SQRT): Likewise.
23431 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23432 (FE_TONEAREST): Likewise.
23433 (FE_TOWARDZERO): Likewise.
23434 (FE_UPWARD): Likewise.
23435 (FE_DOWNWARD): Likewise.
23436 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23437 (FE_DIVBYZERO): Likewise.
23438 (FE_OVERFLOW): Likewise.
23439 (FE_UNDERFLOW): Likewise.
23440 (FE_INEXACT): Likewise.
23441 (FE_TONEAREST): Likewise.
23442 (FE_DOWNWARD): Likewise.
23443 (FE_UPWARD): Likewise.
23444 (FE_TOWARDZERO): Likewise.
23445 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23446 (FE_UNDERFLOW): Likewise.
23447 (FE_OVERFLOW): Likewise.
23448 (FE_DIVBYZERO): Likewise.
23449 (FE_INVALID): Likewise.
23450 (FE_TONEAREST): Likewise.
23451 (FE_TOWARDZERO): Likewise.
23452 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23453 (FE_OVERFLOW): Likewise.
23454 (FE_UNDERFLOW): Likewise.
23455 (FE_DIVBYZERO): Likewise.
23456 (FE_INEXACT): Likewise.
23457 (FE_TONEAREST): Likewise.
23458 (FE_TOWARDZERO): Likewise.
23459 (FE_UPWARD): Likewise.
23460 (FE_DOWNWARD): Likewise.
23461 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23462 (FE_DIVBYZERO): Likewise.
23463 (FE_OVERFLOW): Likewise.
23464 (FE_UNDERFLOW): Likewise.
23465 (FE_INEXACT): Likewise.
23466 (FE_TONEAREST): Likewise.
23467 (FE_DOWNWARD): Likewise.
23468 (FE_UPWARD): Likewise.
23469 (FE_TOWARDZERO): Likewise.
23471 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23473 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23475 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23477 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23478 commands. Quote $PWD.
23479 (blacklist_exports): Don't use remove_newlines. Replace "declare
23481 (remove_newlines): Remove.
23483 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23485 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23486 * stdlib/stdlib.h (atof): Moved to ...
23487 * include/bits/stdlib-float.h: Here. New file.
23488 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23489 * stdlib/bits/stdlib-float.h: New file.
23490 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23492 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23495 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23497 * conform/conformtest.pl (@headers): Add fenv.h.
23498 * conform/data/fenv.h-data: New file.
23499 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23500 include of <math/fenv.h>.
23502 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23503 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23504 && !UNIX98]. Enables tests for XOPEN2K8.
23505 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23506 POSIX2008]: Likewise.
23508 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23509 (struct rusage): Do not expect type or its members.
23512 * math/math.h (FP_NAN): Define macro to integer constant usable in
23513 #if and use that to give value to enum constant.
23514 (FP_INFINITE): Likewise.
23515 (FP_ZERO): Likewise.
23516 (FP_SUBNORMAL): Likewise.
23517 (FP_NORMAL): Likewise.
23519 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23521 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23522 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23525 2012-11-02 Roland McGrath <roland@hack.frob.com>
23527 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23528 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23529 autoconf-time if not.
23530 * configure.in: Remove AC_PREREQ.
23532 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23534 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23535 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23536 of the internal implementation.
23538 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23540 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23541 except include of <misc/sys/syslog.h>.
23543 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23546 function returns with a NULL context exit with zero.
23548 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23550 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23552 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23554 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23555 (run_program_cmd): This.
23556 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23557 (tst_langinfo): New variable. Use it.
23559 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23561 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23562 floating point opcodes.
23564 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23566 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23569 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23571 * sysdeps/mach/hurd/powerpc: Remove directory.
23572 * sysdeps/mach/powerpc: Likewise.
23574 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23576 * scripts/check-local-headers.sh: Ignore c++ headers.
23578 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23580 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23581 __libc_cleanup_region_start argument.
23583 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23588 x * y using scaling, not as x * y + z.
23589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23591 * math/libm-test.inc (fma_test): Add more tests.
23592 (fma_test_towardzero): Likewise.
23593 (fma_test_downward): Likewise.
23594 (fma_test_upward): Likewise.
23596 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23598 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23600 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23602 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23605 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23607 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23609 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23616 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23619 Fix the order of the list for glibc 2.17.
23620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23623 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23627 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23630 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23631 for low part of x being zero before using __atanl (y).
23632 * math/libm-test.inc (atan2_test): Add another test.
23634 * manual/install.texi (Configuring and compiling): Document
23635 general use of test-wrapper and test-wrapper-env.
23636 * INSTALL: Regenerated.
23638 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23639 (__fma): Do not extract and scale down low bits on after-rounding
23640 systems when result rounded to normal precision would have normal
23642 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23643 (__fmal): Do not extract and scale down low bits on after-rounding
23644 systems when result rounded to normal precision would have normal
23646 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23647 (__fmal): Do not extract and scale down low bits on after-rounding
23648 systems when result rounded to normal precision would have normal
23650 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23652 (fma_test): Add more tests.
23653 (fma_test_towardzero): Likewise.
23654 (fma_test_downward): Likewise.
23655 (fma_test_upward): Likewise.
23657 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23659 * sysdeps/i386/tininess.h: Renamed to ...
23660 * sysdeps/x86/tininess.h: This.
23661 * sysdeps/x86_64/tininess.h: Removed.
23663 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23665 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23666 input. Use $(build-program-cmd).
23667 ($(objpfx)tst-array1-static.out): Likewise.
23668 ($(objpfx)tst-array2.out): Likewise.
23669 ($(objpfx)tst-array3.out): Likewise.
23670 ($(objpfx)tst-array4.out): Likewise.
23671 ($(objpfx)tst-array5.out): Likewise.
23672 ($(objpfx)tst-array5-static.out): Likewise.
23674 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23676 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23679 * nss/nsswitch.h (nss_interface_function): Provide new
23680 macro for use with NSS functions.
23681 * grp/initgroups.c: Use new macro.
23682 * nss/getXXbyYY.c: Likewise.
23683 * nss/getXXbyYY_r.c: Likewise.
23684 * nss/getXXent.c: Likewise.
23685 * nss/getXXent_r.c: Likewise.
23686 * sysdeps/posix/getaddrinfo.c: Likewise.
23688 2012-10-30 Andreas Jaeger <aj@suse.de>
23690 * po/ru.po: Update Russion translation from translation project.
23692 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23697 result and shift together with sticky bit instead of replicating
23698 round-to-nearest rounding.
23699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23701 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23702 missing underflow exceptions.
23703 (fma_test_towardzero): Add more tests.
23704 (fma_test_downward): Likewise.
23705 (fma_test_upward): Likewise.
23708 * sysdeps/generic/tininess.h: New file.
23709 * sysdeps/i386/tininess.h: Likewise.
23710 * sysdeps/sh/tininess.h: Likewise.
23711 * sysdeps/x86_64/tininess.h: Likewise.
23712 * stdlib/tst-strtod-underflow.c: Likewise.
23713 * stdlib/tst-tininess.c: Likewise.
23714 * stdlib/strtod_l.c: Include <tininess.h>.
23715 (round_and_return): Do not set errno for exact underflow cases.
23716 Force an underflow exception when setting errno for underflow.
23717 Determine underflow based on rounding to normal precision if
23718 TININESS_AFTER_ROUNDING.
23719 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23720 ERANGE for exact underflow cases.
23721 * stdlib/Makefile (tests): Add tst-tininess and
23722 tst-strtod-underflow.
23723 ($(objpfx)tst-tininess): Use $(link-libm).
23724 ($(objpfx)tst-strtod-underflow): Likewise.
23726 2012-10-30 Andreas Jaeger <aj@suse.de>
23729 * elf/Makefile (tests): Remove conditional for have-initfini-array
23730 since this is now always required and the variable does not exist
23732 (tests-static): Likewise.
23733 (modules-names): Likewise.
23735 * po/eo.po: Add Esperanto translation from translation project.
23737 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23738 merged with constructor/destructor.
23739 (init_array): Likewise.
23740 * elf/tst-array2dep.c (fini_array): Likewise.
23741 (init_array): Likewise.
23743 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23745 * manual/message.texi: Delete @cartouche tags.
23747 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23749 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23751 * sysdeps/mach/hurd/fsync.c: Likewise.
23753 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23754 [_POSIX_REALTIME_SIGNALS]: Change condition to
23755 [_POSIX_REALTIME_SIGNALS > 0].
23757 2012-10-27 Andreas Jaeger <aj@suse.de>
23759 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23760 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23762 [__WORDSIZE != 64]: Likewise.
23764 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23766 * iconvdata/tst-table.sh: Remove ${SHELL}.
23767 * iconvdata/tst-tables.sh: Likewise.
23769 2012-10-25 David S. Miller <davem@davemloft.net>
23771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23772 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23777 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23778 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23779 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23782 2012-10-25 Roland McGrath <roland@hack.frob.com>
23784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23785 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23788 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23789 Jim Blandy <jimb@codesourcery.com>
23791 * scripts/cross-test-ssh.sh: New file.
23792 * manual/install.texi (Configuring and compiling): Document use of
23794 * INSTALL: Regenerated.
23796 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23798 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23801 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23803 * Makeconfig (run-program-prefix): Fix comment.
23805 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23806 Jim Blandy <jimb@codesourcery.com>
23808 * Makeconfig (test-wrapper): New variable,
23809 (test-wrapper-env): Likewise.
23810 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23811 (run-built-tests): Define to yes.
23812 (run-program-prefix): Use $(test-wrapper).
23813 (built-program-cmd): Likewise.
23814 * Rules (make-test-out): Use $(test-wrapper-env) and
23815 $(host-built-program-cmd).
23816 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23817 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23819 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23820 $(test-wrapper-env) to tst-rtld-load-self.sh.
23821 ($(objpfx)order2.out): Use $(test-wrapper).
23822 ($(objpfx)tst-initorder.out): Likewise.
23823 ($(objpfx)tst-initorder2.out): Likewise.
23824 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23825 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23826 (test_wrapper_env): New variable. Use it to run ld.so.
23827 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23828 Use it to run ld.so.
23829 (test_wrapper_env): Likewise.
23830 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23831 $(test-wrapper) to run-iconv-test.sh.
23832 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23833 (ICONV): Use $test_wrapper.
23834 * posix/Makefile ($(objpfx)globtest.out): Pass
23835 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23836 globtest.sh, not $(run-program-prefix).
23837 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23838 (test_wrapper): Likewise.
23839 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23840 set together with run_via_rtld_prefix.
23841 (run_program_prefix): Define in terms of test_wrapper and
23842 run_via_rtld_prefix.
23844 2012-10-24 Roland McGrath <roland@hack.frob.com>
23846 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23847 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23851 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23852 Declare __clock_getres, __clock_gettime, __clock_settime,
23853 __clock_nanosleep, and __clock_getcpuclockid.
23854 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23855 Remove librt_hidden_def (clock_gettime).
23856 * sysdeps/unix/clock_gettime.c: Likewise.
23857 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23858 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23859 * rt/clock_getres.c: Define __clock_getres as an alias.
23860 * sysdeps/posix/clock_getres.c: Likewise.
23861 * rt/clock_settime.c: Define __clock_settime as an alias.
23862 * sysdeps/unix/clock_settime.c: Likewise.
23863 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23864 * sysdeps/unix/clock_nanosleep.c: Likewise.
23865 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23866 * rt/clock-compat.c: New file.
23867 * rt/Makefile (librt-routines): Add clock-compat and move
23868 $(clock-routines) to ...
23869 (routines): ... here, new variable.
23870 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23871 Don't add get_clockfreq here.
23872 * rt/Versions (libc: GLIBC_2.17): New version set.
23873 Add clock_* symbols here.
23874 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23875 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23876 (GLIBC_2.17): Add clock_* symbols.
23877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23888 * NEWS: Mention the move.
23890 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23891 Use __open, __read, __close rather than their public counterparts.
23892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23893 (__get_clockfreq_via_cpuinfo): Likewise.
23894 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23895 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23897 * config.h.in (HAVE_IFUNC): New #undef.
23898 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23900 * configure: Regenerated.
23902 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23904 * configure.in: Move READELF check to start of file.
23905 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23906 libc_cv_asm_gnu_indirect_function in the process.
23907 * configure: Regenerated.
23909 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23911 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23912 send the output to /dev/null.
23913 (libc_cv_cc_with_libunwind): Likewise.
23914 (libc_cv_as_noexecstack): Likewise.
23915 * configure: Regenerate.
23917 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23919 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23921 * posix/globtest.sh (TMPDIR): Do not set.
23922 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23923 (testout): Likewise.
23925 2012-10-24 Andreas Jaeger <aj@suse.de>
23927 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23928 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23929 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23930 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23931 posix_fadvise64, posix_fallocate64.
23933 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23934 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23935 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23937 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23939 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23942 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23943 <bits/fcntl-linux.h>.
23944 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23947 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23948 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23949 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23950 [__WORDSIZE != 64]: Likewise.
23952 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23954 * Makeconfig (run-built-tests): New variable.
23955 * Rules [$(cross-compiling) = yes]: Change condition to
23956 [$(run-built-tests) = no].
23957 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23958 to [$(run-built-tests) = yes].
23959 * elf/Makefile [$(cross-compiling) = no]: Likewise
23960 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23961 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23962 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23963 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23964 * io/Makefile [$(cross-compiling) = no]: Likewise.
23965 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23966 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23967 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23968 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23969 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23970 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23971 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23972 * string/Makefile [$(cross-compiling) = no]: Likewise.
23974 * posix/Makefile ($(objpfx)globtest.out): Pass
23975 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23976 $(rtld-installed-name).
23977 * posix/globtest.sh (elf_objpfx): Remove variable.
23978 (rtld_installed_name): Likewise.
23979 (library_path): Likewise.
23980 (run_program_prefix): New variable. Use for running globtest
23983 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23984 Joseph Myers <joseph@codesourcery.com>
23986 * Makeconfig (host-built-program-cmd): New variable.
23987 * elf/Makefile (tst-stackguard1-ARGS): Use
23988 $(host-built-program-cmd).
23989 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23990 (tst-spawn-ARGS): Likewise.
23991 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23993 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23994 Jim Blandy <jimb@codesourcery.com>
23996 * Makeconfig (run-via-rtld-prefix): New variable.
23997 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23998 (built-program-cmd): Likewise.
24000 2012-10-22 Andreas Jaeger <aj@suse.de>
24002 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24003 __O_RSYNC if it exists, otherwise to O_SYNC.
24005 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24006 Joseph Myers <joseph@codesourcery.com>
24008 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24010 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24012 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24015 2012-10-22 Andreas Jaeger <aj@suse.de>
24017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24022 bits/fcntl-linux.h.
24024 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24025 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24032 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24033 Joseph Myers <joseph@codesourcery.com>
24035 * config.make.in (NM): New variable.
24037 2012-10-21 Andreas Jaeger <aj@suse.de>
24039 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24040 definitions and declarations that are provided by
24041 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24043 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24046 * elf/Makefile (tests-static): Add tst-leaks1-static.
24047 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24048 ($(objpfx)tst-leaks1-static): New rule.
24049 ($(objpfx)tst-leaks1-static-mem): Likewise.
24050 (tst-leaks1-static-ENV): New macro.
24051 * elf/dl-open.c (dl_open_worker): Check the main application
24052 only if SHARED is defined.
24053 * elf/tst-leaks1-static.c: New file.
24055 2012-10-20 Andreas Jaeger <aj@suse.de>
24057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24058 generic values for Linux.
24059 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24060 and declarations that are provided by <bits/fcntl-linux.h> and
24061 include <bits/fcntl-linux.h>.
24062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24065 2012-10-20 Roland McGrath <roland@hack.frob.com>
24067 * io/fcntl.h: Move include of <bits/types.h> to the top and
24068 include it unconditionally.
24070 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24072 * wcsmbs/Makefile (tests-ifunc): New variable.
24073 (tests): Add $(tests-ifunc).
24074 * wcsmbs/test-wcschr-ifunc.c: New file.
24075 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24076 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24077 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24078 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24079 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24081 * string/Makefile (tests-ifunc): New variable.
24082 (tests): Add $(tests-ifunc).
24083 * string/test-memccpy.c (TEST_NAME): New macro.
24084 * string/test-memchr.c (TEST_NAME): Likewise.
24085 * string/test-memcmp.c (TEST_NAME): Likewise.
24086 * string/test-memcpy.c (TEST_NAME): Likewise.
24087 * string/test-memmem.c (TEST_NAME): Likewise.
24088 * string/test-memmove.c (TEST_NAME): Likewise.
24089 * string/test-memset.c (TEST_NAME): Likewise.
24090 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24091 * string/test-stpcpy.c (TEST_NAME): Likewise.
24092 * string/test-stpncpy.c (TEST_NAME): Likewise.
24093 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24094 * string/test-strcasestr.c (TEST_NAME): Likewise.
24095 * string/test-strcat.c (TEST_NAME): Likewise.
24096 * string/test-strchr.c (TEST_NAME): Likewise.
24097 * string/test-strcmp.c(TEST_NAME): Likewise.
24098 * string/test-strcpy.c (TEST_NAME): Likewise.
24099 * string/test-strcspn.c (TEST_NAME): Likewise.
24100 * string/test-strlen.c (TEST_NAME): Likewise.
24101 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24102 * string/test-strncmp.c (TEST_NAME): Likewise.
24103 * string/test-strncpy.c (TEST_NAME): Likewise.
24104 * string/test-strnlen.c (TEST_NAME): Likewise.
24105 * string/test-strpbrk.c (TEST_NAME): Likewise.
24106 * string/test-strrchr.c (TEST_NAME): Likewise.
24107 * string/test-strspn.c (TEST_NAME): Likewise.
24108 * string/test-strstr.c (TEST_NAME): Likewise.
24109 * string/test-bcopy-ifunc.c: New file.
24110 * string/test-bzero-ifunc.c: Likewise.
24111 * string/test-memccpy-ifunc.c: Likewise.
24112 * string/test-memchr-ifunc.c: Likewise.
24113 * string/test-memcmp-ifunc.c: Likewise.
24114 * string/test-memcpy-ifunc.c: Likewise.
24115 * string/test-memmem-ifunc.c: Likewise.
24116 * string/test-memmove-ifunc.c: Likewise.
24117 * string/test-mempcpy-ifunc.c: Likewise.
24118 * string/test-memset-ifunc.c: Likewise.
24119 * string/test-rawmemchr-ifunc.c: Likewise.
24120 * string/test-stpcpy-ifunc.c: Likewise.
24121 * string/test-stpncpy-ifunc.c: Likewise.
24122 * string/test-strcasecmp-ifunc.c: Likewise.
24123 * string/test-strcasestr-ifunc.c: Likewise.
24124 * string/test-strcat-ifunc.c: Likewise.
24125 * string/test-strchr-ifunc.c: Likewise.
24126 * string/test-strchrnul-ifunc.c: Likewise.
24127 * string/test-strcmp-ifunc.c: Likewise.
24128 * string/test-strcpy-ifunc.c: Likewise.
24129 * string/test-strcspn-ifunc.c: Likewise.
24130 * string/test-strlen-ifunc.c: Likewise.
24131 * string/test-strncasecmp-ifunc.c: Likewise.
24132 * string/test-strncat-ifunc.c: Likewise.
24133 * string/test-strncmp-ifunc.c: Likewise.
24134 * string/test-strncpy-ifunc.c: Likewise.
24135 * string/test-strnlen-ifunc.c: Likewise.
24136 * string/test-strpbrk-ifunc.c: Likewise.
24137 * string/test-strrchr-ifunc.c: Likewise.
24138 * string/test-strspn-ifunc.c: Likewise.
24139 * string/test-strstr-ifunc.c: Likewise.
24141 * debug/Makefile (tests-ifunc): New variable.
24142 (tests): Add $(tests-ifunc).
24143 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24144 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24145 * debug/test-stpcpy_chk-ifunc.c: New file.
24146 * debug/test-strcpy_chk-ifunc.c: Likewise.
24148 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24151 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24152 header is not read in.
24154 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24156 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24157 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24158 directly. Pass built executable to script as
24159 $(built-program-cmd).
24160 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24161 $testprogram without using LD_LIBRARY_PATH and $ldso.
24163 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24164 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24165 $(rtld-installed-name).
24166 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24167 (rtld_installed_name): Likewise.
24168 (library_path): Likewise.
24169 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24170 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24171 $(run-program-prefix) to tst-tables.sh.
24172 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24173 it to run tst-table-from and tst-table-to.
24174 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24175 Pass it to tst-table.sh.
24176 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24177 $(run-program-prefix) to tst-gettext.sh.
24178 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24180 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24182 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24183 to run tst-gettext.
24184 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24185 to run tst-gettext2.
24186 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24187 to run tst-translit.
24188 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24189 $(run-program-prefix) to tst-mtrace.sh.
24190 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24192 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24193 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24194 $(rtld-installed-name).
24195 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24196 (rtld_installed_name): Likewise.
24197 (run_program_prefix): New variable. Use it to run wordexp-test.
24199 * Makeconfig (ARCH): Remove all definitions.
24200 (machine): Likewise.
24201 [ARCH]: Remove conditional code.
24202 [!objdir]: Give error.
24203 [!objdir] (objpfx): Remove.
24204 [!objdir] (common-objpfx): Likewise.
24205 [!objdir] (common-objdir): Likewise.
24206 * configure.in (config_makefile): Remove. Hardcode Makefile in
24207 AC_CONFIG_FILES call.
24208 * configure: Regenerated.
24211 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24213 (testout): Likewise.
24215 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24216 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24217 $(rtld-installed-name).
24218 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24219 (rtld_installed_name): Likwise.
24220 (runit): Remove function.
24221 (run_getconf): New variable, Use it for running getconf binary.
24223 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24226 * string/test-memmem.c (check_result): New function.
24227 (do_one_test): Use it.
24228 (check1): New function.
24229 (test_main): Use it.
24231 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24233 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24235 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24237 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24238 (_G_LSEEK64): Likewise.
24239 (_G_MMAP64): Likewise.
24240 (_G_FSTAT64): Likewise.
24241 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24242 (_G_LSEEK64): Likewise.
24243 (_G_MMAP64): Likewise.
24244 (_G_FSTAT64): Likewise.
24245 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24246 unconditional. Call __mmap64 directly.
24247 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24248 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24249 __lseek64 directly.
24250 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24251 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24253 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24254 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24255 __lseek64 directly.
24256 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24257 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24258 __lseek64 directly.
24259 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24260 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24261 __lseek64 directly.
24262 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24263 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24264 __fxstat64 directly.
24265 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24266 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24268 (freopen64) [!_G_OPEN64]: Remove conditional code.
24269 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24271 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24272 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24274 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24275 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24277 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24278 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24280 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24281 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24283 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24284 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24286 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24287 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24289 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24291 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24294 * manual/memory.texi (Malloc Tunable Parameters): Add note
24295 about free list pointers overwriting some perturb bytes.
24296 Wording suggested by Roland McGrath.
24298 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24300 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24301 (lgamma_test): Likewise.
24302 (tgamma_test): Likewise.
24304 2012-10-16 Florian Weimer <fweimer@redhat.com>
24307 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24308 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24310 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24312 * NEWS: Mention BZ #14716.
24313 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24314 when removing AVAILABLE1_USES_J macro.
24316 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24318 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24319 (__bswap_64): __uint64_t for unsigned 64-bit int.
24321 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24323 * include/string.h (memmem): Declare libc hidden alias.
24324 * string/memmem.c (memmem): Define libc hidden alias.
24325 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24326 __read, __close instead of open, read, close.
24328 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24331 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24333 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24334 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24335 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24337 (__rawmemchr_sse2): Likewise.
24338 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24339 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24340 (__strchr_sse2): Likewise.
24341 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24342 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24343 (__strcasecmp_sse2): Likewise.
24344 (__strncasecmp_sse2): Likewise.
24345 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24346 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24347 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24348 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24349 (__strrchr_sse2): Likewise.
24350 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24352 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24353 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24354 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24355 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24356 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24357 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24358 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24359 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24360 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24361 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24362 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24363 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24364 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24365 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24366 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24367 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24368 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24369 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24370 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24371 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24372 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24373 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24374 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24375 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24376 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24377 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24378 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24379 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24380 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24381 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24383 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24385 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24386 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24387 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24388 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24390 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24392 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24393 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24394 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24395 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24397 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24398 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24399 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24400 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24402 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24403 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24404 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24405 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24406 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24407 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24408 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24409 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24410 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24411 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24412 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24413 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24414 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24415 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24416 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24417 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24418 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24419 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24420 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24421 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24424 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24425 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24426 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24428 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24429 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24430 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24431 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24432 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24433 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24434 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24435 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24436 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24437 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24439 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24440 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24441 * include/ifunc-impl-list.h: New file.
24442 * misc/ifunc-impl-list.c: Likewise.
24443 * misc/Makefile (routines): Add ifunc-impl-list.
24444 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24445 * string/test-string.h: Include <ifunc-impl-list.h>.
24446 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24447 TEST_NAME]: New variables.
24448 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24450 (test_init): Call __libc_ifunc_impl_list to initialize
24451 func_list if TEST_IFUNC and TEST_NAME are defined.
24453 * string/Makefile (strop-tests): Add bcopy and bzero.
24454 * string/test-bcopy.c: New file.
24455 * string/test-bzero.c: Likewise.
24456 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24458 * string/test-memset.c: Support bzero test if TEST_BZERO is
24460 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24462 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24464 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24467 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24469 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24470 * configure: Regenerated.
24472 * Makeconfig (+link-static-before-libc): Don't include
24473 $(link-static-libc).
24475 * libio/libio.h (_IO_pos_t): Remove.
24477 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24479 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24482 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24484 * crypt/crypt-entry.c: Include fips-private.h.
24485 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24486 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24487 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24488 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24490 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24492 * crypt/crypt-private.h: Include stdbool.h.
24493 (_ufc_setup_salt_r): Return bool.
24494 * crypt/crypt-entry.c: Include errno.h.
24495 (__crypt_r): Return NULL with EINVAL for bad salt.
24496 * crypt/crypt_util.c (bad_for_salt): New.
24497 (_ufc_setup_salt_r): Check that salt is long enough and within
24498 the specified alphabet.
24499 * crypt/badsalttest.c: New file.
24500 * crypt/Makefile (tests): Add it.
24501 ($(objpfx)badsalttest): New.
24503 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24505 * NEWS: Add entry for BZ #14602.
24507 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24509 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24511 * math/libm-test.inc: Update comment listing what functions and
24513 (isgreater_test): New function.
24514 (isgreaterequal_test): Likewise.
24515 (isless_test): Likewise.
24516 (islessequal_test): Likewise.
24517 (islessgreater_test): Likewise.
24518 (isunordered_test): Likewise.
24519 (main): Call the new functions.
24521 2012-10-09 Roland McGrath <roland@hack.frob.com>
24523 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24524 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24525 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24526 * sysdeps/i386/configure: Regenerated.
24527 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24528 * sysdeps/mach/configure: Regenerated.
24529 * sysdeps/mach/hurd/configure: Regenerated.
24530 * sysdeps/powerpc/configure: Regenerated.
24531 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24532 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24533 * sysdeps/s390/s390-32/configure: Regenerated.
24534 * sysdeps/s390/s390-64/configure: Regenerated.
24535 * sysdeps/sh/configure: Regenerated.
24536 * sysdeps/sparc/configure: Regenerated.
24537 * sysdeps/unix/sysv/linux/configure: Regenerated.
24538 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24539 * sysdeps/x86_64/configure: Regenerated.
24541 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24542 defined. Don't check if MAP is NULL.
24544 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24546 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24547 (_G_stat64): Likewise.
24548 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24549 (_G_stat64): Likewise.
24550 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24551 instead of struct _G_stat64.
24552 * libio/fileops.c (mmap_remap_check): Likewise.
24553 (decide_maybe_mmap): Likewise.
24554 (_IO_new_file_seekoff): Likewise.
24555 (_IO_file_stat): Likewise.
24556 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24558 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24559 instead of struct _G_stat64.
24560 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24562 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24565 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24567 (CHECK_EOL): New macro.
24568 (two_way_short_needle): Check beginning of haystack for EOL. Use
24570 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24571 Replace with CHECK_EOL.
24572 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24573 Replace with CHECK_EOL.
24575 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24577 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24579 * math/libm-test.inc: Update comment listing what functions and
24581 (finite_test): New function.
24582 (isinf_test): Likewise.
24583 (isnan_test): Likewise.
24584 (fpclassify_test): Test subnormal input.
24585 (isfinite_test): Likewise.
24586 (isnormal_test): Likewise.
24587 (main): Call the new functions.
24589 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24592 * Makerules (%.dynsym): Force C locale when running
24593 $(OBJDUMP) --dynamic-syms.
24595 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24597 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24600 2012-10-06 David S. Miller <davem@davemloft.net>
24602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24603 upper 32-bits of the length value in %o2 since we use branch-on-register
24604 tests which consider the entire 64-bit register.
24606 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24608 * string/test-strstr.c (check2): Add a test for page boundary.
24610 2012-10-05 David S. Miller <davem@davemloft.net>
24612 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24613 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24615 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24617 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24618 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24619 and bzero when HWCAP_SPARC_CRYPTO is present.
24621 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24624 * string/test-strstr.c (check2): New function.
24625 (test_main): Call check2.
24627 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24629 * string/bug-strcasestr1.c (do_test): Moved to ...
24630 * string/test-strcasestr.c (check1): Here. New function.
24631 (do_one_test): Break out result checking code into ...
24632 (check_result): This. New function.
24633 (do_one_test): Call check_result.
24634 (test_main): Call check1.
24635 * string/bug-strchr1.c (do_test): Moved to ...
24636 * string/test-strchr.c (check1): Here. New function.
24637 (do_one_test): Break out result checking code into ...
24638 (check_result): This. New function.
24639 (do_one_test): Call check_result.
24640 (test_main): Call check1.
24641 * string/bug-strstr1.c (main): Moved to ...
24642 * string/test-strstr.c (check1): Here. New function.
24643 (do_one_test): Break out result checking code into ...
24644 (check_result): This. New function.
24645 (do_one_test): Call check_result.
24646 (test_main): Call check1.
24647 * string/bug-strcasestr1.c: Removed.
24648 * string/bug-strchr1.c: Likewise.
24649 * string/bug-strstr1.c: Likewise.
24651 * elf/Makefile (dl-routines): Add hwcaps.
24652 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24653 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24654 (_dl_important_hwcaps): Moved to ...
24655 * elf/dl-hwcaps.c: Here. New file.
24656 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24659 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24660 if IS_IN_rtld isn't defined.
24662 * elf/dl-support.c (_dl_sysinfo_map): New.
24663 Include "get-dynamic-info.h" and "setup-vdso.h".
24664 (_dl_non_dynamic_init): Call setup_vdso.
24665 * elf/dynamic-link.h: Don't include <assert.h>.
24666 (elf_get_dynamic_info): Moved to ...
24667 * elf/get-dynamic-info.h: Here. New file.
24668 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24669 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24670 * elf/setup-vdso.h: Here. New file.
24671 * elf/rtld.c: Include "setup-vdso.h".
24672 (dl_main): Call setup_vdso.
24674 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24676 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24677 creal in comment listing functions tested. List finite, isinf,
24678 isnan, isless, islessequal, isgreater, isgreaterequal,
24679 islessgreater, isunordered, lgamma_r and pow10 as functions and
24680 macros not tested. Mention which functions not tested are aliases
24681 for other functions. Fix typo. Note that signs of NaNs are not
24684 * scripts/config.guess: Update from config.git.
24685 * scripts/config.sub: Likewise.
24687 2012-10-04 Roland McGrath <roland@hack.frob.com>
24689 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24690 * misc/madvise.c (madvise): Renamed to __madvise.
24691 Make madvise a weak alias.
24692 * include/sys/mman.h: Declare __madvise.
24693 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24694 * sysdeps/unix/syscalls.list
24695 (madvise): Make __madvise the strong name, and madvise a weak alias.
24696 * sysdeps/unix/sysv/linux/syscalls.list
24697 (madvise, mmap): Remove redundant entries.
24698 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24699 * malloc/malloc.c (mtrim): Likewise.
24700 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24702 2012-10-03 Roland McGrath <roland@hack.frob.com>
24704 * sysdeps/mach/hurd/dl-cache.c: File removed.
24705 * config.h.in (USE_LDCONFIG): New #undef.
24706 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24707 * configure: Regenerated.
24708 * elf/Makefile (dl-routines): Add dl-cache only under
24709 [$(use-ldconfig) = yes].
24710 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24711 cache on [USE_LDCONFIG].
24712 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24714 * elf/rtld.c (dl_main): Likewise.
24716 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24718 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24719 _SC_LEVEL4_CACHE_LINESIZE.
24721 2012-10-03 Roland McGrath <roland@hack.frob.com>
24723 * sysdeps/unix/bsd/confstr.h: File removed.
24725 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24727 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24730 2012-10-02 Roland McGrath <roland@hack.frob.com>
24732 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24733 Make 'mapoff' field ElfW(Off) rather than off_t.
24735 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24737 * nscd/Makefile: Remove nscd-cflags and all its users.
24738 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24739 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24742 * malloc.c (malloc_printerr): Clarify error message.
24744 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24748 Set bit_FMA_Usable if FMA is supported.
24749 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24751 (bit_FMA4_Usable): Updated.
24752 (index_FMA_Usable): New macro.
24753 (CPUID_FMA): Likewise
24754 (HAS_FMA): Defined with bit_FMA_Usable.
24756 2012-10-01 Roland McGrath <roland@hack.frob.com>
24758 * bits/types.h (__swblk_t): Type removed.
24759 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24760 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24762 (__SWBLK_T_TYPE): Likewise.
24763 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24764 (__SWBLK_T_TYPE): Likewise.
24765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24766 (__SWBLK_T_TYPE): Likewise.
24767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24768 (__SWBLK_T_TYPE): Likewise.
24770 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24771 Honza Horak <hhorak@redhat.com>
24773 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24774 (xdr_mapname): Use YPMAXMAP as maxsize.
24775 (xdr_peername): Use YPMAXPEER as maxsize.
24776 (xdr_keydat): Use YPAXRECORD as maxsize.
24777 (xdr_valdat): Use YPMAXRECORD as maxsize.
24779 2012-10-01 Roland McGrath <roland@hack.frob.com>
24781 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24783 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24784 * csu/init-first.c: ... here.
24785 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24786 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24787 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24788 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24789 * sysdeps/i386/init-first.c: File removed.
24790 * sysdeps/sh/init-first.c: File removed.
24792 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24796 if x * y might underflow to zero and z is zero.
24797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24799 * math/libm-test.inc (min_subnorm_value): New variable.
24800 (fma_test): Add more tests.
24801 (fma_test_towardzero): Likewise.
24802 (fma_test_downward): Likewise
24803 (fma_test_upward): Likewise.
24804 (initialize): Set min_subnorm_value.
24806 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24811 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24812 mode for addition resulting in exact zero.
24813 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24818 * math/libm-test.inc (fma_test): Add more tests.
24819 (fma_test_towardzero): New function.
24820 (fma_test_downward): Likewise.
24821 (fma_test_upward): Likewise.
24822 (main): Call the new functions.
24824 2012-09-28 David S. Miller <davem@davemloft.net>
24826 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24828 2012-09-28 Roland McGrath <roland@hack.frob.com>
24830 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24831 instead of SIGALRM.
24833 * sysdeps/gnu/_G_config.h: Moved to ...
24834 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24835 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24836 * sysdeps/generic/_G_config.h: ... here.
24838 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24840 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24842 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24843 Conditionalize target on [libnss_test1.so-version].
24845 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24847 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24848 (elfobjdir): Move out of conditionals.
24850 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24851 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24852 (__nss_lookup_function): Conditionalize label remove_from_tree on
24853 [!DO_STATIC_NSS || SHARED], matching its only use.
24855 2012-09-28 David S. Miller <davem@davemloft.net>
24857 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24858 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24860 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24862 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24864 when HWCAP_SPARC_CRYPTO is present.
24866 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24868 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24870 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24873 * stdio-common/vfprintf.c (process_string_arg): Revert
24876 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24878 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24880 * stdio-common/tst-sprintf.c: Include <locale.h>
24881 (main): Test sprintf's handling of incomplete multibyte
24884 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24886 * elf/dl-runtime.c (VERSYMIDX): Removed.
24887 * elf/dl-version.c (VERSYMIDX): Likewise.
24888 * elf/do-rel.h (VERSYMIDX): Likewise.
24889 (VALIDX): Likewise.
24890 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24891 * elf/rtld.c (VALIDX): Likewise.
24892 (ADDRIDX): Likewise.
24893 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24894 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24895 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24896 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24897 (VALIDX): Likewise.
24898 (ADDRIDX): Likewise.
24900 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24902 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24904 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24907 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24909 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24910 addresses are in the same scope as 192.0.2/24.
24911 * posix/gai.conf: Document new scope table defaults.
24913 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24916 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24917 for ftell. Compute offsets from write pointers instead.
24918 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24920 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24923 * libio/Makefile (tests): New test case tst-fseek.
24924 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24925 combination works in wide mode.
24926 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24927 state when the external buffer state changes.
24929 2012-09-27 David S. Miller <davem@davemloft.net>
24932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24933 pass reloc->r_addend in as the 'high' argument to
24934 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24938 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24940 * rt/tst-aio2.c: Include <pthread.h>.
24941 * rt/tst-aio3.c: Likewise.
24943 2012-09-27 Steve Ellcey <sellcey@mips.com>
24945 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24947 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24949 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24950 contents on [SHARED].
24952 2012-09-26 Marek Polacek <polacek@redhat.com>
24956 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24957 for C++ and GCC <4.3 as well as for non GCC compilers.
24959 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24963 2012-09-25 Roland McGrath <roland@hack.frob.com>
24965 * Makefile.in (all, install): Declare with .PHONY.
24966 Reported by Michael Hope <michael.hope@linaro.org>.
24968 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24970 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24971 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24973 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24975 (sydep_routines): Add the new and the internal functions.
24976 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24977 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24979 (GLIBC_2.17): Add the new function.
24980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24981 (GLIBC_2.17): Likewise.
24982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24983 (GLIBC_2.17): Likewise.
24984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24985 (GLIBC_2.17): Likewise.
24986 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24988 2012-09-25 Alan Modra <amodra@gmail.com>
24990 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24991 Add release barrier before setting once_control to say
24992 initialisation is done. Add hints on lwarx. Use macro in
24994 (clear_once_control): Add release barrier.
24996 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24999 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25001 * math/s_clog10.c (__clog10): Likewise.
25002 * math/s_clog10f.c (__clog10f): Likewise.
25003 * math/s_clog10l.c (__clog10l): Likewise.
25004 * math/s_clogf.c (__clogf): Likewise.
25005 * math/s_clogl.c (__clogl): Likewise.
25006 * math/Makefile (libm-calls): Add x2y2m1.
25007 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25008 (__x2y2m1): Likewise.
25009 (__x2y2m1l): Likewise.
25010 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25011 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25012 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25013 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25014 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25015 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25016 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25017 * sysdeps/i386/fpu/libm-test-ulps: Update.
25018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25021 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25022 int as type of variable DEPTH.
25023 (glob): Use size_t instead of int as type of variables NEWCOUNT
25026 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25028 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25029 Add s_sincosf-sse2.
25030 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25031 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25032 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25033 macros for using routine as __sincosf_ia32.
25034 Use macro for function declaration and weak_alias.
25035 * sysdeps/i386/fpu/libm-test-ulps: Update.
25037 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25040 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25041 subnormal argument.
25042 * math/s_cexpf.c (__cexpf): Likewise.
25043 * math/s_csinf.c (__csinf): Likewise.
25044 * math/s_csinhf.c (__csinhf): Likewise.
25045 * math/s_ctanf.c (__ctanf): Likewise.
25046 * math/s_ctanhf.c (__ctanhf): Likewise.
25047 * math/s_ccosh.c (__ccoshf): Likewise.
25048 * math/s_cexp.c (__cexpl): Likewise.
25049 * math/s_csin.c (__csin): Likewise.
25050 * math/s_csinh.c (__csinh): Likewise.
25051 * math/s_ctan.c (__ctan): Likewise.
25052 * math/s_ctanh.c (ctanh): Likewise.
25053 * math/s_ccoshl.c (__ccoshl): Likewise.
25054 * math/s_cexpl.c (__cexpl): Likewise.
25055 * math/s_csinl.c (__csinl): Likewise.
25056 * math/s_csinhl.c (__csinhl): Likewise.
25057 * math/s_ctanl.c (__ctanl): Likewise.
25058 * math/s_ctanhl.c (__ctanhl): Likewise.
25060 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25062 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25063 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25064 (_IO_off_t): Define to __off_t, not _G_off_t.
25065 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25066 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25067 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25068 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25069 type of __dummy and __dummy2 fields.
25070 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25071 (_G_ssize_t): Likewise.
25072 (_G_off_t): Likewise.
25073 (_G_pid_t): Likewise.
25074 (_G_uid_t): Likewise.
25075 (_G_wchar_t): Likewise.
25076 (_G_wint_t): Likewise.
25077 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25078 (_G_ssize_t): Likewise.
25079 (_G_off_t): Likewise.
25080 (_G_pid_t): Likewise.
25081 (_G_uid_t): Likewise.
25082 (_G_wchar_t): Likewise.
25083 (_G_wint_t): Likewise.
25084 * sysdeps/mach/hurd/_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.
25092 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25094 * malloc/arena.c: Include malloc-sysdep.h.
25095 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25096 is sufficient to shrink the heap or an unmap is needed.
25097 * sysdeps/generic/malloc-sysdep.h: New file. Define
25098 new function check_may_shrink_heap.
25099 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25100 new function check_may_shrink_heap.
25102 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25104 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25107 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25109 * catgets/test-gencat.sh: Add "set -e".
25110 * elf/tst-pathopt.sh: Likewise.
25111 * grp/tst_fgetgrent.sh: Likewise.
25112 * iconvdata/run-iconv-test.sh: Likewise.
25113 * intl/tst-gettext.sh: Likewise.
25114 * intl/tst-gettext2.sh: Likewise.
25115 * intl/tst-gettext4.sh: Likewise.
25116 * intl/tst-gettext6.sh: Likewise.
25117 * intl/tst-translit.sh: Likewise.
25118 * io/ftwtest-sh: Likewise.
25119 * libio/test-freopen.sh: Likewise.
25120 * malloc/tst-mtrace.sh: Likewise.
25121 * posix/globtest.sh: Likewise.
25122 * posix/tst-getconf.sh: Likewise.
25123 * posix/wordexp-tst.sh: Likewise.
25124 * stdio-common/tst-printf.sh: Likewise.
25125 * stdio-common/tst-unbputc.sh: Likewise.
25126 * stdlib/tst-fmtmsg.sh: Likewise.
25127 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25128 * catgets/Makefile: Do not specify -e option when running
25129 testsuite shell scripts.
25130 * elf/Makefile: Likewise.
25131 * grp/Makefile: Likewise.
25132 * iconvdata/Makefile: Likewise.
25133 * intl/Makefile: Likewise.
25134 * io/Makefile: Likewise.
25135 * libio/Makefile: Likewise.
25136 * malloc/Makefile: Likewise.
25137 * posix/Makefile: Likewise.
25138 * stdio-common/Makefile: Likewise.
25139 * stdlib/Makefile: Likewise.
25140 * sysdeps/x86_64/Makefile: Likewise.
25142 * io/ftwtest-sh: Add copyright header.
25143 * posix/globtest.sh: Likewise.
25144 * posix/tst-getconf.sh: Likewise.
25145 * posix/wordexp-tst.sh: Likewise.
25146 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25148 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25151 * Makeconfig (+link): Defined as $(+link-static) if
25152 $(build-shared) isn't yes.
25153 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25155 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25157 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25160 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25161 new chunk size with MALLOC_ALIGN_MASK.
25163 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25166 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25168 (__printf_fphex): Determine rounding using get_rounding_mode and
25170 * stdio-common/tst-printf-round.c (struct hex_test): New
25172 (hex_tests): New variable.
25173 (test_hex_in_one_mode): New function.
25174 (do_test): Also run tests for hex float output.
25176 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25178 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25179 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25180 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25181 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25182 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25183 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25184 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25185 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25187 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25189 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25190 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25191 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25192 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25194 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25197 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25199 * elf/tst-rtld-load-self.sh: New test.
25200 * elf/Makefile: Run it.
25202 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25204 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25205 (tst-writev-ENV): Remove.
25206 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25208 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25210 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25212 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25214 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25216 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25218 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25219 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25220 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25223 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25226 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25227 * config.make.in (have-cpp-asm-debuginfo): Removed.
25228 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25229 * configure: Regenerated.
25231 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25234 * stdio-common/printf_fp.c: Include <stdbool.h> and
25236 (___printf_fp): Determine rounding using get_rounding_mode and
25238 * stdio-common/tst-printf-round.c: New file.
25239 * stdio-common/Makefile (tests): Add tst-printf-round.
25240 (link-libm): New variable.
25241 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25243 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25246 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25247 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25249 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25252 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25254 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25255 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25256 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25257 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25259 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25262 * include/rounding-mode.h: New file.
25263 * sysdeps/generic/get-rounding-mode.h: Likewise.
25264 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25265 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25266 (MAX_VALUE): New macro.
25267 (MIN_VALUE): Likewise.
25268 (overflow_value): New function.
25269 (underflow_value): Likewise.
25270 (round_and_return): Use overflow_value and underflow_value to
25271 determine return values in overflow and underflow cases. Use
25272 round_away to determine rounding depending on rounding mode.
25273 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25274 determine return values in overflow and underflow cases.
25275 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25276 (struct test_results): New structure.
25277 (struct test): Use struct test_results to store expected results
25278 for all rounding modes.
25279 (TEST): Include expected results for all rounding modes.
25280 (test_in_one_mode): New function.
25281 (do_test): Use test_in_one_mode to compute and check results.
25282 Check results for all rounding modes.
25283 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25286 2012-12-09 Allan McRae <allan@archlinux.org>
25288 * sysdeps/i386/fpu/libm-test-ulps: Update
25290 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25292 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25293 (_G_int32_t): Likewise.
25294 (_G_uint16_t): Likewise.
25295 (_G_uint32_t): Likewise.
25296 (_G_HAVE_BOOL): Likewise.
25297 (_G_HAVE_ATEXIT): Likewise.
25298 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25299 (_G_HAVE_IO_FILE_OPEN): Likewise.
25300 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25301 (_G_int32_t): Likewise.
25302 (_G_uint16_t): Likewise.
25303 (_G_uint32_t): Likewise.
25304 (_G_HAVE_BOOL): Likewise.
25305 (_G_HAVE_ATEXIT): Likewise.
25306 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25307 (_G_HAVE_IO_FILE_OPEN): Likewise.
25308 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25309 (_G_int32_t): Likewise.
25310 (_G_uint16_t): Likewise.
25311 (_G_uint32_t): Likewise.
25312 (_G_HAVE_BOOL): Likewise.
25313 (_G_HAVE_ATEXIT): Likewise.
25314 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25315 (_G_HAVE_IO_FILE_OPEN): Likewise.
25317 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25319 * csu/libc-tls.c: Update copyright years.
25321 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25323 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25324 [!_G_USING_THUNKS]: Remove conditional code.
25325 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25326 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25328 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25329 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25330 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25331 (_G_VTABLE_LABEL_PREFIX): Likewise.
25332 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25333 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25334 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25335 (_G_VTABLE_LABEL_PREFIX): Likewise.
25336 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25337 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25338 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25339 (_G_VTABLE_LABEL_PREFIX): Likewise.
25340 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25342 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25344 * libio/Makefile: Include ../Makeconfig before tests.
25345 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25346 only if $(build-shared) is yes.
25348 * iconv/gconv_db.c: Update copyright years.
25350 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25352 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25353 unwind info if defined PIC. Fix special cases description.
25354 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25356 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25358 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25360 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25362 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25364 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25367 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25368 (LDLIBS-tst-chk4): This.
25369 (LDFLAGS-tst-chk5): Renamed to ...
25370 (LDLIBS-tst-chk5): This.
25371 (LDFLAGS-tst-chk6): Renamed to ...
25372 (LDLIBS-tst-chk6): This.
25373 (LDFLAGS-tst-lfschk4): Renamed to ...
25374 (LDLIBS-tst-lfschk4): This.
25375 (LDFLAGS-tst-lfschk5): Renamed to ...
25376 (LDLIBS-tst-lfschk5): This.
25377 (LDFLAGS-tst-lfschk6): Renamed to ...
25378 (LDLIBS-tst-lfschk6): This.
25380 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25381 on $(common-objpfx)soversions.mk.
25383 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25386 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25389 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25391 * malloc/arena.c (arena_get_retry): New function that gets
25392 another arena for the caller to try its request on.
25393 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25394 current arena cannot fulfill the request.
25395 (__libc_memalign): Likewise.
25396 (__libc_memalign): Likewise.
25397 (__libc_pvalloc): Likewise.
25398 (__libc_calloc): Likewise.
25400 2012-09-05 John Tobey <john.tobey@gmail.com>
25403 * manual/arith.texi (Operations on Complex): Fix description
25404 of carg branch cut.
25406 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25409 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25413 * manual/memory.texi (Memory): Make order of menu items match
25416 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25418 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25419 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25420 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25422 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25424 * csu/libc-tls.c (static_dtv): Renamed to ...
25425 (_dl_static_dtv): This. Make it global.
25426 (_dl_initial_dtv): Removed.
25427 (__libc_setup_tls): Updated.
25428 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25429 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25432 2012-09-06 Petr Machata <pmachata@redhat.com>
25434 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25435 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25436 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25437 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25439 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25442 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25443 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25446 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25449 * Makeconfig (link-static-before-libc): Replace $(+prector)
25451 (link-static-after-libc): Replace $(+postctor) with
25453 (link-bounded): Replace $(+prector)/$(+postctor) with
25454 $(+prectorT)/$(+postctorT).
25455 (+prectorT): New macro.
25456 (+postctorT): Likewise.
25458 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25460 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25461 (round_str): Handle values above the maximum for IBM long double
25463 * stdlib/tst-strtod-round.c (tests): Regenerated.
25465 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25467 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25469 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25470 zarch_nohighgprs around the zarch optimized routines.
25471 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25472 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25473 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25476 2012-09-05 David S. Miller <davem@davemloft.net>
25478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25480 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25481 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25482 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25486 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25488 * malloc/arena.c: Fold copyright years.
25489 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25491 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25493 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25495 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25497 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25499 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25501 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25502 change internal state upon failure.
25504 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25506 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25507 * malloc/memusage.c (mmap): Likewise.
25508 (mmap64, mremap): Likewise. Adjust name in comment.
25510 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25512 * libio/fileops.c: Fix typos in comments.
25513 * libio/oldfileops.c: Likewise.
25514 * libio/wfileops.c: Likewise.
25516 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25519 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25520 (tst-malloc-usable-ENV): Set environment for test case.
25521 * malloc/hooks.c (malloc_check_get_size): New function to get
25523 * malloc/malloc.c (musable): Use malloc_check_get_size.
25524 * malloc/tst-malloc-usable.c: New test case.
25526 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25528 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25530 2012-09-05 Allan McRae <allan@archlinux.org>
25533 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25534 determine header location.
25535 * configure: Regenerated.
25537 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25539 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25541 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25542 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25544 (test): Regenerate.
25546 2012-09-04 David S. Miller <davem@davemloft.net>
25548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25550 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25552 2012-09-04 Florian Weimer <fweimer@redhat.com>
25554 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25557 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25559 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25562 * libio/iogetdelim.c: Include <limits.h>.
25563 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25564 + len + 1 would overflow.
25566 2012-09-03 Andreas Jaeger <aj@suse.de>
25568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25569 * sysdeps/i386/fpu/libm-test-ulps: Update.
25571 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25573 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25574 Add s_sinf-sse2, s_conf-sse2.
25576 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25577 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25578 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25579 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25581 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25582 for using routine as __sinf_ia32.
25583 Use macro for function declaration and weak_alias.
25584 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25585 for using routine as __cosf_ia32.
25586 Use macro for function declaration and weak_alias.
25588 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25589 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25591 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25592 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25595 * math/libm-test.inc (cos_test): Add more test cases.
25596 (sin_test): Likewise.
25597 (sincos_test): Likewise.
25599 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25601 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25602 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25604 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25606 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25609 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25610 first element of the GOT.
25611 (elf_machine_load_address): Return the difference between
25612 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25614 2012-09-01 Allan McRae <allan@archlinux.org>
25617 * configure.in (AWK): Require gawk version 3.0 or later.
25618 * configure: Regenerated.
25620 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25622 * sysdeps/unix/sysv/linux/kernel-features.h
25623 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25624 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25625 [__NR_clock_getres]: Make code unconditional.
25626 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25627 (clock_getcpuclockid): Remove code left unreachable by removal of
25629 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25630 code unconditional.
25631 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25632 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25633 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25634 Make code unconditional.
25635 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25636 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25637 * sysdeps/unix/sysv/linux/clock_settime.c
25638 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25640 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25641 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25643 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25646 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25647 scripts/test-installation.pl.
25649 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25650 and $ld_so_version if it is set.
25652 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25655 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25656 failure if reading from procfs failed.
25657 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25659 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25661 * sysdeps/unix/sysv/linux/kernel-features.h
25662 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25663 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25664 Remove conditional code.
25665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25666 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25667 Remove conditional code.
25668 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25669 * sysdeps/unix/sysv/linux/i386/fxstat.c
25670 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25672 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25673 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25675 * sysdeps/unix/sysv/linux/i386/lxstat.c
25676 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25678 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25679 Remove conditional code.
25680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25681 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25682 Remove conditional code.
25683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25684 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25685 <kernel-features.h>.
25686 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25688 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25689 Remove conditional code.
25690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25691 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25692 Remove conditional.
25694 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25697 * NEWS: Add fixed bug number.
25699 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25702 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25703 underflowing exponent in case of negative sign.
25704 * stdlib/tst-strtod-round-data: Add more tests.
25705 * stdlib/tst-strtod-round.c (tests): Regenerated.
25708 * stdlib/strtod_l.c (NDIG): Remove.
25709 (HEXNDIG): Likewise.
25710 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25711 smallest representable value.
25712 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25713 lie within an exact representation of 1/2 ulp of the result.
25714 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25716 (TENS_P9_IDX): Define unconditionally.
25717 (TENS_P9_SIZE): Likewise.
25718 (TENS_P10_IDX): Likewise.
25719 (TENS_P10_SIZE): Likewise.
25720 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25721 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25722 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25723 entries for 10^2^13 and 10^2^14.
25724 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25725 (TENS_P13_IDX): Define.
25726 (TENS_P13_SIZE): Likewise.
25727 (TENS_P14_IDX): Likewise.
25728 (TENS_P14_SIZE): Likewise.
25729 (_fpioconst_pow10): Change array size to
25730 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25732 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25733 1024]: Add entries for 10^2^13 and 10^2^14.
25734 [LAST_POW10 > _LAST_POW10]: Remove #error.
25735 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25736 (_fpioconst_pow10): Change array size to
25737 FPIOCONST_POW10_ARRAY_SIZE.
25738 * stdlib/gen-fpioconst.c: New file.
25739 * stdlib/gen-tst-strtod-round.c: Likewise.
25740 * stdlib/tst-strtod-round-data: Likewise.
25741 * stdlib/tst-strtod-round.c: Likewise.
25742 * stdlib/Makefile (tests): Add tst-strtod-round.
25745 * stdlib/strtod_l.c: Include <stdint.h>.
25746 (NDEBUG): Do not define.
25747 (round_and_return): Change EXPONENT parameter to type intmax_t.
25748 Rearrange calculations to avoid internal overflow possibilities.
25749 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25750 Rearrange calculations to avoid internal overflow possibilities.
25751 Assert that number fits inside MPNSIZE limbs.
25752 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25753 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25754 calculations and add assertions to avoid internal overflow
25755 possibilities. Add casts to avoid signed/unsigned operations.
25756 * stdlib/tst-strtod-overflow.c: New file.
25757 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25759 2012-08-25 Marek Polacek <polacek@redhat.com>
25761 * time/time.h: Fix some typos in comments.
25763 2012-08-23 Roland McGrath <roland@hack.frob.com>
25765 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25766 * posix/tst-rfc3484-2.c: Likewise.
25767 * posix/tst-rfc3484-3.c: Likewise.
25769 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25771 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25772 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25774 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25776 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25777 #include of fxstatat64.c.
25779 2012-08-22 Roland McGrath <roland@hack.frob.com>
25781 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25782 * shadow/getspent_r.c: Likewise.
25783 * shadow/getspnam.c: Likewise.
25784 * shadow/getspnam_r.c: Likewise.
25785 * gshadow/getsgent.c: Likewise.
25786 * gshadow/getsgent_r.c: Likewise.
25787 * gshadow/getsgnam.c: Likewise.
25788 * gshadow/getsgnam_r.c: Likewise.
25789 * inet/getnetbyad.c: Likewise.
25790 * inet/getnetbyad_r.c: Likewise.
25791 * inet/getnetbynm.c: Likewise.
25792 * inet/getnetbynm_r.c: Likewise.
25793 * inet/getnetent.c: Likewise.
25794 * inet/getnetent_r.c: Likewise.
25795 * inet/getproto.c: Likewise.
25796 * inet/getproto_r.c: Likewise.
25797 * inet/getprtent.c: Likewise.
25798 * inet/getprtent_r.c: Likewise.
25799 * inet/getprtname.c: Likewise.
25800 * inet/getprtname_r.c: Likewise.
25801 * inet/getrpcbyname.c: Likewise.
25802 * inet/getrpcbyname_r.c: Likewise.
25803 * inet/getrpcbynumber.c: Likewise.
25804 * inet/getrpcbynumber_r.c: Likewise.
25805 * inet/getrpcent.c: Likewise.
25806 * inet/getrpcent_r.c: Likewise.
25807 * inet/getaliasent.c: Likewise.
25808 * inet/getaliasent_r.c: Likewise.
25809 * inet/getaliasname.c: Likewise.
25810 * inet/getaliasname_r.c: Likewise.
25811 * nscd/getgrgid_r.c: Likewise.
25812 * nscd/getgrnam_r.c: Likewise.
25813 * nscd/gethstbyad_r.c: Likewise.
25814 * nscd/gethstbynm3_r.c: Likewise.
25815 * nscd/getpwnam_r.c: Likewise.
25816 * nscd/getpwuid_r.c: Likewise.
25817 * nscd/getsrvbynm_r.c: Likewise.
25818 * nscd/getsrvbypt_r.c: Likewise.
25819 * nscd/gai.c: Likewise.
25821 * configure.in (build_nscd): New substituted variable, set
25822 by --disable-build-nscd and defaults to $use_nscd.
25823 * configure: Regenerated.
25824 * config.make.in (build-nscd): New substituted variable.
25825 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25826 Change conditional to require [$(build-nscd) = yes] as well.
25827 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25830 * configure.in (use_nscd): New substituted variable, set by
25831 --disable-nscd. If enabled, define USE_NSCD.
25832 * configure: Regenerated.
25833 * config.h.in: Add USE_NSCD.
25834 * config.make.in (use-nscd): New substituted variable.
25835 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25836 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25837 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25838 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25839 (CFLAGS-getgrnam_r.c): Likewise.
25840 (CFLAGS-initgroups.c): Likewise.
25841 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25842 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25844 * inet/getnetgrent_r.c
25845 (nscd_setnetgrent): New function, broken out of ...
25846 (setnetgrent): ... here. Call it.
25847 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25848 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25849 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25850 * nscd/Makefile (routines, aux): Move definitions after include of
25851 Makeconfig. Conditionalize on [$(use-nscd) != no].
25852 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25853 Conditionalize on [USE_NSCD].
25854 (is_nscd, nscd_init_cb): Likewise.
25855 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25856 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25857 * nss/nss_db/db-init.c: Likewise.
25858 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25860 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25861 (make_request): Use it.
25862 (cache_valid_p): New function.
25863 (__check_pf): Use it.
25864 * NEWS: Add item for --disable-nscd.
25866 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25868 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25869 to support sed >= 4.2.1-20-ga9bf076.
25870 * configure: Regenerated.
25872 2012-08-22 Roland McGrath <roland@hack.frob.com>
25874 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25875 Conditionalize whole body on [IREL].
25877 2012-08-22 Jeff Law <law@redhat.com>
25880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25881 if the family is PF_UNSPEC.
25883 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25885 * Makerules (lib-version): Rename from V.
25886 (install-lib-nosubdir): Change V to lib-version.
25888 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25891 * powerpc32/power6/wcschr.c: New file.
25892 * powerpc32/power6/wcscpy.c: New file.
25893 * powerpc32/power6/wcsrchr.c: New file.
25894 * powerpc64/power6/wcschr.c: New file.
25895 * powerpc64/power6/wcscpy.c: New file.
25896 * powerpc64/power6/wcsrchr.c: New file.
25898 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25900 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25901 (two_way_short_needle): Use it.
25902 * string/strstr.c (AVAILABLE1_USES_J): Define.
25903 * string/strcasestr.c: Likewise.
25905 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25907 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25910 * NEWS: Add an entry.
25911 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25912 define their defaults.
25913 (two_way_short_needle): Detect end-of-string on-the-fly.
25914 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25915 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25916 * string/bug-strcasestr1.c: New test.
25917 * string/Makefile: Run it.
25919 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25922 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25923 the first character.
25925 2012-08-21 Roland McGrath <roland@hack.frob.com>
25927 * csu/elf-init.c (__libc_csu_irel): Function removed.
25928 * csu/libc-start.c (apply_irel): New function.
25929 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25931 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25933 * sysdeps/unix/sysv/linux/kernel-features.h
25934 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25935 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25936 <kernel-features.h>.
25937 [__NR_fadvise64_64]: Make code unconditional.
25938 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25939 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25940 !__NR_fadvise64_64)]: Likewise.
25941 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25942 !__NR_fadvise64_64))]: Likewise.
25943 [__NR_fadvise64]: Make code unconditional.
25944 [!__NR_fadvise64]: Remove conditional code.
25945 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25946 <kernel-features.h>.
25947 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25949 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25952 not include <kernel-features.h>.
25953 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25955 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25957 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25958 include <kernel-features.h>.
25959 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25961 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25964 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25966 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25967 slight instruction rearrangements per scrollpipe analysis.
25968 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25970 2012-08-20 Roland McGrath <roland@hack.frob.com>
25972 * manual/syslog.texi (syslog; vsyslog, closelog):
25973 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25974 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25976 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25977 DSOCAPS to match condition on defining it.
25979 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25981 * sysdeps/unix/sysv/linux/kernel-features.h
25982 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25984 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25985 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25987 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25988 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25990 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25991 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25993 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25994 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25996 * sysdeps/unix/sysv/linux/kernel-features.h
25997 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25998 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26000 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26001 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26002 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26003 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26004 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26005 Make code unconditional.
26006 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26007 (__mmap64) [!__NR_mmap2]: Likewise.
26008 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26009 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26010 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26011 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26012 [__NR_mmap2]: Make code unconditional.
26013 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26014 (__mmap64) [!__NR_mmap2]: Likewise.
26016 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26018 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26020 2012-08-18 Andreas Jaeger <aj@suse.de>
26022 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26024 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26026 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26027 * include/unistd.h (__have_sock_cloexec): Likewise.
26028 (__have_pipe2): Likewise.
26029 (__have_dup3): Likewise.
26031 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26034 * include/unistd.h (__have_pipe2): Change define into an extern int.
26035 (__have_dup3): Likewise.
26036 * socket/have_sock_cloexec.c: Include fcntl.h.
26037 (__have_pipe2): New variable.
26038 (__have_dup3): Likewise.
26040 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26042 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26044 2012-08-17 Marek Polacek <polacek@redhat.com>
26046 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26047 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26049 2012-08-17 Roland McGrath <roland@hack.frob.com>
26051 * configure.in: Add AC_SUBST for sysheaders.
26052 * configure: Regenerated.
26053 * config.make.in (sysheaders): New substituted variable.
26055 * sysdeps/unix/mkfifo.c: Moved ...
26056 * sysdeps/posix/mkfifo.c: ... here.
26057 * sysdeps/unix/mkfifoat.c: Moved ...
26058 * sysdeps/posix/mkfifoat.c: ... here.
26060 * sysdeps/unix/utime.c: Moved ...
26061 * sysdeps/posix/utime.c: ... here.
26063 * sysdeps/unix/time.c: Moved ...
26064 * sysdeps/posix/time.c: ... here.
26065 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26068 * sysdeps/unix/nice.c: Moved ...
26069 * sysdeps/posix/nice.c: ... here.
26071 * sysdeps/unix/alarm.c: Moved ...
26072 * sysdeps/posix/alarm.c: ... here.
26074 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26076 2012-08-17 Jeff Law <law@redhat.com>
26078 * intl/Makefile (codeset_mo): New variable.
26079 ($(codeset_mo)): New target.
26080 (tst-codeset.out): Depend on that. Remove explicit rule.
26081 (tst-gettext3.out, tst-gettext5.out): Likewise.
26082 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26083 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26084 * intl/tst-codeset.sh: Remove.
26085 * intl/tst-gettext3.sh: Likewise.
26086 * intl/tst-gettext5.sh: Likewise.
26088 2012-08-17 Roland McGrath <roland@hack.frob.com>
26090 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26091 * sysdeps/unix/syscalls.list: ... here.
26093 * sysdeps/posix/getaddrinfo.c
26094 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26095 (gaiconf_init, gaiconf_reload): Use them.
26096 [!_STATBUF_ST_NSEC]
26097 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26098 Define using time_t rather than struct timespec.
26100 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26101 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26103 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26105 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26106 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26109 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26110 __libc_cleanup_push argument.
26112 * bits/param.h: New file.
26113 * misc/sys/param.h: New file.
26114 * include/sys/param.h: New file.
26115 * misc/Makefile (headers): Add bits/param.h.
26116 * sysdeps/generic/sys/param.h: File removed.
26117 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26118 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26119 * sysdeps/mach/hurd/bits/param.h: New file.
26120 * sysdeps/mach/hurd/sys/param.h: File removed.
26122 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26125 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26127 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26128 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26131 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26132 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26133 rather than -D_IO_MTSAFE_IO conditionally.
26134 * stdio-common/Makefile (CPPFLAGS): Likewise.
26135 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26136 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26137 Use $(libio-mtsafe).
26138 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26139 of -D_IO_MTSAFE_IO.
26140 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26141 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26142 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26143 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26144 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26145 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26146 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26147 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26148 (CFLAGS-fread_u_chk.c): Likewise.
26149 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26150 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26151 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26152 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26153 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26154 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26155 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26156 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26157 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26159 * libio/Makefile: Test [$(libc-reentrant) = yes]
26160 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26163 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26164 * sysdeps/pthread/configure: File removed.
26165 * sysdeps/pthread/Makeconfig: New file.
26166 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26167 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26169 2012-08-16 Gary Benson <gbenson@redhat.com>
26171 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26172 unmapping the first object in a namespace.
26174 2012-08-16 Roland McGrath <roland@hack.frob.com>
26176 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26177 (__internal_setnetgrent): ... this. Add internal_function to
26178 definition. Add libc_hidden_def.
26179 (setnetgrent): Update caller.
26180 (internal_endnetgrent): Renamed to ...
26181 (__internal_endnetgrent): ... this. Add internal_function to
26182 definition. Add libc_hidden_def.
26183 (endnetgrent): Update caller.
26184 (internal_getnetgrent_r): Renamed to ...
26185 (__internal_getnetgrent_r): ... this. Add internal_function to
26186 definition. Add libc_hidden_def.
26187 (__getnetgrent_r): Update caller.
26188 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26190 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26192 * stdlib/longlong.h: Update from GCC.
26194 2012-08-16 Roland McGrath <roland@hack.frob.com>
26196 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26197 on _QL, which is set by umul_ppmm but never used.
26198 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26199 variables, which are set by GMP macros but never used.
26200 * stdio-common/_itowa.c (_itowa): Likewise.
26201 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26202 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26204 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26206 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26207 struct La_sh_regs is not constant.
26208 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26209 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26210 and struct La_sparc64_regs are not constant.
26212 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26214 * sysdeps/unix/sysv/linux/kernel-features.h
26215 (__ASSUME_POSIX_TIMERS): Remove.
26216 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26217 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26218 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26219 Make code unconditional.
26220 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26221 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26222 Make code unconditional.
26223 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26224 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26225 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26226 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26227 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26228 Make code unconditional.
26229 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26230 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26231 (__libc_missing_posix_timers): Remove.
26233 2012-08-15 Roland McGrath <roland@hack.frob.com>
26235 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26236 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26238 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26240 * elf/dl-sym.c: Include <stdlib.h>.
26242 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26243 constants, which avoids warnings in 32-bit builds.
26245 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26246 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26248 * misc/lseek.c: File moved to ...
26249 * io/lseek.c: ... here.
26251 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26253 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26254 shifting LEN more than 31 bits at once.
26256 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26259 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26260 segmentation fault for a case of two empty input strings.
26261 * string/test-strncasecmp.c (check1): Renamed to...
26262 (bz12205): ...this.
26263 (bz14195): Add new testcase for two empty input strings and N > 0.
26264 (test_main): Call new testcase, adapt for renamed function.
26266 2012-08-15 Andreas Jaeger <aj@suse.de>
26269 * crypt/md5test2.c: New test, based on test supplied by Serge
26270 Belyshev <belyshev@depni.sinp.msu.ru>.
26271 * crypt/Makefile (xtests): Add md5test-giant..
26272 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26274 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26277 * crypt/md5.c (md5_process_block): Don't assume the buffer
26278 length is less than 2**32.
26279 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26280 length is less than 2**64.
26282 2012-08-15 Roland McGrath <roland@hack.frob.com>
26284 * string/str-two-way.h: Include <sys/param.h>.
26285 (MAX): Macro removed.
26287 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26288 Move #define and #undef of memmove to just before and after
26289 including <string.h>.
26291 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26292 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26293 and after including <string.h>. Move declarations of
26294 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26295 to before #include "string/memmove.c".
26297 * include/dirent.h: Declare __getdirentries.
26299 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26300 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26302 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26304 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26305 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26306 * sysdeps/i386/configure: Regenerated.
26307 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26308 STABS_CURRENT_FILE, and STABS_FUN.
26309 (END): Remove call to STABS_FUN_END.
26310 (STABS_CURRENT_FILE1): Delete.
26311 (STABS_CURRENT_FILE): Likewise.
26312 (STABS_FUN): Likewise.
26313 (STABS_FUN_END): Likewise.
26314 (STABS_FUN2): Likewise.
26315 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26316 * sysdeps/x86_64/configure: Regenerated.
26318 2012-08-14 Roland McGrath <roland@hack.frob.com>
26320 * elf/dl-open.c: Include <atomic.h>.
26321 * elf/dl-lookup.c: Likewise.
26323 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26325 * sysdeps/unix/sysv/linux/kernel-features.h
26326 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26327 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26329 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26331 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26332 condition on __ASSUME_CLONE_THREAD_FLAGS.
26334 2012-08-14 Andreas Jaeger <aj@suse.de>
26336 * sysdeps/i386/fpu/libm-test-ulps: Update.
26338 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26340 * include/atomic.h (atomic_exchange_and_add): Split into ...
26341 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26344 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26348 2012-08-13 Jeff Law <law@redhat.com>
26350 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26351 null byte in the output string.
26353 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26355 * sysdeps/unix/sysv/linux/kernel-features.h
26356 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26357 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26358 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26359 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26360 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26361 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26362 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26364 2012-08-09 Jeff Law <law@redhat.com>
26367 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26368 When avoid_arena is set, don't retry in the that arena. Pick the
26369 next one, whatever it might be.
26370 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26371 (arena_lock): Pass in new parameter to arena_get2.
26372 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26374 (__libc_malloc): Unify retrying after main arena failure with
26375 __libc_memalign version.
26376 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26378 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26381 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26382 to __redirect_strstr.
26383 (__strstr_sse42): Use typeof __redirect_strstr.
26384 (__strstr_ia32): Likewise.
26385 (__libc_strstr): New prototype.
26386 (strstr): Renamed to ...
26387 (__libc_strstr): This.
26388 (strstr): New strong alias of __libc_strstr.
26389 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26390 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26393 (__libc_time): New prototype.
26394 (time_ifunc): Replace time with __libc_time.
26395 (time): New strong alias and hidden definition of __libc_time.
26396 (__GI_time): Remove strong alias.
26397 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26398 Include <stddef.h>.
26399 (memmove): Redefined to __redirect_memmove.
26400 (__memmove_sse2): Use typeof __redirect_memmove.
26401 (__memmove_ssse3): Likewise.
26402 (__memmove_ssse3_back): Likewise.
26403 (__libc_memmove): New prototype.
26404 (memmove): Renamed to ...
26405 (__libc_memmove): This.
26406 (memmove): New strong alias of __libc_memmove.
26408 2012-08-08 Mark Salter <msalter@redhat.com>
26411 (R_MN10300_TLS_GD): Define.
26412 (R_MN10300_TLS_LD): Likewise.
26413 (R_MN10300_TLS_LDO): Likewise.
26414 (R_MN10300_TLS_GOTIE): Likewise.
26415 (R_MN10300_TLS_IE): Likewise.
26416 (R_MN10300_TLS_LE): Likewise.
26417 (R_MN10300_TLS_DTPMOD): Likewise.
26418 (R_MN10300_TLS_DTPOFF): Likewise.
26419 (R_MN10300_TLS_TPOFF): Likewise.
26420 (R_MN10300_SYM_DIFF): Likewise.
26421 (R_MN10300_ALIGN): Likewise.
26422 (R_MN10300_NUM): Update.
26424 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26429 2012-08-08 Roland McGrath <roland@hack.frob.com>
26431 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26433 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26434 sysdeps/unix -> sysdeps/posix move.
26435 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26437 2012-08-07 Allan McRae <allan@archlinux.org>
26440 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26441 (SUNOS_CPP): Likewise.
26442 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26444 (open_input): Call CPP using execvp.
26446 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26448 * sysdeps/unix/sysv/linux/kernel-features.h
26449 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26450 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26451 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26452 (__ASSUME_WAITID_SYSCALL): Likewise.
26453 * sysdeps/unix/sysv/linux/dl-execstack.c
26454 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26455 code unconditional.
26456 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26458 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26459 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26460 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26462 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26464 [__ASSUME_WAITID_SYSCALL]: Likewise.
26465 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26467 2012-08-07 Roland McGrath <roland@hack.frob.com>
26469 * sysdeps/unix/closedir.c: Renamed to ...
26470 * sysdeps/posix/closedir.c: ... here.
26471 * sysdeps/unix/dirfd.c: Renamed to ...
26472 * sysdeps/posix/dirfd.c: ... here.
26473 * sysdeps/unix/dirstream.h: Renamed to ...
26474 * sysdeps/posix/dirstream.h: ... here.
26475 * sysdeps/unix/fdopendir.c: Renamed to ...
26476 * sysdeps/posix/fdopendir.c: ... here.
26477 * sysdeps/unix/opendir.c: Renamed to ...
26478 * sysdeps/posix/opendir.c: ... here.
26479 * sysdeps/unix/readdir.c: Renamed to ...
26480 * sysdeps/posix/readdir.c: ... here.
26481 * sysdeps/unix/readdir_r.c: Renamed to ...
26482 * sysdeps/posix/readdir_r.c: ... here.
26483 * sysdeps/unix/rewinddir.c: Renamed to ...
26484 * sysdeps/posix/rewinddir.c: ... here.
26485 * sysdeps/unix/seekdir.c: Renamed to ...
26486 * sysdeps/posix/seekdir.c: ... here.
26487 * sysdeps/unix/telldir.c: Renamed to ...
26488 * sysdeps/posix/telldir.c: ... here.
26489 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26490 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26491 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26492 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26494 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26495 * bits/fcntl.h: ... here.
26497 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26499 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26500 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26501 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26502 (struct flock): Move l_start, l_len to the beginning.
26503 Use __pid_t for l_pid.
26504 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26505 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26506 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26507 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26508 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26509 [__USE_LARGEFILE64] (struct flock64): New type.
26510 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26512 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26513 * bits/dirent.h: ... here.
26515 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26516 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26518 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26520 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26521 Change from 2.6.0 to 2.6.16.
26522 * sysdeps/unix/sysv/linux/configure: Regenerated.
26523 * sysdeps/unix/sysv/linux/kernel-features.h
26524 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26525 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26527 (__ASSUME_UTIMES): Likewise.
26528 (__ASSUME_CLONE_STOPPED): Remove.
26529 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26530 architectures, not kernel version.
26531 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26532 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26533 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26534 (__ASSUME_WAITID_SYSCALL): Likewise.
26535 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26536 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26537 * README: State 2.6.16 as minimum Linux kernel version. Do not
26538 refer to older versions.
26540 2012-08-06 Roland McGrath <roland@hack.frob.com>
26542 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26543 Define alphasort64 as an alias.
26544 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26545 Define versionsort64 as an alias.
26546 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26547 Define scandir64 as an alias.
26548 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26549 Define scandirat64 as an alias.
26550 * dirent/alphasort64.c (alphasort64):
26551 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26552 * dirent/versionsort64.c: Likewise.
26553 * dirent/scandir64.c: Likewise.
26554 * dirent/scandirat64.c: Likewise.
26555 * sysdeps/wordsize-64/alphasort.c: File removed.
26556 * sysdeps/wordsize-64/alphasort64.c: File removed.
26557 * sysdeps/wordsize-64/scandir.c: File removed.
26558 * sysdeps/wordsize-64/scandir64.c: File removed.
26559 * sysdeps/wordsize-64/scandirat.c: File removed.
26560 * sysdeps/wordsize-64/scandirat64.c: File removed.
26561 * sysdeps/wordsize-64/versionsort.c: File removed.
26562 * sysdeps/wordsize-64/versionsort64.c: File removed.
26563 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26564 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26565 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26566 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26567 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26568 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26569 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26570 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26572 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26574 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26576 [defined __arch64__ || defined __sparcv9]
26577 (__INO_T_MATCHES_INO64_T): New macro.
26578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26579 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26580 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26581 * sysdeps/unix/sysv/linux/bits/dirent.h
26582 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26583 (_DIRENT_MATCHES_DIRENT64): New macro.
26585 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26586 Define lockf64 as an alias.
26587 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26588 Define fseeko64 as an alias.
26589 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26590 Define ftello64 as an alias.
26591 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26592 Define _IO_fgetpos64 and fgetpos64 as aliases.
26593 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26594 Define _IO_fsetpos64 and fsetpos64 as aliases.
26595 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26596 Conditionalize body on this.
26597 * libio/fseeko64.c: Likewise.
26598 * libio/ftello64.c: Likewise.
26599 * libio/iofgetpos64.c: Likewise.
26600 * libio/iofsetpos64.c: Likewise.
26601 * sysdeps/wordsize-64/lockf.c: File removed.
26602 * sysdeps/wordsize-64/lockf64.c: File removed.
26603 * sysdeps/wordsize-64/fseeko.c: File removed.
26604 * sysdeps/wordsize-64/fseeko64.c: File removed.
26605 * sysdeps/wordsize-64/ftello.c: File removed.
26606 * sysdeps/wordsize-64/ftello64.c: File removed.
26607 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26608 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26609 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26610 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26611 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26612 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26613 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26615 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26617 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26620 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26622 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26624 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26626 [defined __arch64__ || defined __sparcv9]
26627 (__OFF_T_MATCHES_OFF64_T): New macro.
26628 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26629 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26631 (__OFF_T_MATCHES_OFF64_T): New macro.
26633 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26635 * stdlib/secure-getenv.c (__secure_getenv): Replace
26636 GLIBC_2_16 with GLIBC_2_17.
26638 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26640 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26641 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26643 2012-08-03 David S. Miller <davem@davemloft.net>
26645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26647 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26649 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26651 (__ASSUME_CORRECT_SI_PID): Likewise.
26652 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26653 (__ASSUME_TMPFS_NAME): Likewise.
26654 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26655 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26656 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26657 (HAVE_AUX_SECURE): Make definition unconditional.
26658 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26659 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26661 2012-08-03 Roland McGrath <roland@hack.frob.com>
26663 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26664 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26665 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26666 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26667 __eloop_threshold instead of SYMLOOP_MAX.
26669 * sysdeps/generic/eloop-threshold.h: New file.
26670 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26672 * elf/chroot_canon.c (chroot_canon): Likewise.
26674 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26677 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26678 Change to 2.6.0 everywhere.
26679 * sysdeps/unix/sysv/linux/configure: Regenerated.
26680 * sysdeps/unix/sysv/linux/kernel-features.h
26681 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26682 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26684 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26685 (__ASSUME_FUTEX_REQUEUE): Remove.
26686 (__ASSUME_STATFS64): Define unconditionally.
26687 (__ASSUME_AT_SECURE): Likewise.
26688 (__ASSUME_CORRECT_SI_PID): Likewise.
26689 (__ASSUME_TGKILL): Define without depending on kernel version for
26691 (__ASSUME_UTIMES): Likewise.
26692 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26694 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26695 (__ASSUME_TMPFS_NAME): Likewise.
26696 * README: Update reference to Linux kernel versions.
26698 2012-08-02 Marek Polacek <polacek@redhat.com>
26701 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26702 libc_cv_asm_type_prefix with %.
26703 * configure: Regenerated.
26704 * include/libc-symbols.h: Remove comment about
26705 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26706 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26707 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26708 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26709 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26710 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26711 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26712 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26713 * elf/tst-unique2mod1.c: Likewise.
26714 * elf/tst-unique1mod2.c: Likewise.
26715 * elf/tst-unique1mod1.c: Likewise.
26716 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26717 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26718 Replace ASM_TYPE_DIRECTIVE with .type.
26719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26720 * sysdeps/i386/sysdep.h: Likewise.
26721 * sysdeps/x86_64/sysdep.h: Likewise.
26722 * sysdeps/sh/sysdep.h: Likewise.
26723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26724 Do not define ASM_TYPE_DIRECTIVE.
26725 * sysdeps/powerpc/sysdep.h: Likewise.
26726 * sysdeps/powerpc/powerpc32/sysdep.h:
26727 Replace ASM_TYPE_DIRECTIVE with .type.
26728 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26729 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26730 * sysdeps/i386/fpu/e_powf.S: Likewise.
26731 * sysdeps/i386/fpu/e_expl.S: Likewise.
26732 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26733 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26734 * sysdeps/i386/fpu/e_pow.S: Likewise.
26735 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26736 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26737 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26738 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26739 * sysdeps/i386/fpu/e_log2.S: Likewise.
26740 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26741 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26742 * sysdeps/i386/fpu/e_powl.S: Likewise.
26743 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26744 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26745 * sysdeps/i386/fpu/e_logl.S: Likewise.
26746 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26747 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26748 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26749 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26750 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26751 * sysdeps/i386/fpu/e_log.S: Likewise.
26752 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26753 * sysdeps/i386/fpu/e_logf.S: Likewise.
26754 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26755 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26756 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26757 * sysdeps/i386/fpu/e_log10.S: Likewise.
26758 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26759 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26760 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26761 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26762 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26763 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26764 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26765 * sysdeps/i386/i686/strtok.S: Likewise.
26766 * sysdeps/i386/i386-mcount.S: Likewise.
26767 * sysdeps/i386/strtok.S: Likewise.
26768 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26769 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26770 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26771 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26772 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26773 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26774 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26775 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26776 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26777 * sysdeps/x86_64/_mcount.S: Likewise.
26778 * sysdeps/x86_64/strtok.S: Likewise.
26779 * sysdeps/sh/_mcount.S: Likewise.
26781 2012-08-01 Roland McGrath <roland@hack.frob.com>
26783 * libio/iofopen.c: Include <fcntl.h>.
26784 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26785 (_IO_fopen64, fopen64): Define as aliases.
26786 * libio/iofopen64.c: Include <fcntl.h>.
26787 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26788 Conditionalize body on this.
26789 * sysdeps/wordsize-64/iofopen.c: File removed.
26790 * sysdeps/wordsize-64/iofopen64.c: File removed.
26792 2012-08-01 Marek Polacek <polacek@redhat.com>
26794 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26795 Use dlfcn directly instead of a variable.
26796 (binfmt-subdir): Do not define.
26799 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26801 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26802 Remove all definitions.
26803 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26804 <kernel-features.h>.
26805 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26806 (miss_F_GETOWN_EX): Remove all definitions.
26807 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26809 [!__ASSUME_FCNTL64]: Remove conditional code.
26810 [__ASSUME_FCNTL64]: Make code unconditional.
26811 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26812 <kernel-features.h>.
26813 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26814 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26815 (lockf64) [__NR_fcntl64]: Make code unconditional.
26816 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26818 * sysdeps/unix/sysv/linux/kernel-features.h
26819 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26820 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26821 Make code unconditional.
26822 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26823 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26825 [__NR_vfork]: Make code unconditional.
26826 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26827 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26829 [__NR_vfork]: Make code unconditional.
26830 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26831 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26833 2012-08-01 Roland McGrath <roland@hack.frob.com>
26835 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26836 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26838 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26839 Define mkstemp64 as an alias.
26840 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26841 Define mkstemps64 as an alias.
26842 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26843 Define mkostemp64 as an alias.
26844 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26845 Define mkostemps64 as an alias.
26846 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26847 Conditionalize body on this.
26848 * misc/mkostemp64.c: Likewise.
26849 * misc/mkostemps64.c: Likewise.
26850 * misc/mkstemps64.c: Likewise.
26851 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26852 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26853 * sysdeps/wordsize-64/mkostemp.c: File removed.
26854 * sysdeps/wordsize-64/mkstemp.c: File removed.
26855 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26856 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26857 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26858 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26861 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26862 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26863 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26864 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26866 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26867 compat_symbol macros from <shlib-compat.h> rather than the underlying
26868 default_symbol_version and symbol_version macros, so that DEFAULT
26869 lines in shlib-versions are respected.
26870 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26872 2012-08-01 Florian Weimer <fweimer@redhat.com>
26874 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26875 Declare with warn_unused_result.
26876 (setgid, setregid, setegid, setresgid): Likewise.
26877 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26879 * WUR-REPORT: Remove set*id functions.
26881 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26883 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26885 2012-07-31 Roland McGrath <roland@hack.frob.com>
26888 * include/sys/socket.h (__libc_accept, __libc_accept4):
26889 Add attribute_hidden.
26890 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26892 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26894 * inet/getnetgrent_r.c (setup): Likewise.
26896 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26898 2012-07-31 David S. Miller <davem@davemloft.net>
26900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26902 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26905 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26906 value between 1.0 and 2.0 and smaller part has absolute value less
26908 * math/s_clog10.c (__clog10): Likewise.
26909 * math/s_clog10f.c (__clog10f): Likewise.
26910 * math/s_clog10l.c (__clog10l): Likewise.
26911 * math/s_clogf.c (__clogf): Likewise.
26912 * math/s_clogl.c (__clogl): Likewise.
26913 * math/libm-test.inc (clog_test): Add more tests.
26914 (clog10_test): Likewise.
26915 * sysdeps/i386/fpu/libm-test-ulps: Update.
26916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26918 2012-07-31 Florian Weimer <fweimer@redhat.com>
26920 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26921 Exit with zero in case no suitable GID is found, and write a
26922 message to standard error.
26924 2012-07-30 Roland McGrath <roland@hack.frob.com>
26926 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26928 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26929 (MAXPATHLEN): Removed.
26930 (NOGROUP, NODEV): New macros.
26931 (setbit, clrbit, isset, isclr): New macros.
26932 (howmany, roundup, powerof2): New macros.
26933 (DEV_BSIZE): New macro.
26935 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26936 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26938 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26939 definition on [!__NO_LONG_DOUBLE_MATH].
26941 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26942 PTR_MANGLE and PTR_DEMANGLE.
26944 * socket/accept4.c (accept4): Rename to __libc_accept4.
26945 Define accept4 as a weak alias.
26947 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26948 on [_DIRENT_HAVE_D_TYPE].
26949 * io/ftw.c (ftw_dir): Likewise.
26951 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26953 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26955 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26956 Use the BSD numbers rather than the arbitrary ones we had.
26957 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26958 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26959 (SIGXCPU, SIGXFSZ): New macros.
26962 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26963 initializer on [_LIBC_REENTRANT].
26965 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26966 definitions inside [_POSIX_MAPPED_FILES].
26968 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26970 * dirent/opendir.c: Include <fcntl.h>.
26972 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26973 (__libc_getspecific): Likewise.
26974 (__libc_key_create): Likewise.
26976 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26977 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26978 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26979 (tmpfile64): Define as alias.
26980 * sysdeps/wordsize-64/tmpfile.c: File removed.
26981 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26982 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26983 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26985 * stdio-common/vfscanf.c: Include <stdbool.h>.
26986 * nss/makedb.c: Likewise.
26987 * stdio-common/_i18n_number.h: Likewise.
26988 * argp/argp-help.c: Likewise.
26989 * posix/wordexp.c: Likewise.
26990 * sysdeps/posix/spawni.c: Likewise.
26991 * nss/nss_files/files-initgroups.c: Likewise.
26992 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26993 * nss/nss_files/files-initgroups.c: Likewise.
26994 * nss/nss_db/db-netgrp.c: Likewise.
26995 * nss/nss_db/db-initgroups.c: Likewise.
26996 * io/fchmodat.c: Include <sys/stat.h>.
26998 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26999 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27001 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27004 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27005 Add multiple inclusion protection.
27007 2012-07-27 David S. Miller <davem@davemloft.net>
27009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27011 2012-07-27 Gary Benson <gbenson@redhat.com>
27014 * elf/rtld.c: Include <stap-probe.h>.
27015 (dl_main): Added static probes "init_start" and "init_complete".
27016 * elf/dl-load.c: Include <stap-probe.h>.
27017 (lose): Take new parameter "nsid".
27018 Added static probe "map_failed".
27019 (_dl_map_object_from_fd): Pass namespace id to lose.
27020 Added static probe "map_start".
27021 (open_verify): Pass namespace id to lose.
27022 * elf/dl-open.c: Include <stap-probe.h>.
27023 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27024 and "reloc_complete".
27025 * elf/dl-close.c: Include <stap-probe.h>.
27026 (_dl_close_worker): Added static probes "unmap_start" and
27028 * elf/rtld-debugger-interface.txt: New file documenting the above.
27030 2012-07-26 Roland McGrath <roland@hack.frob.com>
27032 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27033 rather than a string variable.
27034 * sunrpc/rpc_main.c (h_output): Likewise.
27035 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27037 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27039 * inet/check_native.c: New file.
27041 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27044 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27045 if larger part has absolute value 1.0.
27046 * math/s_clog10.c (__clog10): Likewise.
27047 * math/s_clog10f.c (__clog10f): Likewise.
27048 * math/s_clog10l.c (__clog10l): Likewise.
27049 * math/s_clogf.c (__clogf): Likewise.
27050 * math/s_clogl.c (__clogl): Likewise.
27051 * math/libm-test.inc (clog_test): Add more tests.
27052 (clog10_test): Likewise.
27053 * sysdeps/i386/fpu/libm-test-ulps: Update.
27054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27056 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27057 (pltexit): Likewise.
27058 (La_regs): Likewise.
27059 (La_retval): Likewise.
27060 (int_retval): Likewise.
27061 Update #error for removed macros to refer only to definitions in
27063 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27065 (pltexit): Likewise.
27066 (La_regs): Likewise.
27067 (La_retval): Likewise.
27068 (int_retval): Likewise.
27069 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27071 (pltexit): Likewise.
27072 (La_regs): Likewise.
27073 (La_retval): Likewise.
27074 (int_retval): Likewise.
27075 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27077 (pltexit): Likewise.
27078 (La_regs): Likewise.
27079 (La_retval): Likewise.
27080 (int_retval): Likewise.
27081 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27083 (pltexit): Likewise.
27084 (La_regs): Likewise.
27085 (La_retval): Likewise.
27086 (int_retval): Likewise.
27087 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27089 (pltexit): Likewise.
27090 (La_regs): Likewise.
27091 (La_retval): Likewise.
27092 (int_retval): Likewise.
27093 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27095 (pltexit): Likewise.
27096 (La_regs): Likewise.
27097 (La_retval): Likewise.
27098 (int_retval): Likewise.
27099 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27100 macro definitions in tst-audit.h.
27101 * sysdeps/i386/tst-audit.h: New file.
27102 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27103 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27104 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27105 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27106 * sysdeps/sh/tst-audit.h: Likewise.
27107 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27108 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27109 * sysdeps/x86_64/tst-audit.h: Likewise.
27111 2012-07-26 Andreas Jaeger <aj@suse.de>
27113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27116 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27117 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27118 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27120 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27121 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27122 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27124 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27127 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27129 (si_call_addr, si_syscall, si_arch): Define new macro.
27130 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27132 (si_call_addr, si_syscall, si_arch): Define new marcro.
27133 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27135 (si_call_addr, si_syscall, si_arch): Define new macro.
27136 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27138 (si_call_addr, si_syscall, si_arch): Define new macro.
27140 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27144 Change to 2.4.21 where previously 2.4.1.
27145 * sysdeps/unix/sysv/linux/configure: Regenerated.
27146 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27147 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27148 Linux kernel version.
27149 (__ASSUME_STD_AUXV): Remove.
27150 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27152 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27153 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27154 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27155 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27156 (__ASSUME_NETLINK_SUPPORT): Likewise.
27157 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27158 (__no_netlink_support): Remove conditional definition.
27159 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27161 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27162 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27163 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27164 (if_nameindex_ioctl): Remove.
27165 (if_nameindex_netlink): Do not handle __no_netlink_support.
27166 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27168 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27169 Remove conditional code.
27170 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27172 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27174 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27175 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27176 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27178 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27179 [!__ASSUME_STD_AUXV]: Remove conditional code.
27180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27181 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27182 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27184 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27185 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27187 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27189 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27190 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27192 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27194 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27197 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27200 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27201 code unconditional.
27202 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27204 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27206 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27209 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27211 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27214 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27215 code unconditional.
27216 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27218 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27220 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27223 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27224 code unconditional.
27225 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27227 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27229 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27232 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27234 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27235 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27236 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27237 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27238 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27239 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27240 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27241 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27242 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27243 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27244 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27245 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27246 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27247 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27248 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27249 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27250 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27251 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27252 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27254 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27255 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27256 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27258 2012-07-25 Florian Weimer <fweimer@redhat.com>
27260 * Versions.def: Add GLIBC_2.17.
27261 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27262 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27263 Introduce __libc_secure_getenv.
27264 * stdlib/Versions (2.17): Add secure_getenv
27265 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27266 * stdlib/secure-getenv.c: Rename __secure_getenv to
27267 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27268 symbol __secure_getenv for GLIBC_2.0.
27269 * stdlib/tst-secure-getenv.c: New.
27270 * stdlib/Makefile (tests): Add testcase.
27271 * manual/startup.texi (Environment Access): Document
27273 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27274 __libc_secure_getenv.
27275 * inet/ruserpass.c (ruserpass): Likewise.
27276 * malloc/mtrace.c (mtrace): Likewise.
27277 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27278 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27279 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27280 * sysdeps/posix/tempname.c: Likewise. Evaluate
27281 HAVE_SECURE_GETENV.
27282 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27283 __secure_getenv to __libc_secure_getenv.
27284 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27297 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27299 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27300 (struct La_i86_retval): Likewise.
27301 (struct La_x86_64_regs): Likewise.
27302 (struct La_x86_64_retval): Likewise.
27303 (struct La_x32_regs): Likewise.
27304 (struct La_x32_retval): Likewise.
27305 (struct La_ppc32_regs): Likewise.
27306 (struct La_ppc32_retval): Likewise.
27307 (struct La_ppc64_regs): Likewise.
27308 (struct La_ppc64_retval): Likewise.
27309 (struct La_sh_regs): Likewise.
27310 (struct La_sh_retval): Likewise.
27311 (struct La_s390_32_regs): Likewise.
27312 (struct La_s390_32_retval): Likewise.
27313 (struct La_s390_64_regs): Likewise.
27314 (struct La_s390_64_retval): Likewise.
27315 (struct La_sparc32_regs): Likewise.
27316 (struct La_sparc32_retval): Likewise.
27317 (struct La_sparc64_regs): Likewise.
27318 (struct La_sparc64_retval): Likewise.
27319 (struct audit_ifaces): Remove architecture-specific pltenter and
27321 * sysdeps/i386/ldsodefs.h: New file.
27322 * sysdeps/powerpc/ldsodefs.h: Likewise.
27323 * sysdeps/s390/ldsodefs.h: Likewise.
27324 * sysdeps/sh/ldsodefs.h: Likewise.
27325 * sysdeps/sparc/ldsodefs.h: Likewise.
27326 * sysdeps/x86_64/ldsodefs.h: Likewise.
27328 2012-07-25 Marek Polacek <polacek@redhat.com>
27331 * math/libm-test.inc (yn_test): Add another test.
27332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27333 to ERANGE when the result is +-Inf.
27334 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27335 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27336 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27337 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27339 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27341 * conform/data/time.h-data (NULL): Use macro-constant. Require
27343 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27345 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27347 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27349 * configure.in <sysdeps resolving>: Correct printing
27351 * configure: Regenerate.
27353 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27355 * math/w_ilogb.c: Include <limits.h>.
27356 * math/w_ilogbl.c: Likewise.
27358 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27360 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27361 va_copy. Document allowing for unavailable va_copy only as
27362 pre-C99 compatibility.
27363 * manual/string.texi (Copying and Concatenation): Use va_copy
27364 instead of __va_copy in concat example.
27366 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27368 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27369 (__sendto): Use create_address_port. Initialize APORT and deallocate
27372 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27373 with O_NOLINK passed to __file_name_lookup.
27375 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27376 with O_NOLINK passed to __file_name_lookup.
27378 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27379 negative N or less than NGIDS.
27381 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27382 type to string_t. Set ERANGE as errno and return it if NAME is not big
27383 enough. Use memcpy instead of strncpy.
27385 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27387 * elf/Makefile (check-data): Remove.
27388 (localplt.data): New vpath directive.
27389 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27390 instead of $(check-data).
27391 * scripts/data/localplt-generic.data: Move to ...
27392 * sysdeps/generic/localplt.data: ... here.
27393 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27394 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27395 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27398 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27401 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27404 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27407 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27410 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27414 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27416 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27417 PPC32 and PPC64 files.
27418 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27419 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27421 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27423 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27424 __makecontext_ret to ...
27425 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27426 ... here and call exit if uc_link is NULL. New file.
27427 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27428 __makecontext_ret.S.
27429 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27430 __makecontext_ret to ...
27431 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27432 ... here and call exit if uc_link is NULL. New file.
27433 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27434 __makecontext_ret.S.
27436 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27438 * elf/elf.h (R_390_IRELATIVE): New definition.
27439 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27440 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27441 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27442 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27443 (elf_machine_lazy_rel): Likewise.
27444 * sysdeps/s390/dl-irel.h: New file.
27445 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27446 * sysdeps/s390/s390-64/memset.S: New asm code.
27447 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27448 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27449 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27450 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27451 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27452 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27453 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27454 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27455 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27456 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27457 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27458 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27459 * sysdeps/s390/s390-32/memset.S: New asm code.
27460 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27462 2012-07-17 Marek Polacek <polacek@redhat.com>
27465 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27466 * sysdeps/s390/s390-64/configure.in: Likewise.
27467 * sysdeps/sparc/configure.in: Likewise.
27468 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27469 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27470 * sysdeps/i386/configure.in: Likewise.
27471 * sysdeps/x86_64/configure.in: Likewise.
27472 * sysdeps/sh/configure.in: Likewise.
27473 * sysdeps/s390/s390-32/configure: Regenerated.
27474 * sysdeps/s390/s390-64/configure: Likewise.
27475 * sysdeps/x86_64/configure: Likewise.
27476 * sysdeps/sh/configure: Likewise.
27477 * sysdeps/powerpc/powerpc64/configure: Likewise.
27478 * sysdeps/powerpc/powerpc32/configure: Likewise.
27479 * sysdeps/sparc/configure: Likwise.
27480 * sysdeps/i386/configure: Likewise.
27482 * elf/dl-open.c: Comment fixes.
27484 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27486 * Makefile [CXX] (check-data): Remove.
27487 [CXX] (c++-types.data): New vpath directive.
27488 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27489 vpath. Do not allow for C++ type data being missing.
27490 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27491 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27492 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27493 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27494 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27495 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27496 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27499 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27502 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27505 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27508 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27511 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27514 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27517 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27520 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27521 definitions to architecture-specific files.
27522 (TLS_IE): Likewise.
27523 (TLS_LD): Likewise.
27524 (TLS_GD): Likewise.
27525 * sysdeps/i386/tls-macros.h: New file.
27526 * sysdeps/powerpc/tls-macros.h: Likewise.
27527 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27528 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27529 * sysdeps/sh/tls-macros.h: Likewise.
27530 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27531 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27532 * sysdeps/x86_64/tls-macros.h: Likewise.
27534 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27536 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27537 zero value for regular exit case.
27539 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27540 (__start_context): Preserve zero value for regular exit case.
27542 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27543 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27545 * manual/setjmp.texi (setcontext): Clarify normal process
27546 termination when uc_link is the null pointer.
27547 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27550 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27552 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27553 preprocessor. Test for each exception mask separately.
27555 2012-07-16 Andreas Jaeger <aj@suse.de>
27557 * po/ru.po: Update from translation team.
27559 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27561 * conform/data/string.h-data (NULL): Use macro-constant. Require
27563 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27564 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27565 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27566 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27569 2012-07-13 Andreas Jaeger <aj@suse.de>
27571 * po/fr.po: Update from translation team.
27573 2012-07-12 Marek Polacek <polacek@redhat.com>
27576 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27577 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27580 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27583 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27584 Change to 2.4.1 where previously 2.4.0.
27585 * sysdeps/unix/sysv/linux/configure: Regenerated.
27586 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27587 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27589 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27590 (__ASSUME_AT_CLKTCK): Remove.
27591 (__ASSUME_AT_PAGESIZE): Likewise.
27592 (__ASSUME_AT_XID): Likewise.
27593 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27594 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27595 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27597 (HAVE_AUX_PAGESIZE): Likewise.
27598 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27599 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27600 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27602 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27606 the temporary buffer used to invoke __gethostbyname2_r,
27607 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27608 host_data / struct gaih_addrtuple.
27609 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27610 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27611 header file nss/nsswitch.h.
27612 * nss/nsswitch.h (global scope): Add definition of implementation
27613 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27614 resolv/nss_dns/dns-host.c).
27616 2012-07-11 Andreas Jaeger <aj@suse.de>
27618 * po/fr.po: Update from translation team.
27620 * po/sv.po: Update from translation team
27621 * po/fr.po: Another update from translation team.
27623 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27625 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27626 for subnormals or multiply small sinh result by itself.
27627 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27630 2012-07-11 David S. Miller <davem@davemloft.net>
27632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27634 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27637 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27638 (INTERNAL_MARK): Shift it here.
27640 2012-07-10 Marek Polacek <polacek@redhat.com>
27643 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27644 libc_cv_asm_global_directive with .globl.
27645 * configure: Regenerated.
27646 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27648 * sysdeps/i386/configure: Regenerated.
27649 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27651 * sysdeps/x86_64/configure: Regenerated.
27652 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27653 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27654 * elf/tst-unique2mod2.c: Likewise.
27655 * elf/tst-unique2mod1.c: Likewise.
27656 * elf/tst-unique1mod2.c: Likewise.
27657 * elf/tst-unique1mod1.c: Likewise.
27658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27659 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27661 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27662 * sysdeps/mach/sysdep.h: Likewise.
27663 * sysdeps/i386/sysdep.h: Likewise.
27664 * sysdeps/i386/i386-mcount.S: Likewise.
27665 * sysdeps/x86_64/_mcount.S: Likewise.
27666 * sysdeps/x86_64/sysdep.h: Likewise.
27667 * sysdeps/sh/_mcount.S: Likewise.
27668 * sysdeps/sh/sysdep.h: Likewise.
27669 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27670 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27671 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27672 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27673 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27674 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27675 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27676 * locale/localeinfo.h: Likewise.
27677 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27678 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27680 2012-07-09 Roland McGrath <roland@hack.frob.com>
27683 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27685 * manual/message.texi (The Uniforum approach): Likewise.
27686 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27687 (glibc iconv Implementation): Likewise.
27689 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27692 * math/s_clog.c (__clog): Avoid scaling a value down where that
27693 could result in underflow.
27694 * math/s_clog10.c (__clog10): Likewise.
27695 * math/s_clog10f.c (__clog10f): Likewise.
27696 * math/s_clog10l.c (__clog10l): Likewise.
27697 * math/s_clogf.c (__clogf): Likewise.
27698 * math/s_clogl.c (__clogl): Likewise.
27699 * math/libm-test.inc (clog_test): Add more tests.
27700 (clog10_test): Likewise.
27701 * sysdeps/i386/fpu/libm-test-ulps: Update.
27702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27704 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27707 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27708 by 7 not 8 to examine high bit of fractional part.
27711 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27712 for call to __mcount_internal.
27713 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27714 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27715 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27717 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27720 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27721 approximation for values within 0x1p-13f of an odd multiple of
27723 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27724 exception. Add more tests.
27725 * sysdeps/i386/fpu/libm-test-ulps: Update.
27728 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27729 inputs and return -1 for them. Do not check for +Inf in case not
27730 reachable for +Inf.
27731 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27732 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27733 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27734 and return -1 for them. Do not check for +Inf in case not
27735 reachable for +Inf.
27736 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27738 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27739 and return -1 for them. Do not check for +Inf in case not
27740 reachable for +Inf.
27741 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27742 spurious underflow.
27743 * sysdeps/i386/fpu/libm-test-ulps: Update.
27744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27746 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27748 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27750 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27754 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27755 could result in spurious underflow. Scale down values above
27756 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27757 * math/s_csqrtf.c (__csqrtf): Likewise.
27758 * math/s_csqrtl.c (__csqrtl): Likewise.
27759 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27760 spurious underflow.
27761 * sysdeps/i386/fpu/libm-test-ulps: Update.
27762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27764 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27766 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27768 * catgets/xopen-msg.awk: New file.
27769 * catgets/xopen-msg.sed: Removed.
27771 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27773 * intl/po2test.awk: New file.
27774 * intl/po2test.sed: Removed.
27776 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27779 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27780 or multiply small sinh result by itself.
27781 * math/s_ctanf.c (__ctanf): Likewise.
27782 * math/s_ctanh.c (__ctanh): Likewise.
27783 * math/s_ctanhf.c (__ctanhf): Likewise.
27784 * math/s_ctanhl.c (__ctanhl): Likewise.
27785 * math/s_ctanl.c (__ctanl): Likewise.
27786 * math/libm-test.inc (ctan_test_tonearest): New function.
27787 (ctan_test_towardzero): Likewise.
27788 (ctan_test_downward): Likewise.
27789 (ctan_test_upward): Likewise.
27790 (ctanh_test_tonearest): Likewise.
27791 (ctanh_test_towardzero): Likewise.
27792 (ctanh_test_downward): Likewise.
27793 (ctanh_test_upward): Likewise.
27794 (main): Call these new functions.
27795 * sysdeps/i386/fpu/libm-test-ulps: Update.
27796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27798 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27800 * .gitignore: Delete /ports entry.
27802 2012-07-03 Andreas Jaeger <aj@suse.de>
27804 * po/bg.po: Update from translation team.
27805 * po/cs.po: Likewise.
27806 * po/de.po: Likewise.
27807 * po/hr.po: Likewise.
27808 * po/nl.pl: Likewise.
27809 * po/pl.po: Likewise.
27810 * po/vi.po: Likewise.
27812 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27814 * Makeconfig [!+link] (+link-before-libc): New variable.
27815 [!+link] (+link-after-libc): Likewise.
27816 [!+link] (+link-tests): Likewise.
27817 [!+link] (+link): Define in terms of $(+link-before-libc) and
27818 $(+link-after-libc).
27819 [!+link-static] (+link-static-before-libc): New variable.
27820 [!+link-static] (+link-static-after-libc): Likewise.
27821 [!+link-static] (+link-static-tests): Likewise.
27822 [!+link-static] (+link-static): Define in terms of
27823 $(+link-static-before-libc) and $(+link-static-after-libc).
27824 [build-shared] (link-libc-before-gnulib): New variable.
27825 [build-shared] (link-libc-tests): Likewise.
27826 [build-shared] (link-libc): Define in terms of
27827 $(link-libc-before-gnulib).
27828 [!build-shared] (link-libc-tests): New variable.
27829 (link-libc-static-tests): New variable.
27830 [!gnulib] (gnulib-arch): New variable.
27831 [!gnulib] (gnulib-tests): Likewise.
27832 [!gnulib] (static-gnulib-arch): Likewise.
27833 [!gnulib] (static-gnulib-tests): Likewise.
27834 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27835 Define with "=" instead of ":=".
27836 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27837 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27838 * Rules (binaries-all-notests): New variable.
27839 (binaries-all-tests): Likewise.
27840 (binaries-static-notests): Likewise.
27841 (binaries-static-tests): Likewise.
27842 (binaries-all): Define using $(binaries-all-notests) and
27843 $(binaries-all-tests).
27844 (binaries-static): Define using $(binaries-static-notests) and
27845 $(binaries-static-tests).
27846 (binaries-shared-tests): New variable.
27847 (binaries-shared-notests): Likewise.
27848 (binaries-shared): Remove variable.
27849 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27850 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27851 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27852 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27853 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27854 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27855 * elf/Makefile (sln-modules): New variable.
27856 (extra-objs): Add $(sln-modules:=.o).
27857 (ldconfig-modules): Add static-stubs.
27858 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27859 * elf/static-stubs.c: New file.
27862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27863 by 7 not 8 to examine high bit of fractional part. Use volatile
27864 variables when splitting into final array of floats if
27865 __FLT_EVAL_METHOD__ != 0.
27866 * math/libm-test.inc (cos_test): Add another test.
27867 (sin_test): Likewise.
27868 * sysdeps/i386/fpu/libm-test-ulps: Update.
27871 * math/libm-test.inc (cosh_test): Add more tests.
27873 * version.h (RELEASE): Set to "development".
27874 (VERSION): Set to "2.16.90".
27876 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27878 * NEWS: Update copyright. Remove last-updated date.
27879 Mention math library bug fixes and timezone data changes.
27880 * README: Mention GNU/Hurd, x32, and HPPA support status.
27882 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27884 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27886 2012-06-27 Andreas Jaeger <aj@suse.de>
27888 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27890 2012-06-25 Andreas Jaeger <aj@suse.de>
27892 * sysdeps/s390/fpu/libm-test-ulps: Update.
27894 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27895 Thomas Schwinge <thomas@codesourcery.com>
27897 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27898 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27899 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27902 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27904 * sysdeps/mach/start.c: Remove file.
27905 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27906 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27907 * sysdeps/sh/init-first.c: Likewise.
27909 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27910 registers for frame unwinding purposes, add CFI directives.
27911 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27913 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27916 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27917 __fortify_fail returning.
27918 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27920 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27921 sysdeps/sh/____longjmp_chk.S.
27922 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27923 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27924 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27925 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27927 * sysdeps/sh/abort-instr.h: New file.
27928 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27929 process in case exit returns.
27931 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27932 initialize the GOT register before use.
27934 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27935 calculation of ARGC > 4.
27937 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27938 meaningful names to some local labels.
27940 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27941 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27943 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27944 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27945 (__arch_compare_and_exchange_val_16_acq): Likewise.
27946 (__arch_compare_and_exchange_val_32_acq): Likewise.
27947 (atomic_exchange_and_add): Fix gUSA sequence.
27948 (atomic_add): Likewise.
27949 (atomic_add_negative): Likewise.
27950 (atomic_add_zero): Likewise.
27951 (atomic_bit_test_set): Likewise.
27953 2012-06-22 Andreas Schwab <schwab@redhat.com>
27956 * include/link.h (struct link_map): Add l_free_initfini.
27957 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27959 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27960 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27961 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27964 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27966 * configure.in: Use AC_LANG_SOURCE.
27967 * configure: Regenerate.
27969 2012-06-22 Roland McGrath <roland@hack.frob.com>
27971 * configure.in (libc_cv_localstatedir): New substituted variable.
27972 * configure: Regenerated.
27973 * config.make.in (localstatedir): New variable, substituted from
27974 libc_cv_localstatedir.
27975 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27976 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27977 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27978 * sysdeps/gnu/configure: Regenerated.
27980 2012-06-21 Jeff Law <law@redhat.com>
27983 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27984 free. Simplify list management for _LIBC case.
27986 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27989 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27990 Clear sign bit of 64-bit integer value before comparing against
27993 * sysdeps/mach/configure: Regenerated.
27995 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27998 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28000 2012-06-21 Jeff Law <law@redhat.com>
28003 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28004 uint16_t for elements in the "seen" array to avoid char overflows.
28005 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28006 * elf/dl-open.c (dl_open_worker): Likewise.
28008 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28010 * scripts/list-sources.sh: Scan PORTS for translations.
28011 * po/libc.pot: Regenerated.
28013 2012-06-21 Andreas Jaeger <aj@suse.de>
28016 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28018 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28019 * bits/byteswap-16.h (__bswap_16): Likewise.
28020 * bits/byteswap.h (__bswap_constant_16): Likewise.
28022 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28025 * sysdeps/i386/fpu_control.h: Removed.
28026 * sysdeps/x86_64/fpu_control.h: Moved to ...
28027 * sysdeps/x86/fpu_control.h: Here.
28029 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28030 (_FPU_SETCW): Likewise.
28032 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28035 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28036 * sysdeps/x86/fpu/bits/mathinline.h: This.
28037 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28041 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28042 functions if __x86_64__ is defined.
28044 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28046 * string/endian.h: Add !__ASSEMBLER__ condition for including
28047 conversion interfaces.
28049 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28052 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28053 of ABS(x) in calculating zero to negative powers other than odd
28055 * math/libm-test.inc (pow_test): Add more tests.
28057 2012-06-15 Andreas Jaeger <aj@suse.de>
28059 * manual/contrib.texi (Contributors): Update entry of Liubov
28060 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28063 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28065 * string/string.h: Add __wur to GNU version of strerror_r.
28067 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28070 * string/Makefile (tests): Add tst-strtok_r.
28071 * string/tst-strtok_r.c: New file.
28072 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28073 RAX_LP/RDX_LP on SAVE_PTR.
28075 2012-06-14 Roland McGrath <roland@hack.frob.com>
28077 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28079 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28081 * libm_test.inc (csqrt_test): Allow more spurious underflow
28083 (j0_test): Likewise.
28084 (j1_test): Likewise.
28085 (y0_test): Likewise.
28086 (y1_test): Likewise.
28088 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28090 * po/Makefile (libc.pot): Use UTF-8 charset.
28092 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28095 Suppress sign-conversion warning from FD_SET.
28096 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28097 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28098 not unsigned long int.
28099 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28101 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28105 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28106 __extern_always_inline instead of __extern_inline.
28107 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28108 (__signbit): Likewise.
28109 (__signbitl): Support C++ namespace.
28110 (lrintf): New inline function.
28112 (llrintf): Likewise.
28113 (llrint): Likewise.
28123 (floorf): Likewise.
28124 (nearbyint): Likewise.
28125 (nearbyintf): Likewise.
28127 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28129 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28130 non-default versions.
28132 2012-06-11 Roland McGrath <roland@hack.frob.com>
28135 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28137 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28139 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28140 (FE_UPWARD, FE_DOWNWARD): Don't define.
28141 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28142 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28144 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28146 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28147 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28149 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28151 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28153 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28154 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28156 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28159 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28160 * sysdeps/i386/fpu/Implies: New file.
28161 * sysdeps/x86_64/fpu/Implies: Likewise.
28162 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28163 * sysdeps/x86/fpu/bits/fenv.h: This.
28165 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28168 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28171 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28172 character 0xffff that matches the last element of the
28175 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28177 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28180 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28183 values higher than 25.6283.
28185 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28188 subnormal exponent extraction and add some __builtin_expect.
28189 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28190 Fix for subnormal mantissa calculation.
28192 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28194 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28195 cpu2 is -1 and errno is not ENOSYS.
28197 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28200 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28201 * sysdeps/x86/bits/string.h: This.
28202 * sysdeps/x86_64/bits/string.h: Removed.
28204 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28205 if not compiling for x86-64, but compiling for >= i486.
28207 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28208 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28210 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28211 New macro from Linux kernel 3.4.0.
28212 (FP_XSTATE_MAGIC2): Likewise.
28213 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28214 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28215 (struct _fpx_sw_bytes): New struct.
28216 (struct _xsave_hdr): Likewise.
28217 (struct _ymmh_state): Likewise.
28218 (struct _xstate): Likewise.
28220 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28221 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28223 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28224 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28225 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28227 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28228 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28229 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28230 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28231 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28232 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28234 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28237 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28238 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28239 (sysdep_headers): Include sys/platform/ppc.h.
28240 * sysdeps/powerpc/test-gettimebase.c: Test for
28241 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28242 * manual/Makefile (appendices): Include platform.texi.
28243 * manual/contrib.texi (Contributors): Update @node pointers.
28244 * manual/maint.texi (Maintenance): Likewise.
28245 (Platform): New node.
28246 * manual/platform.texi: New file. Document the new features.
28248 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28249 Jakub Jelinek <jakub@redhat.com>
28252 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28253 where __builtin_expect is unavailable.
28255 2012-06-03 David S. Miller <davem@davemloft.net>
28257 * stdlib/longlong.h: Updated from GCC.
28259 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28262 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28263 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28266 (GLIBC_2.16): Likewise.
28268 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28270 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28272 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28275 (default-abi): New variable.
28276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28277 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28279 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28281 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28283 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28286 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28287 definition. Document in comment.
28289 2012-06-01 David S. Miller <davem@davemloft.net>
28291 * stdlib/longlong.h: Updated from GCC.
28293 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28296 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28297 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28298 sys/debugreg.h sys/io.h here.
28299 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28300 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28302 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28303 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28304 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28305 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28306 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28307 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28309 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28310 Define only if __x86_64__ is defined.
28312 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28315 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28316 Use int64_t for variable i.
28317 * math/libm-test.inc (fmod_test): Add more tests.
28319 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28320 z computation is not scheduled after fetestexcept.
28321 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28322 Use math_force_eval instead of asm to ensure calculation scheduled
28323 before exception test.
28324 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28325 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28327 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28330 computation is not scheduled after fetestexcept.
28332 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28335 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28336 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28338 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28340 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28341 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28343 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28346 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28348 (__WCHAR_MIN): Support __WORDSIZE == 64.
28349 (__WCHAR_MAX): Likewise.
28351 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28352 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28355 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28356 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28359 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28360 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28362 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28363 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28365 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28366 Defined to 1 if __x86_64__ isn't defined.
28367 (_STAT_VER_LINUX_OLD): New.
28368 (st_atime): Remove duplicate.
28369 (st_mtime): Likewise.
28370 (st_ctime): Likewise.
28372 2012-05-31 David S. Miller <davem@davemloft.net>
28374 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28377 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28379 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28383 * elf/dl-reloc.c: Include <_itoa.h>.
28384 (_dl_reloc_bad_type): Remove use of INTUSE.
28385 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28386 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28387 * stdio-common/psiginfo.c (psiginfo): Likewise.
28388 * stdio-common/psignal.c (psignal): Likewise.
28389 * string/strsignal.c (strsignal): Likewise.
28390 * include/signal.h (_sys_siglist): Declare hidden proto.
28391 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28392 INTVARDEF with libc_hidden_data_def.
28393 * stdio-common/itoa-udigits.c: Likewise.
28394 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28395 (_itoa_lower_digits_internal): Remove declaration.
28396 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28397 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28398 (_sys_sigabbrev_internal): Remove aliases.
28399 (_sys_siglist): Define hidden alias.
28401 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28406 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28409 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28410 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28412 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28413 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28414 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28415 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28416 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28417 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28419 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28420 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28421 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28423 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28431 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28432 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28433 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28435 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28436 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28437 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28438 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28439 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28440 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28442 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28443 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28445 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28446 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28448 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28450 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28452 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28453 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28455 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28457 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28458 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28459 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28461 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28463 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28465 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28467 * math/math.h (M_El): Use two more decimal places.
28468 (M_LOG2El): Likewise.
28469 (M_LOG10El): Likewise.
28470 (M_LN2l): Likewise.
28471 (M_LN10l): Likewise.
28473 (M_PI_2l): Likewise.
28474 (M_PI_4l): Likewise.
28475 (M_1_PIl): Likewise.
28476 (M_2_PIl): Likewise.
28477 (M_2_SQRTPIl): Likewise.
28478 (M_SQRT2l): Likewise.
28479 (M_SQRT1_2l): Likewise.
28481 2012-05-31 David S. Miller <davem@davemloft.net>
28483 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28484 values between float registers.
28485 * sysdeps/sparc/sparc64/memset.S: Likewise.
28486 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28488 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28490 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28491 -D_FORTIFY_SOURCE=1.
28492 (CPPFLAGS-tst-longjmp_chk.c): Define.
28493 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28494 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28495 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28496 CFLAGS-tst-wchar-h.c.
28498 2012-05-31 Marek Polacek <polacek@redhat.com>
28501 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28502 __endmntent_internal): Remove declaration.
28503 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28504 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28505 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28507 2012-05-30 David S. Miller <davem@davemloft.net>
28509 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28510 (___Q_simulate_exceptions): Use real FP ops rather than writing
28512 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28515 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28518 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28519 * sysdeps/x86/bits/xtitypes.h: This.
28521 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28522 * sysdeps/x86/bits/wordsize.h: This.
28524 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28525 * sysdeps/x86/bits/huge_vall.h: This.
28527 * sysdeps/i386/bits/select.h: Removed.
28528 * sysdeps/x86_64/bits/select.h: Renamed to ...
28529 * sysdeps/x86/bits/select.h: This.
28531 * sysdeps/i386/bits/setjmp.h: Removed.
28532 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28533 * sysdeps/x86/bits/setjmp.h: This.
28535 * sysdeps/i386/bits/mathdef.h: Removed.
28536 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28537 * sysdeps/x86/bits/mathdef.h: This.
28539 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28542 * include/sys/socket.h (__connect_internal)
28543 (__libc_sa_len_internal): Remove declaration.
28544 (__connect, __libc_sa_len): Declare hidden_proto.
28545 (SA_LEN): Remove use of INTUSE.
28546 * socket/connect.c: Add libc_hidden_def.
28547 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28548 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28549 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28551 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28552 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28553 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28554 of adding _internal alias.
28556 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28559 * sysdeps/i386/bits/link.h: Removed.
28560 * sysdeps/i386/bits/linkmap.h: Likewise.
28561 * sysdeps/x86_64/bits/link.h: Renamed to ...
28562 * sysdeps/x86/bits/link.h: This.
28563 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28564 * sysdeps/x86/bits/linkmap.h: This.
28566 * sysdeps/i386/bits/endian.h: Removed.
28567 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28568 * sysdeps/x86/bits/endian.h: This.
28570 * sysdeps/i386/bits/byteswap.h: Removed.
28571 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28572 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28573 * sysdeps/x86/bits/byteswap.h: This.
28574 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28575 * sysdeps/x86/bits/byteswap-16.h: This.
28576 * sysdeps/i386/Implies: Add x86.
28577 * sysdeps/x86_64/Implies: Likewise.
28579 2012-05-30 David S. Miller <davem@davemloft.net>
28581 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28582 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28583 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28584 (FP_TRAPPING_EXCEPTIONS): Define.
28585 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28586 (FP_TRAPPING_EXCEPTIONS): Define.
28587 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28588 subnormals only when inexact has been signalled or underflow
28589 exceptions are enabled.
28590 (_FP_PACK_CANONICAL): Likewise.
28592 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28595 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28596 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28598 2012-05-30 Richard Henderson <rth@twiddle.net>
28600 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28601 with #ifndef NOT_IN_libc.
28603 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28604 marked to avoid plt entry.
28606 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28609 * Makeconfig (default-abi): New macro.
28610 (abi-includes): Likewise.
28611 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28612 $(abi-$(default-abi)-lib-soname) for soname if defined.
28613 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28615 * Makefile (installed-stubs): Likewise.
28616 * include/stubs-biarch.h: Removed.
28617 * scripts/lib-names.awk: Only handle one library at a time.
28618 * scripts/soversions.awk: Remove WORDSIZE support.
28619 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28621 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28623 (syscall-list-default-condition): Likewise.
28624 (syscall-list-default-condition): Likewise.
28625 (syscall-list-includes): Likewise.
28626 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28627 syscall-list-* with abi-*. Handle undefined abi-variants.
28628 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28629 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28630 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28631 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28632 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28633 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28635 (syscall-list-32-options): Likewise.
28636 (syscall-list-32-condition): Likewise.
28637 (syscall-list-64-options): Likewise.
28638 (syscall-list-64-condition): Likewise.
28639 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28641 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28644 (abi-64-ld-soname): New macro.
28645 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28646 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28649 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28650 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28652 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28654 * sysdeps/unix/sysv/linux/kernel-features.h
28655 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28656 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28657 include <kernel-features.h>.
28658 [!__NR_ftruncate64]: Remove conditional code.
28659 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28660 [__NR_ftruncate64]: Make code unconditional.
28661 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28662 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28663 include <kernel-features.h>.
28664 [!__NR_ftruncate64]: Remove conditional code.
28665 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28666 [__NR_ftruncate64]: Make code unconditional.
28667 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28669 include <kernel-features.h>.
28670 [!__NR_ftruncate64]: Remove conditional code.
28671 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28672 [__NR_ftruncate64]: Make code unconditional.
28673 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28675 include <kernel-features.h>.
28676 [!__NR_ftruncate64]: Remove conditional code.
28677 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28678 [__NR_ftruncate64]: Make code unconditional.
28679 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28681 * configure.in (libc_cv_fpie): Weaken to a compile test using
28682 LIBC_TRY_CC_OPTION.
28683 * configure: Regenerated.
28685 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28700 2012-05-27 David S. Miller <davem@davemloft.net>
28702 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28704 (__Q_simulate_exceptions): Return void. Change to simulate
28705 exceptions by writing into the %fsr.
28706 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28707 (__Qp_handle_exceptions): Likewise.
28709 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28710 __Qp_handle_exceptions.
28711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28712 __Qp_handle_exceptions.
28713 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28714 as unused and give dummy FP_RND_NEAREST initializer.
28715 (FP_INHIBIT_RESULTS): Define.
28716 (___Q_simulate_exceptions): Update declaration.
28717 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28720 as unused and give dummy FP_RND_NEAREST initializer.
28721 (__Qp_handle_exceptions): Update declaration.
28722 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28725 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28727 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28728 the temporary FPU control word.
28729 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28730 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28731 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28732 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28733 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28734 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28735 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28736 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28737 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28738 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28739 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28741 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28743 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28746 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28748 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28749 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28750 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28751 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28753 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28754 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28757 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28759 * po/h.po: Update from translation team.
28761 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28763 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28765 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28766 handling of denormals.
28767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28768 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28769 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28770 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28776 2012-05-26 Marek Polacek <polacek@redhat.com>
28779 * math/libm-test.inc (fma_test): Don't always expect underflow
28782 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28785 * elf/tst-execstack.c: Include stackinfo.h.
28786 (do_test): Adjust test case to ensure that pthread_getattr_np
28787 behaviour remains the same after marking stack executable.
28789 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28791 * sysdeps/unix/sysv/linux/kernel-features.h
28792 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28793 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28795 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28796 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28797 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28799 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28800 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28802 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28804 * configure.in: Define the default includes to being none.
28805 * configure: Regenerated.
28807 2012-05-25 Roland McGrath <roland@hack.frob.com>
28809 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28810 * sysdeps/x86_64/setjmp.S: Likewise.
28811 * sysdeps/i386/bsd-setjmp.S: Likewise.
28812 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28813 * sysdeps/i386/setjmp.S: Likewise.
28814 * sysdeps/i386/__longjmp.S: Likewise.
28815 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28816 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28818 * include/stap-probe.h: New file.
28819 * configure.in: Handle --enable-systemtap.
28820 * configure: Regenerated.
28821 * config.h.in (USE_STAP_PROBE): New #undef.
28822 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28823 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28824 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28826 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28829 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28830 to 2.4.0 where earlier.
28831 * sysdeps/unix/sysv/linux/configure: Regenerated.
28832 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28833 <kernel-features.h>.
28834 [__ASSUME_32BITUIDS]: Make code unconditional.
28835 [!__ASSUME_32BITUIDS]: Remove conditional code.
28836 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28837 <kernel-features.h>.
28838 [__ASSUME_32BITUIDS]: Make code unconditional.
28839 [!__ASSUME_32BITUIDS]: Remove conditional code.
28840 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28841 [__ASSUME_32BITUIDS]: Make code unconditional.
28842 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28843 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28844 <kernel-features.h>.
28845 [__ASSUME_32BITUIDS]: Make code unconditional.
28846 [!__ASSUME_32BITUIDS]: Remove conditional code.
28847 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28848 <kernel-features.h>.
28849 [__ASSUME_32BITUIDS]: Make code unconditional.
28850 [!__ASSUME_32BITUIDS]: Remove conditional code.
28851 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28852 <kernel-features.h>.
28853 [__ASSUME_32BITUIDS]: Make code unconditional.
28854 [!__ASSUME_32BITUIDS]: Remove conditional code.
28855 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28856 <kernel-features.h>.
28857 [__ASSUME_32BITUIDS]: Make code unconditional.
28858 [!__ASSUME_32BITUIDS]: Remove conditional code.
28859 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28860 <kernel-features.h>.
28861 [__ASSUME_32BITUIDS]: Make code unconditional.
28862 [!__ASSUME_32BITUIDS]: Remove conditional code.
28863 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28864 <kernel-features.h>.
28865 [__ASSUME_32BITUIDS]: Make code unconditional.
28866 [!__ASSUME_32BITUIDS]: Remove conditional code.
28867 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28868 <kernel-features.h>.
28869 [__ASSUME_32BITUIDS]: Make code unconditional.
28870 [!__ASSUME_32BITUIDS]: Remove conditional code.
28871 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28872 <kernel-features.h>.
28873 [__ASSUME_32BITUIDS]: Make code unconditional.
28874 [!__ASSUME_32BITUIDS]: Remove conditional code.
28875 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28876 <kernel-features.h>.
28877 [__ASSUME_32BITUIDS]: Make code unconditional.
28878 [!__ASSUME_32BITUIDS]: Remove conditional code.
28879 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28880 <kernel-features.h>.
28881 [__ASSUME_32BITUIDS]: Make code unconditional.
28882 [!__ASSUME_32BITUIDS]: Remove conditional code.
28883 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28884 <kernel-features.h>.
28885 [__NR_setresgid] (__setresgid): Do not declare.
28886 [__ASSUME_32BITUIDS]: Make code unconditional.
28887 [!__ASSUME_32BITUIDS]: Remove conditional code.
28888 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28889 <kernel-features.h>.
28890 [__NR_setresuid] (__setresuid): Do not declare.
28891 [__ASSUME_32BITUIDS]: Make code unconditional.
28892 [!__ASSUME_32BITUIDS]: Remove conditional code.
28893 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
28898 <kernel-features.h>.
28899 [__ASSUME_32BITUIDS]: Make code unconditional.
28900 [!__ASSUME_32BITUIDS]: Remove conditional code.
28901 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28902 <kernel-features.h>.
28903 [__ASSUME_32BITUIDS]: Make code unconditional.
28904 [!__ASSUME_32BITUIDS]: Remove conditional code.
28905 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28906 <kernel-features.h>.
28907 [__ASSUME_32BITUIDS]: Make code unconditional.
28908 [!__ASSUME_32BITUIDS]: Remove conditional code.
28909 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28910 <kernel-features.h>.
28911 [__ASSUME_32BITUIDS]: Make code unconditional.
28912 [!__ASSUME_32BITUIDS]: Remove conditional code.
28913 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28914 <kernel-features.h>.
28915 [__ASSUME_32BITUIDS]: Make code unconditional.
28916 [!__ASSUME_32BITUIDS]: Remove conditional code.
28917 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28918 <kernel-features.h>.
28919 [__ASSUME_32BITUIDS]: Make code unconditional.
28920 [!__ASSUME_32BITUIDS]: Remove conditional code.
28921 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28922 <kernel-features.h>.
28923 [__ASSUME_32BITUIDS]: Make code unconditional.
28924 [!__ASSUME_32BITUIDS]: Remove conditional code.
28925 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28926 <kernel-features.h>.
28927 [__ASSUME_32BITUIDS]: Make code unconditional.
28928 [!__ASSUME_32BITUIDS]: Remove conditional code.
28929 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28930 <kernel-features.h>.
28931 [__ASSUME_32BITUIDS]: Make code unconditional.
28932 [!__ASSUME_32BITUIDS]: Remove conditional code.
28933 * sysdeps/unix/sysv/linux/kernel-features.h
28934 (__ASSUME_SETRESUID_SYSCALL): Remove.
28935 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28936 (__ASSUME_32BITUIDS): Likewise.
28937 (__ASSUME_LDT_WORKS): Likewise.
28938 (__ASSUME_O_DIRECTORY): Likewise.
28939 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28940 architecture but not kernel version.
28941 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28942 (__ASSUME_MMAP2_SYSCALL): Likewise.
28943 (__ASSUME_STAT64_SYSCALL): Likewise.
28944 (__ASSUME_IPC64): Likewise.
28945 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28946 <kernel-features.h>.
28947 [__ASSUME_32BITUIDS]: Make code unconditional.
28948 [!__ASSUME_32BITUIDS]: Remove conditional code.
28949 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28950 <kernel-features.h>.
28951 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28952 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28953 132096]: Remove conditional code.
28954 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28955 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28956 <kernel-features.h>.
28957 [__ASSUME_32BITUIDS]: Make code unconditional.
28958 [!__ASSUME_32BITUIDS]: Remove conditional code.
28959 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28960 <kernel-features.h>.
28961 [__ASSUME_32BITUIDS]: Make code unconditional.
28962 [!__ASSUME_32BITUIDS]: Remove conditional code.
28963 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28964 <kernel-features.h>.
28965 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28967 (__setresgid): Do not declare.
28968 [__ASSUME_32BITUIDS]: Make code unconditional.
28969 [!__ASSUME_32BITUIDS]: Remove conditional code.
28970 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28971 <kernel-features.h>.
28972 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28974 (__setresuid): Do not declare.
28975 [__ASSUME_32BITUIDS]: Make code unconditional.
28976 [!__ASSUME_32BITUIDS]: Remove conditional code.
28977 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28978 <kernel-features.h>.
28979 [__ASSUME_32BITUIDS]: Make code unconditional.
28980 [!__ASSUME_32BITUIDS]: Remove conditional code.
28981 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28982 <kernel-features.h>.
28983 [__ASSUME_32BITUIDS]: Make code unconditional.
28984 [!__ASSUME_32BITUIDS]: Remove conditional code.
28986 2012-05-25 Richard Henderson <rth@twiddle.net>
28988 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28989 dl_hwcap to ifunc resolver.
28990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28992 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28993 dl_hwcap to ifunc resolver.
28994 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28996 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28999 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29000 for |x| <= 2**-26, not 2**-57.
29001 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29004 2012-05-24 Jeff Law <law@redhat.com>
29006 * stdio-common/Makefile (tests): Add bug25.
29007 * stdio-common/bug25.c: New test.
29009 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29012 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29013 multiple of MALLOC_ALIGNMENT in size.
29014 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29016 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29018 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29020 (FILENAME_MAX): Use macro-int-constant.
29021 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29022 (_IOFBF): Use macro-int-constant.
29023 (_IOLBF): Likewise.
29024 (_IONBF): Likewise.
29025 (SEEK_CUR): Likewise.
29026 (SEEK_END): Likewise.
29027 (SEEK_SET): Likewise.
29028 (TMP_MAX): Likewise.
29029 (EOF): Use macro-int-constant. Require < 0.
29030 (NULL): Use macro-constant. Require == 0.
29031 (stdin): Require type to be FILE *.
29032 (stdout): Likewise.
29033 (stderr): Likewise.
29034 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29035 macro-int-constant.
29036 (EXIT_SUCCESS): Likewise.
29037 (NULL): Use macro-constant. Require == 0.
29038 (RAND_MAX): Use macro-int-constant.
29039 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29040 [C99-based standards] (strtof): Require function.
29041 [C99-based standards] (strtold): Likewise.
29042 [C99-based standards] (strtoll): Likewise.
29043 [C99-based standards] (strtoull): Likewise.
29044 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29045 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29046 [ISO || ISO99 || ISO11] (math.h): Likewise.
29047 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29048 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29049 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29051 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29054 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29055 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29056 * intl/dgettext.c (DCGETTEXT): Likewise.
29057 * intl/gettext.c (DCGETTEXT): Likewise.
29058 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29059 * posix/regex_internal.h (gettext): Likewise.
29060 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29061 Remove declaration.
29062 * include/argz.h (__argz_count_internal)
29063 (__argz_stringify_internal): Remove declaration.
29064 (__argz_count, __argz_stringify): Declare hidden proto.
29065 * intl/dcgettext.c: Remove use of INTDEF.
29066 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29067 * string/argz-stringify.c: Likewise.
29068 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29069 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29070 Declare hidden proto.
29071 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29072 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29073 Declare hidden proto.
29074 * include/stdio.h (__asprintf_internal): Don't declare.
29075 (__asprintf): Don't define as macro. Declare hidden proto.
29076 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29077 (__fsetlocking): Declare hidden proto.
29078 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29079 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29081 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29082 (_IO_setlinebuf): Remove use of INTUSE.
29083 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29084 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29085 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29086 Remove declaration.
29087 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29088 (_IO_do_flush): Remove use of INTUSE.
29089 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29090 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29091 (_IO_adjust_column, _IO_least_wmarker)
29092 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29093 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29094 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29095 (_IO_default_doallocate, _IO_wdefault_doallocate)
29096 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29097 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29098 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29099 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29100 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29101 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29102 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29103 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29104 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29105 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29106 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29107 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29108 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29110 (_IO_flush_all_internal, _IO_adjust_column_internal)
29111 (_IO_default_uflow_internal, _IO_default_finish_internal)
29112 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29113 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29114 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29115 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29116 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29117 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29118 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29119 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29120 (_IO_file_close_internal, _IO_file_close_it_internal)
29121 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29122 (_IO_file_init_internal, _IO_file_attach_internal)
29123 (_IO_file_fopen_internal, _IO_file_read_internal)
29124 (_IO_file_sync_internal, _IO_file_seek_internal)
29125 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29126 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29127 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29128 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29129 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29130 (_IO_list_all_internal, _IO_link_in_internal)
29131 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29132 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29133 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29134 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29135 (_IO_do_write_internal, _IO_padn_internal)
29136 (_IO_getline_info_internal, _IO_getline_internal)
29137 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29138 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29139 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29140 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29141 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29142 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29143 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29144 with libc_hidden_ver, remove use of INTUSE.
29145 * libio/genops.c: Likewise.
29146 * libio/freopen.c: Likewise.
29147 * libio/freopen64.c: Likewise.
29148 * libio/iofclose.c: Likewise.
29149 * libio/iofdopen.c: Likewise.
29150 * libio/iofflush.c: Likewise.
29151 * libio/iofflush_u.c: Likewise.
29152 * libio/iofgets.c: Likewise.
29153 * libio/iofgets_u.c: Likewise.
29154 * libio/iofopen.c: Likewise.
29155 * libio/iofopncook.c: Likewise.
29156 * libio/iofread.c: Likewise.
29157 * libio/iofread_u.c: Likewise.
29158 * libio/ioftell.c: Likewise.
29159 * libio/iofwrite.c: Likewise.
29160 * libio/iogetline.c: Likewise.
29161 * libio/iogets.c: Likewise.
29162 * libio/iogetwline.c: Likewise.
29163 * libio/iopadn.c: Likewise.
29164 * libio/iopopen.c: Likewise.
29165 * libio/ioseekoff.c: Likewise.
29166 * libio/ioseekpos.c: Likewise.
29167 * libio/iosetbuffer.c: Likewise.
29168 * libio/iosetvbuf.c: Likewise.
29169 * libio/ioungetc.c: Likewise.
29170 * libio/ioungetwc.c: Likewise.
29171 * libio/iovdprintf.c: Likewise.
29172 * libio/iovsprintf.c: Likewise.
29173 * libio/iovsscanf.c: Likewise.
29174 * libio/memstream.c: Likewise.
29175 * libio/obprintf.c: Likewise.
29176 * libio/oldfileops.c: Likewise.
29177 * libio/oldiofclose.c: Likewise.
29178 * libio/oldiofdopen.c: Likewise.
29179 * libio/oldiofopen.c: Likewise.
29180 * libio/oldiopopen.c: Likewise.
29181 * libio/oldstdfiles.c: Likewise.
29182 * libio/putc.c: Likewise.
29183 * libio/setbuf.c: Likewise.
29184 * libio/setlinebuf.c: Likewise.
29185 * libio/stdfiles.c: Likewise.
29186 * libio/strops.c: Likewise.
29187 * libio/vasprintf.c: Likewise.
29188 * libio/vscanf.c: Likewise.
29189 * libio/vsnprintf.c: Likewise.
29190 * libio/vswprintf.c: Likewise.
29191 * libio/wfiledoalloc.c: Likewise.
29192 * libio/wfileops.c: Likewise.
29193 * libio/wgenops.c: Likewise.
29194 * libio/wmemstream.c: Likewise.
29195 * libio/wstrops.c: Likewise.
29196 * libio/__fpurge.c: Likewise.
29197 * libio/__fsetlocking.c: Likewise.
29198 * assert/assert.c: Likewise.
29199 * debug/fgets_chk.c: Likewise.
29200 * debug/fgets_u_chk.c: Likewise.
29201 * debug/fread_chk.c: Likewise.
29202 * debug/fread_u_chk.c: Likewise.
29203 * debug/gets_chk.c: Likewise.
29204 * debug/obprintf_chk.c: Likewise.
29205 * debug/vasprintf_chk.c: Likewise.
29206 * debug/vdprintf_chk.c: Likewise.
29207 * debug/vsnprintf_chk.c: Likewise.
29208 * debug/vsprintf_chk.c: Likewise.
29209 * malloc/mtrace.c: Likewise.
29210 * misc/error.c: Likewise.
29211 * misc/syslog.c: Likewise.
29212 * stdio-common/asprintf.c: Likewise.
29213 * stdio-common/fxprintf.c: Likewise.
29214 * stdio-common/getw.c: Likewise.
29215 * stdio-common/isoc99_fscanf.c: Likewise.
29216 * stdio-common/isoc99_scanf.c: Likewise.
29217 * stdio-common/isoc99_vfscanf.c: Likewise.
29218 * stdio-common/isoc99_vscanf.c: Likewise.
29219 * stdio-common/isoc99_vsscanf.c: Likewise.
29220 * stdio-common/printf-prs.c: Likewise.
29221 * stdio-common/printf_fp.c: Likewise.
29222 * stdio-common/printf_fphex.c: Likewise.
29223 * stdio-common/printf_size.c: Likewise.
29224 * stdio-common/putw.c: Likewise.
29225 * stdio-common/scanf.c: Likewise.
29226 * stdio-common/sprintf.c: Likewise.
29227 * stdio-common/tmpfile.c: Likewise.
29228 * stdio-common/vfprintf.c: Likewise.
29229 * stdio-common/vfscanf.c: Likewise.
29230 * stdlib/strfmon_l.c: Likewise.
29231 * sunrpc/openchild.c: Likewise.
29232 * sunrpc/xdr_stdio.c: Likewise.
29233 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29234 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29236 2012-05-24 Roland McGrath <roland@hack.frob.com>
29238 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29240 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29241 in the third column, to generate for the shared library an IFUNC
29242 that uses _dl_vdso_vsym.
29243 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29244 * Makeconfig (object-suffixes-noshared): New variable.
29246 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29247 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29248 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29249 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29252 * include/sys/time.h (__gettimeofday): Remove macro.
29253 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29254 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29256 (__gettimeofday): Add libc_hidden_def.
29257 (gettimeofday): Add libc_hidden_weak.
29258 * sysdeps/mach/gettimeofday.c: Likewise.
29259 * sysdeps/posix/gettimeofday.c: Likewise.
29260 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29261 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29263 (__gettimeofday_internal): Remove strong_alias.
29264 (__gettimeofday): Add libc_hidden_def.
29265 (gettimeofday): Add libc_hidden_weak.
29266 * sysdeps/unix/syscalls.list (gettimeofday):
29267 Remove __gettimeofday_internal alias.
29269 2012-05-24 Daniel Jacobowitz <drow@false.org>
29270 H.J. Lu <hongjiu.lu@intel.com>
29273 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29274 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29275 (largebin_index_32_big): New.
29276 (largebin_index): Use it for 16-byte alignment.
29277 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29278 correction with front_misalign.
29280 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29308 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29309 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29311 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29315 * math/libm-test.inc (exp_test): Add test from bug 14036.
29316 (pow_test): Add test from bug 10846.
29318 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29320 (special_function): Do not include flags in test name.
29321 (parse_args): Likewise.
29322 * sysdeps/i386/fpu/libm-test-ulps: Update.
29323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29324 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29325 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29328 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29330 * math/libm-test.inc ("Philosophy"): Update comment about
29332 (UNDERFLOW_EXCEPTION): New macro.
29333 (UNDERFLOW_EXCEPTION_OK): Likewise.
29334 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29335 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29336 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29337 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29338 (INVALID_EXCEPTION_OK): Update value.
29339 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29340 (OVERFLOW_EXCEPTION_OK): Likewise.
29341 (IGNORE_ZERO_INF_SIGN): Likewise.
29342 (test_exceptions): Handle underflow exceptions.
29343 (acos_test): Update for underflow exception expectations.
29344 (cexp_test): Likewise.
29345 (clog_test): Likewise.
29346 (clog10_test): Likewise.
29347 (csqrt_test): Likewise.
29348 (ctan_test): Likewise.
29349 (ctanh_test): Likewise.
29350 (exp_test): Likewise.
29351 (exp10_test): Likewise.
29352 (exp2_test): Likewise.
29353 (expm1_test): Likewise.
29354 (fma_test): Likewise.
29355 (j0_test): Likewise.
29356 (jn_test): Likewise.
29357 (nexttoward_test): Likewise.
29358 (pow_test): Likewise.
29359 (scalbn_test): Likewise.
29360 (scalbln_test): Likewise.
29361 (tan_test): Likewise.
29362 (y1_test): Likewise.
29363 * sysdeps/i386/fpu/libm-test-ulps: Update.
29364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29366 2012-05-23 David S. Miller <davem@davemloft.net>
29368 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29369 (__libc_sigaction): Remove unused local variables.
29371 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29373 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29375 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29377 mktime: avoid signed integer overflow
29378 * time/mktime.c (__mktime_internal): Do not mishandle the case
29379 where diff == INT_MIN.
29381 mktime: simplify computation of average
29382 * time/mktime.c (ranged_convert): Use new time_t_avg function
29383 instead of rolling our own (probably-slower) code.
29385 mktime: do not assume signed right shift propagates sign bit
29386 * time/mktime.c (isdst_differ): New static function.
29387 (__mktime_internal): No need to normalize tm_isdst now.
29388 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29391 mktime: merge another wrapv change from gnulib
29392 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29393 from some compilers.
29395 mktime: remove incorrect attempt at unusual arithmetics
29396 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29397 The code didn't really work on such machines anyway.
29398 (TYPE_MINIMUM): Assume two's complement.
29399 (twos_complement_arithmetic): Verify that long_int and time_t
29400 are two's complement (or unsigned, in the latter case).
29402 mktime: check signed shifts on long_int and time_t, too
29403 * time/mktime.c (SHR): Check that shifts work as desired
29404 on the types long_int and time_t too, as SHR is used on
29407 mktime: do not assume 'long' is wide enough
29408 * time/mktime.c (verify): Move decl up.
29409 (long_int): New type.
29410 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29411 to remove assumption in the code that 'long' is wide enough to
29412 store year values. This assumption is not true on x32 and on
29413 some non-glibc platforms.
29415 mktime: merge wrapv change from gnulib
29416 * time/mktime.c (WRAPV): New macro.
29417 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29418 (guess_time_tm, __mktime_internal): Do not assume that signed
29419 integer overflow wraps around; modern compilers generate code
29420 where this assumption is no longer valid.
29422 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29424 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29425 Replace "jmp L(pseudo_end)" with "ret".
29426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29429 2012-05-23 Andreas Jaeger <aj@suse.de>
29431 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29432 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29434 2012-05-23 Andreas Jaeger <aj@suse.de>
29435 Maximilian Attems <max@stro.at>
29437 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29440 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29442 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29443 code so that pseudo_end is just ret and the stack pointer is
29444 correct also for static library in error case.
29446 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29448 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29449 move to syscalls.list.
29450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29455 * manual/install.texi (Running make install): Do not mention Linux
29456 kernel version for which pt_chown is not needed.
29457 (Linux): Do not mention problems with nscd with 2.0 kernels.
29458 * INSTALL: Regenerated.
29460 2012-05-23 Andreas Jaeger <aj@suse.de>
29462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29463 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29465 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29466 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29467 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29468 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29469 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29470 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29471 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29472 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29473 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29474 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29475 * sysdeps/unix/sysv/linux/bits/in.h
29476 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29478 2012-05-22 Roland McGrath <roland@hack.frob.com>
29480 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29481 (PREPARE_VERSION): Just use assert instead, it will be elided
29482 under [NDEBUG] anyway.
29484 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29486 * sysdeps/unix/sysv/linux/Makefile: Include
29487 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29488 (sysdep_routines): Remove sysctl.
29489 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29490 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29491 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29492 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29493 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29495 2012-05-22 Andreas Jaeger <aj@suse.de>
29497 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29498 that pseudo_end is just ret and the stack pointer is correct also
29499 for static library in error case.
29501 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29504 * nss/nsswitch.c (defconfig_entries): New variable.
29505 (__nss_database_lookup): Don't leak defconfig entries.
29506 (nss_parse_service_list): Don't leak on error paths.
29507 (free_database_entries): New function.
29508 (free_defconfig): New function.
29509 (free_mem): Move common code to free_database_entries.
29511 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29513 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29515 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29517 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29518 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29521 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29522 (INTERNAL_SYSCALL_TYPES): Likewise.
29523 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29524 (LOAD_REGS_TYPES_[1-6]): Likewise.
29525 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29526 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29528 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29530 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29531 copysignl for GLIBC_2_0.
29532 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29533 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29535 logbl for GLIBC_2_0.
29536 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29537 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29539 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29542 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29544 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29547 * time/mktime.c: Update copyright years.
29549 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29551 mktime: merge comment-quoting-style change from gnulib
29552 * time/mktime.c: Quote 'like this' in comments.
29553 The GNU coding standards suggest that we no longer quote `like this',
29554 as "`" and "'" are typically rendered asymmetrically nowadays.
29555 The typical gnulib style is to quote 'like this' when quoting
29556 code, and "like this" when quoting English.
29558 * time/mktime.c (compile-command): Add "-I.".
29560 mktime: merge mktime-internal.h change from gnulib
29561 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29563 mktime: merge time_r change from gnulib
29564 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29566 mktime: merge DEBUG change from gnulib
29567 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29568 case system <time.h> has a #define.
29570 mktime: merge <sys/types.h> change from gnulib
29571 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29572 since <time.t> is now guaranteed to define time_t.
29574 mktime: merge HAVE_CONFIG_H change from gnulib
29575 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29577 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29582 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29584 (struct rusage): Use anonymous union to pad each field to
29587 2012-05-21 David S. Miller <davem@davemloft.net>
29589 * Makefules (o-iterator): Remove .s cases.
29590 (compile-command.s): Delete.
29591 (COMPILE.s): Delete.
29592 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29594 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29596 * configure.in (libc_cv_predef_stack_protector): Only consider
29597 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29598 * configure: Regenerated.
29600 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29603 New macro. Use R*LP on int and pointer.
29604 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29605 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29606 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29607 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29609 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29610 [__WORDSIZE_TIME64_COMPAT32] instead of
29611 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29612 (struct utmp): Likewise.
29613 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29614 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29616 (__WORDSIZE_TIME64_COMPAT32): This.
29617 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29618 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29619 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29620 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29621 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29622 (__WORDSIZE_TIME64_COMPAT32): New macro.
29624 2012-05-21 Andreas Jaeger <aj@suse.de>
29626 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29627 only if [SHARED]. Add prototype for __wcschr_ia32.
29629 2012-05-21 Roland McGrath <roland@hack.frob.com>
29631 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29632 of %rbp unmolested in the jmp_buf while mangling the low bits.
29633 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29634 unmolested high bits of %rbp while demangling the low bits.
29635 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29637 2012-05-21 Andreas Jaeger <aj@suse.de>
29639 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29640 * sunrpc/svc_simple.c: Use it for registerrpc.
29641 * sunrpc/xcrypt.c: Use it for passwd2des.
29643 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29645 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29647 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29648 Don't define if [__SYSCALL_WORDSIZE != 32].
29649 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29652 2012-05-21 Bruno Haible <bruno@clisp.org>
29653 Andreas Jaeger <aj@suse.de>
29655 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29656 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29657 inptr and inend for must_buffer_ch.
29658 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29659 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29660 * stdio-common/Makefile (tests): Remove bug15.
29661 (bug15-ENV): Remove macro.
29662 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29665 2012-05-19 Andreas Jaeger <aj@suse.de>
29666 Roland McGrath <roland@hack.frob.com>
29668 * manual/contrib.texi: Completely rewritten. It contains now an
29669 alphabetical list of contributors and their contributions.
29671 2012-05-21 Richard Henderson <rth@twiddle.net>
29673 * misc/getauxval.c (__getauxval): Use unsigned long int.
29674 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29675 (getauxval): Use unsigned long int.
29677 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29679 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29681 2012-05-21 Roland McGrath <roland@hack.frob.com>
29683 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29684 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29685 __alignof__ (long double).
29687 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29691 2012-05-20 Richard Henderson <rth@twiddle.net>
29693 * misc/getauxval.c: New file.
29694 * misc/sys/auxv.h: New file.
29695 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29696 (routines): Add getauxval.
29697 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29698 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29699 * elf/dl-sysdep.c (_dl_auxv): Remove.
29700 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29701 * elf/dl-support.c (_dl_auxv): New variable.
29702 (_dl_aux_init): Initialize it.
29703 * manual/startup.texi (Auxiliary Vector): New node.
29704 * sysdeps/generic/bits/hwcap.h: New file.
29705 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29706 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29707 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29708 * sysdeps/sparc/sysdep.h: ... here. Include it.
29709 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29710 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29716 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29722 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29726 2012-05-19 David S. Miller <davem@davemloft.net>
29728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29730 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29733 * math/s_ccosh.c: Include <float.h>
29734 (__ccosh): Avoid internal overflow calculating sinh and cosh
29735 values before multiplying by sin and cos values.
29736 * math/s_ccoshf.c: Likewise.
29737 * math/s_ccoshl.c: Likewise.
29738 * math/s_csin.c: Likewise.
29739 * math/s_csinf.c: Likewise.
29740 * math/s_csinl.c: Likewise.
29741 * math/s_csinh.c: Likewise.
29742 * math/s_csinhf.c: Likewise.
29743 * math/s_csinhl.c: Likewise.
29744 * math/libm-test.inc (ccos_test): Add more tests.
29745 (ccosh_test): Likewise.
29746 (csin_test): Likewise.
29747 (csinh_test): Likewise.
29748 * sysdeps/i386/fpu/libm-test-ulps: Update.
29749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29751 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29753 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29754 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29756 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29758 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29760 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29761 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29762 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29763 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29764 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29765 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29766 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29767 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29768 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29769 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29770 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29771 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29772 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29773 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29774 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29775 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29776 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29777 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29778 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29779 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29780 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29781 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29782 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29783 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29784 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29785 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29786 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29787 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29788 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29789 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29790 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29792 2012-05-18 Andreas Jaeger <aj@suse.de>
29794 * csu/.gitignore: Delete.
29796 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29798 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29799 (timex): Use __syscall_slong_t.
29801 2012-05-18 Andreas Jaeger <aj@suse.de>
29802 Carlos O'Donell <carlos_odonell@mentor.com>
29804 * manual/install.texi (Configuring and compiling): Update
29805 description about files modified in the source directory.
29806 * INSTALL: Regenerated.
29808 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29810 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29811 value. Use "or" to set return value to -1.
29812 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29813 negate return value.
29815 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29817 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29818 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29819 failure if the compiler has Graphite support disabled.
29820 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29822 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29823 (CFLAGS-memmove.c): Likewise.
29824 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29827 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29829 * sysdeps/x86_64/x32/_itoa.h: New file.
29831 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29832 getdents system call only if kernel and user dirents have the
29833 same d_ino and d_off.
29835 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29836 LLONG_MAX != LONG_MAX.
29837 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29838 (_fitoa_word): Likewise.
29840 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29843 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29844 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29846 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29847 include <bits/wordsize.h>. Check __x86_64__ instead of
29849 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29850 if __x86_64__ is defined. Use anonymous union on fpstate.
29852 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29855 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29857 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29858 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29859 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29860 Refer to _rtld_local_ro instead of _rtld_global_ro.
29861 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29863 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29865 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29867 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29868 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29869 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29871 * sysdeps/powerpc/powerpc32/dl-machine.c
29872 (__elf_machine_runtime_setup) [PROF]: Don't reference
29875 2012-05-18 Andreas Jaeger <aj@suse.de>
29877 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29878 function only available for GCCs before 3.4 since GCC 3.4
29879 introduced a builtin.
29881 (llrintf): Likewise.
29882 (llrint): Likewise.
29889 (nearbyint): Likewise.
29890 (nearbyintf): Likewise.
29894 (floorf): Likewise.
29896 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29898 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29899 on both fields and cast pointer to __syscall_ulong_t.
29901 * bits/types.h (__fsword_t): New type.
29902 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29903 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29905 (__FSWORD_T_TYPE): Likewise.
29906 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29907 (__FSWORD_T_TYPE): Likewise.
29908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29909 (__FSWORD_T_TYPE): Likewise.
29910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29911 (__FSWORD_T_TYPE): Likewise.
29912 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29913 __SWORD_TYPE with __fsword_t.
29914 (statfs64): Likewise.
29916 2012-05-17 David S. Miller <davem@davemloft.net>
29918 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29920 2012-05-17 Andreas Jaeger <aj@suse.de>
29922 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29925 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29927 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29929 2012-05-17 Andreas Jaeger <aj@suse.de>
29931 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29934 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29936 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29938 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29940 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29941 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29943 2012-05-17 Andreas Jaeger <aj@suse.de>
29944 Carlos O'Donell <carlos_odonell@mentor.com>
29947 * sysdeps/x86_64/multiarch/init-arch.h
29948 (bit_YMM_Usable): Rename to...
29949 (bit_AVX_Usable): ... this.
29950 (bit_FMA4_Usable): New macro.
29951 (bit_XMM_state): New macro.
29952 (bit_YMM_state): New macro.
29953 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29954 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29955 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29956 (CPUID_OSXSAVE): New macro.
29957 (CPUID_AVX): New macro.
29958 (CPUID_FMA4): New macro.
29959 (index_YMM_Usable): Rename to...
29960 (index_AVX_Usable): ... this.
29961 (HAS_AVX): Use HAS_ARCH_FEATURE.
29962 (HAS_FMA4): Likewise.
29963 (HAS_YMM_USABLE): Remove.
29964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29965 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29967 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29968 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29969 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29970 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29971 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29973 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29975 * math/libm-test.c: Support platforms without multiple rounding modes.
29976 * math/bug-nextafter.c: Support platforms without FP exceptions.
29977 * math/bug-nexttoward.c: Likewise.
29978 * math/test-fenv.c: Likewise.
29979 * math/test-misc.c: Likewise.
29980 * stdlib/bug-getcontext.c: Likewise.
29982 2012-05-17 Andreas Jaeger <aj@suse.de>
29984 * manual/examples/search.c (critter_cmp): Change signature to
29986 * manual/string.texi (Collation Functions): Likewise.
29988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29990 * bits/types.h: Fold copyright years.
29991 * bits/typesizes.h: Likewise.
29992 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29996 * time/time.h: Likewise.
29998 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30001 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30002 in instead of returning them. Return void.
30003 (__libc_mallinfo): Accumulate over all arenas.
30004 (__malloc_stats): Adjust for change in int_mallinfo interface.
30006 2012-05-16 Roland McGrath <roland@hack.frob.com>
30009 * configure.in (NM): Add AC_CHECK_TOOL for it.
30010 (libc_extra_cflags): New substituted variable.
30011 Check for -fstack-protector being used implicitly.
30012 * configure: Regenerated.
30013 * config.make.in (config-extra-cflags): New variable,
30014 gets @libc_extra_cflags@.
30015 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30018 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30019 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30020 * configure: Regenerated.
30021 * config.make.in (CPPUNDEFS): New substituted variable.
30022 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30023 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30024 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30026 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30028 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30029 (mq_attr): Use __syscall_slong_t.
30031 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30033 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30034 Check __x86_64__ instead of __WORDSIZE.
30035 (_STAT_VER_LINUX): Likewise.
30036 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30037 __syscall_ulong_t and __syscall_slong_t.
30038 (stat64): Likewise.
30040 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30044 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30046 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30048 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30050 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30053 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30054 include <bits/wordsize.h>. Check __x86_64__ instead of
30056 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30058 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30061 include <bits/wordsize.h>. Check __x86_64__ instead of
30063 (user_regs_struct): Use "__extension__ unsigned long long"
30064 instead of "unsigned long" if __x86_64__ is defined.
30065 (user): Likewise. Pad after pointer field if __ILP32__ is
30068 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30070 * configure.in (makeinfo): Require version 4.5 or later. Allow
30072 * configure: Regenerated.
30073 * manual/install.texi (texinfo): Increase version requirement to
30075 * INSTALL: Regenerated.
30077 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30079 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30081 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30083 * sysdeps/x86_64/x32/ffs.c: New file.
30085 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30087 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30088 defined. Use __syscall_ulong_t.
30089 (shminfo): Use __syscall_ulong_t.
30090 (shm_info): Likewise.
30092 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30095 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30097 (msgqnum_t): Use __syscall_ulong_t.
30098 (msglen_t): Likewise.
30099 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30102 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30105 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30107 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30108 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30110 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30113 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30114 include <bits/wordsize.h>. Check __x86_64__ instead of
30117 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30118 "unsigned long long int" if __x86_64__ is defined.
30119 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30122 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30123 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30125 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30127 (GET_PC): Cast to uintptr_t first.
30128 (GET_FRAME): Likewise.
30129 (GET_STACK): Likewise.
30131 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30132 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30134 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30136 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30137 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30138 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30139 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30142 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30143 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30144 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30145 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30146 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30147 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30148 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30150 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30151 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30152 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30154 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30159 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30161 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30163 * Makerules (+depfiles): Also collect depfiles from .oS in
30165 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30166 .oS, $(libnldbl-routines)).
30168 * Makerules (native-compile-mkdep-flags): Define.
30169 * sunrpc/Makefile (extra-objs): Add $(addprefix
30170 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30171 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30172 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30173 calling $(make-target-directory).
30175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30177 * bits/types.h (__snseconds_t): Removed.
30178 * time/time.h (struct timespec): Replace __snseconds_t with
30180 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30181 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30184 (__SNSECONDS_T_TYPE): Likewise.
30185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30186 (__SNSECONDS_T_TYPE): Likewise.
30187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30188 (__SNSECONDS_T_TYPE): Likewise.
30190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30192 * sysdeps/mach/hurd/bits/typesizes.h
30193 (__SYSCALL_SLONG_TYPE): New macro.
30194 (__SYSCALL_ULONG_TYPE): Likewise.
30196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30198 * bits/types.h (__syscall_slong_t): New type.
30199 (__syscall_ulong_t): Likewise.
30201 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30202 (__SYSCALL_ULONG_TYPE): Likewise.
30203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30204 (__SYSCALL_SLONG_TYPE): Likewise.
30205 (__SYSCALL_ULONG_TYPE): Likewise.
30206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30207 (__SYSCALL_SLONG_TYPE): Likewise.
30208 (__SYSCALL_ULONG_TYPE): Likewise.
30209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30210 (__SYSCALL_SLONG_TYPE): Likewise.
30211 (__SYSCALL_ULONG_TYPE): Likewise.
30213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30215 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30216 Add sigaltstack-offsets.sym.
30217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30218 <sigaltstack-offsets.h>.
30219 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30220 longjmp_msg pointer.
30221 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30222 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30224 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30226 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30228 * elf/stackguard-macros.h: Remove file.
30229 * sysdeps/generic/stackguard-macros.h: New file.
30230 * sysdeps/i386/stackguard-macros.h: Likewise.
30231 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30232 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30233 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30234 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30235 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30236 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30237 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30238 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30239 <elf/stackguard-macros.h>.
30242 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30243 __aligned__ in attribute.
30244 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30245 (gregset_t): Likewise.
30247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30249 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30250 * sysdeps/x86_64/64/Implies-after: Here. New file.
30251 * sysdeps/x86_64/x32/Implies-after: New file.
30253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30255 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30256 and access return value for _dl_profile_fixup. Use R10_LP to
30259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30261 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30265 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30266 * sysdeps/x86_64/x32/sysdep.h: New file.
30268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30270 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30271 * sysdeps/x86_64/setjmp.S: Likewise.
30273 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30277 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30278 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30279 remove unused global constant.
30281 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30283 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30284 include of <not-cancel.h>.
30286 2012-05-15 Roland McGrath <roland@hack.frob.com>
30288 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30290 2012-05-15 Jeff Law <law@redhat.com>
30291 Andreas Jaeger <aj@suse.de>
30294 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30296 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30297 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30298 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30299 code changing __hst_map_handle.map.
30301 2012-05-15 Roland McGrath <roland@hack.frob.com>
30303 * configure.in (sysnames): Look for Implies-before and Implies-after
30305 * configure: Regenerated.
30307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30309 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30310 8-byte data alignment with LP_SIZE alignment.
30312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30314 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30319 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30324 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30327 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30331 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30332 (stackinfo_sub_sp): Likewise.
30334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30346 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30351 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30355 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30356 into R11_LP and load __x86_64_shared_cache_size_half into
30359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30361 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30364 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30372 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30373 powerpc32/power7/fpu/s_logb.c via #include.
30374 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30375 powerpc32/power7/fpu/s_logbf.c via #include.
30376 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30377 powerpc32/power7/fpu/s_logbl.c via #include.
30379 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30381 * README.libm: Remove file.
30383 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30385 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30386 count for x32. Use R*_LP and omit operand-size suffix.
30388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30390 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30391 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30392 * sysdeps/x86_64/x32/shlib-versions: New file.
30394 2012-05-14 Roland McGrath <roland@hack.frob.com>
30396 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30397 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30398 Use _dl_fatal_printf instead.
30400 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30402 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30403 set if not set by the user. Do not allow for being unset.
30404 * sysdeps/unix/sysv/linux/configure: Regenerated.
30406 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30408 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30409 the `q' suffix from lea and replace .quad with ASM_ADDR.
30411 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30414 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30416 (PTR_DEMANGLE): Likewise.
30418 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30420 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30422 (ASM_ADDR): Likewise.
30423 (RAX_LP): Likewise.
30424 (RBP_LP): Likewise.
30425 (RBX_LP): Likewise.
30426 (RCX_LP): Likewise.
30427 (RDI_LP): Likewise.
30428 (RSI_LP): Likewise.
30429 (RSP_LP): Likewise.
30432 (R10_LP): Likewise.
30433 (R10_LP): Likewise.
30434 (R11_LP): Likewise.
30435 (R12_LP): Likewise.
30436 (R13_LP): Likewise.
30437 (R14_LP): Likewise.
30438 (R15_LP): Likewise.
30440 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30442 * sysdeps/x86_64/x32/dl-machine.h: New file.
30444 2012-05-14 Andreas Jaeger <aj@suse.de>
30446 * manual/Makefile (subdir): Remove export of subdir.
30447 (all): Remove target.
30448 (.PHONY): Remove all from list.
30449 (mkinstalldirs): Remove.
30450 (.PHONY): Remove installdirs from list.
30451 ($(inst_infodir)/libc.info): Use make-target-directory.
30452 (installdirs): Remove.
30453 (subdir_%): Remove.
30454 (glibc-targets): Remove.
30457 ($(objpfx)stubs ../po/manual.pot): Remove.
30458 ($(objpfx)stamp%): Remove.
30459 (make-target-directory): Remove.
30460 (subdir_install): Remove.
30461 (routines): Remove.
30468 * manual/.gitignore: Remove, it's not needed anymore.
30469 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30471 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30473 (texis): Renamed to $(objpfx)texis.
30474 (texis-path): New, contains path to generated files.
30475 (chapters.%): Use texis-path for complete path, add extra argument
30477 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30478 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30479 (summary,texi, stamp-summary): Use complete path of
30480 files. Generate files in build dir.
30481 (dir-add.texi): Build in build dir.
30482 (libm-err.texi,stamp-libm-err): Likewise.
30483 (version.texi, stamp-version): Likewise.
30484 (.%c.texi): Likewise.
30485 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30486 (mostlyclean): Remove target.
30487 (realclean): Remove target.
30488 (generated): Add new variable with contents from mostlyclean and
30489 realclean, remove entries duplicated in common-mostlyclean, add
30490 stamp-libm-err and stamp-version.
30491 (generated-dirs): Add libc directory.
30492 ($(inst_infodir)/libc.info): Install files from build dir.
30494 * manual/install.texi (Configuring and compiling): Adjust since
30495 the info files are not part of the tar ball anymore.
30497 2012-05-14 Andreas Jaeger <aj@suse.de>
30499 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30502 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30506 to 2.2.0 where earlier.
30507 * sysdeps/unix/sysv/linux/configure: Regenerated.
30508 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30509 Remove conditional code.
30510 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30511 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30512 Remove conditional code.
30513 [!__NR_lchown]: Likewise.
30514 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30515 [__NR_lchown]: Likewise.
30516 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30517 comment referencing __ASSUME_LCHOWN_SYSCALL.
30518 * sysdeps/unix/sysv/linux/i386/sigaction.c
30519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30521 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30522 Remove conditional code.
30523 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30524 (__protocol_available): Remove #if 0 code.
30525 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30527 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30528 * sysdeps/unix/sysv/linux/kernel-features.h
30529 (__ASSUME_GETCWD_SYSCALL): Don't define.
30530 (__ASSUME_REALTIME_SIGNALS): Likewise.
30531 (__ASSUME_PREAD_SYSCALL): Likewise.
30532 (__ASSUME_PWRITE_SYSCALL): Likewise.
30533 (__ASSUME_POLL_SYSCALL): Likewise.
30534 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30535 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30537 (__ASSUME_SIOCGIFNAME): Don't define.
30538 (__ASSUME_MSG_NOSIGNAL): Likewise.
30539 (__ASSUME_SENDFILE): Define unconditionally.
30540 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30541 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30543 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30544 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30545 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30546 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30547 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30548 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30549 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30554 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30563 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30566 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30572 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30574 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30575 Remove conditional code.
30576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30577 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30578 Remove conditional code.
30579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30580 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30581 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30582 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30583 Remove conditional code.
30584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30585 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30586 Remove conditional code.
30587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30588 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30589 Remove conditional code.
30590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30591 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30592 Remove conditional code.
30593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30594 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30595 Remove conditional code.
30596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30597 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30598 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30600 * sysdeps/unix/sysv/linux/sigaction.c
30601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30603 * sysdeps/unix/sysv/linux/sigpending.c
30604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30606 * sysdeps/unix/sysv/linux/sigprocmask.c
30607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30609 * sysdeps/unix/sysv/linux/sigsuspend.c
30610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30613 (__libc_missing_rt_sigs): Remove.
30614 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30615 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30616 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30617 Remove conditional code.
30618 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30619 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30622 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30624 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30626 2012-05-14 Andreas Jaeger <aj@suse.de>
30628 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30629 it's not used in glibc.
30630 (__coshm1): Likewise.
30631 (__acosh1p): Likewise.
30634 * manual/string.texi (Copying and Concatenation): Add missing
30635 variable in concat example.
30636 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30638 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30642 __builtin_clzl with __builtin_clzll.
30644 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30647 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30650 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30652 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30653 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30654 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30655 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30657 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30659 * NEWS: Update ia64 info.
30661 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30663 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30666 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30668 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30669 * sysdeps/unix/syscalls.list (dup3): Likewise.
30670 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30671 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30673 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30675 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30676 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30678 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30680 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30682 (TLS_IE): Use mov/add instead of movq/addq to load thread
30684 (TLS_GD_PREFIX): New.
30687 2012-05-11 David S. Miller <davem@davemloft.net>
30689 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30690 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30691 (_FPU_SETCW): Likewise.
30693 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30695 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30696 is 32-byte aligned.
30698 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30701 * iconvdata/gb18030.c: Update tables.
30702 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30703 characters specially.
30704 (BODY for TO_LOOP): Add encoding of missing ranges.
30706 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30709 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30710 * sysdeps/mach/hurd/dup3.c: Likewise.
30711 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30712 * sysdeps/powerpc/memmove.c:: Likewise.
30714 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30717 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30719 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30721 * elf/elf.h (R_X86_64_RELATIVE64): New.
30722 (R_X86_64_NUM): Updated.
30723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30724 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30725 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30726 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30727 tst-quad1pie tst-quad2pie
30728 (modules-names): Add tst-quadmod1 tst-quadmod2.
30729 ($(objpfx)tst-quad1): New dependency.
30730 ($(objpfx)tst-quad2): Likewise.
30731 ($(objpfx)tst-quad1pie): Likewise.
30732 ($(objpfx)tst-quad2pie): Likewise.
30733 * sysdeps/x86_64/tst-quad1.c: New file.
30734 * sysdeps/x86_64/tst-quad1pie.c: New file.
30735 * sysdeps/x86_64/tst-quad2.c: Likewise.
30736 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30737 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30738 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30739 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30740 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30744 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30745 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30746 * streams/stropts.h (t_scalar_t): Define type.
30748 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30749 (_PATH_PRESERVE): Set to "/var/lib".
30750 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30752 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30755 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30756 if __dir_mkfile succeeded.
30758 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30759 checking for _hurd_dtablesize. Unlock it right after having
30760 finished _hurd_dtable allocation.
30762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30764 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30765 * sysdeps/mach/hurd/configure: Regenerated.
30766 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30767 special-casing to...
30768 * sysdeps/gnu/configure.in: ... this new file.
30769 * sysdeps/unix/sysv/linux/configure: Regenerated.
30770 * sysdeps/gnu/configure: New generated file.
30772 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30773 for Linux: use nsec instead of usec, as well as:
30774 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30775 members of type struct timespec.
30776 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30778 (struct stat64): Likewise.
30779 (_STATBUF_ST_NSEC): New macro.
30780 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30782 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30783 __strtoul_internal rather than strtoul.
30785 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30787 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30790 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30792 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30793 which preserves existing values.
30794 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30796 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30798 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30799 TIMEOUT values. Return EINVAL for NFDS values either negative or
30800 greater than FD_SETSIZE.
30802 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30804 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30805 allocated, call __vm_protect to finish enabling the existing space, and
30806 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30807 allocate the remainder.
30809 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30811 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30812 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30814 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30816 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30817 sysdeps/mach/hurd/readlink.c.
30819 * posix/tst-sysconf.c (posix_options): Only use
30820 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30821 _POSIX_SYNCHRONIZED_IO when they are defined
30822 * sysdeps/mach/hurd/bits/posix_opt.h:
30823 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30824 (_XOPEN_REALTIME): Undefine macro.
30825 (_XOPEN_REALTIME_THREADS): Undefine macro.
30826 (_XOPEN_SHM): Undefine macro.
30827 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30829 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30831 (_POSIX_ASYNC_IO): Undefine macro.
30832 (_POSIX_PRIORITIZED_IO): Undefine macro.
30833 (_POSIX_SPIN_LOCKS): Define macro to -1.
30835 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30836 SA_NODEFER, SA_RESETHAND.
30837 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30838 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30843 * elf/Makefile (pldd-modules): Define unconditionally.
30845 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30847 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30851 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30852 Return ENOENT when name is empty.
30853 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30857 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30859 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30861 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30863 Fix mlock in all cases except non-readable pages.
30864 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30865 instead of VM_PROT_ALL as parameter to __vm_wire function.
30867 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30868 (__mkdir): When path is `/', just fail with EEXIST.
30869 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30871 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30873 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30874 <sys/uio.h> (for writev).
30875 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30876 and <sys/param.h> (for MIN).
30878 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30880 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30881 REQUESTED_TIME. Properly set the remaining time and return EINTR
30884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30886 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30887 Depend on against $(link-rpcuserlibs).
30889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30891 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30892 (__libc_stack_end): Do not use attribute_relro.
30893 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30894 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30895 to libthread-provided value.
30896 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30902 * bits/libc-lock.h (__libc_once_get): New macro.
30903 * sysdeps/mach/bits/libc-lock.h: Likewise.
30904 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30905 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30906 instead of using implementation details.
30908 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30909 * libio/freopen.c: Likewise.
30910 * libio/freopen64.c: Likewise.
30911 * misc/syslog.c: Likewise.
30912 * nscd/connections.c: Likewise.
30913 * nscd/netgroupcache.c: Likewise.
30914 * sysdeps/posix/getcwd.c: Likewise.
30916 2012-05-10 Roland McGrath <roland@hack.frob.com>
30918 * math/w_ilogbf.c: Add #include <limits.h>.
30920 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30922 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30923 path instead of returning without unlocking.
30925 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30926 immediate-write ioctls.
30927 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30931 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30932 __builtin_frame_address instead of making assumptions about the
30933 location of the return address relative to DATA. Force early load of
30934 the return address.
30935 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30936 __builtin_frame_address.
30939 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30940 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30941 implement dup3 and do some further code clean-ups.
30942 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30943 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30945 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30947 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30949 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30950 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30951 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30952 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30953 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30956 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30957 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30958 when handler == SIG_ERR, not when handler != SIG_ERR.
30960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30962 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30963 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30966 accept4 for GNU Hurd.
30967 * include/sys/socket.h (__libc_accept4): New prototype.
30968 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30969 to implement __libc_accept4.
30970 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30972 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30974 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30975 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30976 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30977 signal-defines.sym.
30979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30981 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30985 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30986 assertion on O_CLOEXEC flag.
30987 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30988 * hurd/intern-fd.c: Likewise.
30989 * hurd/port2fd.c: Likewise.
30991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30994 * bits/in.h (IPV6_PKTINFO): Define new macro.
30995 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30997 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31002 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31004 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31005 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31007 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31008 * math/libm-test.inc (logb_test) : Additional logb tests.
31010 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31011 Andreas Jaeger <aj@suse.de>
31013 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31014 * configure: Regenerated.
31015 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31016 * config.make.in (link-obsolete-rpc): New substituted variable.
31017 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31018 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31019 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31020 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31021 so that libc.a contains the symbols.
31022 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31023 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31024 * sunrpc/auth_none.c: Likewise.
31025 * sunrpc/auth_unix.c: Likewise.
31026 * sunrpc/authdes_prot.c: Likewise.
31027 * sunrpc/authuxprot.c: Likewise.
31028 * sunrpc/clnt_gen.c: Likewise.
31029 * sunrpc/clnt_perr.c: Likewise.
31030 * sunrpc/clnt_raw.c: Likewise.
31031 * sunrpc/clnt_simp.c: Likewise.
31032 * sunrpc/clnt_tcp.c: Likewise.
31033 * sunrpc/clnt_udp.c: Likewise.
31034 * sunrpc/clnt_unix.c: Likewise.
31035 * sunrpc/des_crypt.c: Likewise.
31036 * sunrpc/des_soft.c: Likewise.
31037 * sunrpc/get_myaddr.c: Likewise.
31038 * sunrpc/key_call.c: Likewise.
31039 * sunrpc/key_prot.c: Likewise.
31040 * sunrpc/netname.c: Likewise.
31041 * sunrpc/pm_getmaps.c: Likewise.
31042 * sunrpc/pm_getport.c: Likewise.
31043 * sunrpc/pmap_clnt.c: Likewise.
31044 * sunrpc/pmap_prot.c: Likewise.
31045 * sunrpc/pmap_prot2.c: Likewise.
31046 * sunrpc/pmap_rmt.c: Likewise.
31047 * sunrpc/publickey.c: Likewise.
31048 * sunrpc/rpc_cmsg.c: Likewise.
31049 * sunrpc/rpc_common.c: Likewise.
31050 * sunrpc/rpc_dtable.c: Likewise.
31051 * sunrpc/rpc_prot.c: Likewise.
31052 * sunrpc/rpc_thread.c: Likewise.
31053 * sunrpc/rtime.c: Likewise.
31054 * sunrpc/svc.c: Likewise.
31055 * sunrpc/svc_auth.c: Likewise.
31056 * sunrpc/svc_raw.c: Likewise.
31057 * sunrpc/svc_run.c: Likewise.
31058 * sunrpc/svc_tcp.c: Likewise.
31059 * sunrpc/svc_udp.c: Likewise.
31060 * sunrpc/svc_unix.c: Likewise.
31061 * sunrpc/svcauth_des.c: Likewise.
31062 * sunrpc/xcrypt.c: Likewise.
31063 * sunrpc/xdr.c: Likewise.
31064 * sunrpc/xdr_array.c: Likewise.
31065 * sunrpc/xdr_float.c: Likewise.
31066 * sunrpc/xdr_intXX_t.c: Likewise.
31067 * sunrpc/xdr_mem.c: Likewise.
31068 * sunrpc/xdr_rec.c: Likewise.
31069 * sunrpc/xdr_ref.c: Likewise.
31070 * sunrpc/xdr_sizeof.c: Likewise.
31071 * sunrpc/xdr_stdio.c: Likewise.
31073 2012-05-10 Roland McGrath <roland@hack.frob.com>
31075 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31076 change. Update copyright years.
31078 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31080 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31082 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31083 Joseph Myers <joseph@codesourcery.com>
31084 Paul Pluzhnikov <ppluzhnikov@google.com>
31087 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31089 [cross-compiling] (extra-libs): Likewise.
31090 [cross-compiling] (extra-libs-others): Likewise.
31091 [cross-compiling] (librpcsvc-routines): Likewise.
31092 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31093 [cross-compiling] (omit-deps): Likewise.
31094 (sunrpc-CPPFLAGS): New variable.
31095 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31096 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31097 (cross-rpcgen-objs): New variable.
31098 (extra-objs): Append $(cross-rpcgen-objs).
31099 ($(cross-rpcgen-objs)): New rule.
31100 ($(objpfx)cross-rpcgen): Likewise.
31101 (rpcgen-cmd): Define to use $(built-program-file). Expand
31103 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31104 ($(objpfx)x%.stmp): Likewise.
31105 * sunrpc/proto.h [IS_IN_build] (_): Define.
31106 [IS_IN_build] (_libc_intl_domainname): Likewise.
31108 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31111 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31112 and R_X86_64_TPOFF64.
31114 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31116 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31117 sysdeps/unix/sysv/syscalls.list.
31120 * sysdeps/unix/sysv/syscalls.list: Remove file.
31122 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31125 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31126 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31127 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31128 (__LC_IDENTIFICATION): Make these macros useful in #if
31129 expressions, as required by C99.
31131 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31133 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31134 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31137 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31139 * stdlib/longlong.h: Updated from GCC.
31141 2012-05-09 Andreas Jaeger <aj@suse.de>
31143 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31144 default is first entry.
31145 (run_mode): Set type.
31146 (main): Remove informal message about syslog.
31147 (options): Fix typo.
31150 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31153 (llrintf): Likewise.
31154 (llrint): Likewise.
31157 (nearbyint): Likewise.
31158 (nearbyintf): Likewise.
31160 2012-05-09 Andreas Jaeger <aj@suse.de>
31161 Pedro Alves <palves@redhat.com>
31163 * nscd/nscd.c (run_mode): Use enum.
31164 (main): Cleanup coding style issue.
31166 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31167 Andreas Jaeger <aj@suse.de>
31169 * nscd/nscd.c (go_background): Replaced with...
31170 (run_mode): ... this.
31171 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31172 (options): Add -F --foreground.
31173 (main): Implement it.
31174 (parse_opt): Parse it.
31176 2012-05-09 Andreas Jaeger <aj@suse.de>
31179 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31180 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31181 -Wconversion warning.
31182 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31185 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31187 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31189 (LC_ALL): Use macro-int-constant.
31190 (LC_COLLATE): Likewise.
31191 (LC_CTYPE): Likewise.
31192 (LC_MESSAGES): Likewise.
31193 (LC_MONETARY): Likewise.
31194 (LC_NUMERIC): Likewise.
31195 (LC_TIME): Likewise.
31196 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31197 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31199 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31201 [C99-based standards] (float_t): Expect type.
31202 [C99-based standards] (double_t): Expect type.
31203 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31205 [C99-based standards] (HUGE_VALL): Likewise.
31206 [C99-based standards] (INFINITY): Likewise.
31207 [C99-based standards] (NAN): Likewise.
31208 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31209 [C99-based standards] (FP_NAN): Likewise.
31210 [C99-based standards] (FP_NORMAL): Likewise.
31211 [C99-based standards] (FP_SUBNORMAL): Likewise.
31212 [C99-based standards] (FP_ZERO): Likewise.
31213 [C99-based standards] (FP_FAST_FMA): Use
31214 optional-macro-int-constant. Specify type. Require == 1.
31215 [C99-based standards] (FP_FAST_FMAF): Likewise.
31216 [C99-based standards] (FP_FAST_FMAL): Likewise.
31217 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31218 [C99-based standards] (FP_ILOGBNAN): Likewise.
31219 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31221 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31222 [C99-based standards] (math_errhandling): Specify type.
31223 [ISO99 || ISO11] (signgam): Do not allow.
31224 [non-C99-based standards] (copysignf): Do not allow.
31225 [non-C99-based standards] (exp2f): Likewise.
31226 [non-C99-based standards] (log2f): Likewise.
31227 [non-C99-based standards] (modff): Allow.
31228 [non-C99-based standards] (erff): Do not allow.
31229 [non-C99-based standards] (erfcf): Likewise.
31230 [non-C99-based standards] (gammaf): Likewise.
31231 [non-C99-based standards] (hypotf): Likewise.
31232 [non-C99-based standards] (j0f): Likewise.
31233 [non-C99-based standards] (j1f): Likewise.
31234 [non-C99-based standards] (jnf): Likewise.
31235 [non-C99-based standards] (lgammaf): Likewise.
31236 [non-C99-based standards] (tgammaf): Likewise.
31237 [non-C99-based standards] (y0f): Likewise.
31238 [non-C99-based standards] (y1f): Likewise.
31239 [non-C99-based standards] (ynf): Likewise.
31240 [non-C99-based standards] (isnanf): Likewise.
31241 [non-C99-based standards] (acoshf): Likewise.
31242 [non-C99-based standards] (asinhf): Likewise.
31243 [non-C99-based standards] (atanhf): Likewise.
31244 [non-C99-based standards] (cbrtf): Likewise.
31245 [non-C99-based standards] (expm1f): Likewise.
31246 [non-C99-based standards] (ilogbf): Likewise.
31247 [non-C99-based standards] (log1pf): Likewise.
31248 [non-C99-based standards] (logbf): Likewise.
31249 [non-C99-based standards] (nextafterf): Likewise.
31250 [non-C99-based standards] (remainderf): Likewise.
31251 [non-C99-based standards] (rintf): Likewise.
31252 [non-C99-based standards] (scalbf): Likewise.
31253 [non-C99-based standards] (copysignl): Likewise.
31254 [non-C99-based standards] (exp2l): Likewise.
31255 [non-C99-based standards] (log2l): Likewise.
31256 [non-C99-based standards] (modfl): Allow.
31257 [non-C99-based standards] (erfl): Do not allow.
31258 [non-C99-based standards] (erfcl): Likewise.
31259 [non-C99-based standards] (gammal): Likewise.
31260 [non-C99-based standards] (hypotl): Likewise.
31261 [non-C99-based standards] (j0l): Likewise.
31262 [non-C99-based standards] (j1l): Likewise.
31263 [non-C99-based standards] (jnl): Likewise.
31264 [non-C99-based standards] (lgammal): Likewise.
31265 [non-C99-based standards] (tgammal): Likewise.
31266 [non-C99-based standards] (y0l): Likewise.
31267 [non-C99-based standards] (y1l): Likewise.
31268 [non-C99-based standards] (ynl): Likewise.
31269 [non-C99-based standards] (isnanl): Likewise.
31270 [non-C99-based standards] (acoshl): Likewise.
31271 [non-C99-based standards] (asinhl): Likewise.
31272 [non-C99-based standards] (atanhl): Likewise.
31273 [non-C99-based standards] (cbrtl): Likewise.
31274 [non-C99-based standards] (expm1l): Likewise.
31275 [non-C99-based standards] (ilogbl): Likewise.
31276 [non-C99-based standards] (log1pl): Likewise.
31277 [non-C99-based standards] (logbl): Likewise.
31278 [non-C99-based standards] (nextafterl): Likewise.
31279 [non-C99-based standards] (remainderl): Likewise.
31280 [non-C99-based standards] (rintl): Likewise.
31281 [non-C99-based standards] (scalbl): Likewise.
31282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31283 [non-C99-based standards] (FP_*): Do not allow.
31284 [C99-based standards] (FP_*): Change to
31285 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31286 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31288 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31289 (SIG_ERR): Likewise.
31290 [X/Open-based standards] (SIG_HOLD): Likewise.
31291 (SIG_IGN): Likewise.
31292 (SIGABRT): Use macro-int-constant. Specify type. Require
31294 (SIGFPE): Likewise.
31295 (SIGILL): Likewise.
31296 (SIGINT): Likewise.
31297 (SIGSEGV): Likewise.
31298 (SIGTER): Likewise.
31299 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31300 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31301 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31302 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31303 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31304 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31305 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31306 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31307 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31308 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31309 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31310 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31311 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31312 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31313 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31314 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31315 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31316 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31317 [X/Open-based standards] (SIGTRAP): Likewise.
31318 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31319 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31320 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31321 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31322 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31325 2012-05-08 Ian Wienand <ianw@vmware.com>
31328 * time/tzset.c (__tzset_parse_tz): Update default rules for
31329 daylight time changes in the Energy Policy Act of 2005.
31331 2012-05-09 Andreas Jaeger <aj@suse.de>
31334 * elf/ldconfig.c (parse_conf): Change string to make clear that
31335 ldconfig only issued a warning if ld.so.conf does not exist.
31337 2012-05-08 David S. Miller <davem@davemloft.net>
31339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31340 movxtod instead of popping the value on the stack.
31342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31344 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31346 * config.h.in: Add HAVE_ARM_PCS_VFP.
31348 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31351 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31352 checking but the checks are disabled for any reason.
31354 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31356 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31357 and ELF64_R_TYPE with ELFW(R_TYPE).
31359 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31361 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31362 (ulimit): Likewise.
31364 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31365 (settimeofday): Likewise.
31367 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31369 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31370 a struct th_u2 inside the union, and move tu_block/tu_code into
31371 a new th_u3 union of tu_block/tu_code inside of that. Move
31372 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31373 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31374 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31375 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31376 (th_stuff): Change to th_u1.tu_stuff.
31378 (th_msg): Change to th_u1.th_u2.tu_data.
31380 2012-05-07 David S. Miller <davem@davemloft.net>
31382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31385 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31386 (SETUP_PIC_REG): Use it.
31387 (SETUP_PIC_REG_LEAF): Use it.
31389 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31393 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31395 (EXPL_FINITE): Likewise.
31396 (FLDLOG): Likewise.
31397 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31398 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31400 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31402 (EXPL_FINITE): Likewise.
31403 (FLDLOG): Likewise.
31404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31405 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31407 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31408 test of -max_value argument for long double.
31409 * sysdeps/i386/fpu/libm-test-ulps: Update.
31410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31412 2012-05-06 David S. Miller <davem@davemloft.net>
31414 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31415 quad soft-float symbols whose references which are compiler
31417 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31419 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31423 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31425 (EXPL_FINITE): Likewise.
31426 (FLDLOG): Likewise.
31429 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31430 Adjust comments for base varying.
31431 (__expl_finite): Change alias to EXPL_FINITE.
31432 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31434 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31435 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31436 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31437 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31438 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31440 (EXPL_FINITE): Likewise.
31441 (FLDLOG): Likewise.
31444 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31445 Adjust comments for base varying.
31446 (__expl_finite): Change alias to EXPL_FINITE.
31447 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31452 * math/libm-test.inc (check_float_internal): Correct ulp
31453 calculation for subnormal expected results.
31455 2012-05-06 Andreas Jaeger <aj@suse.de>
31457 * Makeconfig (+math-flags): New, set to -frounding-math.
31458 (+cflags): Add +math-flags so that all of glibc gets compiled with
31461 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31463 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31465 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31471 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31472 (__ieee754_expl): Allow for and saturate large arguments.
31473 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31474 (u_threshold): Likewise.
31475 (__exp): Call __ieee754_exp before checking for overflow and
31477 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31478 (u_threshold): Likewise.
31479 (__expf): Call __ieee754_expf before checking for overflow and
31481 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31482 (u_threshold): Likewise.
31483 (__expl): Call __ieee754_expl before checking for overflow and
31485 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31486 (__ieee754_expl): Allow for and saturate large arguments.
31487 * math/libm-test.inc (exp_test): Add another test. Do not allow
31488 missing overflow exception on overflow.
31489 (expm1_test): Do not allow missing overflow exception on overflow.
31491 * sysdeps/i386/fpu/e_expl.c: Move to ...
31492 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31493 rather than using inline asm.
31494 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31495 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31496 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31498 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31501 (signal): Likewise.
31505 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31507 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31508 sysdeps/unix/common/syscalls.list.
31509 (fchmod): Likewise.
31510 (fchown): Likewise.
31511 (ftruncate): Likewise.
31512 (getrusage): Likewise.
31513 (gettimeofday): Likewise.
31514 (setpgid): Likewise.
31515 (setregid): Likewise.
31516 (setreuid): Likewise.
31517 (sigaction): Likewise.
31518 (truncate): Likewise.
31519 (vhangup): Likewise.
31520 * sysdeps/unix/common/syscalls.list: Remove file.
31521 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31522 * sysdeps/unix/sysv/linux/Implies: Likewise.
31524 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31526 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31528 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31532 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31535 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31538 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31541 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31544 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31547 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31550 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31554 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31558 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31561 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31565 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31569 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31571 * sysdeps/unix/common/bits/dirent.h: Remove file.
31572 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31574 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31575 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31576 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31577 * sysdeps/unix/bsd/isatty.c: Likewise.
31578 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31579 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31580 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31582 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31586 long double comparison inaccuracies.
31587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31590 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31592 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31595 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31599 nonzero digits before rounding a hex value.
31600 * stdlib/tst-strtod.c (tests): Add another test.
31602 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31604 * sysdeps/s390/fpu/libm-test-ulps: Update.
31606 2012-05-03 Andreas Jaeger <aj@suse.de>
31608 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31609 does not get optimized out.
31610 (malloc_opt_barrier): New.
31612 2012-05-03 Andreas Jaeger <aj@suse.de>
31613 Roland McGrath <roland@hack.frob.com>
31615 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31616 intermediate file deletion.
31617 (generated): Add .symlist files.
31619 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31622 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31623 Redirect under this condition.
31624 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31625 [__USE_GNU] (__dprintf_chk): Not under this condition.
31626 [__USE_GNU] (__vdprintf_chk): Likewise.
31627 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31628 under this condition.
31629 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31630 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31631 [__USE_XOPEN2K8] (vdprintf): Likewise.
31632 [__USE_GNU] (__dprintf_chk): Not under this condition.
31633 [__USE_GNU] (__vdprintf_chk): Likewise.
31634 [__USE_GNU] (dprintf): Likewise.
31635 [__USE_GNU] (vdprintf): Likewise.
31637 2012-05-03 Roland McGrath <roland@hack.frob.com>
31639 * elf/Makefile (common-generated): Set this instead of generated for
31640 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31641 $(all-built-dso)-derived lists.
31643 2012-05-03 Andreas Jaeger <aj@suse.de>
31645 * sysdeps/i386/fpu/libm-test-ulps: Update.
31648 * FAQ.in: Likewise.
31649 * scripts/gen-FAQ.pl: Likewise.
31650 * manual/install.texi (Installation): Point to online location of
31652 * Makefile (files-for-dist): Remove FAQ.
31655 2012-05-02 Allan McRae <allan@archlinux.org>
31657 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31658 (LDFLAGS-reldepmod5.so): Likewise.
31659 (LDFLAGS-reldep6mod1.so): Likewise.
31660 (LDFLAGS-reldep6mod4.so): Likewise.
31661 (LDFLAGS-reldep8mod3.so): Likewise.
31662 (LDFLAGS-unload4mod1.so): Likewise.
31663 (LDFLAGS-unload4mod2.so): Likewise.
31664 (LDFLAGS-tst-initorder): Likewise.
31665 (LDFLAGS-tst-initordera2.so): Likewise.
31666 (LDFLAGS-tst-initordera3.so): Likewise.
31667 (LDFLAGS-tst-initordera4.so): Likewise.
31668 (LDFLAGS-tst-initorderb2.so): Likewise.
31669 (LDFLAGS-noload): Likewise.
31670 (LDFLAGS-next): Likewise.
31671 (LDFLAGS-order2mod1.so): Likewise.
31672 (LDFLAGS-order2mod2.so): Likewise.
31673 (LDFLAGS-tst-initorder2): Likewise.
31674 (LDFLAGS-tst-initorder2a.so): Likewise.
31675 (LDFLAGS-tst-initorder2b.so): Likewise.
31676 (LDFLAGS-tst-initorder2c.so): Likewise.
31677 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31679 2012-05-02 David S. Miller <davem@davemloft.net>
31681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31683 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31686 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31688 2012-05-02 Andreas Jaeger <aj@suse.de>
31690 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31691 since we manipulate rounding mode.
31692 (CPPFLAGS-test-idouble.c): Likewise.
31693 (CPPFLAGS-test-ifloat.c): Likewise.
31694 (CFLAGS-test-ldouble.c): Likewise.
31695 (CFLAGS-test-double.c): Likewise.
31696 (CFLAGS-test-float.c): Likewise.
31697 (CFLAGS-test-misc.c): Likewise.
31698 (CFLAGS-test-test-fenv.c): Likewise.
31700 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31705 comparisons to determine direction to adjust input.
31707 2012-05-01 Roland McGrath <roland@hack.frob.com>
31709 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31710 output to the target.
31712 * scripts/localplt.awk: New file.
31713 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31714 (check-localplt-CFLAGS): Variable removed.
31715 ($(all-built-dso:=.jmprel)): New static pattern rule.
31716 (generated): Add those targets.
31717 (localplt-built-dso): New variable.
31718 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31720 * elf/check-localplt.c: File removed.
31722 * scripts/check-execstack.awk: New file.
31723 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31724 (check-execstack-CFLAGS): Variable removed.
31725 ($(objpfx)check-execstack.h): Target removed.
31726 ($(objpfx)execstack-default): New target.
31727 (generated): Add that instead of check-execstack.h.
31728 ($(all-built-dso:=.phdr)): New static pattern rule.
31729 (generated): Add those targets.
31730 * elf/check-execstack.c: File removed.
31732 * scripts/check-textrel.awk: New file.
31733 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31734 (check-textrel-CFLAGS): Variable removed.
31735 (all-built-dso): Use := to define.o
31736 ($(all-built-dso:=.dyn)): New static pattern rule.
31737 (generated): Add those targets.
31738 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31739 * config.make.in (READELF): New substituted variable.
31740 * elf/check-textrel.c: File removed.
31742 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31744 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31746 * conform/data/ctype.h-data [C99-based standards] (isblank):
31748 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31749 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31751 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31752 Specify type. Require positive value.
31753 (EILSEQ): Likewise.
31754 (ERANGE): Likewise.
31755 [ISO || POSIX] (EILSEQ): Do not expect.
31756 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31757 Specify type. Require positive value.
31758 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31759 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31760 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31761 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31762 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31763 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31764 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31765 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31766 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31767 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31768 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31769 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31770 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31771 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31772 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31773 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31774 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31775 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31776 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31777 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31778 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31779 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31780 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31781 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31782 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31783 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31784 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31785 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31786 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31787 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31788 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31789 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31790 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31791 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31792 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31793 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31794 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31795 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31796 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31797 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31798 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31799 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31800 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31801 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31802 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31803 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31804 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31805 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31806 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31807 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31808 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31809 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31810 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31811 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31812 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31813 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31814 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31815 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31816 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31817 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31818 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31819 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31820 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31821 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31822 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31826 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31827 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31828 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31829 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31830 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31831 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31832 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31833 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31834 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31836 (FLT_ROUNDS): Expect as macro, not constant.
31837 (FLT_MANT_DIG): Use macro-int-constant.
31838 (DBL_MANT_DIG): Likewise.
31839 (LDBL_MANT_DIG): Likewise.
31840 (FLT_DIG): Likewise.
31841 (DBL_DIG): Likewise.
31842 (LDBL_DIG): Likewise.
31843 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31844 (DBL_MIN_EXP): Likewise.
31845 (LDBL_MIN_EXP): Likewise.
31846 (FLT_MAX_EXP): Use macro-int-constant.
31847 (DBL_MAX_EXP): Likewise.
31848 (LDBL_MAX_EXP): Likewise.
31849 (FLT_MAX_10_EXP): Likewise.
31850 (DBL_MAX_10_EXP): Likewise.
31851 (LDBL_MAX_10_EXP): Likewise.
31852 (FLT_MAX): Use macro-constant.
31853 (DBL_MAX): Likewise.
31854 (LDBL_MAX): Likewise.
31855 (FLT_EPSILON): Use macro-constant. Give upper bound.
31856 (DBL_EPSILON): Likewise.
31857 (LDBL_EPSILON): Likewise.
31858 (FLT_MIN): Likewise.
31859 (DBL_MIN): Likewise.
31860 (LDBL_MIN): Likewise.
31861 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31862 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31863 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31864 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31865 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31866 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31867 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31868 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31869 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31870 [ISO11] (FLT_TRUE_MIN): Likewise.
31871 [ISO11] (LDBL_TRUE_MIN): Likewise.
31872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31873 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31874 (SCHAR_MIN): Use macro-int-constant. Specify type.
31875 (SCHAR_MAX): Likewise.
31876 (UCHAR_MAX): Likewise.
31877 (CHAR_MIN): Likewise.
31878 (CHAR_MAX): Likewise.
31879 (MB_LEN_MAX): Use macro-int-constant.
31880 (SHRT_MIN): Use macro-int-constant. Specify type.
31881 (SHRT_MAX): Likewise.
31882 (USHRT_MAX): Likewise.
31883 (INT_MAX): Likewise.
31884 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31886 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31888 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31890 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31891 bound negative. Suffix upper bound with "L".
31892 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31894 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31896 [C99-based standards] (LLONG_MAX): Likewise.
31897 [C99-based standards] (ULLONG_MAX): Likewise.
31898 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31900 [ISO11] (max_align_t): Require type.
31901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31903 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31904 from $CFLAGS, without defining away __attribute__ calls.
31905 (checknamespace): Use $CFLAGS_namespace.
31907 * conform/conformtest.pl (@keywords): Only include C99 keywords
31908 for standards based on C99 or C11.
31910 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31912 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31915 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31916 usability of symbols in #if.
31918 * conform/conformtest.pl: If macro or constant types start
31919 "promoted:", expect the symbol to be of the following type
31920 promoted by the integer promotions.
31922 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31923 in one place. Also handle "macro-constant".
31925 * conform/conformtest.pl: Only accept expected macro values with
31926 "==". Parse all "macro" lines in one place.
31927 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31929 * conform/conformtest.pl: Handle braced types on "constant" lines
31930 instead of handling "typed-constant".
31931 * conform/data/signal.h-data: Use "constant" instead of
31934 * conform/conformtest.pl: Handle "optional-" at start of lines in
31935 one place rather than duplicating several cases. Handle each
31936 format of "macro" line with initial "optional-".
31938 * conform/conformtest.pl: Only accept expected constant or
31939 optional-constant values with "==". Parse all "constant" lines in
31940 one place. Parse all "optional-constant" lines in one place.
31941 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31942 * conform/data/fmtmsg.h-data: Likewise.
31943 * conform/data/netinet/in.h-data: Likewise.
31944 * conform/data/tar.h-data: Likewise.
31945 * conform/data/limits.h-data: Use "==" form on "constant" and
31946 "optional-constant" lines.
31948 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31949 Use -std=c99 for XOPEN2K.
31950 (@knownproblems): Remove.
31951 (newtoken): Don't check %isknown.
31953 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31954 Do not expect macro.
31955 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31956 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31957 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31958 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31959 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31960 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31961 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31962 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31963 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31964 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31965 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31966 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31967 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31968 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31969 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31970 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31971 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31972 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31973 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31974 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31975 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31976 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31977 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31978 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31979 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31980 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31981 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31982 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31983 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31984 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31985 [XPG3] (acosh): Likewise.
31986 [XPG3] (asinh): Likewise.
31987 [XPG3] (atanh): Likewise.
31988 [XPG3] (cbrt): Likewise.
31989 [XPG3] (expm1): Likewise.
31990 [XPG3] (ilogb): Likewise.
31991 [XPG3] (log1p): Likewise.
31992 [XPG3] (logb): Likewise.
31993 [XPG3] (nextafter): Likewise.
31994 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31995 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31996 [XPG3] (remainder): Likewise.
31997 [XPG3] (rint): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31999 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32000 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32001 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32002 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32003 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32004 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32005 [UNIX98 || XOPEN2K] (scalb): Expect.
32006 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32007 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32008 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32009 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32010 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32011 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32012 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32013 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32014 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32015 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32016 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32017 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32020 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32021 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32022 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32023 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32024 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32025 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32026 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32027 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32029 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32030 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32094 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32095 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32132 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32133 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32134 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32139 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32140 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32144 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32145 _XOPEN_SOURCE_EXTENDED for XPG4.
32147 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32149 * Makeconfig (localtime): Remove variable.
32150 (inst_localtime-file): Likewise.
32152 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32173 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32177 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32178 comparisons to determine direction to adjust input.
32179 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32180 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32187 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32188 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32190 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32192 * math/libm-test.inc (nexttoward_test): Add more tests.
32194 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32198 in version GLIBC_2.1, not GLIBC_2.0.
32199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32202 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32205 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32207 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32208 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32209 * math/libm-test.inc (acos_test): Add more tests.
32210 (asin_test): Likewise.
32211 * sysdeps/i386/fpu/libm-test-ulps: Update.
32212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32215 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32217 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32218 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32219 * math/libm-test.inc (acos_test_tonearest): New function.
32220 (acos_test_towardzero): Likewise.
32221 (acos_test_downward): Likewise.
32222 (acos_test_upward): Likewise.
32223 (asin_test_tonearest): Likewise.
32224 (asin_test_towardzero): Likewise.
32225 (asin_test_downward): Likewise.
32226 (asin_test_upward): Likewise.
32227 (main): Call the new functions.
32228 * sysdeps/i386/fpu/libm-test-ulps: Update.
32229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32233 * math/e_exp10.c: Include <float.h>.
32234 (__ieee754_exp10): Handle underflow here rather than multiplying
32235 large negative argument by M_LN10.
32236 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32238 * math/e_exp10l.c: Include <float.h>.
32239 (__ieee754_exp10l): Handle underflow here rather than multiplying
32240 large negative argument by M_LN10l.
32241 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32242 spurious overflow exception on underflow.
32244 2012-04-29 Marek Polacek <polacek@redhat.com>
32246 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32247 (__fortify_function): New macro.
32248 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32249 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32250 __extern_always_inline.
32251 * libio/bits/stdio2.h: Likewise.
32252 * libio/bits/stdio.h: Likewise.
32253 * string/string.h: Likewise.
32254 * string/bits/string3.h: Likewise.
32255 * include/stdio.h: Likewise.
32256 * stdlib/bits/stdlib.h: Likewise.
32257 * stdlib/stdlib.h: Likewise.
32258 * rt/bits/mqueue2.h: Likewise.
32259 * rt/mqueue.h: Likewise.
32260 * posix/bits/unistd.h: Likewise.
32261 * posix/unistd.h: Likewise.
32262 * io/bits/poll2.h: Likewise.
32263 * io/bits/fcntl2.h: Likewise.
32264 * io/fcntl.h: Likewise.
32265 * io/sys/poll.h: Likewise.
32266 * misc/bits/syslog.h: Likewise.
32267 * misc/bits/syslog-ldbl.h: Likewise.
32268 * misc/sys/syslog.h: Likewise.
32269 * socket/bits/socket2.h: Likewise.
32270 * socket/sys/socket.h: Likewise.
32271 * debug/tst-chk1.c: Likewise.
32272 * wcsmbs/bits/wchar2.h: Likewise.
32273 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32274 * wcsmbs/wchar.h: Likewise.
32276 2012-04-29 Andreas Jaeger <aj@suse.de>
32278 * Makerules (tests): Remove enable-check-abi protection.
32279 (check-abi-warn): Remove.
32280 (check-abi-%): Remove check-abi-warn usage.
32282 * configure.in: Remove check-abi configure option.
32283 * configure: Regenerated.
32284 * config.make.in (enable-check-abi): Remove.
32286 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32289 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32290 double functions to double *_finite functions.
32293 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32294 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32296 * stdio-common/Makefile (tests): Add tst-sprintf3.
32297 * stdio-common/tst-sprintf3.c: New file.
32299 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32300 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32302 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32304 * conform/conformtest.pl: Remove duplicate typed-constant
32307 2012-04-28 David S. Miller <davem@davemloft.net>
32309 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32310 (check-abi-%): Remove AWK script prerequisite and explicit
32312 (check-abi): Rewrite to just diff the symlist with the abilist.
32313 (config-tls, config-abi-config): Delete, no longer used.
32314 (update-abi-%): Remove AWK script and explicit abilist directory.
32315 (update-abi): Rewrite to simply compare and conditionally copy the
32316 symlist and the sysdep abilist file. Remove update-abi-config
32318 * abilist/ld.abilist: Remove.
32319 * abilist/libBrokenLocale.abilist: Remove.
32320 * abilist/libanl.abilist: Remove.
32321 * abilist/libcrypt.abilist: Remove.
32322 * abilist/libdl.abilist: Remove.
32323 * abilist/librt.abilist: Remove.
32324 * abilist/libthread_db.abilist: Remove.
32325 * abilist/libutil.abilist: Remove.
32326 * scripts/extract-abilist.awk: Remove.
32327 * scripts/merge-abilist.awk: Remove.
32328 * sysdeps/generic/libcidn.abilist: New file.
32329 * sysdeps/generic/libnss_compat.abilist: New file.
32330 * sysdeps/generic/libnss_db.abilist: New file.
32331 * sysdeps/generic/libnss_dns.abilist: New file.
32332 * sysdeps/generic/libnss_files.abilist: New file.
32333 * sysdeps/generic/libnss_hesiod.abilist: New file.
32334 * sysdeps/generic/libnss_nis.abilist: New file.
32335 * sysdeps/generic/libnss_nisplus.abilist: New file.
32336 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32337 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32338 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32341 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32342 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32343 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32344 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32345 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32346 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32347 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32348 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32350 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32351 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32352 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32353 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32355 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32356 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32357 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32358 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32359 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32360 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32362 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32363 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32364 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32366 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32469 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32470 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32471 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32474 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32475 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32476 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32477 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32478 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32479 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32480 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32481 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32482 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32534 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32536 * conform/conformtest.pl: Fix typo in handling typed-constant from
32539 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32541 * README: Cut down references to pre-2.6 Linux kernels and
32542 Linuxthreads. Update lists of configurations in libc and ports
32543 and sort alphabetically. Say "or newer" with Linux kernel version
32546 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32548 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32551 * math/libm-test.inc (logb_test_downward): New test to expose
32552 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32555 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32558 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32560 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32561 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32563 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32565 * sysdeps/unix/i386/brk.S: Remove file.
32566 * sysdeps/unix/i386/dl-brk.S: Likewise.
32567 * sysdeps/unix/i386/pipe.S: Likewise.
32568 * sysdeps/unix/i386/sigreturn.S: Likewise.
32569 * sysdeps/unix/i386/syscall.S: Likewise.
32570 * sysdeps/unix/i386/vfork.S: Likewise.
32571 * sysdeps/unix/i386/wait.S: Likewise.
32573 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32574 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32576 * configure.in (arm*-none*): Do not allow without
32577 --enable-hacker-mode.
32578 (netbsd*): Remove case setting base_os.
32579 (386bsd*): Likewise.
32580 (freebsd*): Likewise.
32583 (sunos*): Likewise.
32584 (ultrix*): Likewise.
32585 (newsos*): Likewise.
32586 (dynix*): Likewise.
32592 (minix*): Likewise.
32593 (irix4*): Likewise.
32594 (irix6*): Likewise.
32595 (solaris[2-9]*): Likewise.
32597 * configure: Regenerated.
32599 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32602 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32603 overflow or cancellation in calculating denominator.
32604 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32605 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32606 down expression to avoid unexpected rounding in newer GCCs.
32607 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32609 2012-04-26 David S. Miller <davem@davemloft.net>
32611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32612 long-double compat symbols.
32613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32627 2012-04-25 David S. Miller <davem@davemloft.net>
32629 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32630 HWCAP_* values only after the memory barriers have been defined.
32631 (atomic_full_barrier): Define.
32632 (atomic_read_barrier): Define.
32633 (atomic_write_barrier): Define.
32635 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32637 * shlib-versions: Add libgcc_s version information.
32638 * sysdeps/generic/libgcc_s.h: Remove.
32639 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32641 * sysdeps/gnu/unwind-resume.c: Likewise.
32642 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32644 2012-04-25 David S. Miller <davem@davemloft.net>
32646 * sysdeps/unix/sparc/brk.S: Delete.
32647 * sysdeps/unix/sparc/dl-brk.S: Delete.
32648 * sysdeps/unix/sparc/pipe.S: Delete.
32649 * sysdeps/unix/sparc/sysdep.S: Delete.
32650 * sysdeps/unix/sparc/sysdep.h: Delete.
32651 * sysdeps/unix/sparc/vfork.S: Delete.
32652 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32653 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32654 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32655 (ret_ERRVAL, r0, r1, MOVE): Define.
32656 (JUMPTARGET): Remove.
32657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32658 sysdeps/unix/sparc/sysdep.h
32659 (ENTRY, END): Remove.
32660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32662 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32664 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32665 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32668 * timezone/README: Update upstream location and email address for
32670 * timezone/zdump.c: Update from tzcode 2012b.
32671 * timezone/zic.c: Likewise.
32673 * configure.in (libc_cv_as_needed): Remove test.
32674 * configure: Regenerated.
32675 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32676 conditional definition.
32677 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32678 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32679 * config.make.in (have-as-needed): Remove variable.
32681 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32682 Paul Pluzhnikov <ppluzhnikov@google.com>
32684 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32687 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32689 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32690 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32691 * sysdeps/sh/strlen.S: Likewise.
32693 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32695 * sysdeps/unix/fork.S: Remove file.
32696 * sysdeps/unix/i386/fork.S: Likewise.
32697 * sysdeps/unix/sparc/fork.S: Likewise.
32699 * sysdeps/unix/system.c: Remove file.
32700 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32702 * sysdeps/unix/getegid.S: Remove file.
32703 * sysdeps/unix/geteuid.S: Likewise.
32705 2012-04-24 Roland McGrath <roland@hack.frob.com>
32707 * scripts/check-localplt.awk: New file.
32708 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32710 * scripts/data/localplt-generic.data: Add a comment.
32712 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32713 NODE when __dir_mkfile failed.
32714 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32715 Reported by Ludovic Courtès <ludo@gnu.org>.
32717 2012-04-24 Andreas Jaeger <aj@suse.de>
32719 * Makerules (common-clean): Also remove gen-as-const-headers
32722 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32724 * Makerules (native-compile): Do not change working directory for
32725 build. Use $(OUTPUT_OPTION) in command.
32726 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32728 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32731 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32732 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32733 * math/libm-test.inc (floor_test): Add more tests.
32734 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32736 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32738 * sysdeps/unix/getdents.c: Remove file.
32739 * sysdeps/unix/sysv/getdents.c: Likewise.
32740 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32742 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32743 sysdeps/unix/mman/syscalls.list.
32745 (mprotect): Likewise.
32747 (munmap): Likewise.
32748 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32749 * sysdeps/unix/mman/syscalls.list: Remove.
32750 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32752 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32753 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32754 * configure: Regenerated.
32755 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32756 $(libgcc_s_suffix).
32757 * config.make.in (libgcc_s_suffix): Remove variable.
32759 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32761 * sysdeps/unix/sysv/gethostname.c: Move to ...
32762 * sysdeps/posix/gethostname.c: ... here.
32764 * sysdeps/unix/execve.S: Remove file.
32766 * sysdeps/unix/_exit.S: Remove file.
32768 2012-04-23 Andreas Jaeger <aj@suse.de>
32771 * manual/Makefile: Remove make dist support, there's no
32772 need for a stand-alone documentation tar ball.
32773 (TEXI2DVI): Define always, it's not in Makeconfig.
32776 (edition): Removed.
32777 (glibc-doc-$(edition).tar): Removed
32781 (ETAGS): Remove, it's in Makeconfig.
32782 (move-if-change): Remove, it's in Makeconfig.
32784 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32787 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32788 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32789 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32790 (strtod_l, strtof_l, strtold_l): Remove __wur.
32791 It is not necessarily an error to ignore strtol's return value.
32792 One can reliably look at the stored endptr to decide whether
32793 the number had valid syntax.
32795 2012-04-21 Andreas Jaeger <aj@suse.de>
32798 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32800 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32802 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32803 * sysdeps/unix/sysv/Versions: Remove file.
32805 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32810 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32814 version from __vm86.
32816 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32818 * sysdeps/unix/common/lxstat.c: Remove file.
32819 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32821 * sysdeps/unix/sysv/Makefile: Remove file.
32823 * sysdeps/unix/sysv/direct.h: Remove file.
32825 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32826 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32827 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32828 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32829 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32830 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32831 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32833 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32835 * sysdeps/unix/xmknod.c: Remove file.
32836 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32838 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32840 * sysdeps/unix/sysv/i386/time.S: Remove file.
32842 * sysdeps/unix/fxstat.c: Remove file.
32843 * sysdeps/unix/xstat.c: Likewise.
32844 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32846 * sysdeps/unix/sysv/sigaction.c: Remove file.
32848 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32849 (sysdep_headers): Remove variable.
32850 [termio.h not in sysdep_headers] (generated): Likewise.
32851 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32852 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32853 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32854 * sysdeps/unix/sysv/tcflow.c: Likewise.
32855 * sysdeps/unix/sysv/tcflush.c: Likewise.
32856 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32857 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32858 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32859 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32860 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32862 * sysdeps/unix/siglist.c: Remove file.
32864 * sysdeps/unix/getppid.S: Remove file.
32866 * sysdeps/unix/mkdir.c: Remove file.
32867 * sysdeps/unix/rmdir.c: Likewise.
32869 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32871 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32873 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32874 errlist-compat value.
32876 2012-04-18 David S. Miller <davem@davemloft.net>
32878 * sysdeps/generic/memcopy.h (reg_char): Delete.
32879 * debug/strcat_chk.c: Use char, not reg_char.
32880 * debug/strcpy_chk.c: Likewise.
32881 * debug/strncat_chk.c: Likewise.
32882 * debug/strncpy_chk.c: Likewise.
32883 * string/memchr.c: Likewise.
32884 * string/memrchr.c: Likewise.
32885 * string/rawmemchr.c: Likewise.
32886 * string/strcat.c: Likewise.
32887 * string/strchr.c: Likewise.
32888 * string/strchrnul.c: Likewise.
32889 * string/strcmp.c: Likewise.
32890 * string/strcpy.c: Likewise.
32891 * string/strncat.c: Likewise.
32892 * string/strncmp.c: Likewise.
32893 * string/strncpy.c: Likewise.
32895 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32897 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32898 __builtin_memcopy is called when src and dest ranges are known to not
32901 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32903 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32904 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32905 fwd_align_merge macro call.
32906 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32907 bwd_align_merge macro call.
32908 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32910 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32913 bwd_align_merge macros.
32914 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32915 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32916 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32918 2012-04-18 David S. Miller <davem@davemloft.net>
32920 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32922 2012-04-18 Andreas Jaeger <aj@suse.de>
32925 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32926 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32927 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32929 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32930 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32931 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32933 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32934 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32935 Adjust for changed ldbl-128 files.
32937 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32938 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32939 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32941 2012-04-17 David S. Miller <davem@davemloft.net>
32943 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32945 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32947 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32948 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32949 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32950 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32951 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32952 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32954 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32957 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32958 * math/libm-test.inc: Add ilogb errno and exception tests.
32959 * math/w_ilogb.c: New file: ilogb wrapper.
32960 * math/w_ilogbf.c: New file: ilogbf wrapper.
32961 * math/w_ilogbl.c: New file: ilogbl wrapper.
32962 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32963 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32964 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32965 exception being thrown with 0.0 as argument.
32966 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32967 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32968 exception being thrown with 0.0 as argument.
32969 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32970 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32971 exception being thrown with 0.0 as argument.
32972 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32973 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32974 exception being thrown with 0.0 as argument.
32975 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32976 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32977 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32978 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32980 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32981 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32982 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32983 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32985 2012-04-17 Petr Baudis <pasky@ucw.cz>
32987 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32990 2012-04-16 Marek Polacek <polacek@redhat.com>
32992 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32994 2012-04-16 Marek Polacek <polacek@redhat.com>
32996 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32997 operands of fdivp instruction.
32999 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33001 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33002 * elf/tst-auditmod3b.c: Likewise.
33003 * elf/tst-auditmod4b.c: Likewise.
33004 * elf/tst-auditmod5b.c: Likewise.
33005 * elf/tst-auditmod6b.c: Likewise.
33006 * elf/tst-auditmod6c.c: Likewise.
33007 * elf/tst-auditmod7b.c: Likewise.
33008 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33009 * sysdeps/x86_64/preconfigure.in: Likewise.
33010 * sysdeps/x86_64/preconfigure: Regenerated.
33012 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33014 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33017 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33020 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33022 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33025 * locale/iso-639.def: Fix gl language name. Spotted by
33028 2012-04-12 Roland McGrath <roland@hack.frob.com>
33031 * libio/libio.h (__io_write_fn): Update comment.
33033 2012-04-12 Petr Baudis <pasky@ucw.cz>
33036 * stdio.texi (Hook Functions): The user provided writer function
33037 is not allowed to return -1.
33039 2012-04-11 David S. Miller <davem@davemloft.net>
33041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33043 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33045 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33046 Add a leading slash to rtkaio.
33048 2012-04-11 Jim Meyering <meyering@redhat.com>
33051 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33052 It is not necessarily an error to ignore fwrite's return
33053 value. One can reliably use ferror to test for errors after
33056 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33058 * bits/types.h (__snseconds_t): New type.
33059 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33061 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33063 (__SNSECONDS_T_TYPE): Likewise.
33064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33065 (__SNSECONDS_T_TYPE): Likewise.
33066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33067 (__SNSECONDS_T_TYPE): Likewise.
33069 2012-04-10 Andreas Jaeger <aj@suse.de>
33072 * manual/time.texi (Processor Time): Return type of times is
33073 elapsed real time since an arbitrary point in the past.
33074 (CPU Time): Move CLK_TCK from here...
33075 (Processor Time): ...to here. Correct description.
33076 * manual/conf.texi (Constants for Sysconf): Correct description of
33079 2012-04-10 David S. Miller <davem@davemloft.net>
33082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33083 where the is a gap between DT_REL(A) and DT_JMPREL.
33085 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33087 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33088 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33089 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33091 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33093 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33094 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33095 (dl_main): Handle --inhibit-cache.
33096 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33098 * elf/dl-load.c (_dl_map_object): Use it.
33099 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33101 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33104 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33105 (__ieee754_powl): Saturate large exponents rather than testing for
33106 overflow of y*log2(x).
33107 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33108 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33112 * math/s_ctan.c: Include <float.h>.
33113 (__ctan): Avoid internal overflow or cancellation in calculating
33115 * math/s_ctanf.c: Likewise.
33116 * math/s_ctanl.c: Likewise.
33117 * math/s_ctanh.c: Likewise.
33118 * math/s_ctanhf.c: Likewise.
33119 * math/s_ctanhl.c: Likewise.
33120 * math/libm-test.inc (ctan_test): Add more tests.
33121 (ctanh_test): Likewise.
33122 * sysdeps/i386/fpu/libm-test-ulps: Update.
33123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33125 2012-04-09 Andreas Jaeger <aj@suse.de>
33128 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33129 is an optional BSD extension.
33132 * manual/stdio.texi (Opening Streams): Document additional fopen
33135 2012-04-09 Roland McGrath <roland@hack.frob.com>
33137 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33138 %eax without telling the compiler.
33140 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33143 * manual/install.texi: Use sourceware.org.
33145 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33148 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33149 (__ieee754_pow): Generate overflow and underflow using huge*huge
33150 and tiny*tiny rather than just returning constant infinity or zero
33151 for large exponents.
33152 * math/libm-test.inc (pow_test): Require overflow exceptions for
33153 applicable cases of large exponents.
33156 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33157 (__ieee754_pow): Use iterative multiplication algorithm only for
33158 integer exponents with absolute value below 1024. Check for odd
33159 integer exponents when using algorithm for real exponents.
33160 * math/libm-test.inc (pow_test): Add more tests.
33161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33163 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33166 * math/libm-test.inc (exp_test): Do not allow overflow exception
33169 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33172 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33173 instead of __kernel_standard_f.
33175 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33177 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33178 * sysdeps/x86_64/memset_chk.S: Likewise.
33180 2012-04-08 Andreas Jaeger <aj@suse.de>
33183 * manual/startup.texi (Environment Access): Describe return value
33184 for putenv and setenv.
33187 * manual/filesys.texi (Directory Entries): Add description for
33191 * manual/filesys.texi (Directory Entries): Clarify that it's file
33192 system not operating system in the description of DT_UNKNOWN.
33195 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33197 2012-04-08 Stephen Compall <s11@member.fsf.org>
33200 * manual/llio.texi (Opening and Closing Files): Add cross
33201 reference to explain mode argument.
33203 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33205 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33206 * sysdeps/x86_64/memset_chk.S: Likewise.
33208 2012-04-07 David S. Miller <davem@davemloft.net>
33210 * elf/elf.h (R_SPARC_WDISP10): Define.
33211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33214 R_SPARC_SIZE64 and R_SPARC_H34.
33216 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33219 conditions and remove no longer applicable assertion.
33221 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33223 * bits/byteswap.h: Include <features.h>.
33224 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33225 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33227 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33229 * bits/byteswap.h (__bswap_16): Removed.
33230 Include <bits/byteswap-16.h> to get __bswap_16.
33231 * sysdeps/i386/bits/byteswap.h: Likewise.
33232 * sysdeps/s390/bits/byteswap.h: Likewise.
33233 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33234 * bits/byteswap-16.h: New file.
33235 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33236 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33237 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33238 * string/Makefile (headers): Add bits/byteswap-16.h.
33240 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33243 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33245 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33246 * nss/tst-nss-static.c: New.
33248 2012-04-06 Robert Millan <rmh@gnu.org>
33251 * manual/llio.texi (File Position Primitive): lseek
33252 refers to WHENCE when it really means OFFSET.
33254 2012-04-06 Andreas Jaeger <aj@suse.de>
33256 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33257 strncmp declarations.
33259 * abilist/libc.abilist: Add __poll and __ppoll.
33261 2012-04-05 David S. Miller <davem@davemloft.net>
33263 * scripts/check-local-headers.sh: Accept a host triplet in the
33264 path matched by the exclude regexp.
33266 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33268 * sysdeps/powerpc/powerpc32/dl-machine.h
33269 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33270 * sysdeps/s390/s390-32/dl-machine.h
33271 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33272 * sysdeps/sparc/sparc32/dl-machine.h
33273 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33274 * sysdeps/sparc/sparc64/dl-machine.h
33275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33277 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33279 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33280 undefined symbol errors.
33282 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33285 2012-04-05 Michael Matz <matz@suse.de>
33288 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33290 2012-04-05 Andreas Jaeger <aj@suse.de>
33293 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33296 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33299 which ROUND is no valid rounding mode.
33301 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33303 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33305 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33307 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33309 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33310 an exception using FPU order intentionally.
33312 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33314 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33315 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33316 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33317 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33319 2012-04-05 Simon Josefsson <simon@josefsson.org>
33322 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33323 EINVAL when BUFLEN is too smal.
33325 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33328 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33329 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33331 2012-04-03 Andreas Jaeger <aj@suse.de>
33334 * manual/setjmp.texi (System V contexts): Fix sentence.
33337 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33338 New macro for this case.
33339 [!__GNUC__] (__bswap_64): New inline function for this case.
33340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33341 * bits/byteswap.h: Likewise.
33342 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33343 ull, guard with __GLIBC_HAVE_LONG_LONG.
33345 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33346 __GLIBC_HAVE_LONG_LONG.
33348 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33349 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33351 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33354 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33355 inptr and inend, rather than using last_ch.
33357 2012-04-02 David S. Miller <davem@davemloft.net>
33359 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33360 * stdio-common/printf-parse.h (read_int): Change return type to
33361 'int', return -1 on INT_MAX overflow.
33362 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33363 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33364 overflows INT_MAX. Check for overflow of in-format-string precision
33365 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33366 SIZE_MAX not INT_MAX for integer overflow test.
33367 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33368 skip the construct in the format string but do not record anything.
33369 * stdio-common/bug22.c: Adjust to test both width/prevision
33370 INT_MAX overflow as well as total length INT_MAX overflow. Check
33371 explicitly for proper errno values.
33373 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33375 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33377 * string/test-strcmp.c [! WIDE]: Likewise.
33378 * time/tst-mktime2.c: Likewise for INT_MAX.
33379 * string/test-string.h: #include <sys/param.h> for MIN.
33381 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33382 * sysdeps/i386/init-first.c (init): Likewise.
33383 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33384 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33385 * sysdeps/sh/init-first.c (init): Likewise.
33387 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33389 * po/ru.po: Update from translation team.
33390 * po/vi.po: Likewise.
33392 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33394 * resolv/nss_dns/dns-host.c: Merge copyright years.
33396 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33399 Optimize memcpy with prefetch if
33400 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33401 src, dst pointers have unequal 16 byte alignments.
33403 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33406 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33407 from a CNAME entry and return the minimum ttl for the query.
33408 (gaih_getanswer_slice): Likewise.
33410 2012-03-30 Jeff Law <law@redhat.com>
33412 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33414 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33415 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33417 * resolv/nss_dns/dns-host.c: Update copyright year.
33419 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33421 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33422 requests to save a system call. Fix check that all bytes are sent.
33424 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33425 comments for sendmmsg.
33427 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33430 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33431 with only 1 character between 0x0041 and 0x01b0.
33432 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33433 * wcsmbs/tst-mbsnrtowcs.c: New file.
33435 2012-03-29 David S. Miller <davem@davemloft.net>
33437 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33438 small copies by hand.
33440 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33443 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33444 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33447 2012-03-28 David S. Miller <davem@davemloft.net>
33449 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33450 that branches into memcpy.
33451 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33453 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33454 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33457 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33458 implementation too.
33459 * sysdeps/sparc/mempcpy.S: New file.
33461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33462 the IFUNC routine in the libc case.
33463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33465 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33466 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33467 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33468 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33469 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33470 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33471 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33472 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33474 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33475 loop to 256 bytes instead of 64 bytes and fix test signedness.
33477 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33478 * sysdeps/sparc/sparc32/Makefile: rather than here...
33479 * sysdeps/sparc/sparc64/Makefile: and here.
33481 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33483 * malloc/mallocbug.c: Avoid warnings about unused variables.
33485 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33488 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33489 in the right place. Discard and retry query if response is
33490 larger than input buffer size.
33492 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33497 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33498 x for large integer exponent.
33499 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33500 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33501 sign of result as needed afterwards.
33502 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33503 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33504 result for underflowing pow the same as for overflow.
33505 (__kernel_standard_l): Handle powl overflow and underflow here
33506 rather than calling __kernel_standard.
33507 * math/libm-test.inc (pow_test): Add more tests.
33522 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33523 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33524 (__kernel_standard_l): New function.
33525 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33527 * math/w_acosl.c (__acosl): Likewise.
33528 * math/w_asinl.c (__asinl): Likewise.
33529 * math/w_atan2l.c (__atan2l): Likewise.
33530 * math/w_atanhl.c (__atanhl): Likewise.
33531 * math/w_coshl.c (__coshl): Likewise.
33532 * math/w_exp10l.c (__exp10l): Likewise.
33533 * math/w_exp2l.c (__exp2l): Likewise.
33534 * math/w_fmodl.c (__fmodl): Likewise.
33535 * math/w_hypotl.c (__hypotl): Likewise.
33536 * math/w_j0l.c (__j0l, __y0l): Likewise.
33537 * math/w_j1l.c (__j1l, __y1l): Likewise.
33538 * math/w_jnl.c (__jnl, __ynl): Likewise.
33539 * math/w_lgammal.c (__lgammal): Likewise.
33540 * math/w_log10l.c (__log10l): Likewise.
33541 * math/w_log2l.c (__log2l): Likewise.
33542 * math/w_logl.c (__logl): Likewise.
33543 * math/w_powl.c (__powl): Likewise.
33544 * math/w_remainderl.c (__remainderl): Likewise.
33545 * math/w_scalbl.c (sysv_scalbl): Likewise.
33546 * math/w_sinhl.c (__sinhl): Likewise.
33547 * math/w_sqrtl.c (__sqrtl): Likewise.
33548 * math/w_tgammal.c (__tgammal): Likewise.
33549 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33550 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33551 * math/libm-test.inc (acos_test): Add more tests.
33552 (acosh_test): Likewise.
33553 (asin_test): Likewise.
33554 (atanh_test): Likewise.
33555 (exp_test): Likewise.
33556 (exp10_test): Likewise.
33557 (exp2_test): Likewise.
33558 (expm1_test): Likewise.
33559 (lgamma_test): Likewise.
33560 (log_test): Likewise.
33561 (log10_test): Likewise.
33562 (log1p_test): Likewise.
33563 (log2_test): Likewise.
33564 (pow_test): Do not allow some spurious overflow exceptions.
33565 (sqrt_test): Add more tests.
33566 (tgamma_test): Likewise.
33567 (y0_test): Likewise.
33568 (y1_test): Likewise.
33569 (yn_test): Likewise.
33571 2012-03-27 Anton Blanchard <anton@samba.org>
33573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33575 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33576 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33579 2012-03-27 David S. Miller <davem@davemloft.net>
33581 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33583 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33584 have-as-vis3 check.
33586 2012-03-27 Andreas Jaeger <aj@suse.de>
33588 * sysdeps/x86_64/elf/configure.in: Moved to ...
33589 * sysdeps/x86_64/configure.in: ... here.
33590 * sysdeps/x86_64/elf/start.S: Moved to ...
33591 * sysdeps/x86_64/start.S: ... here.
33592 * sysdeps/x86_64/elf/configure: Delete.
33594 * sysdeps/x86_64/configure.in: Merge contents from
33595 sysdeps/i386/configure.in (without i686 check).
33597 * sysdeps/i386/elf/Versions: Merge into ...
33598 * sysdeps/i386/Versions: ... this.
33599 * sysdeps/i386/elf/Versions: Delete file.
33600 * sysdeps/i386/elf/start.S: Moved to ...
33601 * sysdeps/i386/start.S: ...here.
33602 * sysdeps/i386/elf/configure.in: Merge into...
33603 * sysdeps/i386/configure.in: ...here.
33604 * sysdeps/i386/elf/configure.in: Delete file.
33605 * sysdeps/i386/elf/configure: Delete file.
33607 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33608 * debug/backtracesyms.c: ... here.
33609 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33610 * debug/backtracesymsfd.c: ... here.
33611 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33612 * sysdeps/generic/ifunc-sel.h: ... here.
33614 * sysdeps/unix/i386/start.c: Delete file.
33615 * sysdeps/unix/sparc/start.c: Delete file.
33616 * sysdeps/unix/start.c: Delete file.
33618 * sysdeps/sh/elf/configure.in: Moved to ...
33619 * sysdeps/sh/configure.in: ... here.
33620 * sysdeps/sh/elf/start.S: Moved to ...
33621 * sysdeps/sh/start.S: ... here.
33622 * sysdeps/sh/elf/configure: Delete file.
33624 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33625 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33626 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33627 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33628 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33629 * sysdeps/powerpc/powerpc64/start.S: here.
33630 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33631 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33632 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33633 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33634 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33636 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33637 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33638 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33639 * sysdeps/powerpc/powerpc32/start.S: ... here.
33640 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33641 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33642 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33644 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33645 * sysdeps/powerpc/ifunc-sel.h: ... here.
33646 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33647 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33649 * sysdeps/sparc/elf/configure.in: Moved to ...
33650 * sysdeps/sparc/configure.in: ... here.
33651 * sysdeps/sparc/elf/configure: Delete file.
33652 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33653 * sysdeps/sparc/sparc32/start.S: ... here.
33654 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33655 * sysdeps/sparc/sparc64/start.S: ... here.
33656 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33657 * sysdeps/sparc/sparc32/Makefile: ... this.
33658 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33659 * sysdeps/sparc/sparc64/Makefile: ... this.
33661 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33662 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33663 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33664 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33665 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33666 * sysdeps/s390/s390-32/setjmp.S: ... here.
33667 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33668 * sysdeps/s390/s390-32/configure.in: ... here.
33669 * sysdeps/s390/s390-32/elf/configure: Delete file.
33670 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33671 * sysdeps/s390/s390-32/start.S: ... here.
33673 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33674 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33675 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33676 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33677 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33678 * sysdeps/s390/s390-64/setjmp.S: ... here.
33679 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33680 * sysdeps/s390/s390-64/configure.in: ... here
33681 * sysdeps/s390/s390-64/elf/configure: Delete file.
33682 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33683 * sysdeps/s390/s390-64/start.S: ... here.
33684 * sysdeps/s390/s390-64/elf/configure: Delete.
33686 * configure.in: Remove support for elf directories in sysdeps.
33688 * configure: Regenerated.
33689 * sysdeps/i386/configure: Regenerated.
33690 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33691 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33692 * sysdeps/s390/s390-32/configure: Regenerated.
33693 * sysdeps/s390/s390-64/configure: Regenerated.
33694 * sysdeps/sh/configure: Regenerated.
33695 * sysdeps/sparc/configure: Regenerated.
33696 * sysdeps/x86_64/configure: Regenerated.
33698 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33703 denormal result into account.
33705 2012-03-25 Roland McGrath <roland@hack.frob.com>
33707 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33708 Reported by Allan McRae <allan@archlinux.org>.
33710 2012-03-23 Jeff Law <law@redhat.com>
33712 * nss/getnssent.c (__nss_getent): Fix typo.
33714 2012-03-23 David S. Miller <davem@davemloft.net>
33716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33718 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33720 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33721 to pad to uint64_t for each field.
33722 (dl_tls_index): Replace unsigned long with uint64_t.
33724 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33725 Paul Pluzhnikov <ppluzhnikov@google.com>
33728 * grp/Makefile (otherlibs): Don't set it.
33729 * inet/Makefile (otherlibs): Likewise.
33730 * login/Makefile (otherlibs): Likewise.
33731 * nscd/Makefile (otherlibs): Likewise.
33732 * posix/Makefile (otherlibs): Likewise.
33733 * pwd/Makefile (otherlibs): Likewise.
33734 * rt/Makefile (otherlibs): Likewise.
33735 * sunrpc/Makefile (otherlibs): Likewise.
33736 * nss/Makefile (otherlibs): Likewise.
33737 Add libnss_files to routines and static-only-routines.
33738 ($(objpfx)getent): Remove rule.
33739 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33740 static-only-routines.
33742 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33745 * math/s_cexp.c: Include <float.h>.
33746 (__cexp): Handle exp result overflowing not necessarily
33747 overflowing both real and imaginary parts of result.
33748 * math/s_cexpf.c: Likewise.
33749 * math/s_cexpl.c: Likewise.
33750 * math/libm-test.inc (cexp_test): Add more tests.
33751 * sysdeps/i386/fpu/libm-test-ulps: Update.
33752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33754 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33756 * include/link.h (ELFW): New macro.
33757 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33758 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33760 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33762 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33765 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33767 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33769 (struct La_x32_retval): Likewise.
33771 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33773 * sysdeps/x86_64/preconfigure.in: New file.
33774 * sysdeps/x86_64/preconfigure: New generated file.
33776 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33779 * math/e_exp2l.c: Include <float.h>.
33780 (__ieee754_exp2l): Handle overflow and underflow cases
33781 separately. Only pass fractional part of argument to
33783 * math/libm-test.inc (exp2_test): Add more tests.
33785 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33786 negating x to take absolute value.
33787 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33789 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33790 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33792 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33793 computing low part if x was negated.
33794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33796 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33798 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33799 la_x32_gnu_pltexit.
33800 (pltexit): Cast int_retval to ptrdiff_t.
33801 * elf/tst-auditmod3b.c: Likewise.
33802 * elf/tst-auditmod4b.c: Likewise.
33803 * elf/tst-auditmod5b.c: Likewise.
33804 * elf/tst-auditmod6b.c: Likewise.
33805 * elf/tst-auditmod6c.c: Likewise.
33806 * elf/tst-auditmod7b.c: Likewise.
33808 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33809 and x32_gnu_pltexit.
33811 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33812 __ELF_NATIVE_CLASS.
33813 (La_x32_regs): New macro.
33814 (La_x32_retval): Likewise.
33815 (la_x32_gnu_pltenter): New function prototype.
33816 (la_x32_gnu_pltexit): Likewise.
33818 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33820 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33825 * configure.in (libc_cv_cc_nofma): Check for option to disable
33826 generation of FMA instructions.
33827 * configure: Regenerate.
33828 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33829 * sysdeps/ieee754/dbl-64/Makefile: New file.
33830 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33831 Remove brandred-fma4.
33832 (CFLAGS-brandred-fma4.c): Remove.
33833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33836 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33839 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33841 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33842 LLONG_MAX != LONG_MAX.
33843 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33844 (_fitoa_word): Likewise.
33845 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33846 LLONG_MAX != LONG_MAX.
33847 * stdio-common/_itowa.h: Include <_itoa.h>.
33848 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33849 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33850 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33851 only if not defined.
33852 (_ITOA_WORD_TYPE): Likewise.
33853 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33854 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33856 2012-03-21 David S. Miller <davem@davemloft.net>
33858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33860 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33862 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33863 of x86_64 when setting libc_cv_slibdir, libdir and
33865 * sysdeps/unix/sysv/linux/configure: Regenerated.
33867 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33869 * manual/lang.texi (Old Varargs): Remove section.
33870 (How Variadic): Update menu.
33871 (va_start): Do not mention varargs.h.
33873 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33874 Joseph Myers <joseph@codesourcery.com>
33876 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33878 * configure: Regenerated.
33880 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33882 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33883 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33886 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33889 * Makefile (files-for-dist): Remove NOTES.
33890 (NOTES): Remove rule.
33891 * README: Don't refer to NOTES.
33892 * manual/creature.texi: Don't include macros.texi.
33893 * manual/intro.texi (creature.texi): Remove comment referring to
33896 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33897 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33898 * configure: Regenerated.
33899 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33900 LIBC_TRY_CC_OPTION.
33901 (libc_cv_as_i686): Likewise.
33902 (libc_cv_cc_avx): Likewise.
33903 (libc_cv_cc_sse2avx): Likewise.
33904 (libc_cv_cc_fma4): Likewise.
33905 (libc_cv_cc_novzeroupper): Likewise.
33906 * sysdeps/i386/configure: Regenerated.
33909 * sysdeps/i386/fpu/s_cexp.S: Remove.
33910 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33911 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33912 * math/libm-test.inc (cexp_test): Add more tests.
33913 * sysdeps/i386/fpu/libm-test-ulps: Update.
33914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33916 2012-03-21 Allan McRae <allan@archlinux.org>
33918 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33920 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33923 * math/w_exp2.c: Do not include <float.h>.
33924 (o_threshold, u_threshold): Remove.
33925 (__exp2): Calculate result before checking finiteness and calling
33927 * math/w_exp2f.c: Likewise.
33928 * math/w_exp2l.c: Likewise.
33929 * math/libm-test.inc (exp2_test): Require overflow exception for
33933 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33934 range of signed 64-bit integers before using fistpll. Remove
33935 checks for whether integers fit in mantissa bits.
33936 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33937 the range of signed 32-bit integers before using fistpl. Remove
33938 checks for whether integers fit in mantissa bits.
33939 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33940 (__ieee754_powl): Test for y outside the range of signed 64-bit
33941 integers before using fistpll. Reduce 64-bit values to 63-bit
33943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33944 divide-by-zero is raised for zero to large negative powers.
33945 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33946 (__ieee754_powl): Test for y outside the range of signed 64-bit
33947 integers before using fistpll. Reduce 64-bit values to 63-bit
33949 * math/libm-test.inc (pow_test): Add more tests.
33951 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33953 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33954 <stdio-common/_itoa.h>.
33955 * debug/segfault.c: Likewise.
33956 * elf/dl-cache.c: Likewise.
33957 * elf/dl-minimal.c: Likewise.
33958 * elf/dl-misc.c: Likewise.
33959 * elf/dl-sysdep.c: Likewise.
33960 * elf/dl-version.c: Likewise.
33961 * elf/rtld.c: Likewise.
33962 * hurd/hurdsock.c: Likewise.
33963 * hurd/lookup-retry.c: Likewise.
33964 * malloc/malloc.c: Likewise.
33965 * malloc/mtrace.c: Likewise.
33966 * nscd/nscd_getgr_r.c: Likewise.
33967 * nscd/nscd_getpw_r.c: Likewise.
33968 * nscd/nscd_getserv_r.c: Likewise.
33969 * posix/getopt_init.c: Likewise.
33970 * posix/wordexp.c: Likewise.
33971 * stdio-common/_itoa.c: Likewise.
33972 * stdio-common/printf_fphex.c: Likewise.
33973 * stdio-common/vfprintf.c: Likewise.
33974 * string/_strerror.c: Likewise.
33975 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33976 * sysdeps/i386/i686/hp-timing.h: Likewise.
33977 * sysdeps/mach/_strerror.c: Likewise.
33978 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33979 * sysdeps/mach/hurd/sethostid.c: Likewise.
33980 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33981 * sysdeps/mach/xpg-strerror.c: Likewise.
33982 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33983 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33984 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33985 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33986 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33987 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33988 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33989 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33990 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33991 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33992 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33993 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33994 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33995 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33996 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33997 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33998 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33999 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34000 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34001 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34002 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34004 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34006 * stdio-common/_itoa.h: Moved to ...
34007 * sysdeps/generic/_itoa.h: Here.
34009 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34011 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34012 instead of "_itoa.h" and "_itowa.h".
34013 * stdio-common/vfprintf.: Likewise.
34015 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34017 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34019 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34020 (__signbit): Likwise.
34021 (llrintf): Likwise.
34024 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34026 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34029 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34031 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34032 OVERFLOW_EXCEPTION_OK.
34033 * math/libm-test.inc ("Philosophy"): Update comment about
34035 (OVERFLOW_EXCEPTION): Define.
34036 (OVERFLOW_EXCEPTION_OK): Likewise.
34037 (INVALID_EXCEPTION_OK): Renumber.
34038 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34039 (IGNORE_ZERO_INF_SIGN): Likewise.
34040 (test_exceptions): Handle FE_OVERFLOW.
34041 (exp10_test): Expect overflow exceptions.
34042 (exp2_test): Likewise.
34043 (expm1_test): Likewise.
34044 (nextafter_test): Likewise.
34045 (pow_test): Likewise.
34046 (scalbn_test): Likewise.
34047 (scalbln_test): Likewise.
34049 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34051 * sysdeps/x86_64/bits/atomic.h
34052 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34054 (atomic_exchange_acq): Likewise.
34055 (__arch_exchange_and_add_body): Likewise.
34056 (__arch_add_body): Likewise.
34057 (atomic_add_negative): Likewise.
34058 (atomic_add_zero): Likewise.
34060 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34062 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34063 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34065 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34067 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34068 Check __x86_64__ instead of __WORDSIZE.
34070 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34072 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34074 2012-03-19 David S. Miller <davem@davemloft.net>
34076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34078 * sysdeps/sparc/fpu/fenv_private.h: New file.
34079 * sysdeps/sparc/fpu/math_private.h: Use it.
34080 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34082 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34083 (libc_feholdexcept_setroundl): Remove.
34084 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34086 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34087 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34089 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34091 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34092 int64_t instead of long int.
34093 (INSERT_WORDS64): Likwise.
34095 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34097 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34098 _Unwind_GetCFA return to _Unwind_Ptr first.
34100 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34103 * math/s_clog.c: Include <float.h>.
34104 (__clog): Scale large or subnormal inputs.
34105 * math/s_clogf.c: Likewise.
34106 * math/s_clogl.c: Likewise.
34107 * math/s_clog10.c: Include <float.h>.
34108 (M_LOG10_2): Define.
34109 (__clog10): Scale large or subnormal inputs.
34110 * math/s_clog10f.c: Likewise.
34111 * math/s_clog10l.c: Likewise.
34112 * math/libm-test.inc (clog_test): Add more tests.
34113 (clog10_test): Likewise.
34114 * sysdeps/i386/fpu/libm-test-ulps: Update.
34115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34118 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34120 * math/libm-test.inc (atan2_test): Add another test.
34122 * Makerules (common-objdir-compile): Remove.
34123 * sysdeps/unix/Makefile (config-generated): Do not add
34124 $(unix-generated) to variable.
34125 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34126 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34128 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34130 [generic bits/local_lim.h] (before-compile): Do not append to
34132 [generic bits/local_lim.h] (common-generated): Likewise.
34133 [generic sys/param.h] (before-compile): Do not append to variable.
34134 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34135 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34136 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34137 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34139 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34140 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34141 [generic sys/param.h] ($(addprefix
34142 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34143 [generic sys/param.h] (common-generated): Do not append to
34145 [generic sys/param.h] (sysdep_headers): Likewise.
34146 [generic bits/errno.h] (before-compile): Do not append to
34148 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34150 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34151 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34152 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34153 [generic bits/errno.h] (common-generated): Do not append to
34155 [generic bits/ioctls.h] (before-compile): Do not append to
34157 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34159 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34160 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34161 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34163 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34164 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34165 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34166 [generic bits/ioctls.h] (common-generated): Do not append to
34168 [generic sys/syscall.h] (syscall.h): Remove variable.
34169 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34171 [generic sys/syscall.h] (before-compile): Do not append to
34173 [generic sys/syscall.h] (common-generated): Likewise.
34174 * sysdeps/unix/errnos-tmpl.c: Remove file.
34175 * sysdeps/unix/errnos.awk: Likewise.
34176 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34177 * sysdeps/unix/ioctls.awk: Likewise.
34178 * sysdeps/unix/mk-local_lim.c: Likewise.
34179 * sysdeps/unix/snarf-ioctls: Likewise.
34181 2012-03-19 Richard Henderson <rth@twiddle.net>
34183 * sysdeps/i386/fpu/fenv_private.h: New file.
34184 * sysdeps/i386/fpu/math_private.h: Use it.
34185 (math_opt_barrier, math_force_eval): Remove.
34186 (libc_feholdexcept_setround_53bit): Remove.
34187 (libc_feupdateenv_53bit): Remove.
34188 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34189 (math_opt_barrier, math_force_eval): Remove.
34190 (libc_feholdexcept): Remove.
34191 (libc_feholdexcept_setround): Remove.
34192 (libc_fetestexcept, libc_fesetenv): Remove.
34193 (libc_feupdateenv_test): Remove.
34194 (libc_feupdateenv, libc_feholdsetround): Remove.
34195 (libc_feresetround): Remove.
34197 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34198 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34200 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34201 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34202 (libc_feupdateenv_testl): New.
34203 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34204 (libc_feupdateenv_testf): New.
34205 (libc_feupdateenv): Use libc_feupdateenv_test.
34206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34209 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34210 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34211 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34212 (libc_feresetround_noex): New.
34213 (libc_feresetround_noexf): New.
34214 (libc_feresetround_noexl): New.
34215 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34216 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34217 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34218 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34223 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34225 SET_RESTORE_ROUND_NOEX.
34226 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34227 SET_RESTORE_ROUND_NOEXF.
34228 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34229 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34230 (libc_feholdsetroundf): New.
34231 (libc_feresetround, libc_feresetroundf): New.
34233 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34234 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34235 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34237 * sysdeps/generic/math_private.h: Include <fenv.h>.
34238 (default_libc_feholdexcept): New.
34239 (default_libc_feholdexcept_setround): New.
34240 (default_libc_fesetenv, default_libc_feupdateenv): New.
34241 (libc_feholdexcept): Only define if undefined.
34242 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34243 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34244 (libc_feholdexcept_setroundl): Likewise.
34245 (libc_feholdexcept_setround_53bit): Likewise.
34246 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34247 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34248 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34249 (libc_feupdateenv_53bit): Likewise.
34250 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34251 (libc_feholdexcept): Convert from macro to inline function.
34252 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34253 (libc_fesetenv, libc_feupdateenv): Likewise.
34255 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34256 not previously defined.
34257 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34258 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34259 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34260 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34261 * sysdeps/ieee754/flt-32/math_private.h: New file.
34262 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34263 math_private.h below SET_FLOAT_WORD.
34264 (__isnan, __isinf_ns, __finite): Remove.
34265 (__isnanf, __isinf_nsf, __finitef): Remove.
34267 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34271 2012-03-17 David S. Miller <davem@davemloft.net>
34274 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34277 2012-03-16 David S. Miller <davem@davemloft.net>
34279 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34285 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34286 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34287 sysdep_routines when subdir is sysvipc.
34288 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34289 __getshmlba helper.
34291 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34293 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34295 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34298 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34300 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34301 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34302 (__lround): Renamed to ...
34303 (__llround): This. Replace long int with long long int.
34304 Define lround functions as aliases of llround functions.
34305 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34307 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34309 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34310 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34311 adresses to uintptr_t. Replace "long int" and "unsigned long
34312 int" with "greg_t" on va_arg.
34314 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34316 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34317 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34319 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34320 Move e_machine check before EI_CLASS check. Handle x32
34321 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34322 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34323 SKIP_EM_IA_64 and include
34324 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34326 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34327 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34328 (add_system_dir): New macro.
34330 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34331 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34333 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34344 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34346 * math/w_j0f.c (j0f): Likewise.
34348 * math/w_j0l.c (__j0l): Likewise.
34350 * math/w_j1.c (j1): Likewise.
34352 * math/w_j1f.c (j1f): Likewise.
34354 * math/w_j1l.c (__j1l): Likewise.
34356 * math/w_jn.c (jn): Likewise.
34358 * math/w_jnf.c (jnf): Likewise.
34360 * math/w_jnl.c (__jnl): Likewise.
34362 * math/libm-test.inc (j0_test): Add more tests.
34363 (j1_test): Likewise.
34364 (jn_test): Likewise. Add trailing semicolon to existing test.
34365 (y0_test): Likewise.
34366 (y1_test): Likewise.
34367 * sysdeps/i386/fpu/libm-test-ulps: Update.
34368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34372 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34373 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34374 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34375 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34376 (__tanl): Set errno for infinite argument.
34377 * sysdeps/i386/fpu/mptan.c: Remove.
34378 * sysdeps/i386/fpu/s_tan.S: Likewise.
34379 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34380 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34381 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34382 * math/libm-test.inc (tan_test): Add more tests and enable more
34383 tests for double and long double.
34384 * sysdeps/i386/fpu/libm-test-ulps: Update.
34385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34387 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34389 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34390 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34392 2012-03-16 Roland McGrath <roland@hack.frob.com>
34394 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34395 * configure.in: Use it for both main tree and add-ons.
34396 * configure: Regenerated.
34398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34400 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34402 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34404 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34408 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34409 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34410 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34414 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34416 != 0 for prec == 2.
34417 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34418 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34419 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34420 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34421 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34422 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34423 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34424 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34425 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34426 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34427 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34428 * math/libm-test.inc (cos_test): Add more tests and enable more
34429 tests for long double.
34430 (sin_test): Likewise.
34431 (sincos_test): Likewise.
34432 * sysdeps/i386/fpu/libm-test-ulps: Update.
34433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34435 2012-03-16 David S. Miller <davem@davemloft.net>
34437 * sysdeps/sparc/fpu/math_private.h: New file.
34439 2012-03-15 David S. Miller <davem@davemloft.net>
34441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34455 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34456 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34458 * sysdeps/sparc/sparc-ifunc.h: New file.
34459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34504 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34506 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34510 2012-03-15 Andreas Jaeger <aj@suse.de>
34513 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34514 ieee754/flt-32 implementation for sin, cos and sincos.
34515 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34516 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34517 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34518 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34519 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34520 ieee754/flt-32 implementation for tan.
34522 * math/libm-test.inc (cos_test): Enable some large input tests for
34524 (sin_test): Likewise.
34525 (sincos_test): Likewise.
34526 (tan_test): Add tests for large input.
34528 * sysdeps/i386/fpu/libm-test-ulps: Update.
34530 2012-03-15 Andreas Jaeger <aj@suse.de>
34533 * math/libm-test.inc (cos_test): Add more test cases.
34534 (sin_test): Likewise.
34535 (sincos_test): Likewise.
34537 2012-03-15 Andreas Jaeger <aj@suse.de>
34540 * math/libm-test.inc (cos_test): Add a test case for large input
34542 (sin_test): Likewise.
34543 (sincos_test): Likewise.
34545 2012-03-15 Andreas Jaeger <aj@suse.de>
34546 Joseph Myers <joseph@codesourcery.com>
34549 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34550 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34551 * sysdeps/i386/fpu/branred.c: Likewise.
34552 * sysdeps/i386/fpu/dosincos.c: Likewise.
34553 * sysdeps/i386/fpu/mpa.c: Likewise.
34554 * sysdeps/i386/fpu/s_cos.S: Likewise.
34555 * sysdeps/i386/fpu/s_sin.S: Likewise.
34556 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34557 * sysdeps/i386/fpu/sincos32.c: Likewise.
34559 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34561 (libc_feupdateenv_53bit): Define.
34562 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34564 (libc_feupdateenv_53bit): Define.
34566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34567 53 bit (without extend i386 double precision).
34569 * math/libm-test.inc (sincos_test): Add tests for large input.
34573 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34575 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34579 2012-03-15 David S. Miller <davem@davemloft.net>
34581 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34582 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34583 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34584 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34609 fmin/fmax sysdep routines.
34610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34612 2012-03-14 David S. Miller <davem@davemloft.net>
34614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34686 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34691 * sysdeps/sparc/configure.in: New file.
34692 * sysdeps/sparc/configure: Generate.
34693 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34694 * configure: Regenerate.
34695 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34696 * config.make.in (have-as-vis3): New.
34697 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34698 available use -Av9d instead of -Av9a.
34699 * sysdeps/sparc/sparc64/Makefile: Likewise.
34700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34715 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34716 fzeros/fnegs to load 0x80000000 into a float register instead of
34718 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34720 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34724 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34725 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34726 ($(inst_includedir)/bits/syscall.h): Remove rule.
34727 ($(objpfx)bits/syscall.d): Include instead of
34728 $(objpfx)syscall-list.d.
34729 (generated): Change syscall-list.h and syscall-list.d to
34730 bits/syscall.h and bits/syscall.d.
34732 2012-03-14 Roland McGrath <roland@hack.frob.com>
34735 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34737 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34740 * math/s_csqrt.c: Include <float.h>.
34741 (__csqrt): Scale large or subnormal inputs.
34742 * math/s_csqrtf.c: Likewise.
34743 * math/s_csqrtl.c: Likewise.
34744 * math/libm-test.inc (csqrt_test): Add more tests.
34745 * sysdeps/i386/fpu/libm-test-ulps: Update.
34746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34749 * math/libm-test.inc (hypot_test): Add more tests.
34751 2012-03-13 David S. Miller <davem@davemloft.net>
34754 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34755 double-precision for the calculation instead of scaling.
34757 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34759 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34760 manipulate bits before adding and subtracting TWO52[sx].
34761 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34766 2012-03-13 David S. Miller <davem@davemloft.net>
34768 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34769 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34771 rtld-global-offsets.h
34772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34774 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34777 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34779 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34780 'err' in the ifdef scope in which it is actually used.
34782 * nss/nss_db/db-init.c: Include string.h
34784 2012-03-12 David S. Miller <davem@davemloft.net>
34786 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34787 masking out of the most significant byte of random value used.
34788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34789 Fix coding style in previous change.
34791 * sysdeps/unix/sysv/linux/kernel-features.h
34792 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34793 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34795 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34798 2012-03-11 David S. Miller <davem@davemloft.net>
34800 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34801 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34803 for 'resultvar' otherwise things get truncated on 64-bit.
34805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34806 Fix masking out of the most significant byte of random value used.
34808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34810 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34814 2012-03-09 David S. Miller <davem@davemloft.net>
34816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34817 variables with appropriate CPP guards.
34818 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34819 from the frame pointer, not the stack pointer. Correct layout
34820 comments. Fix test on resulting framesize and the management of
34821 the outregs buffer for pltexit. Preserve floating point return
34822 values across _dl_call_pltexit call.
34823 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34824 framesize and the management of the outregs buffer for pltexit.
34825 Preserve floating point return values across _dl_call_pltexit
34827 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34828 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34829 (la_sparc64_gnu_pltexit): New functions.
34830 (print_exit): Fix format string for return register value.
34832 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34834 * sunrpc/Makefile (others): Add rpcgen.
34835 ($(objpfx)rpcgen): Remove special build rule and dependency on
34837 * sunrpc/rpcgen.c: New file.
34839 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34842 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34843 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34844 * sysdeps/i386/crti.S: Likewise.
34845 * sysdeps/i386/crtn.S: Likewise.
34846 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34847 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34848 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34849 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34850 * sysdeps/sh/crti.S: Likewise.
34851 * sysdeps/sh/crtn.S: Likewise.
34852 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34855 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34857 * locale/programs/locfile-kw.gperf: Likewise.
34858 * locale/programs/charmap-kw.h: Regenerated.
34859 * locale/programs/locfile-kw.h: Likewise.
34862 * intl/plural.y: Replace FSF snail mail address with URL.
34863 * intl/plural.c: Regenerated.
34865 2012-03-09 Richard Henderson <rth@twiddle.net>
34867 * include/math_private.h: Remove file.
34868 * math/math_private.h: Move file ...
34869 * sysdeps/generic/math_private.h: ... here.
34871 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34872 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34873 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34875 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34876 and <math_private.h>.
34877 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34878 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34879 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34880 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34881 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34882 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34885 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34888 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34889 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34891 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34892 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34893 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34894 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34895 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34896 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34899 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34903 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34913 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34931 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34932 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34933 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34934 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34936 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34938 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34941 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34942 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34943 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34944 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34946 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34947 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34948 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34956 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34964 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34969 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34970 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34985 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34986 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34987 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34988 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34990 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34991 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34993 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34994 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34995 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34996 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34998 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34999 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35000 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35003 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35004 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35005 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35006 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35007 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35008 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35009 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35010 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35011 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35012 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35013 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35014 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35015 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35016 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35017 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35018 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35020 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35021 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35025 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35026 * sysdeps/ieee754/k_standard.c: Likewise.
35027 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35028 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35030 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35031 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35032 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35033 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35034 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35035 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35037 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35038 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35039 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35040 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35041 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35042 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35043 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35044 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35045 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35046 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35047 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35048 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35093 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35146 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35149 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35154 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35159 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35187 * sysdeps/ieee754/s_lib_version.c: Likewise.
35188 * sysdeps/ieee754/s_matherr.c: Likewise.
35189 * sysdeps/ieee754/s_signgam.c: Likewise.
35190 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35191 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35193 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35195 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35196 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35197 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35198 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35199 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35200 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35201 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35202 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35204 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35205 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35206 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35208 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35212 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35214 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35215 * sunrpc/rpc_main.c: Likewise.
35216 * sunrpc/rpc_svcout.c: Likewise.
35218 2012-03-09 David S. Miller <davem@davemloft.net>
35220 * include/math_private.h: New file.
35222 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35224 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35225 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35226 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35227 from <bits/socket_type.h>.
35228 (enum __socket_type): Don't define here.
35229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35231 bits/socket_type.h.
35234 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35235 checking __USE_GNU.
35237 * Makerules ($(inst_includedir)/%.h): New rule.
35238 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35239 (install-others): Remove variable setting.
35240 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35242 2012-03-08 Richard Henderson <rth@twiddle.net>
35244 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35245 from macro to inline function; merge with the
35246 !__LIBC_INTERNAL_MATH_INLINES version.
35247 (__ieee754_sqrtf): Likewise.
35249 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35250 to inline function.
35251 (__rintf, __floor, __floorf): Likewise.
35253 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35254 macro to inline function.
35255 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35258 not <math/math_private.h>.
35260 2012-03-08 David S. Miller <davem@davemloft.net>
35262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35264 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35266 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35268 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35270 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35271 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35273 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35275 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35276 be defined individually, they must be defined as a block. Define
35277 S for printing a string instead of hidint the different by using a
35278 macro for adding the 'l'.
35279 * stdio-common/tst-fphex-wide.c: Adjust.
35281 2012-03-07 Marek Polacek <polacek@redhat.com>
35283 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35285 2012-03-08 Marek Polacek <polacek@redhat.com>
35288 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35289 * stdio-common/tst-fphex.c: Define a few macros to make the
35290 test reusable. Use them.
35291 * stdio-common/tst-fphex-wide.c: New file.
35293 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35296 * manual/macros.texi (gnusystems): New macro.
35297 (nongnusystems): Likewise.
35298 (gnulinuxhurdsystems): Likewise.
35299 (gnuhurdsystems): Likewise..
35300 (gnulinuxsystems): Likewise.
35301 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35302 variants of the GNU system, not "GNU system".
35303 * manual/conf.texi: Likewise.
35304 * manual/errno.texi: Likewise. Update example of errno macro
35306 * manual/filesys.texi: Likewise.
35307 (getumask): Document as specific to GNU/Hurd.
35308 * manual/install.texi: Likewise. Reword some references to
35310 * manual/intro.texi: Likewise.
35311 * manual/io.texi: Likewise.
35312 (File Name Portability): Detail which constraints are inapplicable
35313 to all GNU systems and which are only inapplicable to GNU/Hurd.
35314 * manual/job.texi: Likewise.
35315 * manual/llio.texi: Likewise.
35316 (O_NOCTTY): Document as present on GNU/Linux.
35317 * manual/maint.texi: Likewise.
35318 * manual/memory.texi: Likewise.
35319 * manual/pattern.texi: Likewise.
35320 * manual/pipe.texi: Likewise.
35321 * manual/process.texi: Likewise.
35322 * manual/resource.texi: Likewise.
35323 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35325 * manual/setjmp.texi: Likewise.
35326 * manual/signal.texi: Likewise.
35327 * manual/startup.texi: Likewise.
35328 * manual/stdio.texi: Likewise.
35329 * manual/terminal.texi: Likewise.
35330 (ONLCR): Document as POSIX.
35331 (OXTABS): Document availability on GNU/Linux as XTABS.
35332 (ONOEOT): Document availability separately from other bits.
35333 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35334 * manual/time.texi: Likewise.
35335 * manual/users.texi: Likewise.
35336 * INSTALL: Regenerated.
35337 * sysdeps/gnu/errlist.c: Regenerated.
35339 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35340 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35341 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35343 * configure: Regenerated.
35345 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35347 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35348 default includes instead of AC_HEADER_CHECK.
35349 * sysdeps/i386/configure: Regenerated.
35352 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35353 * math/s_cacoshf.c (__cacoshf): Likewise.
35354 * math/s_cacoshl.c (__cacoshl): Likewise.
35355 * math/s_casinh.c (__casinh): Set signs of result from argument.
35356 * math/s_casinhf.c (__casinhf): Likewise.
35357 * math/s_casinhl.c (__casinhl): Likewise.
35358 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35359 (casinh_test): Add more tests.
35360 * sysdeps/i386/fpu/libm-test-ulps: Update.
35361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35363 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35365 * po/zh_TW.po: Update from translation team.
35367 * login/Makefile (distribute): Remove variable.
35368 * catgets/Makefile: Likewise.
35369 * mach/Makefile: Likewise.
35370 * malloc/Makefile: Likewise.
35371 * misc/Makefile: Likewise.
35372 * iconv/Makefile: Likewise.
35373 * nscd/Makefile: Likewise.
35374 * hurd/Makefile: Likewise.
35375 * manual/Makefile: Likewise.
35376 * locale/Makefile: Likewise.
35377 * intl/Makefile: Likewise.
35378 * conform/Makefile: Likewise.
35379 * nss/Makefile: Likewise.
35380 * time/Makefile: Likewise.
35381 * soft-fp/Makefile: Likewise.
35382 * dirent/Makefile: Likewise.
35383 * gmon/Makefile: Likewise.
35384 * po/Makefile: Likewise.
35385 * rt/Makefile: Likewise.
35386 * socket/Makefile: Likewise.
35387 * math/Makefile: Likewise.
35388 * signal/Makefile: Likewise.
35389 * debug/Makefile: Likewise.
35390 * elf/Makefile: Likewise.
35391 * timezone/Makefile: Likewise.
35392 * stdlib/Makefile: Likewise.
35393 * iconvdata/Makefile: Likewise.
35394 * sunrpc/Makefile: Likewise.
35395 * io/Makefile: Likewise.
35396 * argp/Makefile: Likewise.
35397 * inet/Makefile: Likewise.
35398 * hesiod/Makefile: Likewise.
35399 * grp/Makefile: Likewise.
35400 * csu/Makefile: Likewise.
35401 * wctype/Makefile: Likewise.
35402 * crypt/Makefile: Likewise.
35403 * libio/Makefile: Likewise.
35404 * string/Makefile: Likewise.
35405 * nis/Makefile: Likewise.
35406 * resolv/Makefile: Likewise.
35407 * stdio-common/Makefile: Likewise.
35408 * wcsmbs/Makefile: Likewise.
35409 * dlfcn/Makefile: Likewise.
35410 * posix/Makefile: Likewise.
35413 * timezone/Makefile: Don't install timezone files, just the programs
35416 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35418 * nss/databases.def: Add missing gshadow entry.
35420 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35422 2012-03-06 Marek Polacek <polacek@redhat.com>
35425 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35426 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35427 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35428 * stdio-common/tst-long-dbl-fphex.c: New file.
35430 2012-03-06 David S. Miller <davem@davemloft.net>
35432 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35433 (set_obp_int): New function.
35434 (get_obp_int): New function.
35435 (__get_clockfreq_via_dev_openprom): Likewise.
35436 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35437 Avoid unused variable warnings on 'val' and use builtin_expect.
35438 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35440 (INLINE_CLONE_SYSCALL): Likewise.
35442 2012-03-05 David S. Miller <davem@davemloft.net>
35444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35446 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35450 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35451 only for |x| >= 40.
35452 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35454 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35457 Replace gettimeofday with __vdso_gettimeofday.
35459 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35460 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35461 __vdso_clock_gettime and __vdso_getcpu.
35463 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35464 time with __vdso_time.
35466 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35468 * manual/lang.texi (size_t): Note types to which size_t may be
35469 equivalent with the GNU C Library, but do not describe when
35470 differences between them are significant.
35472 2012-03-05 Andreas Jaeger <aj@suse.de>
35474 * sysdeps/i386/fpu/libm-test-ulps: Update.
35476 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35479 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35480 (__ieee754_pow): Save and restore rounding mode and use
35481 round-to-nearest for main computations.
35482 * math/libm-test.inc (pow_test_tonearest): New function.
35483 (pow_test_towardzero): Likewise.
35484 (pow_test_downward): Likewise.
35485 (pow_test_upward): Likewise.
35486 (main): Call the new functions.
35487 * sysdeps/i386/fpu/libm-test-ulps: Update.
35488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35491 * math/libm-test.inc (cosh_test_tonearest): New function.
35492 (cosh_test_towardzero): Likewise.
35493 (cosh_test_downward): Likewise.
35494 (cosh_test_upward): Likewise.
35495 (sinh_test_tonearest): Likewise.
35496 (sinh_test_towardzero): Likewise.
35497 (sinh_test_downward): Likewise.
35498 (sinh_test_upward): Likewise.
35499 (main): Call the new functions.
35500 * sysdeps/i386/fpu/libm-test-ulps: Update.
35501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35503 2012-03-05 Tom de Vries <tom@codesourcery.com>
35505 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35506 default stack guard is set in last bytes.
35507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35509 2012-03-05 Kees Cook <keescook@chromium.org>
35511 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35514 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35515 possibly allocate from heap instead of stack.
35516 * stdio-common/bug-vfprintf-nargs.c: New file.
35517 * stdio-common/Makefile (tests): Add nargs overflow test.
35519 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35523 2012-03-03 Marek Polacek <polacek@redhat.com>
35525 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35526 * math/math_private.h: Likewise.
35527 * stdlib/tst-strtod.c: Likewise.
35528 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35529 * sysdeps/x86_64/bits/atomic.h: Likewise.
35531 2012-03-02 David S. Miller <davem@davemloft.net>
35533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35537 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35538 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35539 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35540 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35542 2012-03-02 Roland McGrath <roland@hack.frob.com>
35545 * manual/examples/README: New file, says the example source files
35546 can be used under GPL>=2.
35547 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35548 line containing just "*/".
35549 * manual/examples/add.c: Add copyright header (GPL>=2).
35550 * manual/examples/argp-ex1.c: Likewise.
35551 * manual/examples/argp-ex2.c: Likewise.
35552 * manual/examples/argp-ex3.c: Likewise.
35553 * manual/examples/argp-ex4.c: Likewise.
35554 * manual/examples/atexit.c: Likewise.
35555 * manual/examples/db.c: Likewise.
35556 * manual/examples/dir.c: Likewise.
35557 * manual/examples/dir2.c: Likewise.
35558 * manual/examples/execinfo.c: Likewise.
35559 * manual/examples/filecli.c: Likewise.
35560 * manual/examples/filesrv.c: Likewise.
35561 * manual/examples/fmtmsgexpl.c: Likewise.
35562 * manual/examples/genpass.c: Likewise.
35563 * manual/examples/inetcli.c: Likewise.
35564 * manual/examples/inetsrv.c: Likewise.
35565 * manual/examples/isockad.c: Likewise.
35566 * manual/examples/longopt.c: Likewise.
35567 * manual/examples/memopen.c: Likewise.
35568 * manual/examples/memstrm.c: Likewise.
35569 * manual/examples/mkfsock.c: Likewise.
35570 * manual/examples/mkisock.c: Likewise.
35571 * manual/examples/mygetpass.c: Likewise.
35572 * manual/examples/pipe.c: Likewise.
35573 * manual/examples/popen.c: Likewise.
35574 * manual/examples/rprintf.c: Likewise.
35575 * manual/examples/search.c: Likewise.
35576 * manual/examples/select.c: Likewise.
35577 * manual/examples/setjmp.c: Likewise.
35578 * manual/examples/sigh1.c: Likewise.
35579 * manual/examples/sigusr.c: Likewise.
35580 * manual/examples/stpcpy.c: Likewise.
35581 * manual/examples/strdupa.c: Likewise.
35582 * manual/examples/strftim.c: Likewise.
35583 * manual/examples/strncat.c: Likewise.
35584 * manual/examples/subopt.c: Likewise.
35585 * manual/examples/swapcontext.c: Likewise.
35586 * manual/examples/termios.c: Likewise.
35587 * manual/examples/testopt.c: Likewise.
35588 * manual/examples/testpass.c: Likewise.
35589 * manual/examples/timeval_subtract.c: Likewise.
35592 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35594 * manual/timeval_subtract.c.texi: ... here, new file.
35596 2012-03-02 David S. Miller <davem@davemloft.net>
35598 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35600 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35603 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35604 (__sin): Save and restore rounding mode and use round-to-nearest
35605 for all computations.
35606 (__cos): Save and restore rounding mode and use round-to-nearest
35607 for all computations.
35608 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35610 (tan): Save and restore rounding mode and use round-to-nearest for
35612 * math/libm-test.inc (cos_test_tonearest): New function.
35613 (cos_test_towardzero): Likewise.
35614 (cos_test_downward): Likewise.
35615 (cos_test_upward): Likewise.
35616 (sin_test_tonearest): Likewise.
35617 (sin_test_towardzero): Likewise.
35618 (sin_test_downward): Likewise.
35619 (sin_test_upward): Likewise.
35620 (tan_test_tonearest): Likewise.
35621 (tan_test_towardzero): Likewise.
35622 (tan_test_downward): Likewise.
35623 (tan_test_upward): Likewise.
35624 (main): Call the new functions.
35625 * sysdeps/i386/fpu/libm-test-ulps: Update.
35626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35629 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35630 small n, then large n, before computing and testing k+n.
35631 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35636 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35637 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35638 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35639 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35642 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35643 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35644 * math/libm-test.inc (scalbn_test): Add more tests.
35645 (scalbln_test): Likewise.
35647 * manual/filesys.texi (mode_t): Describe constraints on size and
35648 signedness, not exact equivalence to a particular type.
35650 (ino64_t): Likewise.
35652 (nlink_t): Likewise.
35653 (blkcnt_t): Likewise.
35654 (blkcnt64_t): Likewise.
35655 * manual/llio.texi (off_t): Likewise.
35658 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35659 (__ieee754_exp): Save and restore rounding mode and use
35660 round-to-nearest for all computations.
35661 * math/libm-test.inc (exp_test_tonearest): New function.
35662 (exp_test_towardzero): Likewise.
35663 (exp_test_downward): Likewise.
35664 (exp_test_upward): Likewise.
35665 (main): Call the new functions.
35666 * sysdeps/i386/fpu/libm-test-ulps: Update.
35667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35669 2012-03-01 Chris Demetriou <cgd@google.com>
35671 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35672 have predictable order.
35674 2012-03-01 David S. Miller <davem@davemloft.net>
35676 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35678 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35679 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35680 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35681 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35683 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35684 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35685 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35687 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35688 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35689 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35690 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35691 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35696 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35697 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35699 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35700 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35701 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35702 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35703 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35706 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35707 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35708 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35709 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35710 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35712 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35713 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35715 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35716 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35717 * sysdeps/sparc/elf/configure: Regenerated.
35719 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35721 * configure.in (AS, LD): Require binutils 2.20 or later.
35722 * configure: Regenerated.
35723 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35724 as required minimum version.
35725 * INSTALL: Regenerated.
35729 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35730 before squaring exponent.
35731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35732 bottom long double and 27 bits of top long double before squaring
35734 * math/libm-test.inc (erfc_test): Add more tests.
35735 * sysdeps/i386/fpu/libm-test-ulps: Update.
35736 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35739 2012-03-01 Kai Tietz <ktietz@redhat.com>
35741 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35742 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35743 containing bit-fields.
35744 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35745 * soft-fp/single.h (_FP_UNION_S): Likewise.
35746 * soft-fp/double.h (_FP_UNION_D): Likewise.
35748 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35751 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35752 not include ../strcmp.S.
35753 [USE_AS_STRNCASECMP_L]: Likewise.
35754 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35755 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35756 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35757 (__strncasecmp_l_ia32): Define as alias to
35758 __strncasecmp_l_nonascii.
35761 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35762 * sysdeps/i386/fpu/libm-test-ulps: Update.
35763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35765 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35768 2012-02-29 Jeff Law <law@redhat.com>
35770 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35771 out of bounds read.
35773 2012-02-29 Marek Polacek <polacek@redhat.com>
35776 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35777 * elf/Makefile: Add rules to run tst-unused-dep.out.
35779 2012-02-28 David S. Miller <davem@davemloft.net>
35781 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35782 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35785 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35786 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35788 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35790 * math/libm-test.inc (llround_test): Move one test from
35791 lround_test. Use TEST_f_L in moved test.
35792 (lround_test): Move misplaced test to llround_test. Add testcase
35795 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35797 * sysdeps/x86_64/fpu/e_expf.S: New file.
35798 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35800 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35803 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35804 of remain_len that may cause incomplete multi-byte character and
35806 * posix/bug-regex33.c: New file.
35807 * posix/Makefile (tests): Add bug-regex33.
35809 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35811 * manual/macros.texi: New file.
35812 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35813 * manual/libc.texinfo: Include macros.texi.
35814 * manual/creatute.texi: Likewise.
35815 * manual/install.texi: Likewise.
35816 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35817 @glibcadj{} in references to the GNU C Library.
35818 * manual/charset.texi: Likewise.
35819 * manual/conf.texi: Likewise.
35820 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35821 when not using those macros.
35822 * manual/creature.texi: Likewise.
35823 * manual/crypt.texi: Likewise.
35824 * manual/errno.texi: Likewise.
35825 * manual/filesys.texi: Likewise.
35826 * manual/header.texi: Likewise.
35827 * manual/install.texi: Likewise.
35828 * manual/intro.texi: Likewise.
35829 * manual/io.texi: Likewise.
35830 * manual/job.texi: Likewise.
35831 * manual/lang.texi: Likewise.
35832 * manual/libc.texiinfo: Likewise.
35833 * manual/llio.texi: Likewise.
35834 * manual/locale.texi: Likewise.
35835 * manual/maint.texi: Likewise.
35836 * manual/math.texi: Likewise.
35837 * manual/memory.texi: Likewise.
35838 * manual/message.texi: Likewise.
35839 * manual/nss.texi: Likewise.
35840 * manual/pattern.texi: Likewise.
35841 * manual/process.texi: Likewise.
35842 * manual/resource.texi: Likewise.
35843 * manual/search.texi: Likewise.
35844 * manual/setjmp.texi: Likewise.
35845 * manual/signal.texi: Likewise.
35846 * manual/socket.texi: Likewise.
35847 * manual/startup.texi: Likewise.
35848 * manual/stdio.texi: Likewise.
35849 * manual/string.texi: Likewise.
35850 * manual/sysinfo.texi: Likewise.
35851 * manual/syslog.texi: Likewise.
35852 * manual/terminal.texi: Likewise.
35853 * manual/time.texi: Likewise.
35854 * manual/users.texi: Likewise.
35855 * INSTALL: Regenerated.
35856 * NOTES: Regenerated.
35857 * sysdeps/gnu/errlist.c: Regenerated.
35859 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35861 * include/dirent.h: Include <dirstream.h> before
35864 2012-02-28 David S. Miller <davem@davemloft.net>
35866 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35867 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35868 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35869 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35871 2012-02-27 David S. Miller <davem@davemloft.net>
35873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35875 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35876 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35879 frame pointer instead of stack pointer relative arg slot.
35880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35881 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35882 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35884 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35887 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35889 2012-02-27 David S. Miller <davem@davemloft.net>
35891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35895 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35896 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35897 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35898 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35900 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35902 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35903 later. Allow versions 5-9.
35904 * configure: Regenerated.
35905 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35906 required minimum version and 4.6 as recommended version. Do not
35907 mention bugs in GCC 2.7 and 2.8.
35908 * INSTALL: Regenerated.
35910 2012-02-27 David S. Miller <davem@davemloft.net>
35912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35916 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35917 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35918 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35919 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35922 manipulate bits before adding and subtracting TWO112[sx].
35923 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35925 2012-02-27 Roland McGrath <roland@hack.frob.com>
35928 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35929 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35930 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35931 being in POSIX, because they are in 1003.1-2008.
35933 * rt/tst-aio.c: Include <fcntl.h>.
35934 * rt/tst-aio7.c: Likewise.
35935 * rt/tst-aio64.c: Likewise.
35937 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35939 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35941 * manual/install.texi (--with-headers): Describe headers as
35942 interface headers, not private headers.
35943 (Specific advice for GNU/Linux systems): Describe use of headers
35944 from "make headers_install", not private headers from older
35946 * INSTALL: Regenerated.
35947 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35949 * sysdeps/unix/sysv/linux/configure: Regenerated.
35951 * manual/llio.texi (fclean): Remove documentation.
35953 * manual/Makefile (libc-texi-generated): New variable. Include
35955 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35956 $(libc-texi-generated), not duplicated list of files.
35957 (version.texi, stamp-version): New rules.
35958 (realclean): Remove $(libc-texi-generated), not individual files
35959 from that list. Do not remove dir-add.texinfo.
35960 * manual/libc.texinfo: Comment out uses of edition numbers and
35961 references to printed manual. Remove last-updated dates.
35962 (EDITION): Comment out.
35964 (VERSION, UPDATED): Remove.
35965 (version.texi): Include.
35967 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35969 * sysdeps/posix/spawni.c: Include <signal.h>.
35970 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35971 * sysdeps/pthread/aio_fsync.c: Likewise.
35973 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35975 * conform/Makefile (tests): Run only when not cross-compiling and
35976 when fast-check is not defined.
35978 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35979 * conform/data/limits.h-data: Fixes for POSIX2008.
35980 * conform/run-conformtest.sh: Run all tests.
35981 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35983 * include/bits/dlfcn.h: Likewise.
35984 * include/langinfo.h: Likewise.
35985 * include/monetary.h: Likewise.
35986 * include/sys/poll.h: Likewise.
35988 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35990 * posix/spawn.h: Define __need_sigset_t.
35991 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35992 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35993 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35994 to get sigevent_t only.
35995 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35996 only for __USE_GNU.
35997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35998 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35999 process_vm_writev only for __USE_GNU.
36000 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36002 * conform/Makefile: For now ignore errors from run-conformtest.
36003 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36004 POSIX to avoid namespace pollution. Don't prepend headers.
36005 * conform/data/aio.h-data: Fixes for POSIX testing.
36006 * conform/data/fcntl.h-data: Likewise.
36007 * conform/data/glob.h-data: Likewise.
36008 * conform/data/grp.h-data: Likewise.
36009 * conform/data/pthread.h-data: Likewise.
36010 * conform/data/pwd.h-data: Likewise.
36011 * conform/data/signal.h-data: Likewise.
36012 * conform/data/spawn.h-data: Likewise.
36013 * conform/data/stdio.h-data: Likewise.
36014 * conform/data/stdlib.h-data: Likewise.
36015 * conform/data/stropts.h-data: Likewise.
36016 * conform/data/sys/mman.h-data: Likewise.
36017 * conform/data/sys/stat.h-data: Likewise.
36018 * conform/data/sys/types.h-data: Likewise.
36019 * conform/data/sys/wait.h-data: Likewise.
36020 * conform/data/time.h-data: Likewise.
36021 * conform/data/unistd.h-data: Likewise.
36022 * conform/data/utime.h-data: Likewise.
36024 * io/sys/stat.h: fchmod was always in POSIX.
36025 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36026 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36027 * rt/aio.h: Define __need_timespec before including <time.h>.
36028 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36029 struct. Add forward declaration of pthread_attr_t and use it in
36031 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36033 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36034 always remove CLK_TCK definition.
36036 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36038 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36040 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36042 * conform/run-conformtest.sh: New file.
36043 * conform/Makefile: Run run-conformtest for tests.
36044 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36047 * conform/data/uchar.h-data: New file.
36048 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36049 * conform/data/arpa/inet.h-data: Likewise.
36050 * conform/data/assert.h-data: Likewise.
36051 * conform/data/complex.h-data: Likewise.
36052 * conform/data/cpio.h-data: Likewise.
36053 * conform/data/ctype.h-data: Likewise.
36054 * conform/data/dirent.h-data: Likewise.
36055 * conform/data/dlfcn.h-data: Likewise.
36056 * conform/data/errno.h-data: Likewise.
36057 * conform/data/fcntl.h-data: Likewise.
36058 * conform/data/float.h-data: Likewise.
36059 * conform/data/fmtmsg.h-data: Likewise.
36060 * conform/data/fnmatch.h-data: Likewise.
36061 * conform/data/ftw.h-data: Likewise.
36062 * conform/data/glob.h-data: Likewise.
36063 * conform/data/grp.h-data: Likewise.
36064 * conform/data/iconv.h-data: Likewise.
36065 * conform/data/inttypes.h-data: Likewise.
36066 * conform/data/langinfo.h-data: Likewise.
36067 * conform/data/libgen.h-data: Likewise.
36068 * conform/data/limits.h-data: Likewise.
36069 * conform/data/locale.h-data: Likewise.
36070 * conform/data/math.h-data: Likewise.
36071 * conform/data/monetary.h-data: Likewise.
36072 * conform/data/mqueue.h-data: Likewise.
36073 * conform/data/ndbm.h-data: Likewise.
36074 * conform/data/net/if.h-data: Likewise.
36075 * conform/data/netdb.h-data: Likewise.
36076 * conform/data/netinet/in.h-data: Likewise.
36077 * conform/data/nl_types.h-data: Likewise.
36078 * conform/data/poll.h-data: Likewise.
36079 * conform/data/pthread.h-data: Likewise.
36080 * conform/data/pwd.h-data: Likewise.
36081 * conform/data/regex.h-data: Likewise.
36082 * conform/data/sched.h-data: Likewise.
36083 * conform/data/search.h-data: Likewise.
36084 * conform/data/semaphore.h-data: Likewise.
36085 * conform/data/setjmp.h-data: Likewise.
36086 * conform/data/signal.h-data: Likewise.
36087 * conform/data/spawn.h-data: Likewise.
36088 * conform/data/stdarg.h-data: Likewise.
36089 * conform/data/stdio.h-data: Likewise.
36090 * conform/data/stdlib.h-data: Likewise.
36091 * conform/data/string.h-data: Likewise.
36092 * conform/data/strings.h-data: Likewise.
36093 * conform/data/stropts.h-data: Likewise.
36094 * conform/data/sys/ipc.h-data: Likewise.
36095 * conform/data/sys/mman.h-data: Likewise.
36096 * conform/data/sys/msg.h-data: Likewise.
36097 * conform/data/sys/resource.h-data: Likewise.
36098 * conform/data/sys/select.h-data: Likewise.
36099 * conform/data/sys/sem.h-data: Likewise.
36100 * conform/data/sys/shm.h-data: Likewise.
36101 * conform/data/sys/socket.h-data: Likewise.
36102 * conform/data/sys/stat.h-data: Likewise.
36103 * conform/data/sys/statvfs.h-data: Likewise.
36104 * conform/data/sys/time.h-data: Likewise.
36105 * conform/data/sys/timeb.h-data: Likewise.
36106 * conform/data/sys/times.h-data: Likewise.
36107 * conform/data/sys/types.h-data: Likewise.
36108 * conform/data/sys/uio.h-data: Likewise.
36109 * conform/data/sys/un.h-data: Likewise.
36110 * conform/data/sys/utsname.h-data: Likewise.
36111 * conform/data/sys/wait.h-data: Likewise.
36112 * conform/data/syslog.h-data: Likewise.
36113 * conform/data/tar.h-data: Likewise.
36114 * conform/data/termios.h-data: Likewise.
36115 * conform/data/utime.h-data: Likewise.
36116 * conform/data/utmpx.h-data: Likewise.
36117 * conform/data/varargs.h-data: Likewise.
36118 * conform/data/wchar.h-data: Likewise.
36119 * conform/data/wctype.h-data: Likewise.
36120 * conform/data/wordexp.h-data: Likewise.
36122 * include/stropts.h: New file.
36123 * include/uchar.h: New file.
36124 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36125 * include/assert.h: Likewise.
36126 * include/ctype.h: Likewise.
36127 * include/dirent.h: Likewise.
36128 * include/dlfcn.h: Likewise.
36129 * include/fcntl.h: Likewise.
36130 * include/fnmatch.h: Likewise.
36131 * include/glob.h: Likewise.
36132 * include/grp.h: Likewise.
36133 * include/libio.h: Likewise.
36134 * include/locale.h: Likewise.
36135 * include/math.h: Likewise.
36136 * include/net/if.h: Likewise.
36137 * include/netdb.h: Likewise.
36138 * include/netinet/in.h: Likewise.
36139 * include/pthread.h: Likewise.
36140 * include/pwd.h: Likewise.
36141 * include/regex.h: Likewise.
36142 * include/sched.h: Likewise.
36143 * include/search.h: Likewise.
36144 * include/setjmp.h: Likewise.
36145 * include/signal.h: Likewise.
36146 * include/stdio.h: Likewise.
36147 * include/stdlib.h: Likewise.
36148 * include/string.h: Likewise.
36149 * include/sys/cdefs.h: Likewise.
36150 * include/sys/mman.h: Likewise.
36151 * include/sys/msg.h: Likewise.
36152 * include/sys/resource.h: Likewise.
36153 * include/sys/select.h: Likewise.
36154 * include/sys/socket.h: Likewise.
36155 * include/sys/stat.h: Likewise.
36156 * include/sys/statvfs.h: Likewise.
36157 * include/sys/time.h: Likewise.
36158 * include/sys/times.h: Likewise.
36159 * include/sys/uio.h: Likewise.
36160 * include/sys/utsname.h: Likewise.
36161 * include/sys/wait.h: Likewise.
36162 * include/termios.h: Likewise.
36163 * include/time.h: Likewise.
36164 * include/ulimit.h: Likewise.
36165 * include/unistd.h: Likewise.
36166 * include/utime.h: Likewise.
36167 * include/wchar.h: Likewise.
36168 * include/wctype.h: Likewise.
36169 * include/wordexp.h: Likewise.
36171 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36173 * time/time.h: TIME_UTC must be a macro.
36174 Make timespec_get available for ISO C11 only as well.
36176 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36178 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36179 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36181 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36183 * configure.in: Use -o not -a in test for unsupported multi-arch.
36185 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36187 * manual/texinfo.tex: Update to version 2012-01-19.16.
36189 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36191 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36193 2012-02-24 Roland McGrath <roland@hack.frob.com>
36196 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36197 * manual/fdl-1.3.texi: New file.
36198 * manual/fdl-1.1.texi: File removed.
36201 * manual/libc.texinfo (FDL_VERSION): New @set.
36202 Use it for mention of FDL in cover text.
36203 (Documentation License): Use it in @include file name.
36205 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36206 Roland McGrath <roland@hack.frob.com>
36209 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36210 (not LONG_LONG_MAX and LONG_LONG_MIN.
36211 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36212 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36214 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36216 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36220 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36221 manipulate bits before adding and subtracting TWO23[sx].
36222 * math/libm-test.inc (nearbyint_test): Add more tests.
36224 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36227 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36228 bits before adding and subtracting TWO23[sx].
36229 * math/libm-test.inc (rint_test): Add more tests.
36230 (rint_test_tonearest): Likewise.
36231 (rint_test_towardzero): Likewise.
36232 (rint_test_downward): Likewise.
36233 (rint_test_upward: Likewise.
36235 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36238 * include/stdc-predef.h: New file. Extracted from features.h.
36239 * include/features.h: Include stdc-predef.h.
36240 * Makefile (headers): Add stdc-predef.h.
36241 * CONFORMANCE (Compiler limitations): Update.
36243 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36245 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36247 2012-02-21 David S. Miller <davem@davemloft.net>
36249 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36250 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36252 2012-02-20 David S. Miller <davem@davemloft.net>
36254 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36255 using a normal save/restore sequence, rather than allocating a
36256 dummy stack frame just to store a frame pointer and restore.
36257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36259 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36261 * manual/install.texi: Fix stray word in line-wrapped comment.
36263 2012-02-20 David S. Miller <davem@davemloft.net>
36265 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36266 both binutils and gcc support GOTDATA.
36268 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36269 "rd %pc" in the PIC register setup sequences.
36271 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36272 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36273 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36274 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36275 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36277 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36278 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36280 (SYSCALL_ERROR_HANDLER): Likewise.
36281 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36282 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36284 (SYSCALL_ERROR_HANDLER): Likewise.
36286 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36287 (HAVE_GCC_GOTDATA): New.
36288 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36289 relocation support in both binutils and gcc.
36290 * sysdeps/sparc/elf/configure: Regenerate.
36292 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36293 * sysdeps/sparc/sparc32/elf/configure: Delete.
36294 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36295 * sysdeps/sparc/sparc64/elf/configure: Delete.
36296 * sysdeps/sparc/elf/configure.in: New file.
36297 * sysdeps/sparc/elf/configure: Generate.
36299 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36300 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36301 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36302 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36303 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36305 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36307 * manual/install.texi: Do not mention specific glibc version
36309 * manual/libc.texinfo (VERSION, UPDATED): Update.
36310 (@copying): Use @copyright{} and range of years.
36312 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36315 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36316 [crti.S not in sysdirs] (generated): Do not append.
36317 [crti.S not in sysdirs] (omit-deps): Likewise.
36318 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36319 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36320 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36321 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36322 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36324 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36325 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36326 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36327 * csu/defs.awk: Remove file.
36328 * sysdeps/generic/initfini.c: Likewise.
36329 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36331 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36334 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36336 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36337 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36338 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36339 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36340 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36341 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36343 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36344 (__EPOLL_PACKED): Define to empty if not defined by
36346 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36350 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36352 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36353 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36354 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36355 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36357 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36361 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36363 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36366 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36367 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36370 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36373 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36375 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36377 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36378 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36380 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36382 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36385 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36387 * math/w_acos.c: Use non-signaling floating-point comparisons.
36388 * math/w_acosf.c: Likewise.
36389 * math/w_acosh.c: Likewise.
36390 * math/w_acoshf.c: Likewise.
36391 * math/w_acoshl.c: Likewise.
36392 * math/w_acosl.c: Likewise.
36393 * math/w_asin.c: Likewise.
36394 * math/w_asinf.c: Likewise.
36395 * math/w_asinl.c: Likewise.
36396 * math/w_atanh.c: Likewise.
36397 * math/w_atanhf.c: Likewise.
36398 * math/w_atanhl.c: Likewise.
36399 * math/w_exp2.c: Likewise.
36400 * math/w_exp2f.c: Likewise.
36401 * math/w_exp2l.c: Likewise.
36402 * math/w_j0.c: Likewise.
36403 * math/w_j0f.c: Likewise.
36404 * math/w_j0l.c: Likewise.
36405 * math/w_j1.c: Likewise.
36406 * math/w_j1f.c: Likewise.
36407 * math/w_j1l.c: Likewise.
36408 * math/w_jn.c: Likewise.
36409 * math/w_jnf.c: Likewise.
36410 * math/w_log.c: Likewise.
36411 * math/w_log10.c: Likewise.
36412 * math/w_log10f.c: Likewise.
36413 * math/w_log10l.c: Likewise.
36414 * math/w_log2.c: Likewise.
36415 * math/w_log2f.c: Likewise.
36416 * math/w_log2l.c: Likewise.
36417 * math/w_logf.c: Likewise.
36418 * math/w_logl.c: Likewise.
36419 * math/w_sqrt.c: Likewise.
36420 * math/w_sqrtf.c: Likewise.
36421 * math/w_sqrtl.c: Likewise.
36422 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36423 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36425 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36426 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36428 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36431 * manual/string.texi (strnlen): Use correct parameter name in
36432 equivalent expression.
36434 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36437 * manual/users.texi (seteuid): Consistently use neweuid for
36440 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36443 * manual/nss.texi (Services in the NSS configuration): Correct
36444 list of services in example configuration file.
36446 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36449 * manual/arith.texi: Remove statements about negative zero
36450 behaving identically to zero.
36452 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36455 * manual/install.texi: Do not document upgrading from libc5.
36457 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36460 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36462 2012-02-18 David S. Miller <davem@davemloft.net>
36464 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36465 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36466 %o7 across the call.
36467 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36470 SETUP_PIC_REG_LEAF.
36471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36472 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36473 * sysdeps/sparc/crtn.S: Likewise.
36475 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36477 * aout/Makefile: Remove.
36479 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36482 * manual/examples/argp-ex1.c (main): Format definition in GNU
36484 * manual/examples/argp-ex2.c (main): Likewise.
36485 * manual/examples/argp-ex3.c (main): Likewise.
36486 * manual/examples/argp-ex4.c (main): Likewise.
36487 * manual/examples/longopt.c (main): Use new-style prototype
36489 * manual/examples/strncat.c (main): Specify return type and use
36490 (void) for arguments.
36491 * manual/examples/subopt.c (main): Use char **argv argument.
36493 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36496 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36499 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36502 * manual/string.texi (strchr): Change when strchrnul is
36505 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36508 * manual/locale.texi (setlocale): Document LOCPATH.
36510 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36513 * manual/process.texi (execle): Move @dots{} before last argument.
36515 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36518 * manual/charset.texi (Generic Charset Conversion): Fix typo
36519 (LC_TYPE -> LC_CTYPE).
36521 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36524 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36525 (scalbnf): Likewise.
36526 (scalbnl): Likewise.
36527 (scalbln): Likewise.
36528 (scalblnf): Likewise.
36529 (scalblnl): Likewise.
36530 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36531 (vwarnx): Likewise.
36534 * manual/filesys.texi (telldir): Use braces around return type.
36535 * manual/llio.texi (mmap): Add space after comma.
36536 (mmap64): Likewise.
36537 * manual/math.texi (jn): Use @var{} on parameter names.
36543 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36545 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36547 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36548 (sched_get_priority_max): Likewise.
36549 * manual/signal.texi (sigvec): Add space after comma.
36550 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36552 (if_indextoname): Likewise.
36553 (if_freenameindex): Likewise.
36554 (sendto): Use ',' instead of '.' in prototype.
36555 * manual/startup.texi (syscall): Use @dots{} instead of literal
36557 * manual/stdio.texi (__fpending): Separate initial words of
36558 paragraph from @deftypefun line.
36559 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36561 (vsyslog): Use @var{} on parameter names.
36562 * manual/terminal.texi (stty): Use @var{} on parameter names.
36563 * manual/users.texi (getutmp): Use @var{} on parameter names.
36564 (getutmpx): Likewise.
36566 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36569 * manual/stdio.texi (fopen): Fix typos in description of
36572 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36575 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36576 get clock_id definition.
36578 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36581 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36582 (madvise): Cast every argument to void on its own.
36584 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36587 * manual/startup.texi (Exit Status): Fix typo.
36589 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36592 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36593 * manual/examples/argp-ex2.c: Likewise.
36594 * manual/examples/argp-ex3.c: Likewise.
36596 2012-02-16 Richard Henderson <rth@redhat.com>
36598 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36599 * sysdeps/s390/s390-32/initfini.c: Remove.
36600 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36601 * sysdeps/s390/s390-64/initfini.c: Remove.
36603 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36605 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36606 compiler output for sysdeps/generic/initfini.c.
36607 * sysdeps/sh/elf/initfini.c: Remove file.
36609 2012-02-16 David S. Miller <davem@davemloft.net>
36612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36614 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36615 * sysdeps/sparc/crti.S: New file.
36616 * sysdeps/sparc/crtn.S: New file.
36617 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36618 * sysdeps/sparc/sparc64/Makefile: Likewise.
36620 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36623 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36625 2012-02-15 Roland McGrath <roland@hack.frob.com>
36628 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36630 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36631 (write, read, close): Likewise.
36632 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36634 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36636 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36637 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36638 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36639 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36641 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36645 2012-02-14 Marek Polacek <polacek@redhat.com>
36647 * sysdeps/x86_64/crti.S: New file.
36648 * sysdeps/x86_64/crtn.S: New file.
36649 * sysdeps/x86_64/elf/initfini.c: Remove file.
36651 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36653 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36654 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36655 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36656 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36658 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36662 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36664 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36665 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36666 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36667 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36669 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36673 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36675 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36676 __feraiseexcept instead of feraiseexcept.
36678 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36679 nanosleep invocations.
36680 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36681 strings, and add error checking for a nanosleep invocations.
36683 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36685 Replace FSF snail mail address with URLs, as per GNU coding standards.
36686 Most of the snail mail addresses were wrong anyway, and omitting
36687 them makes the source code easier to maintain. Almost all of the
36688 changes are to license notices and to locale LC_IDENTIFICATION
36689 addresses, except for this one:
36690 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36691 not its snail mail address.
36693 2012-02-09 Richard Henderson <rth@twiddle.net>
36695 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36696 of kernel-features.h.
36698 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36700 2012-02-08 Marek Polacek <polacek@redhat.com>
36702 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36703 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36704 * sysdeps/gnu/_G_config.h: Likewise.
36705 * sysdeps/generic/_G_config.h: Likewise.
36707 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36709 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36713 * sysdeps/powerpc/powerpc32/crti.S: New file.
36714 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36715 * sysdeps/powerpc/powerpc64/crti.S: New file.
36716 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36718 * Makeconfig (have-initfini): Don't set.
36719 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36720 * configure.in (nopic_initfini): Don't substitute.
36721 * config.h.in (HAVE_INITFINI): Don't #undef.
36722 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36723 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36725 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36727 Support crti.S and crtn.S provided directly by architectures.
36728 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36729 [crti.S in sysdirs] (omit-deps): Likewise.
36730 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36731 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36732 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36733 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36734 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36735 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36736 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36737 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36738 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36739 compiler output for sysdeps/generic/initfini.c.
36740 * sysdeps/i386/elf/Makefile: Remove file.
36741 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36743 2012-02-07 Marek Polacek <polacek@redhat.com>
36745 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36746 * sysdeps/gnu/_G_config.h: Likewise.
36747 * sysdeps/mach/hurd/_G_config.h: Likewise.
36749 2012-02-07 Marek Polacek <polacek@redhat.com>
36751 * math/Makefile (tests): Add tst-CMPLX2.
36752 * math/tst-CMPLX2.c: New file.
36754 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36756 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36758 * math/libm-test.inc (jn_test): Add missing L suffix.
36760 2012-02-06 Marek Polacek <polacek@redhat.com>
36762 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36763 * sysdeps/i386/fpu/e_powf.S: Likewise.
36764 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36765 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36766 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36767 * sysdeps/i386/fpu/e_pow.S: Likewise.
36768 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36769 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36770 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36771 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36772 * sysdeps/i386/fpu/e_log2.S: Likewise.
36773 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36774 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36775 * sysdeps/i386/fpu/e_powl.S: Likewise.
36776 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36777 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36778 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36779 * sysdeps/i386/fpu/e_logl.S: Likewise.
36780 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36781 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36782 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36783 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36784 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36785 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36786 * sysdeps/i386/fpu/e_log.S: Likewise.
36787 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36788 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36789 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36790 * sysdeps/i386/fpu/e_logf.S: Likewise.
36791 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36792 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36793 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36794 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36795 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36796 * sysdeps/i386/fpu/e_log10.S: Likewise.
36797 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36798 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36799 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36800 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36801 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36802 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36803 * sysdeps/i386/asm-syntax.h: Likewise.
36804 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36805 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36806 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36807 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36808 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36809 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36810 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36811 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36812 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36813 * sysdeps/powerpc/sysdep.h: Likewise.
36814 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36815 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36817 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36820 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36822 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36824 * sysdeps/i386/sysdep.h: Include <features.h>.
36825 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36828 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36830 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36832 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36835 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36837 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36838 (SETUP_PIC_REG): Use GET_PC_THUNK.
36839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36842 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36844 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36845 for non-PIC compilation.
36846 (SETUP_PIC_REG): Add .p2align directive.
36847 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36848 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36849 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36850 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36851 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36852 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36853 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36855 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36856 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36857 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36858 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36859 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36860 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36861 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36862 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36863 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36864 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36865 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36866 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36868 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36869 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36870 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36873 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36874 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36875 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36876 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36877 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36878 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36879 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36880 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36881 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36882 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36883 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36884 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36885 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36886 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36887 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36889 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36891 * math/tst-CMPLX.c: Include <stdio.h>.
36893 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36895 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36897 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36898 * sysdeps/sparc/bits/mathdef.h: Likewise.
36900 2012-01-31 Marek Polacek <polacek@redhat.com>
36902 * libio/libio.h: Don't define _PARAMS.
36903 * locale/programs/config.h: Don't define PARAMS.
36904 * stdlib/strtol_l.c: Likewise.
36905 (__strtol_l): Remove PARAMS from the prototype.
36907 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36909 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36910 names. Just use the correct names. Remove unnecessary wrapper
36912 * malloc/arena.c: Likewise.
36913 * malloc/hooks.c: Likewise.
36915 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36916 ARENA_TEST says not to. Simplify test for creation of a new arena.
36917 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36919 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36921 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36923 (update_get_addr): New function.
36924 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36925 GET_ADDR_MODULE parameter.
36927 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36929 * crypt/cert.c: Remove __STDC__ conditionals.
36930 * crypt/crypt-entry.c: Likewise.
36931 * crypt/crypt_util.c: Likewise.
36932 * libio/filedoalloc.c: Likewise.
36933 * libio/fileops.c: Likewise.
36934 * libio/genops.c: Likewise.
36935 * libio/iofclose.c: Likewise.
36936 * libio/iofdopen.c: Likewise.
36937 * libio/iofopen.c: Likewise.
36938 * libio/iofopen64.c: Likewise.
36939 * libio/iogetdelim.c: Likewise.
36940 * libio/iopopen.c: Likewise.
36941 * libio/obprintf.c: Likewise.
36942 * libio/oldfileops.c: Likewise.
36943 * libio/oldiofclose.c: Likewise.
36944 * libio/oldiofdopen.c: Likewise.
36945 * libio/oldiofopen.c: Likewise.
36946 * libio/oldiopopen.c: Likewise.
36947 * libio/wfiledoalloc.c: Likewise.
36948 * libio/wgenops.c: Likewise.
36949 * locale/programs/xmalloc.c: Likewise.
36950 * misc/syslog.c: Likewise.
36951 * stdio-common/xbug.c: Likewise.
36952 * string/memchr.c: Likewise.
36953 * string/memcmp.c: Likewise.
36954 * string/memrchr.c: Likewise.
36955 * string/rawmemchr.c: Likewise.
36956 * sysdeps/posix/getcwd.c: Likewise.
36957 * time/strftime_l.c: Likewise.
36959 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36961 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36962 * config.make.in (config-cflags-sse2avx): Define.
36963 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36966 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36968 * scripts/config.guess: Update from upstream config git repository.
36969 * scripts/config.sub: Likewise.
36971 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36973 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36975 (R_TILEPRO_*, R_TILEGX_*): New macros.
36977 * scripts/firstversions.awk: Fix bug in version range handling.
36979 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36981 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36983 * include/sys/epoll.h: New file.
36984 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36987 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36989 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36990 Avoid unnecessary __WORDSIZE == 64 test.
36991 (fmaxf): Use VEX format if possible.
36996 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36997 * math/math_private.h: Remove libc_fegetround* and
36999 * sysdeps/i386/configure.in: Check for -msse2avx.
37000 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37001 also if SSE2AVX is defined.
37002 Remove libc_fegetround* and libc_fesetround*.
37003 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37004 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37008 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37011 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37013 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37015 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37017 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37021 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37024 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37026 * Makeconfig (libm): Define.
37027 * elf/Makefile: Add rules to build and run tst-relsort1.
37028 * elf/tst-relsort1.c: New file.
37029 * elf/tst-relsort1mod1.c: New file.
37030 * elf/tst-relsort1mod2.c: New file.
37032 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37034 * math/s_ldexp.c: Remove __STDC__ conditionals.
37035 * math/s_ldexpf.c: Likewise.
37036 * math/s_ldexpl.c: Likewise.
37037 * math/s_nextafter.c: Likewise.
37038 * math/s_nexttowardf.c: Likewise.
37039 * math/s_significand.c: Likewise.
37040 * math/s_significandf.c: Likewise.
37041 * math/s_significandl.c: Likewise.
37042 * math/w_jnl.c: Likewise.
37043 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37044 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37045 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37046 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37047 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37050 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37051 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37062 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37063 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37065 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37067 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37068 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37069 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37070 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37071 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37072 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37073 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37074 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37075 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37077 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37078 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37079 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37080 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37081 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37082 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37083 * sysdeps/ieee754/k_standard.c: Likewise.
37084 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37085 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37086 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37088 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37089 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37090 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37091 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37092 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37093 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37094 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37095 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37097 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37100 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37123 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37136 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37138 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37139 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37145 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37146 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37147 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37149 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37150 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37151 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37152 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37153 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37154 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37156 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37159 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37162 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37163 * sysdeps/ieee754/s_matherr.c: Likewise.
37164 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37165 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37169 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37171 * crypt/md5.h: Remove __STDC__ conditionals.
37172 * libio/libioP.h: Likewise.
37173 * locale/programs/config.h: Likewise.
37174 * sysdeps/generic/sysdep.h: Likewise.
37175 * sysdeps/i386/asm-syntax.h: Likewise.
37176 * sysdeps/s390/asm-syntax.h: Likewise.
37177 * sysdeps/unix/sysdep.h: Likewise.
37178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37181 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37183 * libio/libio.h: Remove __STDC__ conditionals.
37184 * malloc/obstack.h: Likewise.
37185 * math/complex.h: Likewise.
37186 * math/math.h: Likewise.
37187 * sysdeps/generic/_G_config.h: Likewise.
37188 * sysdeps/gnu/_G_config.h: Likewise.
37189 * sysdeps/mach/hurd/_G_config.h: Likewise.
37190 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37191 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37192 * sysdeps/sparc/bits/mathdef.h: Likewise.
37194 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37197 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37198 Clean up HAS_* macros.
37199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37200 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37202 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37204 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37205 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37206 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37207 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37208 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37210 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37212 * elf/tst-unique3.cc (gets): Remove declaration.
37213 * elf/tst-unique3lib.cc (gets): Likewise.
37214 * elf/tst-unique3lib2.cc (gets): Likewise.
37215 * elf/tst-unique4.cc (gets): Likewise.
37217 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37219 * include/stdio.h: Add C++ protection. Add gets declarations and
37221 * debug/tst-chk1.c: Don't declare gets here.
37222 * stdio-common/tst-gets.c: Likewise.
37224 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37226 * posix/glob: Remove directory.
37228 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37230 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37232 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37234 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37235 of the non-standard EPFNOSUPPORT.
37237 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37239 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37240 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37241 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37243 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37245 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37247 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37249 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37251 * nscd/grpcache.c (cache_addgr): Likewise.
37252 * nscd/hstcache.c (cache_addhst): Likewise.
37253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37254 * nscd/pwdcache.c (cache_addpw): Likewise.
37255 * nscd/servicescache.c (cache_addserv): Likewise.
37257 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37259 * malloc/malloc.c: Various cleanups.
37260 * malloc/hooks.c: Likewise.
37262 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37263 * stdlib/bug-fmtmsg1.c: New file.
37265 * stdlib/fmtmsg.c (init): Add missing unlock.
37266 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37268 2012-01-12 Marek Polacek <polacek@redhat.com>
37270 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37273 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37275 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37276 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37277 macro to ensure uniqueness of label name.
37278 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37279 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37281 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37283 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37285 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37286 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37287 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37290 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37292 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37294 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37295 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37296 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37298 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37300 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37301 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37305 * math/bits/math-finite.h: Add ldexp support.
37307 2012-01-10 Marek Polacek <polacek@redhat.com>
37309 * locale/programs/localedef.h (show_archive_content): Add noreturn
37312 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37314 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37316 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37318 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37320 * io/Makefile (headers): Add bits/poll2.h.
37322 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37325 typo #include statement.
37327 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37329 * include/sys/cdefs.h: Define __attribute_alloc_size.
37330 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37331 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37332 * elf/pldd.c: Likewise.
37333 * iconv/iconv_charmap.c: Likewise.
37334 * iconv/iconvconfig.c: Likewise.
37335 * iconv/strtab.c: Likewise.
37336 * locale/programs/locale.c: Likewise.
37337 * locale/programs/localedef.h: Likewise.
37338 * locale/programs/simple-hash.c: Likewise.
37339 * nscd/nscd.h: Likewise.
37340 * nss/makedb.c: Likewise.
37341 * sysdeps/generic/ldconfig.h: Likewise.
37342 * locale/programs/localedef.c: Remove xmalloc prototype.
37343 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37345 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37347 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37350 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37352 * math/Makefile (tests): Add tst-CMPLX.
37353 * math/tst-CMPLX.c: New file.
37355 * math/complex.h (CMPLXL): Fix typo.
37357 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37358 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37360 * debug/tst-chk1.c: Add poll and ppoll tests.
37361 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37362 * include/sys/poll.h: Add hidden proto for ppoll.
37363 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37364 * sysdeps/mach/hurd/ppoll.c: Likewise.
37365 * io/ppoll.c: Likewise.
37366 * debug/poll_chk.c: New file.
37367 * debug/ppoll_chk.c: New file.
37368 * include/bits/poll2.h: New file.
37369 * io/bits/poll2.h: New file.
37372 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37374 * configure.in: static is always set to yes. Remove.
37375 * config.make.in: Don't set build-static.
37376 * Makeconfig: Remove use of build-static.
37377 * dlfcn/Makefile: Likewise.
37378 * elf/Makefile: Likewise.
37379 * math/Makefile: Likewise.
37380 * misc/Makefile: Likewise.
37381 * nptl/Makefile: Likewise.
37382 * sysdeps/mach/hurd/Makefile: Likewise.
37384 * configure.in: PWD_P is not used anymore.
37385 * config.make.in: Remove PWD_P entry.
37387 * configure.in: Remove last remnants of RANLIB.
37388 No need to check for signed size_t anymore.
37389 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37391 Remove __builtin_expect test because we require at least gcc 3.4.
37392 * aclocal.m4: Likewise.
37394 * wcsmbs/mbrtoc16.c: Implement using towc function.
37395 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37396 * wcsmbs/wcsmbsload.c: Likewise.
37397 * iconv/gconv_simple.c: Likewise.
37398 * iconv/gconv_int.h: Likewise.
37399 * iconv/gconv_builtin.h: Likewise.
37400 * iconv/iconv_prog.c: Remove CHAR16 handling.
37402 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37404 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37406 * configure.in: Remove --with-elf and --enable-bounded options.
37407 Dont set base_machine for ia64. More non-ELF conditions removed.
37408 Remove testing and setting of leading underscore information.
37409 * config.make.in (build-bounded): Set to no.
37410 * config.h.in: Remove NO_UNDERSCORES entry.
37411 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37413 * csu/start.c: Remove !NO_UNDERSCORE code.
37414 * locale/localeinfo.h: Likewise.
37415 * sysdeps/generic/machine-gmon.h: Likewise.
37416 * sysdeps/generic/sysdep.h: Likewise.
37417 * sysdeps/i386/sysdep.h: Likewise.
37418 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37419 * sysdeps/mach/sysdep.h: Likewise.
37420 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37422 * sysdeps/sh/sysdep.h: Likewise.
37423 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37424 * sysdeps/unix/i386/sysdep.S: Likewise.
37425 * sysdeps/unix/sparc/start.c: Likewise.
37426 * sysdeps/unix/sparc/sysdep.S: Likewise.
37427 * sysdeps/unix/sparc/sysdep.h: Likewise.
37428 * sysdeps/unix/start.c: Likewise.
37429 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37430 * sysdeps/x86_64/sysdep.h: Likewise.
37432 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37435 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37437 * argp/argp-fmtstream.h: Use const instead __const.
37438 * argp/argp.h: Likewise.
37439 * assert/assert.h: Likewise.
37440 * bits/fenv.h: Likewise.
37441 * bits/sched.h: Likewise.
37442 * bits/sigset.h: Likewise.
37443 * bits/sigthread.h: Likewise.
37444 * catgets/nl_types.h: Likewise.
37445 * conform/data/pthread.h-data: Likewise.
37446 * crypt/crypt-private.h: Likewise.
37447 * crypt/crypt.h: Likewise.
37448 * crypt/crypt_util.c: Likewise.
37449 * ctype/ctype.h: Likewise.
37450 * debug/execinfo.h: Likewise.
37451 * debug/mbsnrtowcs_chk.c: Likewise.
37452 * debug/mbsrtowcs_chk.c: Likewise.
37453 * debug/wcsnrtombs_chk.c: Likewise.
37454 * debug/wcsrtombs_chk.c: Likewise.
37455 * debug/wcstombs_chk.c: Likewise.
37456 * dirent/dirent.h: Likewise.
37457 * dlfcn/dlfcn.h: Likewise.
37458 * elf/neededtest4.c: Likewise.
37459 * grp/grp.h: Likewise.
37460 * gshadow/gshadow.h: Likewise.
37461 * iconv/gconv.h: Likewise.
37462 * iconv/gconv_int.h: Likewise.
37463 * iconv/gconv_simple.c: Likewise.
37464 * iconv/iconv.h: Likewise.
37465 * iconv/loop.c: Likewise.
37466 * iconv/skeleton.c: Likewise.
37467 * include/aio.h: Likewise.
37468 * include/aliases.h: Likewise.
37469 * include/argz.h: Likewise.
37470 * include/arpa/inet.h: Likewise.
37471 * include/assert.h: Likewise.
37472 * include/dirent.h: Likewise.
37473 * include/dlfcn.h: Likewise.
37474 * include/execinfo.h: Likewise.
37475 * include/fcntl.h: Likewise.
37476 * include/fenv.h: Likewise.
37477 * include/glob.h: Likewise.
37478 * include/grp.h: Likewise.
37479 * include/libintl.h: Likewise.
37480 * include/mntent.h: Likewise.
37481 * include/netdb.h: Likewise.
37482 * include/pwd.h: Likewise.
37483 * include/rpc/netdb.h: Likewise.
37484 * include/sched.h: Likewise.
37485 * include/search.h: Likewise.
37486 * include/shadow.h: Likewise.
37487 * include/signal.h: Likewise.
37488 * include/stdio.h: Likewise.
37489 * include/stdlib.h: Likewise.
37490 * include/string.h: Likewise.
37491 * include/sys/socket.h: Likewise.
37492 * include/sys/stat.h: Likewise.
37493 * include/sys/statfs.h: Likewise.
37494 * include/sys/statvfs.h: Likewise.
37495 * include/sys/syslog.h: Likewise.
37496 * include/sys/time.h: Likewise.
37497 * include/sys/uio.h: Likewise.
37498 * include/time.h: Likewise.
37499 * include/unistd.h: Likewise.
37500 * include/utmp.h: Likewise.
37501 * include/wchar.h: Likewise.
37502 * include/wctype.h: Likewise.
37503 * inet/aliases.h: Likewise.
37504 * inet/arpa/inet.h: Likewise.
37505 * inet/netinet/ether.h: Likewise.
37506 * inet/netinet/in.h: Likewise.
37507 * intl/libintl.h: Likewise.
37508 * io/bits/fcntl2.h: Likewise.
37509 * io/fcntl.h: Likewise.
37510 * io/ftw.h: Likewise.
37511 * io/sys/poll.h: Likewise.
37512 * io/sys/stat.h: Likewise.
37513 * io/sys/statfs.h: Likewise.
37514 * io/sys/statvfs.h: Likewise.
37515 * io/utime.h: Likewise.
37516 * libio/bits/stdio.h: Likewise.
37517 * libio/bits/stdio2.h: Likewise.
37518 * libio/libio.h: Likewise.
37519 * libio/libioP.h: Likewise.
37520 * libio/stdio.h: Likewise.
37521 * locale/lc-ctype.c: Likewise.
37522 * locale/locale.h: Likewise.
37523 * login/utmp.h: Likewise.
37524 * malloc/arena.c: Likewise.
37525 * malloc/malloc.c: Likewise.
37526 * malloc/malloc.h: Likewise.
37527 * malloc/mcheck.c: Likewise.
37528 * malloc/mtrace.c: Likewise.
37529 * math/bits/mathcalls.h: Likewise.
37530 * math/fenv.h: Likewise.
37531 * math/math_private.h: Likewise.
37532 * misc/bits/error.h: Likewise.
37533 * misc/bits/syslog.h: Likewise.
37534 * misc/err.h: Likewise.
37535 * misc/error.h: Likewise.
37536 * misc/fstab.h: Likewise.
37537 * misc/mntent.h: Likewise.
37538 * misc/regexp.h: Likewise.
37539 * misc/search.h: Likewise.
37540 * misc/sgtty.h: Likewise.
37541 * misc/sys/mman.h: Likewise.
37542 * misc/sys/syslog.h: Likewise.
37543 * misc/sys/uio.h: Likewise.
37544 * misc/sys/xattr.h: Likewise.
37545 * misc/ttyent.h: Likewise.
37546 * nis/rpcsvc/ypclnt.h: Likewise.
37547 * nss/nss.h: Likewise.
37548 * posix/bits/unistd.h: Likewise.
37549 * posix/fnmatch.h: Likewise.
37550 * posix/glob.h: Likewise.
37551 * posix/sched.h: Likewise.
37552 * posix/spawn.h: Likewise.
37553 * posix/sys/wait.h: Likewise.
37554 * posix/unistd.h: Likewise.
37555 * posix/wordexp.h: Likewise.
37556 * pwd/pwd.h: Likewise.
37557 * resolv/netdb.h: Likewise.
37558 * resource/sys/resource.h: Likewise.
37559 * rt/aio.h: Likewise.
37560 * rt/bits/mqueue2.h: Likewise.
37561 * rt/mqueue.h: Likewise.
37562 * shadow/shadow.h: Likewise.
37563 * signal/signal.h: Likewise.
37564 * socket/send.c: Likewise.
37565 * socket/sendto.c: Likewise.
37566 * socket/sys/socket.h: Likewise.
37567 * stdio-common/printf.h: Likewise.
37568 * stdlib/bits/stdlib.h: Likewise.
37569 * stdlib/fmtmsg.h: Likewise.
37570 * stdlib/monetary.h: Likewise.
37571 * stdlib/stdlib.h: Likewise.
37572 * stdlib/ucontext.h: Likewise.
37573 * streams/stropts.h: Likewise.
37574 * string/argz.h: Likewise.
37575 * string/bits/string2.h: Likewise.
37576 * string/string.h: Likewise.
37577 * string/strings.h: Likewise.
37578 * sunrpc/rpc/auth.h: Likewise.
37579 * sunrpc/rpc/auth_des.h: Likewise.
37580 * sunrpc/rpc/clnt.h: Likewise.
37581 * sunrpc/rpc/netdb.h: Likewise.
37582 * sunrpc/rpc/pmap_clnt.h: Likewise.
37583 * sunrpc/rpc/xdr.h: Likewise.
37584 * sysdeps/generic/inttypes.h: Likewise.
37585 * sysdeps/generic/net/if.h: Likewise.
37586 * sysdeps/generic/sys/swap.h: Likewise.
37587 * sysdeps/gnu/net/if.h: Likewise.
37588 * sysdeps/gnu/utmpx.h: Likewise.
37589 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37590 * sysdeps/i386/i486/bits/string.h: Likewise.
37591 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37592 * sysdeps/s390/bits/string.h: Likewise.
37593 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37594 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37595 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37596 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37597 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37598 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37599 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37600 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37601 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37602 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37603 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37604 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37605 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37606 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37607 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37608 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37609 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37611 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37614 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37615 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37616 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37617 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37618 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37619 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37621 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37622 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37623 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37624 * sysvipc/sys/ipc.h: Likewise.
37625 * sysvipc/sys/msg.h: Likewise.
37626 * sysvipc/sys/sem.h: Likewise.
37627 * sysvipc/sys/shm.h: Likewise.
37628 * termios/termios.h: Likewise.
37629 * time/sys/time.h: Likewise.
37630 * time/time.h: Likewise.
37631 * wcsmbs/bits/wchar2.h: Likewise.
37632 * wcsmbs/uchar.h: Likewise.
37633 * wcsmbs/wchar.h: Likewise.
37634 * wctype/wctype.h: Likewise.
37637 * Makeconfig: Remove all but ELF support including AIX support.
37638 * Makerules: Likewise.
37639 * config.h.in: Likewise.
37640 * config.make.in: Likewise.
37641 * configure: Likewise.
37642 * configure.in: Likewise.
37643 * csu/Makefile: Likewise.
37644 * csu/version.c: Likewise.
37645 * debug/Makefile: Likewise.
37646 * dlfcn/Makefile: Likewise.
37647 * elf/Makefile: Likewise.
37648 * extra-lib.mk: Likewise.
37649 * iconv/Makefile: Likewise.
37650 * include/libc-symbols.h: Likewise.
37651 * include/shlib-compat.h: Likewise.
37652 * resolv/Makefile: Likewise.
37653 * resolv/res_libc.c: Likewise.
37654 * rt/Makefile: Likewise.
37655 * sysdeps/i386/asm-syntax.h: Likewise.
37656 * sysdeps/i386/sysdep.h: Likewise.
37657 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37658 * sysdeps/mach/sysdep.h: Likewise.
37659 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37660 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37661 * sysdeps/s390/asm-syntax.h: Likewise.
37662 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37663 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37664 * sysdeps/sh/sysdep.h: Likewise.
37665 * sysdeps/unix/sparc/sysdep.h: Likewise.
37666 * sysdeps/wordsize-32/divdi3.c: Likewise.
37667 * sysdeps/x86_64/sysdep.h: Likewise.
37669 * argp/Versions: Remove _argp_unlock_xxx.
37672 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37673 * abilist/libBrokenLocale.abilist: Likewise.
37674 * abilist/libanl.abilist: Likewise.
37675 * abilist/libc.abilist: Likewise.
37676 * abilist/libcrypt.abilist: Likewise.
37677 * abilist/libdl.abilist: Likewise.
37678 * abilist/libm.abilist: Likewise.
37679 * abilist/libnsl.abilist: Likewise.
37680 * abilist/libpthread.abilist: Likewise.
37681 * abilist/libresolv.abilist: Likewise.
37682 * abilist/librt.abilist: Likewise.
37683 * abilist/libthread_db.abilist: Likewise.
37684 * abilist/libutil.abilist: Likewise.
37685 * abilist/libnss_db.abilist: New file.
37687 * scripts/abilist.awk: Add support for indirect functions.
37689 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37691 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37693 * shlib-versions: Remove entries for ports architectures.
37695 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37697 * elf/stackguard-macros.h: Remove support for IA-64.
37698 * elf/tst-auditmod1.c: Likewise.
37699 * sysdeps/generic/ldsodefs.h: Likewise.
37701 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37702 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37706 * configure.in: Remove --enable-omitfp support.
37708 * config.make.in: Likewise.
37709 * Makeconfig: Likewise.
37710 * manual/install.texi: Likewise.
37712 In case anyone cares, the IA-64 architecture could move to ports.
37713 * sysdeps/ia64/*: Removed.
37714 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37715 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37718 * configure.in: Remove entries for unsupported architectures.
37721 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37722 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37724 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37725 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37726 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37727 fall back to using wcrtomb.
37728 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37729 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37731 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37732 * wcsmbs/tst-c16c32-1.c: New file.
37734 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37737 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37739 * elf/tst-unique3.cc: Add explicit declaration of gets.
37740 * elf/tst-unique3lib.cc: Likewise.
37741 * elf/tst-unique3lib2.cc: Likewise.
37742 * elf/tst-unique4.cc: Likewise.
37744 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37746 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37749 * assert/assert.h (static_assert): Don't define for C++.
37750 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37751 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37753 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37755 * iconv/loop.c (single loop): Fix assertion in storing of
37758 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37760 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37762 * posix/getconf.c: Update copyright year.
37763 * nss/getent.c: Likewise.
37764 * nss/makedb.c: Likewise.
37765 * iconv/iconvconfig.c: Likewise.
37766 * iconv/iconv_prog.c: Likewise.
37767 * elf/ldconfig.c: Likewise.
37768 * elf/pldd.c: Likewise.
37769 * elf/sotruss.ksh: Likewise.
37770 * catgets/gencat.c: Likewise.
37771 * csu/version.c: Likewise.
37772 * elf/ldd.bash.in: Likewise.
37773 * elf/sprof.c (print_version): Likewise.
37774 * locale/programs/locale.c: Likewise.
37775 * locale/programs/localedef.c: Likewise.
37776 * login/programs/pt_chown.c: Likewise.
37777 * nscd/nscd.c (print_version): Likewise.
37778 * debug/xtrace.sh: Likewise.
37779 * malloc/memusage.sh: Likewise.
37780 * malloc/mtrace.pl: Likewise.
37781 * debug/catchsegv.sh: Likewise.
37783 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37785 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37788 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37791 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37792 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37794 * iconv/gconv_int.h: Likewise.
37795 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37796 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37797 from libc for GLIBC_2.16.
37798 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37799 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37800 * wcsmbs/uchar.h: Really define mbstate_t.
37801 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37802 * wcsmbs/c16rtomb.c: New file.
37803 * wcsmbs/mbrtoc16.c: New file.
37804 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37805 for C/POSIX locale.
37806 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37807 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37809 * wcsmbs/wchar.h: Add missing __restrict.
37811 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37814 * time/Makefile (routines): Add timespec_get.
37815 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37816 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37817 timespec for ISO C11.
37818 * time/timespec_get.c: New file.
37819 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37820 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37823 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37824 * stdlib/stdlib.h: Declare aligned_alloc.
37825 * Versions.def: Add GLIBC_2.16 for libc.
37826 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37829 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37832 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37836 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37839 * assert/assert.h (static_assert): Define.
37841 * version.h: Update for 2.16 development version.
37844 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37847 * version.h (RELEASE): Bump for 2.15 release.
37848 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37850 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37851 Patch by Marek Polacek <mpolacek@redhat.com>.
37853 * bits/byteswap.h: Protect long long constants with __extension__.
37854 * sysdeps/i386/bits/byteswap.h: Likewise.
37855 * sysdeps/ia64/bits/byteswap.h: Likewise.
37856 * sysdeps/s390/bits/byteswap.h: Likewise.
37857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37859 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37863 destination buffer.
37864 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37866 2011-12-23 Marek Polacek <polacek@redhat.com>
37868 * elf/dl-addr.c (determine_info): Add inline keyword.
37869 * elf/tst-auditmod4b.c (check_avx): Likewise.
37870 * elf/tst-auditmod6b.c (check_avx): Likewise.
37871 * elf/tst-auditmod6c.c (check_avx): Likewise.
37872 * elf/tst-auditmod7b.c (check_avx): Likewise.
37874 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37876 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37879 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37882 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37883 processing for last bytes.
37885 2011-08-06 Bruno Haible <bruno@clisp.org>
37888 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37889 U+0385, not to U+1FEE.
37892 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37893 entry for U+00A5 U+0301.
37895 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37898 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37899 buffer for the output is too small.
37901 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37905 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37906 SSE flags if possible.
37908 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37911 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37912 processing for last bytes.
37914 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37916 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37917 (syscall-list-default-options, syscall-list-default-condition)
37918 (syscall-list-includes): Define.
37919 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37920 list of ABIs and options and #if conditions for each ABI. Do not
37921 handle common syscalls between ABIs specially.
37922 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37924 (syscall-list-variants, syscall-list-32bit-options)
37925 (syscall-list-32bit-condition, syscall-list-64bit-options)
37926 (syscall-list-64bit-condition): Define.
37927 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37928 (syscall-list-variants, syscall-list-32bit-options)
37929 (syscall-list-32bit-condition, syscall-list-64bit-options)
37930 (syscall-list-64bit-condition): Define.
37931 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37933 (syscall-list-variants, syscall-list-32bit-options)
37934 (syscall-list-32bit-condition, syscall-list-64bit-options)
37935 (syscall-list-64bit-condition): Define.
37936 * sysdeps/unix/sysv/linux/x86_64/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.
37942 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37944 * locale/iso-639.def: Add brx entry.
37947 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37948 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37950 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37951 __feraiseexcept_renamed.
37953 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37956 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37957 EPOLLET with unsigned values.
37958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37961 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37962 to large cancellation.
37963 * math/s_cacoshf.c: Likewise.
37964 * math/s_cacoshl.c: Likewise.
37966 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37970 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37971 * math/s_cacoshf.c: Likewise.
37972 * math/s_cacoshl.c: Likewise.
37974 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37977 * iconv/gconv.h: Define __GCONV_SWAP.
37978 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37979 * iconvdata/utf-16.c: Likewise.
37980 * iconvdata/utf-32.c: Likewise.
37982 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37985 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37986 numerator after shifting it by one limb.
37988 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37990 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37991 under [__USE_EXTERN_INLINES].
37993 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37996 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37998 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38000 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38001 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38003 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38004 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38005 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38006 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38007 for strncasecmp/strncasecmp_l compilation.
38008 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38009 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38011 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38014 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38017 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38020 * time/tzfile.c (__tzfile_read): Check values from file header.
38022 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38024 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38025 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38026 * powerpc/powerpc32/dl-start.S: Likewise.
38027 * powerpc/powerpc32/elf/start.S: Likewise.
38028 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38029 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38030 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38031 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38032 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38033 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38034 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38035 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38036 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38037 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38038 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38039 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38040 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38041 * powerpc/powerpc32/memset.S: Likewise.
38042 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38043 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38044 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38045 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38046 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38047 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38048 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38049 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38050 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38051 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38052 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38053 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38054 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38056 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38058 * math/libm-test.inc: Added more nearbyint tests.
38059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38062 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38064 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38066 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38069 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38071 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38072 Add wcscpy-ssse3 wcscpy-c.
38073 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38074 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38075 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38076 * sysdeps/x86_64/wcschr.S: New file.
38077 * sysdeps/x86_64/wcsrchr.S: New file.
38078 * string/test-strcmp.c: Remove checking of wcscmp function for
38080 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38081 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38082 wcsrchr-sse2 wcsrchr-c.
38083 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38084 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38085 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38086 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38087 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38088 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38089 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38090 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38091 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38092 * wcsmbc/wcschr.c (WCSCHR): New macro.
38094 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38096 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38097 * wcsmbs/test-wcsrchr.c: New file.
38098 * string/test-strrchr.c: Add wcsrchr support.
38100 * wcsmbs/test-wcscpy.c: New file.
38101 * string/test-strcpy.c: Add wcscpy support.
38104 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38106 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38109 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38112 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38114 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38116 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38117 Minor optimizations.
38119 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38120 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38121 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38123 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38125 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38126 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38127 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38128 for gcc to avoid warnings.
38129 * inet/Makefile (tests): Add tst-checks.
38130 * inet/tst-checks.c: New file.
38132 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38135 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38138 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38139 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38141 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38143 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38145 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38148 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38150 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38152 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38153 conditional on GCC version.
38154 (__arch_compare_and_exchange_val_8_acq)
38155 (__arch_compare_and_exchange_val_16_acq)
38156 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38157 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38158 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38160 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38162 * sysdeps/sh/backtrace.c: New file.
38164 2011-12-02 Andreas Schwab <schwab@redhat.com>
38166 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38169 2011-12-01 Andreas Schwab <schwab@redhat.com>
38171 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38172 falling back to utime.
38174 2011-11-30 Andreas Schwab <schwab@redhat.com>
38176 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38177 expectations for float.
38179 2011-11-29 Andreas Schwab <schwab@redhat.com>
38181 * locale/weight.h (findidx): Add parameter len.
38182 * locale/weightwc.h (findidx): Likewise.
38183 * posix/fnmatch_loop.c (FCT): Adjust caller.
38184 * posix/regcomp.c (build_equiv_class): Likewise.
38185 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38186 * posix/regexec.c (check_node_accept_bytes): Likewise.
38187 * string/strcoll_l.c (STRCOLL): Likewise.
38188 * string/strxfrm_l.c (STRXFRM): Likewise.
38190 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38192 * Makefile.in: Remove CVSOPT handling.
38193 * configure.in: Remove use of AC_REVISION.
38194 * iconvdata/Makefile (distribute): No need to filter out CVS.
38195 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38198 2011-11-16 Andreas Schwab <schwab@redhat.com>
38200 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38201 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38202 [USE_AS_STRNCASECMP_L]: Likewise.
38203 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38204 NO_TLS_DIRECT_SEG_REFS.
38205 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38206 Fix argument offsets for non-PIC.
38207 [USE_AS_STRNCASECMP_L]: Likewise.
38208 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38209 NO_TLS_DIRECT_SEG_REFS.
38211 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38213 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38215 * locale/loadlocale.c (_nl_load_locale): Likewise.
38217 2011-11-15 Andreas Schwab <schwab@redhat.com>
38219 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38220 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38221 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38222 (SYSCALL_GETTIME): Set errno on error.
38224 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38225 count references to noai6ai_cached.
38227 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38229 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38231 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38232 FD_CLOEXEC for /proc/self/maps.
38234 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38235 FD_CLOEXEC for /proc/meminfo.
38237 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38240 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38241 FD_CLOEXEC for given file.
38243 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38245 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38246 FD_CLOEXEC for /etc/hosts.
38247 (_gethtent): Likewise.
38249 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38251 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38252 cancellation and set FD_CLOEXEC for /etc/netgroup.
38254 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38255 reading /etc/publickey.
38257 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38258 allow cancellation when reading /etc/group.
38260 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38262 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38264 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38265 when using data file.
38267 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38269 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38270 (write_nis_obj): Use "c" and "e" in fopen.
38272 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38274 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38276 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38278 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38280 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38283 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38285 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38287 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38289 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38290 file parsing and set FD_CLOEXEC.
38292 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38294 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38296 2011-11-14 Andreas Schwab <schwab@redhat.com>
38298 * malloc/arena.c (arena_get2): Don't call reused_arena when
38299 _int_new_arena failed.
38301 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38303 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38304 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38305 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38306 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38307 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38309 to compile strcasecmp and strncasecmp.
38310 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38311 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38315 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38317 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38318 locale-defines.sym to gen-as-const-headers.
38319 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38320 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38322 to compile strcasecmp and strncasecmp.
38323 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38324 strcasecmp_l and strncasecmp_l.
38325 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38326 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38327 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38328 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38329 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38330 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38331 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38332 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38333 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38334 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38335 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38337 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38339 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38340 result of SYSDEP_GETTIME_CPU to retval.
38341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38342 parameter list to macro. Remove trailing semicolon. Adjust users.
38344 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38347 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38349 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38351 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38352 from unused variable.
38354 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38356 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38359 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38362 * sunrpc/rpc_prot.c (rejected): Fix case value.
38364 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38365 unsigned long long int to avoid warnings in shift.
38367 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38369 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38372 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38373 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38374 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38376 * nis/nis_table.c (nis_list): Use variable of correct type for
38377 result of __follow_path call.
38379 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38381 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38382 of math functions ceil, trunc, floor, round, and sqrt, when
38383 avaliable on the platform.
38384 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38387 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38388 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38390 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38392 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38393 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38395 2011-11-11 Roland McGrath <roland@hack.frob.com>
38397 * include/unistd.h: Fix __readlink return type.
38398 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38400 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38402 * stdlib/ucontext.h: Undo last change for makecontext.
38404 2011-11-11 Andreas Schwab <schwab@redhat.com>
38406 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38408 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38409 * setjmp/setjmp.h: Mark functions as non-leaf.
38410 * setjmp/bits/setjmp2.h: Likewise.
38411 * stdlib/ucontext.h: Likewise.
38413 2011-11-10 Andreas Schwab <schwab@redhat.com>
38415 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38416 (reused_arena): Don't check arena limit.
38417 (arena_get2): Atomically check arena limit.
38419 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38421 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38422 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38427 2011-11-07 Andreas Schwab <schwab@redhat.com>
38429 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38430 handler when locking.
38432 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38433 Fix size of allocated buffer.
38435 2011-11-04 Andreas Schwab <schwab@redhat.com>
38438 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38439 declarations for long double functions.
38440 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38442 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38444 2011-11-03 Andreas Schwab <schwab@redhat.com>
38446 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38449 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38452 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38454 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38456 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38458 * include/alloca.h (stackinfo_alloca_round): Define.
38459 (extend_alloca): Use it.
38460 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38461 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38464 * scripts/check-local-headers.sh: Ignore libaudit.h.
38466 * nscd/Makefile (extra-objs): Make recursively expanded.
38468 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38470 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38473 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38474 * posix/tst-rfc3484-2.c: Likewise.
38475 * posix/tst-rfc3484-3.c: Likewise.
38477 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38479 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38481 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38482 process_vm_writev from libc using GLIBC_2.15 version.
38484 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38486 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38488 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38491 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38494 * nss/getent.c (initgroups_keys): Show error message in case no group
38497 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38498 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38499 __bump_nl_timestamp.
38500 * nscd/connections (nscd_init): When host database is served open
38501 netlink socket and request notification about configuration changes.
38502 (main_loop_poll): Track netlink file descriptor and bump timestamp
38503 in case data becomes available.
38504 (main_loop_epoll): Likewise.
38505 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38506 (database_pers_head): Add extra_data fileds.
38507 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38508 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38509 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38512 in6ai data, call __free_in6ai.
38513 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38514 Add -DHAVE_NETLINK.
38515 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38516 interface information. Reuse previous data if netlink timestamp
38518 (__bump_nl_timestamp): New function.
38519 (__free_in6ai): New function.
38521 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38523 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38524 close_not_cancel_no_status here.
38525 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38527 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38530 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38533 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38534 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38535 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38537 2011-07-03 Andreas Jaeger <aj@suse.de>
38540 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38541 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38542 * math/libm-test.inc (sin_test): Add test case.
38544 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38547 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38548 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38550 * elf/chroot_canon.c (chroot_canon): Cleanups.
38552 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38555 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38556 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38558 * string/test-strchr.c: Make usable for strchrnul testing.
38559 * string/test-strchrnul.c: New file.
38560 * string/Makefile (strop-tests): Add strchrnul.
38562 * po/it.po: Update from translation team.
38563 * po/es.po: Likewise.
38565 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38567 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38568 the three constants needed as parameters. Drop the others.
38569 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38570 __m128i_strloadu_tolower.
38571 Create and initialize variable zero and use it in all the places
38572 where _mm_setzero_si128 was used.
38574 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38575 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38576 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38577 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38579 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38580 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38581 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38582 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38583 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38584 __mpranred, __mptan.
38585 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38586 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38587 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38588 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38589 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38590 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38591 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38592 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38593 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38595 2011-10-28 Andreas Schwab <schwab@redhat.com>
38597 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38598 redefine if SHARED.
38599 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38602 wide char related routines to wcsmbs subdir.
38604 2011-10-27 Andreas Schwab <schwab@redhat.com>
38607 * misc/sys/cdefs.h (__THROWNL): Define.
38608 * posix/unistd.h: Use __THREADNL instead of __THREAD
38609 for memory synchronization functions.
38611 2011-10-26 Roland McGrath <roland@hack.frob.com>
38614 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38616 * manual/stdio.texi (Obstack Streams): Node removed.
38618 2011-10-26 Andreas Schwab <schwab@redhat.com>
38620 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38621 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38622 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38624 * math/math_private.h (math_force_eval): Allow non-addressable
38626 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38628 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38630 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38631 file is not needed.
38633 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38640 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38642 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38643 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38644 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38645 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38647 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38648 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38649 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38650 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38651 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38652 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38653 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38655 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38656 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38657 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38658 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38659 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38660 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38662 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38663 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38665 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38666 place. Use VEX encoding when compiling for AVX.
38668 2011-10-25 Andreas Schwab <schwab@redhat.com>
38670 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38671 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38673 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38675 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38677 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38678 useless if() expression.
38679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38689 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38690 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38691 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38692 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38693 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38694 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38695 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38697 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38699 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38701 2011-10-25 Andreas Schwab <schwab@redhat.com>
38703 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38707 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38709 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38710 .text section. Avoid duplicate constants.
38711 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38721 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38723 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38726 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38728 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38731 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38732 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38733 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38734 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38735 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38736 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38737 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38738 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38740 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38741 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38742 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38743 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38744 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38745 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38746 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38747 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38748 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38749 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38750 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38751 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38752 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38753 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38754 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38755 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38757 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38759 * sysdeps/x86_64/dla.h: Move to ...
38760 * sysdeps/x86_64/fpu/dla.h: ...here.
38761 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38762 situations. Use __builtin_fma only for gcc 4.6 and up.
38764 * config.make.in: Add have-mfma4 entry.
38765 * configure.in: Substitute libc_cv_cc_fma4.
38766 * math/Makefile (dbl-only-routines): Add sincostab.
38767 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38768 Use __sincostab not sincos.
38769 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38776 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38777 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38778 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38779 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38781 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38782 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38784 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38785 define aliases when function name is a macro.
38786 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38787 sysdeps/ieee754/dbl-64/sincos.tbl.
38788 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38789 fma4-enabled routines.
38790 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38791 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38792 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38793 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38795 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38797 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38798 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38799 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38800 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38801 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38802 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38803 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38804 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38805 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38806 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38807 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38808 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38809 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38810 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38811 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38813 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38817 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38818 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38819 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38821 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38832 2011-10-24 Andreas Schwab <schwab@redhat.com>
38834 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38836 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38838 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38840 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38842 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38844 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38845 Remove unused variable magic_bits.
38846 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38848 * string/strnlen.c: Define and use STRNLEN macro.
38849 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38850 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38852 * wcsmbs/wcslen.c: Define and use WCSLEN.
38853 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38854 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38855 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38856 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38857 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38858 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38861 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38864 strnlen-sse2-no-bsf.
38865 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38867 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38868 Add strnlen support.
38869 (USE_AS_STRNLEN): New macro.
38870 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38871 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38872 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38873 * sysdeps/x86_64/wcslen.S: New file.
38875 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38878 XMM-moves are used for copying on small sizes.
38880 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38882 * wcsmbs/Makefile (strop-tests): Add wcschr.
38883 * wcsmbs/test-wcschr.c: New file.
38884 * string/test-strchr.c: Update.
38885 Add wcschr support.
38888 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38890 * wcsmbs/Makefile (strop-tests): Add wcslen.
38891 * wcsmbs/test-wcslen.c: New file.
38892 * string/test-strlen.c: Update.
38893 Add wcslen support.
38896 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38898 * po/it.po: Update from translation team.
38900 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38902 * sysdeps/x86_64/wcscmp.S: Update.
38903 Fix wrong comparison semantics.
38904 wcscmp shall use signed comparison not unsigned.
38905 Don't use substraction to avoid overflow bug.
38906 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38907 * wcsmbc/wcscmp.c: Likewise.
38908 * string/test-strcmp.c: Likewise.
38909 Add new tests to check cases with negative values.
38911 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38913 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38914 * sysdeps/x86_64/dla.h: ...here. New file.
38915 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38920 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38925 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38928 __ynl_finite aliases.
38930 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38934 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38936 [DLA_FMA] (EMULV): Use DLA_FMA.
38937 [DLA_FMA] (MUL12): Use EMULV.
38938 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38939 that are not needed.
38940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38945 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38946 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38948 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38950 * math/s_nan.c: Undef __nan.
38951 * math/s_nanf.c: Undef __nanf.
38952 * math/s_nanl.c: Undef __nanl.
38953 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38956 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38958 * math/s_catan.c: Add branch predictions.
38959 * math/s_catanf.c: Likewise.
38960 * math/s_catanh.c: Likewise.
38961 * math/s_catanhf.c: Likewise.
38962 * math/s_catanhl.c: Likewise.
38963 * math/s_catanl.c: Likewise.
38964 * math/s_cexp.c: Likewise.
38965 * math/s_cexpf.c: Likewise.
38966 * math/s_cexpl.c: Likewise.
38967 * math/s_clog.c: Likewise.
38968 * math/s_clog10.c: Likewise.
38969 * math/s_clog10f.c: Likewise.
38970 * math/s_clog10l.c: Likewise.
38971 * math/s_clogf.c: Likewise.
38972 * math/s_clogl.c: Likewise.
38973 * math/s_csqrt.c: Likewise.
38974 * math/s_csqrtf.c: Likewise.
38975 * math/s_csqrtl.c: Likewise.
38976 * math/s_ctanf.c: Likewise.
38977 * math/s_ctanh.c: Likewise.
38978 * math/s_ctanhf.c: Likewise.
38979 * math/s_ctanhl.c: Likewise.
38980 * math/s_ctanl.c: Likewise.
38982 * math/math_private.h: Define __nan, __nanf, __nanl.
38983 * math/s_cacosh.c: Include <math_private.h>.
38984 * math/s_cacoshl.c: Likewise.
38985 * math/s_casinh.c: Likewise.
38986 * math/s_casinhf.c: Likewise.
38987 * math/s_casinhl.c: Likewise.
38988 * math/s_ccos.c: Rely entire on ccosh.
38989 * math/s_ccosf.c: Rely entire on ccoshf.
38990 * math/s_ccosl.c: Rely entirely on ccoshl.
38991 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38992 Remove tests for FE_INVALID.
38993 * math/s_ccoshf.c: Likewise.
38994 * math/s_ccoshl.c: Likewise.
38995 * math/s_csin.c: Likewise.
38996 * math/s_csinf.c: Likewise.
38997 * math/s_csinh.c Likewise.
38998 * math/s_csinhf.c: Likewise.
38999 * math/s_csinhl.c: Likewise.
39000 * math/s_csinl.c: Likewise.
39001 * math/s_ctan.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39003 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39004 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39006 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39009 compilation problems.
39011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39014 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39016 * sysdeps/i386/configure.in: Test for -mfma4 option.
39017 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39018 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39019 COMMON_CPUID_INDEX_80000001.
39020 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39021 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39022 use it if FMA3 is not supported.
39023 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39025 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39026 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39028 2011-10-20 Andreas Schwab <schwab@redhat.com>
39031 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39032 it would create a cycle with a link time dependency.
39034 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39036 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39038 * string/Makefile (strop-tests): Add rawmemchr.
39039 * string/test-rawmemchr.c: New file.
39041 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39042 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39043 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39044 when compiling str{,n}casecmp and when AVX is available. Hook up
39045 new optimized code in initializers.
39047 2011-10-19 Andreas Schwab <schwab@redhat.com>
39049 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39050 __feraiseexcept instead of feraiseexcept.
39052 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39054 * math/math_private.h: Define defaults for libc_fetestexcept and
39056 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39057 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39058 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39059 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39060 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39061 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39062 libc_fetestexcept and libc_feupdateenv.
39064 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39065 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39066 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39067 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39068 libc_feholdexcept_setround.
39070 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39071 Add s_nearbyint-c and s_nearbyintf-c.
39072 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39073 nearbyintf inlines.
39074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39075 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39077 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39079 * math/math_private.h: Define defaults for libc_fegetround,
39080 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39081 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39082 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39083 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39084 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39085 standard functions.
39086 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39087 Remove comments and hacks for old compiler versions.
39088 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39089 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39090 libc_feholdexceptl.
39092 2011-10-18 Andreas Schwab <schwab@redhat.com>
39094 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39095 (__feraiseexcept_renamed): Add __NTH.
39096 (feraiseexcept): Add __NTH. Rename local variables to fix
39097 namespace violations.
39099 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39101 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39103 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39105 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39106 recently added interfaces.
39107 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39109 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39110 about macro parameter expansion.
39112 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39113 __NO_MATH_INLINES is defined. Cleanups.
39115 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39116 and __floorf is target has SSE4.1.
39117 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39118 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39119 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39120 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39122 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39124 (floorf): Likewise.
39126 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39128 2011-10-17 Andreas Schwab <schwab@redhat.com>
39130 * misc/sys/cdefs.h: Fix last change.
39132 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39135 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39137 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39139 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39141 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39143 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39144 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39147 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39148 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39149 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39150 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39151 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39152 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39153 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39154 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39155 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39156 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39157 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39158 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39159 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39160 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39162 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39163 ceil, ceilf, floor, floorf.
39165 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39166 Perform IRELATIVE relocations last.
39168 * elf/do-rel.h: Add another parameter nrelative, replacing the
39169 local variable with the same name. Change name of the function
39170 to end in Rel or Rela (uppercase).
39171 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39172 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39173 elf_dynamic_do_##reloc function.
39175 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39177 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39178 is sufficient, at least on modern CPUs.
39180 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39182 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39185 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39187 * math/bits/math-finite.h: Add entries for exp.
39188 * math/e_expl.c: Add __*_finite alias.
39189 * sysdeps/i386/fpu/e_exp.S: Likewise.
39190 * sysdeps/i386/fpu/e_expf.S: Likewise.
39191 * sysdeps/i386/fpu/e_expl.c: Likewise.
39192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39193 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39194 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39196 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39197 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39198 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39200 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39201 is sufficient, at least on modern CPUs.
39203 * ctype/ctype-info.c (__ctype_init): Define.
39204 * include/ctype.h (__ctype_init): Declare.
39205 (__ctype_b_loc): The variable is always initialized.
39206 (__ctype_toupper_loc): Likewise.
39207 (__ctype_tolower_loc): Likewise.
39208 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39209 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39211 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39213 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39215 * configure.in: Also look in $cxxmachine/include for C++ system
39218 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39220 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39221 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39222 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39223 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39224 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39225 (USE_AS_WMEMCMP): New macro.
39227 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39228 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39229 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39230 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39232 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39233 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39234 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39235 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39236 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39237 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39238 (USE_AS_WMEMCMP): New macro.
39239 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39240 * sysdeps/string/test-memcmp.c: Update.
39241 Fix simple_wmemcmp.
39243 * wcsmbs/wmemcmp.c: Update.
39244 (WMEMCMP): New macro.
39247 2011-10-12 Andreas Jaeger <aj@suse.de>
39250 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39252 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39254 * libio/iofwide.c (do_length): Avoid warning.
39256 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39258 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39260 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39262 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39263 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39264 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39265 * sysdeps/i386/i686/fpu/e_log.S: New file.
39266 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39267 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39269 * ctype/ctype.h: Add support for inlined isXXX functions when
39270 compiling C++ code.
39272 2011-10-14 Andreas Schwab <schwab@redhat.com>
39274 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39276 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39278 2011-10-13 Roland McGrath <roland@hack.frob.com>
39281 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39283 2011-10-13 Andreas Schwab <schwab@redhat.com>
39285 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39286 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39289 * sysdeps/x86_64/memrchr.S: Check for zero size.
39291 * string/stratcliff.c: Add memrchr tests.
39293 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39296 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39297 rawmemchr-sse2 rawmemchr-sse2-bsf.
39298 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39299 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39300 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39301 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39302 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39303 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39304 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39305 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39306 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39307 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39308 * string/memrchr.c (MEMRCHR): New macro.
39310 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39312 Add integration with gcc's -ffinite-math-only and optimize wrapper
39314 * Versions.def: Define GLIBC_2.15 version for libm.
39315 * math/Makefile (headers): Add bits/math-finite.h.
39316 * math/bits/math-finite.h: New file.
39317 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39318 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39319 * math/e_acoshl.c: Add __*_finite alias.
39320 * math/e_acosl.c: Likewise.
39321 * math/e_asinl.c: Likewise.
39322 * math/e_atan2l.c: Likewise.
39323 * math/e_atanhl.c: Likewise.
39324 * math/e_coshl.c: Likewise.
39325 * math/e_exp10.c: Likewise.
39326 * math/e_exp10f.c: Likewise.
39327 * math/e_exp10l.c: Likewise.
39328 * math/e_exp2l.c: Likewise.
39329 * math/e_fmodl.c: Likewise.
39330 * math/e_gammal_r.c: Likewise.
39331 * math/e_hypotl.c: Likewise.
39332 * math/e_j0l.c: Likewise.
39333 * math/e_j1l.c: Likewise.
39334 * math/e_jnl.c: Likewise.
39335 * math/e_lgammal_r.c: Likewise.
39336 * math/e_log10l.c: Likewise.
39337 * math/e_log2l.c: Likewise.
39338 * math/e_logl.c: Likewise.
39339 * math/e_powl.c: Likewise.
39340 * math/e_sinhl.c: Likewise.
39341 * math/e_sqrtl.c: Likewise.
39342 * math/e_scalb.c: Completely rewritten and optimized.
39343 * math/e_scalbf.c: Likewise.
39344 * math/e_scalbl.c: Likewise.
39345 * math/w_acos.c: Likewise.
39346 * math/w_acosf.c: Likewise.
39347 * math/w_acosl.c: Likewise.
39348 * math/w_acosh.c: Likewise.
39349 * math/w_acoshf.c: Likewise.
39350 * math/w_acoshl.c: Likewise.
39351 * math/w_asin.c: Likewise.
39352 * math/w_asinf.c: Likewise.
39353 * math/w_asinl.c: Likewise.
39354 * math/w_atan2.c: Likewise.
39355 * math/w_atan2f.c: Likewise.
39356 * math/w_atan2l.c: Likewise.
39357 * math/w_atanh.c: Likewise.
39358 * math/w_atanhf.c: Likewise.
39359 * math/w_atanhl.c: Likewise.
39360 * math/w_exp10.c: Likewise.
39361 * math/w_exp10f.c: Likewise.
39362 * math/w_exp10l.c: Likewise.
39363 * math/w_fmod.c: Likewise.
39364 * math/w_fmodf.c: Likewise.
39365 * math/w_fmodl.c: Likewise.
39366 * math/w_j0.c: Likewise.
39367 * math/w_j0f.c: Likewise.
39368 * math/w_j0l.c: Likewise.
39369 * math/w_j1.c: Likewise.
39370 * math/w_j1f.c: Likewise.
39371 * math/w_j1l.c: Likewise.
39372 * math/w_jn.c: Likewise.
39373 * math/w_jnf.c: Likewise.
39374 * math/w_log.c: Likewise.
39375 * math/w_logf.c: Likewise.
39376 * math/w_logl.c: Likewise.
39377 * math/w_log10.c: Likewise.
39378 * math/w_log10f.c: Likewise.
39379 * math/w_log10l.c: Likewise.
39380 * math/w_log2.c: Likewise.
39381 * math/w_log2f.c: Likewise.
39382 * math/w_log2l.c: Likewise.
39383 * math/w_pow.c: Likewise.
39384 * math/w_powf.c: Likewise.
39385 * math/w_powl.c: Likewise.
39386 * math/w_remainder.c: Likewise.
39387 * math/w_remainderf.c: Likewise.
39388 * math/w_remainderl.c: Likewise.
39389 * math/w_scalb.c: Likewise.
39390 * math/w_scalbf.c: Likewise.
39391 * math/w_scalbl.c: Likewise.
39392 * math/w_sqrt.c: Likewise.
39393 * math/w_sqrtf.c: Likewise.
39394 * math/w_sqrtl.c: Likewise.
39395 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39396 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39398 * math/math_private.h: Declare __kernel_standard_f.
39399 * math/w_cosh.c: Remove cruft and optimize a bit.
39400 * math/w_coshf.c: Likewise.
39401 * math/w_coshl.c: Likewise.
39402 * math/w_exp2.c: Likewise.
39403 * math/w_exp2f.c: Likewise.
39404 * math/w_exp2l.c: Likewise.
39405 * math/w_hypot.c: Likewise.
39406 * math/w_hypotf.c: Likewise.
39407 * math/w_hypotl.c: Likewise.
39408 * math/w_lgamma.c: Likewise.
39409 * math/w_lgamma_r.c: Likewise.
39410 * math/w_lgammaf.c: Likewise.
39411 * math/w_lgammaf_r.c: Likewise.
39412 * math/w_lgammal.c: Likewise.
39413 * math/w_lgammal_r.c: Likewise.
39414 * math/w_sinh.c: Likewise.
39415 * math/w_sinhf.c: Likewise.
39416 * math/w_sinhl.c: Likewise.
39417 * math/w_tgamma.c: Likewise.
39418 * math/w_tgammaf.c: Likewise.
39419 * math/w_tgammal.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39421 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39422 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39423 Minor optimizations. Pretty printing. Remove cruft.
39424 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39425 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39427 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39428 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39429 * sysdeps/i386/fpu/e_asin.S: Likewise.
39430 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39431 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39432 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39433 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39434 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39435 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39436 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39437 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39438 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39439 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39440 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39441 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39442 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39443 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39444 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39445 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39446 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39447 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39448 * sysdeps/i386/fpu/e_log.S: Likewise.
39449 * sysdeps/i386/fpu/e_log10.S: Likewise.
39450 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39451 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39452 * sysdeps/i386/fpu/e_log2.S: Likewise.
39453 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39454 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39455 * sysdeps/i386/fpu/e_logf.S: Likewise.
39456 * sysdeps/i386/fpu/e_logl.S: Likewise.
39457 * sysdeps/i386/fpu/e_pow.S: Likewise.
39458 * sysdeps/i386/fpu/e_powf.S: Likewise.
39459 * sysdeps/i386/fpu/e_powl.S: Likewise.
39460 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39461 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39462 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39463 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39464 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39466 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39467 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39468 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39474 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39475 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39476 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39477 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39478 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39479 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39482 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39485 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39490 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39491 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39492 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39493 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39494 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39495 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39496 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39497 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39498 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39499 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39500 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39501 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39502 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39503 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39504 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39505 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39506 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39507 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39508 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39509 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39510 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39511 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39512 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39513 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39514 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39515 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39516 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39517 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39518 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39519 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39520 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39521 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39522 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39523 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39524 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39525 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39526 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39527 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39528 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39529 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39533 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39548 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39549 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39552 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39554 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39555 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39557 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39560 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39561 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39562 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39563 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39564 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39565 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39566 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39567 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39568 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39569 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39570 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39571 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39572 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39573 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39574 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39575 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39576 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39577 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39578 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39579 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39580 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39581 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39582 (__isnanf): Likewise.
39583 (__isinf_ns): Likewise.
39584 (__isinf_nsf): Likewise.
39585 (__finite): Likewise.
39586 (__finitef): Likewise.
39587 (__ieee754_sqrt): Define as macro.
39588 (__ieee754_sqrtf): Define as macro.
39589 (__ieee754_sqrtl): Define as macro.
39590 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39592 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39593 __FINITE_MATH_ONLY__ consistent.
39594 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39596 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39598 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39601 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39603 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39605 * po/ja.po: Update from translation team.
39607 2011-10-08 Roland McGrath <roland@hack.frob.com>
39609 * locale/programs/locarchive.c (prepare_address_space): New function.
39610 (create_archive, enlarge_archive, open_archive): Use it.
39612 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39613 inside [SHARED], where it is used.
39615 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39617 * nss/getent.c (netgroup_keys): Remove unused variable.
39618 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39620 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39622 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39623 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39625 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39626 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39627 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39628 * math/Makefile (libm-calls): Add s_isinf_ns.
39629 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39630 * math/multc3.c: Likewise.
39631 * math/s_casin.c: Likewise.
39632 * math/s_casinf.c: Likewise.
39633 * math/s_casinl.c: Likewise.
39634 * math/s_ccos.c: Likewise.
39635 * math/s_ccosf.c: Likewise.
39636 * math/s_ccosl.c: Likewise.
39637 * math/s_ctan.c: Likewise.
39638 * math/s_ctanf.c: Likewise.
39639 * math/s_ctanh.c: Likewise.
39640 * math/s_ctanhf.c: Likewise.
39641 * math/s_ctanhl.c: Likewise.
39642 * math/s_ctanl.c: Likewise.
39643 * math/w_fmod.c: Likewise.
39644 * math/w_fmodf.c: Likewise.
39645 * math/w_fmodl.c: Likewise.
39646 * math/w_remainder.c: Likewise.
39647 * math/w_remainderf.c: Likewise.
39648 * math/w_remainderl.c: Likewise.
39649 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39650 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39653 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39654 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39655 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39656 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39658 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39660 * stdio-common/printf_fphex.c: Likewise.
39661 * stdio-common/printf_size.c: Likewise.
39663 * math/e_exp10.c: Include math_private.h using <...> not "...".
39664 * math/e_exp10f.c: Likewise.
39665 * math/e_exp10l.c: Likewise.
39666 * math/e_exp2l.c: Likewise.
39667 * math/e_j0l.c: Likewise.
39668 * math/e_j1l.c: Likewise.
39669 * math/e_jnl.c: Likewise.
39670 * math/e_lgammal_r.c: Likewise.
39671 * math/e_rem_pio2l.c: Likewise.
39672 * math/e_scalb.c: Likewise.
39673 * math/e_scalbf.c: Likewise.
39674 * math/e_scalbl.c: Likewise.
39675 * math/k_cosl.c: Likewise.
39676 * math/k_sinl.c: Likewise.
39677 * math/k_tanl.c: Likewise.
39678 * math/s_cacoshf.c: Likewise.
39679 * math/s_catan.c: Likewise.
39680 * math/s_catanf.c: Likewise.
39681 * math/s_catanh.c: Likewise.
39682 * math/s_catanhf.c: Likewise.
39683 * math/s_catanhl.c: Likewise.
39684 * math/s_catanl.c: Likewise.
39685 * math/s_ccosh.c: Likewise.
39686 * math/s_ccoshf.c: Likewise.
39687 * math/s_ccoshl.c: Likewise.
39688 * math/s_cexp.c: Likewise.
39689 * math/s_cexpf.c: Likewise.
39690 * math/s_cexpl.c: Likewise.
39691 * math/s_clog.c: Likewise.
39692 * math/s_clog10.c: Likewise.
39693 * math/s_clog10f.c: Likewise.
39694 * math/s_clog10l.c: Likewise.
39695 * math/s_clogf.c: Likewise.
39696 * math/s_clogl.c: Likewise.
39697 * math/s_csin.c: Likewise.
39698 * math/s_csinf.c: Likewise.
39699 * math/s_csinh.c: Likewise.
39700 * math/s_csinhf.c: Likewise.
39701 * math/s_csinhl.c: Likewise.
39702 * math/s_csinl.c: Likewise.
39703 * math/s_csqrt.c: Likewise.
39704 * math/s_csqrtf.c: Likewise.
39705 * math/s_csqrtl.c: Likewise.
39706 * math/s_ctan.c: Likewise.
39707 * math/s_ctanf.c: Likewise.
39708 * math/s_ctanh.c: Likewise.
39709 * math/s_ctanhf.c: Likewise.
39710 * math/s_ctanhl.c: Likewise.
39711 * math/s_ctanl.c: Likewise.
39712 * math/s_ldexp.c: Likewise.
39713 * math/s_ldexpf.c: Likewise.
39714 * math/s_ldexpl.c: Likewise.
39715 * math/s_significand.c: Likewise.
39716 * math/s_significandf.c: Likewise.
39717 * math/s_significandl.c: Likewise.
39718 * math/w_acos.c: Likewise.
39719 * math/w_acosf.c: Likewise.
39720 * math/w_acosh.c: Likewise.
39721 * math/w_acoshf.c: Likewise.
39722 * math/w_acoshl.c: Likewise.
39723 * math/w_acosl.c: Likewise.
39724 * math/w_asin.c: Likewise.
39725 * math/w_asinf.c: Likewise.
39726 * math/w_asinl.c: Likewise.
39727 * math/w_atan2.c: Likewise.
39728 * math/w_atan2f.c: Likewise.
39729 * math/w_atan2l.c: Likewise.
39730 * math/w_atanh.c: Likewise.
39731 * math/w_atanhf.c: Likewise.
39732 * math/w_atanhl.c: Likewise.
39733 * math/w_cosh.c: Likewise.
39734 * math/w_coshf.c: Likewise.
39735 * math/w_coshl.c: Likewise.
39736 * math/w_dremf.c: Likewise.
39737 * math/w_exp10.c: Likewise.
39738 * math/w_exp10f.c: Likewise.
39739 * math/w_exp10l.c: Likewise.
39740 * math/w_exp2.c: Likewise.
39741 * math/w_exp2f.c: Likewise.
39742 * math/w_fmod.c: Likewise.
39743 * math/w_fmodf.c: Likewise.
39744 * math/w_fmodl.c: Likewise.
39745 * math/w_hypot.c: Likewise.
39746 * math/w_hypotf.c: Likewise.
39747 * math/w_hypotl.c: Likewise.
39748 * math/w_j0.c: Likewise.
39749 * math/w_j0f.c: Likewise.
39750 * math/w_j0l.c: Likewise.
39751 * math/w_j1.c: Likewise.
39752 * math/w_j1f.c: Likewise.
39753 * math/w_j1l.c: Likewise.
39754 * math/w_jn.c: Likewise.
39755 * math/w_jnf.c: Likewise.
39756 * math/w_jnl.c: Likewise.
39757 * math/w_lgamma.c: Likewise.
39758 * math/w_lgamma_r.c: Likewise.
39759 * math/w_lgammaf.c: Likewise.
39760 * math/w_lgammaf_r.c: Likewise.
39761 * math/w_lgammal.c: Likewise.
39762 * math/w_lgammal_r.c: Likewise.
39763 * math/w_log.c: Likewise.
39764 * math/w_log10.c: Likewise.
39765 * math/w_log10f.c: Likewise.
39766 * math/w_log10l.c: Likewise.
39767 * math/w_log2.c: Likewise.
39768 * math/w_log2f.c: Likewise.
39769 * math/w_log2l.c: Likewise.
39770 * math/w_logf.c: Likewise.
39771 * math/w_logl.c: Likewise.
39772 * math/w_pow.c: Likewise.
39773 * math/w_powf.c: Likewise.
39774 * math/w_powl.c: Likewise.
39775 * math/w_remainder.c: Likewise.
39776 * math/w_remainderf.c: Likewise.
39777 * math/w_remainderl.c: Likewise.
39778 * math/w_scalb.c: Likewise.
39779 * math/w_scalbf.c: Likewise.
39780 * math/w_scalbl.c: Likewise.
39781 * math/w_sinh.c: Likewise.
39782 * math/w_sinhf.c: Likewise.
39783 * math/w_sinhl.c: Likewise.
39784 * math/w_sqrt.c: Likewise.
39785 * math/w_sqrtf.c: Likewise.
39786 * math/w_sqrtl.c: Likewise.
39787 * math/w_tgamma.c: Likewise.
39788 * math/w_tgammaf.c: Likewise.
39789 * math/w_tgammal.c: Likewise.
39791 * po/ja.po: Update from translation team.
39793 2011-09-29 Andreas Jaeger <aj@suse.de>
39796 * sunrpc/netname.c (netname2host): Fix logic.
39800 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39802 * math/w_remainder.c (__remainder): Likewise.
39803 * math/w_remainderf.c (__remainderf): Likewise.
39804 * math/libm-test.inc (remainder_test): Add test cases.
39806 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39808 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39811 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39813 * string/test-memcmp.c: Avoid unncessary #defines.
39814 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39816 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39818 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39819 Use new sse2 version for core i3 - i7 as it's faster
39820 than sse42 version.
39821 (bit_Prefer_PMINUB_for_stringop): New.
39822 * sysdeps/x86_64/rawmemchr.S: Update.
39823 Replace with faster SSE2 version.
39824 * sysdeps/x86_64/memrchr.S: New file.
39825 * sysdeps/x86_64/memchr.S: Update.
39826 Replace with faster SSE2 version.
39828 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39830 * elf/dl-load.c (lose): Add cast to avoid warning.
39832 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39834 * po/ca.po: Update from translation team.
39836 * inet/getnetgrent_r.c: Hook up nscd.
39837 * nscd/Makefile (routines): Add nscd_netgroup.
39838 (nscd-modules): Add netgroupcache.
39839 (CFLAGS-netgroupcache.c): Define.
39840 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39841 (cache_search): Add const to second parameter.
39842 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39844 (dbs): Add netgrdb entry.
39845 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39846 (verify_persistent_db): Handle netgrdb.
39847 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39848 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39850 (netgroup_response_header): Define.
39851 (innetgroup_response_header): Define.
39852 (datahead): Add netgroup_response_header and innetgroup_response_header
39854 * nscd/nscd.conf: Add entries for netgroup cache.
39855 * nscd/nscd.h (dbtype): Add netgrdb.
39856 (_PATH_NSCD_NETGROUP_DB): Define.
39857 (netgroup_iov_disabled): Declare.
39858 (xmalloc, xcalloc, xrealloc): Move declarations here.
39859 (cache_search): Adjust prototype.
39860 Add netgroup-related prototypes.
39861 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39862 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39863 (__nscd_innetgr): Declare.
39864 * nscd/selinux.c (perms): Use access_vector_t as element type and
39865 add netgroup-related initializers.
39866 * nscd/netgroupcache.c: New file.
39867 * nscd/nscd_netgroup.c: New file.
39868 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39869 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39870 For four parameters use innetgr.
39871 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39872 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39873 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39874 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39876 * nscd/connections.c (register_traced_file): Don't register file
39877 for disabled databases.
39879 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39881 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39883 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39884 from tree and freeing node.
39886 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39888 * nss/nsswitch.c (__nss_database_lookup): Handle
39889 nss_parse_service_list out of memory case.
39891 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39893 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39894 out of memory case.
39896 2011-10-04 Andreas Schwab <schwab@redhat.com>
39898 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39899 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39901 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39902 elf_machine_rela, elf_machine_lazy_rel.
39903 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39904 (ELF_DYNAMIC_DO_REL): Likewise.
39905 (ELF_DYNAMIC_DO_RELA): Likewise.
39906 (ELF_DYNAMIC_RELOCATE): Likewise.
39907 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39908 to ELF_DYNAMIC_DO_REL.
39909 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39910 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39911 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39913 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39914 skip_ifunc, don't call ifunc function if non-zero.
39915 (elf_machine_rela): Likewise.
39916 (elf_machine_lazy_rel): Likewise.
39917 (elf_machine_lazy_rela): Likewise.
39918 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39919 (elf_machine_lazy_rel): Likewise.
39920 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39922 (elf_machine_lazy_rel): Likewise.
39923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39925 (elf_machine_lazy_rel): Likewise.
39926 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39927 (elf_machine_lazy_rel): Likewise.
39928 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39929 (elf_machine_lazy_rel): Likewise.
39930 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39931 (elf_machine_lazy_rel): Likewise.
39932 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39933 (elf_machine_lazy_rel): Likewise.
39934 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39935 (elf_machine_lazy_rel): Likewise.
39936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39937 (elf_machine_lazy_rel): Likewise.
39939 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39941 * nss/nss_files/files-init.c (_nss_files_init): Use static
39942 initialization for all the *_traced_file variables.
39944 2011-09-28 Andreas Schwab <schwab@redhat.com>
39946 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39948 2011-09-27 Roland McGrath <roland@hack.frob.com>
39951 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39953 2011-09-27 Andreas Schwab <schwab@redhat.com>
39955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39956 Reread the line before reparsing it.
39958 2011-09-26 Andreas Schwab <schwab@redhat.com>
39960 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39962 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39963 Maxim Kuvyrkov <maxim@codesourcery.com>
39964 Joseph Myers <joseph@codesourcery.com>
39966 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39967 if needed for __stack_chk_guard.
39969 2011-09-19 Roland McGrath <roland@hack.frob.com>
39971 * sysdeps/posix/spawni.c (script_execute): Always define it.
39972 It will be optimized away if unused.
39973 (maybe_script_execute): New function.
39974 (__spawni): Call it.
39976 * Makerules: Don't include tls.make.
39977 (config-tls): Always set to thread.
39978 * tls.make.c: File removed.
39980 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39982 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39983 * config.make.in (CPPFLAGS-config): New substituted variable.
39985 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39987 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39990 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39991 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39993 2011-09-15 Roland McGrath <roland@hack.frob.com>
39995 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39996 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39998 (CALL_FAIL): Likewise.
39999 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40000 (CALL_FAIL): Macro removed.
40001 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40003 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40005 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40006 for __FINITE_MATH_ONLY__ == 1.
40008 2011-09-15 Andreas Schwab <schwab@redhat.com>
40010 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40011 __ieee754_sqrt instead of sqrt.
40012 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40013 __ieee754_sqrtf instead of sqrtf.
40014 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40015 __floorf instead of floorf.
40016 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40017 __floorf, __truncf instead of floorf, truncf.
40019 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40021 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40023 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40024 __extern_always_inline.
40025 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40028 2011-09-14 Andreas Schwab <schwab@redhat.com>
40030 * elf/rtld.c (dl_main): Also relocate in dependency order when
40031 doing symbol dependency testing.
40033 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40036 Always define `refsym'.
40038 2011-09-13 Andreas Schwab <schwab@redhat.com>
40040 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40041 (__FD_ELT): Renamed from __FDELT.
40042 * misc/bits/select2.h (__FD_ELT): Likewise.
40043 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40044 __FD_MASK instead of __FDELT, __FDMASK.
40045 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40047 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40050 * elf/Makefile (gen-ldd): Fix pattern.
40052 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40053 (init_tls): Likewise.
40055 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40057 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40059 2011-09-12 Andreas Schwab <schwab@redhat.com>
40061 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40062 `struct cmsghdr *' instead of `void *'.
40063 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40066 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40068 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40070 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40071 ldd_rewrite_script.
40073 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40075 * configure.in: Remove --with-tls option.
40076 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40077 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40078 out in case it is missing.
40079 * sysdeps/ia64/elf/configure.in: Likewise.
40080 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40081 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40082 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40083 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40084 * sysdeps/sh/elf/configure.in: Likewise.
40085 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40086 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40087 * sysdeps/x86_64/elf/configure.in: Likewise.
40088 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40089 * sysdeps/mach/hurd/tls.h: Likewise.
40092 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40095 * configure.in: Fix use of AC_INIT.
40097 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40099 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40101 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40103 * malloc/hooks.c: Likewise.
40106 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40107 variables statically.
40108 (narenas): Initialize.
40109 (list_lock): Initialize.
40110 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40111 initializtion of main_arena and list_lock. Small cleanups.
40112 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40113 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40114 Add initializers to main_arena and mp_.
40115 (malloc_state): Remove pagesize member. Change all users to use
40118 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40119 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40120 is always initialized.
40122 * malloc/malloc.c: Removed unused configurations and dead code.
40123 * malloc/arena.c: Likewise.
40124 * malloc/hooks.c: Likewise.
40125 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40127 * include/tls.h: Removed. USE___THREAD must always be defined.
40128 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40129 * elf/dl-libc.c: Likewise.
40130 * elf/dl-tsd.c: Likewise.
40131 * include/errno.h: Likewise.
40132 * include/netdb.h: Likewise.
40133 * include/resolv.h: Likewise.
40134 * inet/herrno-loc.c: Likewise.
40135 * inet/herrno.c: Likewise.
40136 * malloc/arena.c: Likewise.
40137 * malloc/hooks.c: Likewise.
40138 * malloc/malloc.c: Likewise.
40139 * resolv/res-state.c: Likewise.
40140 * resolv/res_libc.c: Likewise.
40141 * sysdeps/i386/dl-machine.h: Likewise.
40142 * sysdeps/ia64/dl-machine.h: Likewise.
40143 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40144 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40145 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40146 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40147 * sysdeps/sh/dl-machine.h: Likewise.
40148 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40149 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40150 * sysdeps/unix/i386/sysdep.S: Likewise.
40151 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40152 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40157 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40158 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40161 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40162 * sysdeps/x86_64/dl-machine.h: Likewise.
40163 * tls.make.c: Likewise.
40165 * configure.in: Remove --with-__thread option. Make tests for
40166 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40167 tls_model attribute fail if no support is available. Remove
40169 * Makeconfig: Adjust for dropped configure option. All features are
40171 * Makerules: Likewise.
40172 * Versions.def: Likewise.
40173 * argp/argp-fmtstream.c: Likewise.
40174 * argp/argp-fmtstream.h: Likewise.
40175 * argp/argp-help.c: Likewise.
40176 * assert/assert.c: Likewise.
40177 * config.h.in: Likewise.
40178 * config.make.in: Likewise.
40179 * configure: Likewise.
40180 * configure.in: Likewise.
40181 * csu/Versions: Likewise.
40182 * csu/init.c: Likewise.
40183 * elf/tst-audit2.c: Likewise.
40184 * elf/tst-tls10.c: Likewise.
40185 * elf/tst-tls10.h: Likewise.
40186 * elf/tst-tls11.c: Likewise.
40187 * elf/tst-tls12.c: Likewise.
40188 * elf/tst-tls14.c: Likewise.
40189 * elf/tst-tlsmod11.c: Likewise.
40190 * elf/tst-tlsmod12.c: Likewise.
40191 * elf/tst-tlsmod13.c: Likewise.
40192 * elf/tst-tlsmod13a.c: Likewise.
40193 * elf/tst-tlsmod14a.c: Likewise.
40194 * elf/tst-tlsmod15b.c: Likewise.
40195 * elf/tst-tlsmod16a.c: Likewise.
40196 * elf/tst-tlsmod16b.c: Likewise.
40197 * elf/tst-tlsmod7.c: Likewise.
40198 * elf/tst-tlsmod8.c: Likewise.
40199 * elf/tst-tlsmod9.c: Likewise.
40200 * gmon/gmon.c: Likewise.
40201 * grp/fgetgrent_r.c: Likewise.
40202 * grp/putgrent.c: Likewise.
40203 * hurd/fopenport.c: Likewise.
40204 * include/libc-symbols.h: Likewise.
40205 * include/tls.h: Likewise.
40206 * intl/gettextP.h: Likewise.
40207 * intl/loadinfo.h: Likewise.
40208 * locale/global-locale.c: Likewise.
40209 * locale/localeinfo.h: Likewise.
40210 * mach/devstream.c: Likewise.
40211 * malloc/arena.c: Likewise.
40212 * malloc/set-freeres.c: Likewise.
40213 * misc/err.c: Likewise.
40214 * misc/getttyent.c: Likewise.
40215 * misc/mntent_r.c: Likewise.
40216 * posix/getopt.c: Likewise.
40217 * posix/wordexp.c: Likewise.
40218 * pwd/fgetpwent_r.c: Likewise.
40219 * resolv/Versions: Likewise.
40220 * resolv/res_hconf.c: Likewise.
40221 * shadow/fgetspent_r.c: Likewise.
40222 * shadow/putspent.c: Likewise.
40223 * stdio-common/printf_fphex.c: Likewise.
40224 * stdio-common/tmpfile.c: Likewise.
40225 * stdlib/abort.c: Likewise.
40226 * stdlib/fmtmsg.c: Likewise.
40227 * sunrpc/auth_unix.c: Likewise.
40228 * sunrpc/clnt_perr.c: Likewise.
40229 * sunrpc/clnt_tcp.c: Likewise.
40230 * sunrpc/clnt_udp.c: Likewise.
40231 * sunrpc/clnt_unix.c: Likewise.
40232 * sunrpc/openchild.c: Likewise.
40233 * sunrpc/svc_simple.c: Likewise.
40234 * sunrpc/svc_tcp.c: Likewise.
40235 * sunrpc/svc_udp.c: Likewise.
40236 * sunrpc/svc_unix.c: Likewise.
40237 * sunrpc/xdr.c: Likewise.
40238 * sunrpc/xdr_array.c: Likewise.
40239 * sunrpc/xdr_rec.c: Likewise.
40240 * sunrpc/xdr_ref.c: Likewise.
40241 * sunrpc/xdr_stdio.c: Likewise.
40243 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40245 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40247 2011-07-03 Andreas Jaeger <aj@suse.de>
40249 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40250 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40251 regenerate with gen-libm-tests.pl.
40253 2010-05-12 Petr Baudis <pasky@suse.cz>
40256 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40257 around j0() zero points by switching to j1().
40258 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40263 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40265 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40267 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40270 Patch in part by Pavel Roskin <proski@gnu.org>.
40273 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40275 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40276 Free memory block if necessary.
40279 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40280 be NULL. Don't lock in this case.
40282 2011-09-09 Roland McGrath <roland@hack.frob.com>
40284 * elf/elf.h (ELFOSABI_GNU): New macro.
40285 (ELFOSABI_LINUX): Define to that.
40287 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40289 * string/strncat.c (strncat): Undef the symbol in case it has been
40290 defined in bits/string.h.
40292 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40294 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40296 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40299 2011-08-17 Andreas Jaeger <aj@suse.de>
40301 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40303 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40304 Ian Lance Taylor <iant@google.com>
40306 * math/libm-test.inc (lround_test): New testcase.
40307 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40309 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40311 * Makefile: Remove support for automatic cvs check-ins.
40312 * Makerules: Likewise.
40313 * config.make.in: Likewise.
40314 * configure.in: Likewise.
40315 * intl/Makefile: Likewise.
40316 * locale/Makefile: Likewise.
40317 * po/Makefile: Likewise.
40318 * posix/Makefile: Likewise.
40319 * sysdeps/gnu/Makefile: Likewise.
40320 * sysdeps/mach/hurd/Makefile: Likewise.
40321 * sysdeps/sparc/sparc32/Makefile: Likewise.
40324 * posix/Makefile (bug-regex32-ENV): Define.
40325 Patch by John Stanley <jpsinthemix@verizon.net>.
40327 * misc/Makefile (headers): Add bits/select2.h.
40328 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40329 * misc/bits/select2.h: New file.
40330 * include/bits/select2.h: New file.
40331 * debug/Makefile (routines): Add fdelt_chk.
40332 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40333 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40335 * debug/fdelt_chk.c: New file.
40337 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40338 * wcsmbs/test-wmemcmp.c: Likewise.
40339 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40340 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40342 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40344 * string/Makefile (strop-tests): Add memcmp.
40345 * string/test-wmemcmp.c: New file.
40346 * string/test-memcmp.c: Add wmemcmp support.
40348 2011-09-08 Roland McGrath <roland@hack.frob.com>
40351 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40354 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40355 garbage value in a __mach_port_mod_refs call in the cases of the
40356 task-self and thread-self ports.
40358 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40360 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40362 2011-09-08 Andreas Schwab <schwab@redhat.com>
40364 * elf/dl-load.c (lose): Check for non-null L.
40366 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40368 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40370 * elf/dl-libc.c (dlerror_run): Pass back error code from
40374 * elf/dl-load.c (lose): Free l_origin if it is valid.
40376 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40378 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40379 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40380 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40381 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40382 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40383 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40385 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40387 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40388 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40389 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40390 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40391 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40392 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40393 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40394 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40395 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40396 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40398 2011-08-15 Alan Modra <amodra@gmail.com>
40401 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40402 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40403 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40404 ppc_mcount to static-only-routines.
40405 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40407 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40408 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40410 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40412 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40413 for finite and infinity parameters.
40415 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40418 and add nop instructions for throughput optimization.
40419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40421 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40423 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40424 aligned copy for power7 with vector-scalar instructions.
40425 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40427 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40432 2011-09-07 Andreas Schwab <schwab@redhat.com>
40435 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40438 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40440 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40441 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40442 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40443 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40446 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40449 Forgot to demangle the pointer.
40451 * sysdeps/i386/sysdep.h: Define atom_text_section.
40452 * sysdeps/x86_64/sysdep.h: Likewise.
40453 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40454 section with atom_text_section.
40455 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40457 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40459 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40461 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40462 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40463 already be defined. Change to take two parameters and don't assign
40464 result to variable. Adjust all users.
40465 Define INTERNAL_GETTIME if not already defined.
40466 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40469 HAVE_CLOCK_GETTIME_VSYSCALL.
40470 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40472 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40473 gettimeofday vsyscall, just use time.
40475 2011-09-06 Andreas Schwab <schwab@redhat.com>
40477 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40480 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40482 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40486 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40487 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40488 syscall if possible.
40490 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40492 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40493 e_ident. Don't pass to find_mapsXX.
40494 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40496 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40499 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40500 * sysdeps/x86_64/multiarch/strchr.S: Update.
40501 Check bit_slow_BSF bit.
40502 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40503 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40506 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40509 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40511 (tryshell): Define.
40512 (__spawni): Change last parameter to be flag. Test
40513 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40514 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40515 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40516 * posix/spawni.c: Likewise.
40517 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40518 * posix/spawnp.c: Likewise. Change normal version to use
40519 SPAWN_XFLAGS_USE_PATH.
40520 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40521 SPAWN_XFLAGS_TRY_SHELL.
40524 * posix/glob.h: Remove gcc 1.x support.
40527 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40529 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40532 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40534 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40535 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40536 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40537 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40538 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40541 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40543 * sysdeps/x86_64/wcscmp.S: New file.
40545 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40546 wcscmp-c wcscmp-sse2
40547 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40548 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40549 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40550 * wcsmbs/wcscmp.c: Allow renaming.
40552 2011-09-05 David S. Miller <davem@davemloft.net>
40554 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40555 stack slot, rather than the struct return pointer slot.
40556 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40557 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40559 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40561 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40563 * po/ja.po: Update from translation team.
40566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40567 kernel in 64-bit binaries.
40569 2011-09-01 David S. Miller <davem@davemloft.net>
40571 * elf/elf.h (HWCAP_SPARC_*): Move to..
40572 * sysdeps/sparc/sysdep.h: this new file and add new values.
40573 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40574 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40575 _DL_HWCAP_COUNT to 24.
40576 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40578 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40579 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40580 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40582 instead of magic constants.
40583 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40585 2011-08-31 David S. Miller <davem@davemloft.net>
40587 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40589 Reimplement to do errno handling inline.
40590 (SYSCALL_ERROR_HANDLER): New macro.
40591 (__SYSCALL_STRING): Do not do errno handling in asm.
40592 (__CLONE_SYSCALL_STRING): Delete.
40593 (__INTERNAL_SYSCALL_STRING): Delete.
40594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40595 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40596 (PSEUDO): Reimplement to do errno handling inline.
40597 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40598 (SYSCALL_ERROR_HANDLER): New macro.
40599 (__SYSCALL_STRING): Do not do errno handling in asm.
40600 (__CLONE_SYSCALL_STRING): Delete.
40601 (__INTERNAL_SYSCALL_STRING): Delete.
40602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40603 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40605 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40606 (inline_syscall*): Add 'err' argument.
40607 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40608 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40609 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40610 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40612 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40613 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40615 2011-08-30 Andreas Schwab <schwab@redhat.com>
40617 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40619 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40621 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40624 2011-08-24 David S. Miller <davem@davemloft.net>
40626 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40628 2011-08-24 Andreas Schwab <schwab@redhat.com>
40630 * elf/Makefile: Add rules to build and run unload8 test.
40631 * elf/unload8.c: New file.
40632 * elf/unload8mod1.c: New file.
40633 * elf/unload8mod1x.c: New file.
40634 * elf/unload8mod2.c: New file.
40635 * elf/unload8mod3.c: New file.
40637 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40640 2011-08-23 David S. Miller <davem@davemloft.net>
40642 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40643 subtract stack bias.
40644 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40645 %sp not %fp in calculations.
40646 (_JMPBUF_UNWINDS_ADJ): Likewise.
40648 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40649 (aio_suspend): Call it to force an exception region around the
40650 AIO_MISC_WAIT() invocation.
40652 2011-08-23 Andreas Schwab <schwab@redhat.com>
40654 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40657 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40659 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40661 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40662 and <dl-machine.h>.
40663 (Elf64_FuncDesc): Remove.
40665 2011-08-22 David S. Miller <davem@davemloft.net>
40667 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40668 sigaltstack check, add missing cfi directives.
40669 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40670 missing cfi directives, and sigaltstack handling.
40672 2011-08-16 Andreas Schwab <schwab@redhat.com>
40675 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40676 object is seen twice.
40677 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40679 * elf/Makefile (distribute): Add tst-initorder2.c.
40680 (tests): Add tst-initorder2.
40681 (modules-names): Add tst-initorder2a tst-initorder2b
40682 tst-initorder2c tst-initorder2d. Add rules to build them.
40683 ($(objpfx)tst-initorder2.out): New rule.
40684 * elf/tst-initorder2.c: New file.
40685 * elf/tst-initorder2.exp: New file.
40687 2011-08-22 Andreas Schwab <schwab@redhat.com>
40689 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40691 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40692 dependencies back to end of function.
40694 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40695 $(elfobjdir)/ld.so.
40697 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40700 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40702 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40703 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40704 of __vdso_gettimeofday.
40705 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40706 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40708 (_libc_vdso_platform_setup): Remove initialization of
40709 __vdso_gettimeofday and __vdso_time.
40711 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40713 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40714 and fgetc_unlocked.
40715 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40718 * elf/dl-open.c (add_to_global): Report additions to the global scope
40719 for LD_DEBUG=scopes.
40720 (dl_open_worker): Also print scope of newly loaded dependencies.
40721 (_dl_show_scope): Indicate if there is no scope.
40724 * stdio-common/Makefile (tests): Add bug24.
40725 * stdio-common/bug24.c: New file.
40727 2011-08-19 Andreas Jaeger <aj@suse.de>
40730 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40731 non-existant file when using close-on-exec mode.
40733 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40736 the very first instruction.
40738 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40739 the CFI state in the end.
40740 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40741 inclusion of dl-trampoline.h.
40742 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40744 2011-08-19 Andreas Schwab <schwab@redhat.com>
40746 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40747 expectations for long double.
40749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40750 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40752 2011-08-14 David S. Miller <davem@davemloft.net>
40754 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40755 artificual limit depends upon the system page size.
40757 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40759 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40760 * resolv/Makefile: Define CFLAGS-libresolv.
40762 2011-08-17 Andreas Schwab <schwab@redhat.com>
40764 * nss/makedb.c (compute_tables): Make variables used in nested
40767 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40769 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40770 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40771 if buffer was too small.
40773 * elf/pldd.c (main): Attach to all threads in the process.
40774 Rewrite /proc handling to use *at functions.
40776 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40778 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40779 specifies first scope to show.
40780 (dl_open_worker): Update callers. Move printing scope of new
40781 object to before the relocation.
40782 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40783 * sysdeps/generic/ldsodefs.h: Update declaration.
40785 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40786 string for the scope number.
40788 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40790 * nscd/servicescache.c (cache_addserv): Make sure written is always
40793 2011-08-14 Roland McGrath <roland@hack.frob.com>
40795 * sysdeps/i386/i486/bits/atomic.h
40796 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40797 statement expression, so as to suppress "set but not used" warning.
40798 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40800 * string/strncat.c (STRNCAT): Use prototype definition.
40802 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40803 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40805 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40806 (localedef-modules): Add localedef.
40807 (locale-modules): Add locale.
40809 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40810 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40811 to avoid a warning.
40813 2011-08-14 David S. Miller <davem@davemloft.net>
40815 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40816 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40818 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40820 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40821 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40822 * elf/rtld.c (dl_main): Set l_name of vDSO.
40823 Call _dl_show_scope when DL_DEBUG_SCOPES.
40824 (process_dl_debug): Recognize scopes flag and also set it for all.
40825 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40826 Declare _dl_show_scope.
40828 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40829 (do_dlopen): Pass caller_dlopen to dl_open.
40830 (__libc_dlopen_mode): Initialize caller_dlopen.
40832 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40833 of libc. Make tolower call locale-independent. Optimize a bit by
40834 using isdigit instead of isalnum.
40835 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40837 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40839 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40840 was a dependency or dynamically loaded.
40842 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40844 * intl/l10nflist.c: Allow architecture-specific pop function.
40845 * sysdeps/x86_64/l10nflist.c: New file.
40847 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40850 2011-08-10 Andreas Schwab <schwab@redhat.com>
40852 * include/dirent.h: Add libc_hidden_proto for scandirat and
40853 scandirat64. Don't declare __scandirat64.
40854 * dirent/scandirat.c: Add libc_hidden_def.
40855 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40856 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40858 2011-08-10 David S. Miller <davem@davemloft.net>
40860 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40863 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40864 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40866 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40868 * Versions.def [libc]: Add GLIBC_2.15.
40869 * dirent/Makefile (routines): Add scandirat and scandirat64.
40870 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40872 * dirent/dirent.h: Declare scandirat and scandirat64.
40873 * dirent/scandirat.c: New file.
40874 * dirent/scandirat64.c: New file.
40875 * sysdeps/wordsize-64/scandirat.c: New file.
40876 * sysdeps/wordsize-64/scandirat64.c: New file.
40877 * dirent/opendir.c: Define opendirat.
40878 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40880 * dirent/scandir64.c: Adjust for scandir.c change.
40881 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40882 __scandirat64, and __scandir_cancel_handler.
40883 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40884 additional parameter and use openat instead of open (outside of ld.so).
40885 Add new __opendir as wrapper around __opendirat.
40886 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40887 here without requiring old scandirat implementation.
40889 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40891 * dirent/scandir.c (cancel_handler): Renamed to
40892 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40893 defined. Adjust users.
40894 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40895 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40897 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40899 * string/test-string.h (IMPL): Use __STRING to expand name and then
40902 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40905 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40907 * string/Makefile: Update.
40908 (strop-tests): Append strncat.
40909 * string/test-wcscmp.c: New file.
40910 New comprehensive test for wcscmp.
40911 * string/test-strcmp.c: Update.
40912 (WIDE): New define.
40914 2011-07-22 Andreas Schwab <schwab@redhat.com>
40916 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40919 2011-07-26 Andreas Schwab <schwab@redhat.com>
40921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40922 encoding to ACE if AI_IDN.
40924 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40927 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40929 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40932 Fix overflow bug in strncat.
40933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40935 * string/test-strncat.c: Update.
40936 Add new tests for checking overflow bugs.
40938 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40941 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40942 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40943 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40945 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40946 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40947 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40948 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40951 (USE_AS_STRCAT): Define.
40952 Add strcat and strncat support.
40953 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40955 2011-07-25 Andreas Schwab <schwab@redhat.com>
40957 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40958 __n bigger than INT_MAX+1.
40959 (__strncmp_g): Likewise.
40961 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40963 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40964 * libio/stido.h: Likewise.
40966 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40971 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40972 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40973 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40974 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40975 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40978 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40983 (_dl_x86_64_save_sse): Likewise.
40985 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40989 (_dl_x86_64_save_sse): Likewise.
40991 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40993 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40995 2011-07-21 Andreas Schwab <schwab@redhat.com>
40997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40999 (_dl_x86_64_save_sse): Use correct AVX check.
41001 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41003 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41004 bug in strncpy/strncat.
41005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41007 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41009 * string/tester.c (test_strcat): Add tests for different alignments
41010 of source and destination.
41011 (test_strncat): Likewise.
41013 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41016 * posix/glob.c (glob): Check passed in values before using them in
41017 expressions to avoid some overflows.
41018 (glob_in_dir): Likewise.
41021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41022 check for AVX enablement so that we don't crash with old kernels and
41024 * elf/tst-audit4.c: Add same checks here.
41025 * elf/tst-audit6.c: Likewise.
41027 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41029 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41031 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41033 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41035 * po/cs.po: Update from translation team.
41036 * po/bg.po: Likewise.
41038 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41040 * misc/sys/cdefs.h: Add support for const attribute.
41041 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41042 to gnu_dev_{major,minor,makedev} functions.
41044 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41046 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41048 2011-07-20 Andreas Schwab <schwab@redhat.com>
41050 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41053 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41056 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41057 register in order to avoid conflicts with the soft frame pointer
41058 being held in r11 when necessary.
41059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41060 (INTERNAL_VSYSCALL_NCS): Likewise.
41062 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41064 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41065 * elf/dl-fini.c (_dl_fini): Adjust caller.
41066 * elf/dl-close.c (_dl_close_worker): Likewise.
41067 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41069 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41071 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41072 "aux_cache->nlibs < 0".
41074 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41075 in the reload-count case.
41077 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41080 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41081 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41082 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41083 * sysdeps/x86_64/multiarch/strcat.S: New file.
41084 * sysdeps/x86_64/multiarch/strncat.S: New file.
41085 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41086 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41087 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41088 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41090 (USE_AS_STRCAT): Define.
41091 Add strcat and strncat support.
41092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41093 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41094 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41095 * string/strncat.c: Update.
41096 (USE_AS_STRNCAT): Define.
41097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41098 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41100 * sysdeps/x86_64/multiarch/init-arch.h
41101 (bit_Prefer_PMINUB_for_stringop): New.
41102 (index_Prefer_PMINUB_for_stringop): Likewise.
41103 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41104 bit_Prefer_PMINUB_for_stringop.
41106 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41108 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41110 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41111 of casting of buffer.
41112 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41113 buffer32 and buffer64.
41114 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41115 writes instead of casting of buffer.
41116 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41118 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41121 2011-07-19 Andreas Schwab <schwab@redhat.com>
41123 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41125 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41127 * nscd/nscd.c (termination_handler): Don't do anything for a database
41128 if it has not yet been initialized.
41130 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41132 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41134 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41136 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41138 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41140 * po/nl.po: Update from translation team.
41141 * po/sv.po: Likewise.
41143 2011-07-16 Roland McGrath <roland@hack.frob.com>
41145 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41146 now disallowed by GCC.
41148 * configure.in (use-default-link): Default to yes if a test -shared
41149 link meets our qualifications.
41150 * configure: Regenerated.
41152 * config.make.in (output-format): New variable.
41153 * configure.in: Check for ld --print-output-format support.
41154 * configure: Regenerated.
41155 * Makerules ($(common-objpfx)format.lds)
41156 [$(output-format) != unknown]: Just use $(output-format),
41157 instead of the linker-script munging.
41159 2011-07-14 Roland McGrath <roland@hack.frob.com>
41161 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41162 of $(common-objpfx)shlib.lds.
41163 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41165 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41166 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41168 * configure.in (-z relro check): Adjust test code to add a large
41169 writable data section after it.
41170 * configure: Regenerated.
41172 2011-07-11 Roland McGrath <roland@hack.frob.com>
41174 * configure.in (-z relro check): Fix test code to make the variable
41176 * configure: Regenerated.
41178 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41180 * nscd/nscd.h (struct traced_file): Define.
41181 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41182 elements. Add traced_files.
41183 (inotify_fd): Declare.
41184 (register_traced_file): Declare.
41185 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41186 (inotify_fd): Export.
41187 (resolv_conf_descr): Remove.
41188 (nscd_init): Move inotify descriptor creation to main.
41189 Don't register files for notification here.
41190 (register_traced_file): New function.
41191 (invalidate_cache): Don't use reset_res to determine whether to call
41192 res_init, go through the list of registered files.
41193 (main_loop_poll): The inotify descriptors are now stored in the
41194 structures for the traced files.
41195 (main_loop_epoll): Likewise
41196 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41197 to __nss_disable_nscd.
41198 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41199 for a database anymore. Check the records for all the registered
41201 * nss/Makefile (libnss_files-routines): Add files-init.
41202 (libnss_db-routines): Add db-init.
41203 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41204 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41205 * nss/nss_db/db-init.c: New file.
41206 * nss/nss_files/files-init.c: New file.
41207 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41208 __nss_lookup_function.
41209 (__nss_lookup_function): Call nss_load_library.
41210 (nss_load_all_libraries): New function.
41211 (__nss_disable_nscd): Take parameter with callback function for files
41212 to register. Set is_nscd. Load all the DSOs for the NSS modules
41213 used for the cached services.
41214 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41215 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41216 options for features to all the files in nscd.
41218 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41220 2011-07-10 Roland McGrath <roland@hack.frob.com>
41222 * csu/elf-init.c (__libc_csu_init): Comment typo.
41224 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41226 * po/pl.po: Update from translation team.
41227 * po/ja.po: Likewise.
41228 * po/ru.po: Likewise.
41229 * po/ko.po: Likewise.
41230 * po/fr.po: Likewise.
41232 2011-07-09 Roland McGrath <roland@hack.frob.com>
41234 * configure.in (.ctors/.dtors header and trailer check):
41235 Use an empirical test on a built program.
41236 * configure: Regenerated.
41238 * configure.in (-z relro check): Use an empirical test on a built DSO.
41239 Detect, but do not require, on ia64.
41240 * configure: Regenerated.
41242 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41243 Update tests that use readelf to use $READELF instead.
41244 * configure: Regenerated.
41246 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41248 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41249 if the result is not used.
41251 2011-07-05 Andreas Jaeger <aj@suse.de>
41254 * stdlib/tst-strtod.c: Add testcase.
41256 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41258 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41259 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41260 The latter has a higher limit. Take additional parameter to pass to
41262 (__pathconf): Pass file to __statfs_link_max.
41263 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41265 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41269 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41270 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41272 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41273 (__statfs_filesize_max): Likewise.
41274 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41276 2011-07-05 Andreas Jaeger <aj@suse.de>
41278 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41280 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41282 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41284 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41287 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41289 * Makefile (strop-tests): Add strncat.
41290 * string/test-strncat.c: New file.
41292 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41294 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41296 2011-06-21 Andreas Jaeger <aj@suse.de>
41298 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41299 Copy rule from iconvdata/Makefile.
41301 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41304 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41305 but no long options are defined, just return 'W'.
41307 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41310 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41312 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41314 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41316 (innetgr): Likewise.
41318 2011-07-05 Roland McGrath <roland@hack.frob.com>
41320 * config.make.in (install_root): Default to $(DESTDIR).
41322 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41326 2011-07-02 Roland McGrath <roland@hack.frob.com>
41328 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41330 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41331 containing directory rather than embedding absolute directory names.
41333 * scripts/check-local-headers.sh: Rewritten using awk.
41334 Match by word, not by line. Print error messages for matches.
41335 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41337 * Makerules [shlib-lds-flags empty]:
41338 ($(common-objpfx)libc_pic.opts): New target.
41339 ($(common-objpfx)libc_pic.os.clean): New target.
41340 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41342 * config.make.in (OBJCOPY): New variable.
41343 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41344 * configure: Regenerated.
41346 * config.make.in (use-default-link): New variable.
41347 * configure.in (use_default_link): Grok --with-default-link to set it.
41348 * configure: Regenerated.
41349 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41350 (shlib-lds, shlib-lds-flags): Define to empty.
41352 * Makerules (shlib-lds): New variable.
41353 (shlib-lds-flags): New variable.
41354 (build-shlib, build-moduile, build-module-asneeded): Use it.
41355 ($(common-objpfx)libc.so): Use $(shlib-lds).
41356 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41357 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41359 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41360 DT_FLAGS/DT_FLAGS_1 with zero flags.
41362 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41363 linker script munging.
41365 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41367 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41369 * crypt/sha512.c (sha512_process_block): Perform total addition using
41370 128-bit if possible.
41371 (__sha512_finish_ctx): Likewise.
41372 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41374 * crypt/sha256.c (SWAP64): Define.
41375 (sha256_process_block): Perform total addition using 64-bit if
41377 (__sha256_finish_ctx): Likewise.
41379 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41381 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41383 * nscd/hstcache.c (cache_addhst): Likewise.
41384 * nscd/grpcache.c (cache_addgr): Likewise.
41385 * nscd/aicache.c (addhstaiX): Likewise
41386 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41388 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41390 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41392 * nscd/hstcache.c (cache_addhst): Likewise.
41393 * nscd/grpcache.c (cache_addgr): Likewise.
41394 * nscd/aicache.c (addhstaiX): Likewise
41396 2011-07-01 Andreas Schwab <schwab@redhat.com>
41398 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41399 domain only when needed.
41401 2011-06-30 Andreas Schwab <schwab@redhat.com>
41403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41404 is always restored.
41406 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41408 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41409 are re-adding the entry.
41410 * nscd/servicescache.c (cache_addserv): Likewise.
41412 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41414 * sysdeps/generic/dl-irel.h: fix protection against multiple
41416 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41418 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41421 * malloc/memusage.sh: Fix quoting in message.
41422 * debug/xtrace.sh: Likewise.
41424 * configure.in: Remove support for --experimental-malloc option, make
41426 * config.make.in: Likewise.
41427 * malloc/Makefile: Likewise.
41429 2011-06-27 Andreas Schwab <schwab@redhat.com>
41431 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41432 two-byte characters.
41434 2011-06-27 Roland McGrath <roland@hack.frob.com>
41436 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41437 AC_CACHE_CHECK invocation.
41438 * configure: Regenerated.
41440 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41442 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41445 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41446 bit from old_res_options.
41448 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41450 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41451 value type for setfct.
41453 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41456 __gettimeofday instead of gettimeofday.
41458 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41460 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41462 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41464 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41469 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41472 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41473 strcpy-sse2-unaligned strncpy-sse2-unaligned
41474 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41475 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41476 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41477 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41478 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41479 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41480 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41481 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41482 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41483 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41484 (STRCPY): Support SSE2 and SSSE3 versions.
41486 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41489 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41490 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41491 kernels which artificially limit size of requests.
41493 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41496 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41497 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41498 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41499 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41500 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41501 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41502 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41505 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41506 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41507 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41508 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41509 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41511 Enable unaligned load optimization for Intel Core i3, i5 and i7
41513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41515 (index_Fast_Unaligned_Load): Define.
41516 (HAS_FAST_UNALIGNED_LOAD): Define.
41518 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41520 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41522 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41526 until it is clear that the information is realy needed.
41527 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41529 2011-06-22 Andreas Schwab <schwab@redhat.com>
41531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41533 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41536 /sys/devices/system/cpu/online if it is usable.
41538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41539 reading the information from the /proc filesystem to once a second.
41541 2011-06-21 Andreas Jaeger <aj@suse.de>
41543 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41544 NULL after inclusion of kernel headers.
41546 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41548 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41549 calls to internal_setent.
41552 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41553 addresses using gethostbyname4_r ignore IPv4 addresses.
41555 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41556 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41558 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41560 2011-06-20 David S. Miller <davem@davemloft.net>
41562 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41564 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41566 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41567 (elf_irel): Use it.
41568 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41569 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41570 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41571 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41572 * sysdeps/x86_64/dl-irel.h: Likewise.
41574 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41575 * elf/dl-sym.c: Likewise.
41577 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41579 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41580 need to dereference resplen2.
41582 2011-06-14 Andreas Schwab <schwab@redhat.com>
41584 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41586 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41588 * Makeconfig: Define vardbdir and inst_vardbdir.
41589 * nss/Makefile: Add rules to install db-Makefile.
41591 * nss/nss_db/db-XXX.c: Cleanup.
41593 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41594 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41596 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41597 * nss/makedb.c: Implement -g option to specify that value strings
41598 are generated and should not be added to table iterated over for
41600 * nss/nss_db/db-initgroups.c: New file.
41602 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41605 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41606 (internal_getgrouplist): Adjust to name change.
41607 Update use_initgroups_entry if this is not the first call.
41608 * nss/databases.def: Add initgroups entry.
41610 * nss/makedb.c (compute_tables): Check result of multiple hash table
41611 sizes to minimize maximum chain length.
41613 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41615 * Versions.def: Add entry for libnss_db.
41616 * shlib-versions: Likewise.
41617 * nss/Makefile: Add rules to build libnss_db.
41618 * nss/Versions: Add libnss_db information. Organize libnss_files
41620 * nss/db-Makefile: Add gshadow support. Change rules for the new
41621 makedb progra. Some minor improvements to generate smaller files.
41622 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41624 * nss/makedb.c: ...here.
41625 Improve database format to be smaller and require less memory at
41627 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41629 * nss/nss_db/db-netgrp.c: Likewise.
41630 * nss/nss_db/db-open.c: Likewise.
41631 * nss/nss_files/flies-XXX.x: Adjust comments.
41632 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41633 * nss/nss_files/files-grp.c: Likewise.
41634 * nss/nss_files/files-hosts.c: Likewise.
41635 * nss/nss_files/files-network.c: Likewise.
41636 * nss/nss_files/files-proto.c: Likewise.
41637 * nss/nss_files/files-pwd.c: Likewise.
41638 * nss/nss_files/files-rpc.c: Likewise.
41639 * nss/nss_files/files-service.c: Likewise.
41640 * nss/nss_files/files-sgrp.c: Likewise.
41641 * nss/nss_files/files-spwd.c: Likewise.
41642 * nss/nss_db/db-alias.c: Removed.
41643 * nss/nss_db/dummy-db.h: Removed.
41645 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41647 * nss/makedb.c: Rewritten to not use database library.
41648 * nss/Makefile: Update to build new makedb program.
41650 2011-06-14 Andreas Jaeger <aj@suse.de>
41652 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41653 memset declaration.
41655 2011-06-10 Andreas Schwab <schwab@redhat.com>
41657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41660 2011-06-10 Roland McGrath <roland@hack.frob.com>
41662 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41663 * elf/Makefile ($(objpfx)ld.so): Likewise.
41665 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41666 Don't list ld.so twice in dependencies.
41668 * posix/bug-regex31.c: Include <stdlib.h>.
41670 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41672 * nis/nss_compat/compat-spwd.c
41673 (getspent_next_nss_netgr): Remove unused variable.
41674 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41676 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41677 nonmembers" output to use the right array.
41679 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41681 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41683 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41684 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41685 * catgets/gencat.c (read_input_file): Likewise.
41686 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41688 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41689 variable definition inside #if's controlling its use.
41691 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41693 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41695 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41697 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41700 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41702 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41703 * configure: Regenerated.
41705 * Makerules: Revert last change.
41706 * elf/Makefile: Likewise.
41708 2011-06-09 Roland McGrath <roland@hack.frob.com>
41710 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41711 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41712 (reloc-link): Likewise.
41714 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41716 * elf/Makefile: Add rules to build pldd.
41717 * elf/pldd.c: New file.
41718 * elf/pldd-xx.c: New file.
41720 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41722 * version.h: Update for 2.15 development version.
41724 2011-06-07 David S. Miller <davem@davemloft.net>
41726 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41729 elf_machine_lazy_rel): Likewise.
41730 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41732 elf_machine_lazy_rel): Likewise.
41733 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41734 dl_hwcap via passed in argument.
41735 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41738 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41740 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41742 2011-06-06 Roland McGrath <roland@hack.frob.com>
41745 * manual/fdl-1.1.texi: New file, verbatim from:
41746 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41747 * manual/lgpl-2.1.texi: New file, verbatim from:
41748 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41749 * manual/Makefile (licenses): New variable, list those new file names.
41751 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41753 * manual/fdl.texi: File removed.
41754 * manual/lesser.texi: File removed.
41755 * manual/libc.texinfo (Copying, Documentation License):
41756 Use new @include file names, put @appendix directive before @include.
41758 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41761 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41762 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41763 (mq_open): Add __NTH.
41765 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41768 Assume Intel Core i3/i5/i7 processor if AVX is available.
41770 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41775 2011-05-31 Andreas Schwab <schwab@redhat.com>
41777 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41778 memory. Use alloca_account. Fix memory leak when retrying.
41780 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41782 * version.h (RELEASE): Bump for 2.14 release.
41783 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41785 * config.make.in (RANLIB): Remove entry.
41787 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41789 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41790 (libc.pot): Work around missing support for .ksh extension in xgettext.
41793 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41794 if both request failed.
41795 (send_dg): In case of server errors clear resplen or *resplen2.
41798 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41799 when there are multiple maps.
41800 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41801 (_dl_fini): Remove test here.
41803 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41805 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41808 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41809 bit from old_res_options.
41810 (gaih_inet): Likewise.
41813 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41816 * resolv/res_init.c (res_setoptions): Make the code more compact.
41819 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41823 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41825 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41828 * malloc/malloc.h: Declare malloc hook variables as volatile.
41830 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41834 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41835 raise in the comment.
41836 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41838 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41840 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41843 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41844 grow the buffers more if it already has to be sufficient.
41845 (build_wcs_upper_buffer): Likewise.
41846 * posix/regexec.c (check_matching): Likewise.
41847 (clean_state_log_if_needed): Likewise.
41848 (extend_buffers): Don't enlarge buffers beyond size of the input
41850 Patches mostly by Emil Wojak <emil@wojak.eu>.
41851 * posix/bug-regex32.c: New file.
41852 * posix/Makefile (tests): Add bug-regex32.
41854 * locale/findlocale.c (_nl_find_locale): Return right away if
41855 _nl_explode_name failed.
41856 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41858 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41860 * debug/xtrace.sh: Unify messages.
41861 * malloc/memusage.sh: Likewise.
41864 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41865 time symbol from vDSO. Substitute with vsyscall if not available.
41866 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41869 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41870 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41871 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41872 Add sendmmsg and internal_sendmmsg.
41873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41874 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41875 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41877 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41878 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41879 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41881 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41884 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41885 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41887 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41891 * iconvdata/Makefile (tests): Add bug-iconv9.
41892 * iconvdata/bug-iconv9.c: New file.
41894 2011-05-27 Andreas Schwab <schwab@redhat.com>
41897 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41899 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41901 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41902 (struct user_regs_struct): Change intcs field back to cs.
41904 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41906 * po/ja.po: Update from translation team.
41908 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41911 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41912 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41914 2011-05-20 Andreas Schwab <schwab@redhat.com>
41916 * stdlib/longlong.h: Update from GCC.
41918 2011-05-23 Andreas Schwab <schwab@redhat.com>
41920 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41922 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41923 Add parameter name.
41924 (__sysconf): Pass it down.
41926 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41929 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41931 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41932 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41933 add in in __libc_use_alloca calls. Adjust callers.
41934 (glob): Use malloc in some situations.
41936 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41937 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41940 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41942 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41943 and CLOCK_BOOTTIME_ALARM.
41946 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41949 * string/_strerror.c (__strerror_r): Print negative errors as signed
41953 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41954 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41955 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41957 * configure.in: Fix typo in redirection and correct removal of test
41958 files in two cases.
41961 * locale/setlocale.c (new_composite_name): Fix test to check for
41962 identical name of all categories.
41965 * libio/filedoalloc.c (local_isatty): New function.
41966 (_IO_file_doallocate): Use local_isatty.
41967 * stdio-common/perror.c (perror): In case a new stream is used
41968 forward the stream error.
41969 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41972 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41977 * include/alloca.h (extend_alloca_account): Define.
41980 * posix/regex.h: Fix comments with documentation of user-accessible
41981 fields after compilation and describe correct free'ing of pattern
41982 after re_compile_pattern.
41983 Patch by Reuben Thomas <rrt@sc3d.org>.
41985 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41987 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41988 and -mno-altivec to prevent the compiler from using Altivec and/or
41989 VSX instructions when the corresponding registers are not available.
41991 2011-05-19 Andreas Schwab <schwab@redhat.com>
41993 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41995 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41997 * libio/freopen.c (freopen): Use __dup2, not dup2.
41998 * libio/freopen64.c (freopen64): Likewise.
42000 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42003 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42004 * math/Makefile (tests): Add test-powl.
42005 (CFLAGS-test-powl.c): Define.
42006 * math/test-powl.c: New file.
42008 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42010 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42012 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42015 * iconvdata/gb18030.c: Update to GB18020-2005.
42017 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42019 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42020 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42021 Patch by Aharon Robbins <arnold@skeeve.com>.
42024 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42028 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42029 through underflows.
42032 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42033 point to strings before performing equality test for error_one_per_line
42037 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42040 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42041 (struct user_fpregs_struct): Avoid __uint*_t types.
42044 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42045 symbol info. Use it instead of calling _dl_addr locally.
42046 (lock_and_info): New function.
42047 (tr_freehook): Call lock_and_info and pass symbol info as additional
42048 parameter to tr_where.
42049 (tr_mallochook): Likewise.
42050 (tr_reallochook): Likewise.
42051 (tr_memalignhook): Likewise.
42053 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42054 used and couldn't be at all thread-safe.
42056 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42058 * libio/freopen.c (freopen): Don't close old file descriptor
42059 before the new one is opened. Instead dup the new file descriptor
42060 to the old one after the new stream is created.
42061 * libio/freopen64.c (freopen64): Likewise.
42062 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42063 * libio/fileops.c (_IO_new_file_close_it): Handle new
42064 _IO_FLAGS2_NOCLOSE flag.
42065 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42066 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42067 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42068 _IO_FLAGS2_NOCLOSE flag.
42069 * include/unistd.h: Add hidden_proto for dup3.
42070 Define __have_dup3.
42071 * io/dup3.c: Define hidden symbol.
42072 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42075 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42076 when an incomplete long option is used.
42077 * posix/tst-getopt_long1.c: New file.
42078 * posix/Makefile (tests): Add tst-getopt_long1.
42081 * scripts/config.guess: Update from autoconf-2.68.
42082 * scripts/config.sub: Likewise.
42085 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42087 (has_cpuclock): ...this. New function.
42088 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42089 macro here based on has_cpuclock code.
42092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42093 First byte (not low byte) is now always NUL.
42094 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42097 Use non-cancelable interfaces.
42100 * locale/iso-639.def: Add entry for Sorani.
42103 * include/stdlib.h: Move include protection to the right place.
42104 Define abort_msg_s. Declare __abort_msg with it.
42105 * stdlib/abort.c (__abort_msg): Adjust type.
42106 * assert/assert.c (__assert_fail_base): New function. Majority
42107 of code from __assert_fail. Allocate memory for __abort_msg with
42109 (__assert_fail): Now call __assert_fail_base.
42110 * assert/assert-perr.c: Remove bulk of implementation. Use
42111 __assert_fail_base.
42112 * include/assert.hL Declare __assert_fail_base.
42113 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42115 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42117 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42121 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42122 until all modules are registered in the DTV.
42123 * elf/Makefile: Add rules to build and run tst-tls19.
42124 * elf/tst-tls19.c: New file.
42125 * elf/tst-tls19mod1.c: New file.
42126 * elf/tst-tls19mod2.c: New file.
42127 * elf/tst-tls19mod3.c: New file.
42128 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42131 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42135 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42136 two-byte sequence errors.
42137 * iconvdata/Makefile (tests): Add bug-iconv8.
42138 * iconvdata/bug-iconv8.c: New file.
42141 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42144 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42147 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42148 (dummy_getcfa): New function.
42149 (init): Get _Unwind_GetCFA address, use dummy if not found.
42150 (backtrace_helper): In recursion check, also check whether CFA changes.
42151 (__backtrace): Completely initialize arg.
42153 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42154 storing incomplete byte sequence in state object. Avoid testing for
42155 guaranteed too small input if we know there is enough data available.
42157 2011-05-11 Andreas Schwab <schwab@redhat.com>
42159 * Makeconfig (+link-pie): Indent.
42160 * Rules (binaries-pie): Define if $(have-fpie) and
42162 (binaries-shared): Also filter out $(binaries-pie).
42163 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42164 * nscd/Makefile (others-pie): Add nscd.
42165 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42166 ($(objpfx)nscd): Remove command override.
42167 * login/Makefile (others-pie): Add pt_chown.
42168 ($(objpfx)pt_chown): Remove command override.
42169 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42170 remove command overrides.
42172 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42174 * libio/tst_putwc.c: Fix error messages.
42177 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42178 currently writing and seek to current position when not.
42179 * libio/Makefile (tests): Add bug-fclose1.
42180 * libio/bug-fclose1.c: New file.
42182 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42185 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42186 don't set DF_1_NODELETE here.
42187 (do_lookup_x): When entering new entry test for copy relocation
42188 and if necessary set DF_1_NODELETE flag.
42189 * elf/tst-unique4.cc: New file.
42190 * elf/tst-unique4.h: New file.
42191 * elf/tst-unique4lib.cc: New file.
42192 * elf/Makefile: Add rules to build and run tst-unique4.
42193 Patch by Piotr Bury <pbury@goahead.com>.
42195 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42198 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42201 * misc/mntent_r.c (addmntent): Flush the stream after the output
42204 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42205 (is_trusted_path_normalize): Skip initial colon. Append slash
42206 to empty buffer. Duplicate is_trusted_path code but allow
42207 constructed patch to be prefix.
42208 (is_dst): Allow $ORIGIN followed by /.
42209 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42210 Correct testing of result of is_trusted_path_normalize
42211 (decompose_rpath): Fix warning.
42213 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42216 * grp/initgroups.c (internal_getgrouplist): When we found the service
42217 list through the initgroups entry in nsswitch.conf do not always
42218 continue on a successful lookup. Don't always use the
42219 __nss_group_database value if it is set.
42220 * nss/nsswitch.conf (initgroups): Change action for successful db
42221 lookup to continue for compatibility.
42223 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42226 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42228 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42230 * iconvdata/tst-tables.sh: Likewise.
42231 * iconvdata/cp770.c: New file.
42232 * iconvdata/cp771.c: New file.
42233 * iconvdata/cp772.c: New file.
42234 * iconvdata/cp773.c: New file.
42235 * iconvdata/cp774.c: New file.
42236 * iconvdata/testdata/CP770: New file.
42237 * iconvdata/testdata/CP770..UTF8: New file.
42238 * iconvdata/testdata/CP771: New file.
42239 * iconvdata/testdata/CP771..UTF8: New file.
42240 * iconvdata/testdata/CP772: New file.
42241 * iconvdata/testdata/CP772..UTF8: New file.
42242 * iconvdata/testdata/CP773: New file.
42243 * iconvdata/testdata/CP773..UTF8: New file.
42244 * iconvdata/testdata/CP774: New file.
42245 * iconvdata/testdata/CP774..UTF8: New file.
42247 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42249 * iconvdata/gen-8bit-gap.sh: Likewise.
42250 * iconvdata/gen-8bit.sh: Likewise.
42252 * locale/iso-639.def: Add ary entry.
42255 * locale/C-translit.h.in: Add U20A1 transliteration.
42258 * locale/iso-639.def: Add wae entry.
42259 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42262 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42266 * locale/C-translit.h.in: Add entry for U20B9.
42267 Patch by pravin.d.s@gmail.com.
42269 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42272 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42273 ENAMETOOLONG use generic getcwd.
42274 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42275 in rtld. Use *stat64.
42276 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42277 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42278 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42279 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42280 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42281 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42282 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42283 __fstatat64 macros.
42284 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42285 * dirent/rewinddir.c: Add libc_hidden_def.
42286 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42287 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42289 * include/dirent.h (__alloc_dir): Add flags parameter.
42290 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42291 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42293 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42294 from fdopendir if O_CLOEXEC is already set.
42296 2011-03-15 Alan Modra <amodra@gmail.com>
42298 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42299 l_tls_firstbyte_offset non-zero. Save padding offset in
42300 l_tls_firstbyte_offset for later use.
42301 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42302 freeing static tls block.
42304 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42306 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42307 where #ifdef was intended. The intent is to prevent ARG_MAX from
42308 being defined by the kernel headers.
42310 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42313 * resolv/resolv.h: Define RES_NOTLDQUERY.
42314 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42315 no-tld-query and set RES_NOTLDQUERY.
42316 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42317 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42318 modern BIND to search name as TLD unless forbidden.
42320 2011-05-07 Petr Baudis <pasky@suse.cz>
42321 Ulrich Drepper <drepper@gmail.com>
42324 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42325 (is_trusted_path): ...to here.
42326 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42327 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42328 using is_trusted_path_normalize() in setuid scripts.
42330 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42332 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42333 __BEGIN/__END_DECLS.
42335 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42337 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42338 NSS_STATUS_NOTFOUND if no record was found.
42340 2011-05-05 Andreas Schwab <schwab@redhat.com>
42342 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42343 (headers-not-in-tirpc): Remove rpc/netdb.h
42344 * resolv/netdb.h: Revert last change.
42346 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42348 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42349 circular dependency between libgcc.a and libc.a.
42351 2011-05-05 Andreas Schwab <schwab@redhat.com>
42353 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42354 * nis/Makefile: Don't install rpcsvc/*.
42355 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42356 instead of <rpc/types.h>.
42357 (MAXHOSTNAMELEN): Define.
42359 2011-05-03 Andreas Schwab <schwab@redhat.com>
42361 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42363 2011-04-28 Maciej Babinski <mbabinski@google.com>
42366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42367 gethostbyname4_r when IPv6 results are possible.
42369 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42372 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42373 _PC_PIPE_BUF handling.
42375 2011-04-30 Bruno Haible <bruno@clisp.org>
42378 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42379 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42381 * inet/getnameinfo.c (getnameinfo): Likewise.
42383 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42385 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42386 to groups setting in database lookup.
42387 * nss/nsswitch.conf: Add initgroups entry.
42389 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42392 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42394 Patch by Eric Blake <eblake@redhat.com>.
42396 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42398 * sunrpc/Makefile (need-export-routines): Add svc_run.
42399 (routines): Remove svc_run.
42400 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42401 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42402 * sunrpc/svc_run.c (svc_run): Likewise.
42403 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42405 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42408 problem in reallocation in last patch.
42410 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42412 * sunrpc/Makefile: Move inclusion of Rules.
42414 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42416 * nss/nss_files/files-initgroups.c: New file.
42417 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42418 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42419 _nss_files_initgroups_dyn.
42421 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42423 * elf/elf.h (R_ARM_IRELATIVE): Define.
42425 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42427 * po/ru.po: Update from translation team.
42429 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42431 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42434 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42437 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42438 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42443 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42445 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42447 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42448 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42451 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42454 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42456 * stdlib/bug-getcontext.c: New file.
42457 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42459 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42461 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42462 instructions into .machine "z9-109".
42463 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42464 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42466 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42468 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42469 between environment variables and auxiliary vector.
42471 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42473 * Makefile: Add rules to build linkobj/libc.so.
42474 * include/libc-symbols.h: Define libc_hidden_nolink.
42475 * include/rpc/auth.h: Mark functions which are to be hidden.
42476 * include/rpc/auth_des.h: Likewise.
42477 * include/rpc/auth_unix.h: Likewise.
42478 * include/rpc/clnt.h: Likewise.
42479 * include/rpc/des_crypt.h: Likewise.
42480 * include/rpc/key_prot.h: Likewise.
42481 * include/rpc/pmap_clnt.h: Likewise.
42482 * include/rpc/pmap_prot.h: Likewise.
42483 * include/rpc/pmap_rmt.h: Likewise.
42484 * include/rpc/rpc_msg.h: Likewise.
42485 * include/rpc/svc.h: Likewise.
42486 * include/rpc/svc_auth.h: Likewise.
42487 * include/rpc/xdr.h: Likewise.
42488 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42489 * nss/Makefile: Likewise.
42490 * sunrpc/Makefile: Don't install headers. Build library with normal
42491 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42492 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42493 for the compat linking library. Remove use of INTDEF/INTUSE.
42494 * sunrpc/auth_none.c: Likewise.
42495 * sunrpc/auth_unix.c: Likewise.
42496 * sunrpc/authdes_prot.c: Likewise.
42497 * sunrpc/authuxprot.c: Likewise.
42498 * sunrpc/clnt_gen.c: Likewise.
42499 * sunrpc/clnt_perr.c: Likewise.
42500 * sunrpc/clnt_raw.c: Likewise.
42501 * sunrpc/clnt_simp.c: Likewise.
42502 * sunrpc/clnt_tcp.c: Likewise.
42503 * sunrpc/clnt_udp.c: Likewise.
42504 * sunrpc/clnt_unix.c: Likewise.
42505 * sunrpc/des_crypt.c: Likewise.
42506 * sunrpc/des_soft.c: Likewise.
42507 * sunrpc/get_myaddr.c: Likewise.
42508 * sunrpc/key_call.c: Likewise.
42509 * sunrpc/key_prot.c: Likewise.
42510 * sunrpc/netname.c: Likewise.
42511 * sunrpc/pm_getmaps.c: Likewise.
42512 * sunrpc/pm_getport.c: Likewise.
42513 * sunrpc/pmap_clnt.c: Likewise.
42514 * sunrpc/pmap_prot.c: Likewise.
42515 * sunrpc/pmap_prot2.c: Likewise.
42516 * sunrpc/pmap_rmt.c: Likewise.
42517 * sunrpc/publickey.c: Likewise.
42518 * sunrpc/rpc_cmsg.c: Likewise.
42519 * sunrpc/rpc_common.c: Likewise.
42520 * sunrpc/rpc_dtable.c: Likewise.
42521 * sunrpc/rpc_prot.c: Likewise.
42522 * sunrpc/rpc_thread.c: Likewise.
42523 * sunrpc/rtime.c: Likewise.
42524 * sunrpc/svc.c: Likewise.
42525 * sunrpc/svc_auth.c: Likewise.
42526 * sunrpc/svc_authux.c: Likewise.
42527 * sunrpc/svc_raw.c: Likewise.
42528 * sunrpc/svc_run.c: Likewise.
42529 * sunrpc/svc_simple.c: Likewise.
42530 * sunrpc/svc_tcp.c: Likewise.
42531 * sunrpc/svc_udp.c: Likewise.
42532 * sunrpc/svc_unix.c: Likewise.
42533 * sunrpc/svcauth_des.c: Likewise.
42534 * sunrpc/xcrypt.c: Likewise.
42535 * sunrpc/xdr.c: Likewise.
42536 * sunrpc/xdr_array.c: Likewise.
42537 * sunrpc/xdr_float.c: Likewise.
42538 * sunrpc/xdr_intXX_t.c: Likewise.
42539 * sunrpc/xdr_mem.c: Likewise.
42540 * sunrpc/xdr_rec.c: Likewise.
42541 * sunrpc/xdr_ref.c: Likewise.
42542 * sunrpc/xdr_sizeof.c: Likewise.
42543 * sunrpc/xdr_stdio.c: Likewise.
42545 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42548 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42549 * sysdeps/ia64/dl-tls.h: Likewise.
42550 * sysdeps/powerpc/dl-tls.h: Likewise.
42551 * sysdeps/s390/dl-tls.h: Likewise.
42552 * sysdeps/sh/dl-tls.h: Likewise.
42553 * sysdeps/sparc/dl-tls.h: Likewise.
42554 * sysdeps/x86_64/dl-tls.h: Likewise.
42555 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42557 2011-03-14 Andreas Schwab <schwab@redhat.com>
42559 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42560 rpath element also skip the following colon.
42561 (expand_dynamic_string_token): Add is_path parameter and pass
42562 down to DL_DST_REQUIRED and _dl_dst_substitute.
42563 (decompose_rpath): Call expand_dynamic_string_token with
42564 non-zero is_path. Ignore empty rpaths.
42565 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42568 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42573 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42576 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42577 Patch by Filipe David Manana <fdmanana@apache.org>.
42579 2011-04-07 Andreas Schwab <schwab@redhat.com>
42581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42582 Maintain aligned stack.
42583 (CHECK_RSP): Remove unused macro.
42585 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42587 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42588 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42590 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42592 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42594 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42596 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42599 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42600 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42601 * sysdeps/x86_64/memmove.c: New file.
42602 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42603 (memcpy): Renamed to ...
42604 (__new_memcpy): This.
42605 (memcpy): Provide GLIBC_2_14 memcpy.
42606 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42607 (memcpy): Provide GLIBC_2_2_5 memcpy.
42609 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42612 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42614 2011-03-30 Andreas Schwab <schwab@redhat.com>
42616 * misc/syncfs.c: New file.
42617 * misc/Makefile (routines): Add syncfs.
42618 * posix/unistd.h: Declare syncfs.
42619 * sysdeps/unix/syscalls.list: Add syncfs.
42621 2011-04-01 Andreas Schwab <schwab@redhat.com>
42623 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42628 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42630 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42633 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42635 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42637 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42639 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42643 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42644 sync_file_range.c with -fexceptions.
42645 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42646 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42647 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42648 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42649 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42650 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42652 sync_file_range as cancellation point
42653 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42654 now a wrapper around __call_sync_file_range with cancellation handling.
42655 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42656 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42657 function name to __call_sync_file_range.
42658 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42659 Add call_sync_file_range.
42661 2011-04-01 Andreas Schwab <schwab@redhat.com>
42663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42666 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42668 * iconv/iconv.h: Fix typo in comment.
42669 * io/fcntl.h: Likewise.
42670 * libio/stdio.h: Likewise.
42671 * posix/spawn.h: Likewise.
42672 * posix/unistd.h: Likewise.
42673 * stdlib/stdlib.h: Likewise.
42674 * time/time.h: Likewise.
42675 * wcsmbs/wchar.h: Likewise.
42677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42678 open_by_handle): Add.
42679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42680 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42681 Augment a few comments.
42682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42687 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42690 * io/fcntl.h (AT_EMPTY_PATH): Define.
42692 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42694 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42695 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42696 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42698 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42699 * Versions.def: Add GLIBC_2.14.
42700 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42703 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42705 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42707 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42709 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42712 * string/test-strncmp.c (do_page_test): New function.
42713 (check2): Likewise.
42714 (test_main): Call check2.
42715 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42717 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42720 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42721 Handle cache information in CPU leaf 4.
42722 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42724 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42727 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42728 character representation.
42729 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42731 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42733 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42734 END(__isnan) to END(__isnanf) to match function entry point/label
42735 EALIGN(__isnanf,...).
42737 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42739 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42741 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42744 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42745 copy from the symbol referenced in the relocation to initialize the
42747 Patch by Piotr Bury <pbury@goahead.com>.
42748 * elf/Makefile: Add rules to build and tst-unique3.
42749 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42750 * elf/tst-unique3.cc: New file.
42751 * elf/tst-unique3.h: New file.
42752 * elf/tst-unique3lib.cc: New file.
42753 * elf/tst-unique3lib2.cc: New file.
42755 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42757 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42759 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42760 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42763 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42765 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42766 to-be-loaded object along a path to loader is ld.so.
42768 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42769 Ulrich Drepper <drepper@gmail.com>
42771 * sysdeps/x86_64/memset.S: After aligning destination, code
42772 branches to different locations depending on the value of
42773 misalignment, when multiarch is enabled. Fix this.
42775 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42777 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42778 Set _x86_64_preferred_memory_instruction for AMD processsors.
42779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42780 Set bit_Prefer_SSE_for_memop for AMD processors.
42782 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42784 * libio/fmemopen.c (fmemopen): Optimize a bit.
42786 2011-03-03 Andreas Schwab <schwab@redhat.com>
42788 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42790 2011-03-03 Roland McGrath <roland@redhat.com>
42792 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42794 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42796 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42797 __bzero_ultra1 instead of __memset_ultra1.
42799 2011-02-23 Andreas Schwab <schwab@redhat.com>
42800 Ulrich Drepper <drepper@gmail.com>
42803 * include/link.h (struct link_map): Add l_orig_initfini.
42804 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42805 returning unsuccessfully.
42806 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42807 close of a file loaded at startup, restore the original l_initfini
42809 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42810 list, store the pointer.
42811 * elf/Makefile ($(objpfx)noload-mem): New rule.
42812 (noload-ENV): Define.
42813 (tests): Add $(objpfx)noload-mem.
42814 * elf/noload.c: Include <memcheck.h>.
42815 (main): Call mtrace. Close all opened handles.
42817 2011-02-17 Andreas Schwab <schwab@redhat.com>
42820 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42821 dependencies are missing.
42823 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42825 Fix __if_freereq crash: Unlike the generic version which uses free,
42827 * sysdeps/mach/hurd/ifreq.h: New file.
42829 2011-01-27 Petr Baudis <pasky@suse.cz>
42830 Ulrich Drepper <drepper@gmail.com>
42833 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42834 to extend_alloca().
42835 * stdio-common/bug23.c: New file.
42836 * stdio-common/Makefile (tests): Add bug23.
42838 2010-09-28 Andreas Schwab <schwab@redhat.com>
42839 Ulrich Drepper <drepper@gmail.com>
42842 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42843 before performing relro protection. At old place add assertion
42844 to make sure nothing changed.
42846 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42847 Glauber de Oliveira Costa <glommer@gmail.com>
42849 * elf/elf.h: Add new ARM TLS relocs.
42851 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42854 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42856 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42858 * sysdeps/wordsize-64/tst-writev.c: New file.
42860 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42862 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42863 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42864 insns in _dl_start to prevent a TOC reference before relocs are
42867 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42870 * Makeconfig: Remove RANLIB definition.
42871 * Makerules: Don't use RANLIB.
42872 * aclocal.m4: Remove ranlib test.
42873 * configure.in: No need to check for ranlib.
42874 * elf/rtld-Rules: Don't use RANLIB.
42876 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42878 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42880 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42881 inclusion protection macro.
42883 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42884 SIGRTMIN and SIGRTMAX and print information in that case only when
42885 SIGRTMIN is defined.
42887 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42889 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42890 arginfo fn returning -1.
42892 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42893 and thousands string is zero terminated.
42895 2011-02-03 Andreas Schwab <schwab@redhat.com>
42897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42898 sysdeps/unix/sysv/linux/bits/socket.h.
42900 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42902 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42903 (__CPU_COUNT): Remove old macros.
42904 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42905 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42906 (__CPU_ALLOC, __CPU_FREE): Add macros.
42907 (__sched_cpualloc, __sched_cpufree): Add declarations.
42909 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42911 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42912 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42913 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42914 (readdhstai): Return value of addhstaiX call.
42915 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42916 (addgrbyX): Return value returned by cache_addgr.
42917 (readdgrbyname): Return value returned by addgrbyX.
42918 (readdgrbygid): Likewise.
42919 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42920 (addpwbyX): Return value returned by cache_addpw.
42921 (readdpwbyname): Return value returned by addhstbyX.
42922 (readdpwbyuid): Likewise.
42923 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42924 (addservbyX): Return value returned by cache_addserv.
42925 (readdservbyname): Return value returned by addservbyX:
42926 (readdservbyport): Likewise.
42927 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42928 (addhstbyX): Return value returned by cache_addhst.
42929 (readdhstbyname): Return value returned by addhstbyX.
42930 (readdhstbyaddr): Likewise.
42931 (readdhstbynamev6): Likewise.
42932 (readdhstbyaddrv6): Likewise.
42933 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42934 (readdinitgroups): Return value returned by addinitgroupsX.
42935 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42936 (prune_cache): Keep track of timeout value of re-added entries.
42937 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42938 * nscd/nscd.h: Adjust prototypes of readd* functions.
42940 2011-02-04 Roland McGrath <roland@redhat.com>
42942 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42943 (nis_stats): Likewise.
42944 * nis/nis_modify.c (nis_modify): Likewise.
42945 * nis/nis_remove.c (nis_remove): Likewise.
42946 * nis/nis_add.c (nis_add): Likewise.
42948 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42950 * posix/fnmatch_loop.c: Add some consts.
42952 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42954 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42957 * config.make.in (config-cflags-novzeroupper): Define.
42958 * configure.in: Substitute libc_cv_cc_novzeroupper.
42959 * elf/Makefile (AVX-CFLAGS): Define.
42960 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42961 (CFLAGS-tst-auditmod4a.c): Likewise.
42962 (CFLAGS-tst-auditmod4b.c): Likewise.
42963 (CFLAGS-tst-auditmod6b.c): Likewise.
42964 (CFLAGS-tst-auditmod6c.c): Likewise.
42965 (CFLAGS-tst-auditmod7b.c): Likewise.
42966 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42968 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42970 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42971 function to the callback.
42972 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42974 2011-02-02 Andreas Schwab <schwab@redhat.com>
42976 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42979 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42982 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42984 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42986 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42989 * elf/Makefile: Add rules to build and run new test.
42990 * elf/tst-initorder.c: New file.
42991 * elf/tst-initorder.exp: New file.
42992 * elf/tst-initordera1.c: New file.
42993 * elf/tst-initordera2.c: New file.
42994 * elf/tst-initordera3.c: New file.
42995 * elf/tst-initordera4.c: New file.
42996 * elf/tst-initorderb1.c: New file.
42997 * elf/tst-initorderb2.c: New file.
42998 * elf/tst-order-a1.c: New file.
42999 * elf/tst-order-a2.c: New file.
43000 * elf/tst-order-a3.c: New file.
43001 * elf/tst-order-a4.c: New file.
43002 * elf/tst-order-b1.c: New file.
43003 * elf/tst-order-b2.c: New file.
43004 * elf/tst-order-main.c: New file.
43005 New test case by George Gensure <werkt0@gmail.com>.
43007 2010-10-01 Andreas Schwab <schwab@redhat.com>
43009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43010 decoding ACE if AI_CANONIDN.
43012 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43014 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43016 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43018 * version.h (RELEASE): Bump for 2.13 release.
43019 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43021 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43023 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43025 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43026 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43027 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43029 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43030 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43032 * posix/getconf.c: Update copyright year.
43033 * catgets/gencat.c: Likewise.
43034 * csu/version.c: Likewise.
43035 * debug/catchsegv.sh: Likewise.
43036 * debug/xtrace.sh: Likewise.
43037 * elf/ldconfig.c: Likewise.
43038 * elf/ldd.bash.in: Likewise.
43039 * elf/sprof.c (print_version): Likewise.
43040 * iconv/iconv_prog.c: Likewise.
43041 * iconv/iconvconfig.c: Likewise.
43042 * locale/programs/locale.c: Likewise.
43043 * locale/programs/localedef.c: Likewise.
43044 * malloc/memusage.sh: Likewise.
43045 * malloc/mtrace.pl: Likewise.
43046 * nscd/nscd.c (print_version): Likewise.
43047 * nss/getent.c: Likewise.
43049 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43050 PF_CAIF, and PF_ALG.
43051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43053 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43055 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43056 (modules-names): Use them.
43057 (ifunc-test-modules, ifunc-pie-tests): Define.
43058 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43059 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43060 (test-extras): Likewise.
43061 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43062 $(compile-command.c).
43063 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43064 (all-built-dso): Define.
43065 (check-textrel.out, check-execstack.out): Depend on it.
43067 * configure.in: Don't override --enable-multi-arch.
43069 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43072 * nscd/hstcache.c (tryagain): Define.
43073 (cache_addhst): Return tryagain not notfound for temporary errors.
43074 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43077 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43080 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43081 to make the syscall.
43082 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43085 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43086 and fall back to matching as normal character if the string ends before
43087 the matching ']' is found. This is what POSIX requires.
43088 * posix/testfnm.c: Adjust test result.
43089 * posix/globtest.sh: Adjust test result. Add new test.
43090 * posix/tst-fnmatch.input: Likewise.
43091 * posix/tst-fnmatch2.c: Add new test.
43093 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43095 * elf/Makefile (check-execstack): Revert last change. Depend on
43097 (check-execstack.h): New target.
43098 (generated): Add check-execstack.h.
43099 * elf/check-execstack.c: Include "check-execstack.h".
43100 (main): Revert last change.
43101 (handle_file): Return zero if GNU_STACK is absent and
43102 DEFAULT_STACK_PERMS doesn't include PF_X.
43104 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43106 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43107 in child fails because the descriptor is already closed.
43108 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43109 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43110 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43113 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43117 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43118 temporary buffer used to handle multi lookups locally.
43119 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43121 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43123 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43126 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43128 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43129 alignment for SSE2.
43131 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43134 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43135 characters. When rounding increased number of integer digits recompute
43137 * stdio-common/tst-grouping.c: New file.
43138 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43140 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43142 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43143 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43145 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43147 * bits/select.h: Likewise.
43149 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43151 * po/ja.po: Update from translation team.
43153 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43156 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43157 implementation just like for lxstat, fxstatat, et al.
43159 2010-12-27 Jim Meyering <meyering@redhat.com>
43162 * posix/regexec.c (build_trtable): Return failure indication upon
43163 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43165 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43168 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43169 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43170 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43174 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43177 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43178 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43180 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43182 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43183 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43184 script has SORT_BY_INIT_PRIORITY.
43185 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43186 NO_CTORS_DTORS_SECTIONS is defined.
43187 * elf/soinit.c: Likewise.
43188 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43189 NO_CTORS_DTORS_SECTIONS is defined.
43190 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43191 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43192 * sysdeps/sh/init-first.c: Likewise.
43193 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43195 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43197 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43198 always use the slow path.
43200 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43202 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43203 similar rule which adds the sysdep directories to the header search in
43204 order to pick up the correct platform stackinfo.h.
43205 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43206 perform test if it is, otherwise return successfully without testing.
43207 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43208 DEFAULT_STACK_PERMS define in stackinfo.h.
43209 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43210 defined in stackinfo.h.
43211 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43212 DEFAULT_STACK_PERMS defined in stackinfo.h.
43213 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43214 * sysdeps/ia64/stackinfo.h: Likewise.
43215 * sysdeps/s390/stackinfo.h: Likewise.
43216 * sysdeps/sh/stackinfo.h: Likewise.
43217 * sysdeps/sparc/stackinfo.h: Likewise.
43218 * sysdeps/x86_64/stackinfo.h: Likewise.
43219 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43220 PF_X for powerpc64. Retain PF_X for powerpc32.
43222 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43224 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43226 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43227 GETDENTS_64BIT_ALIGNED.
43229 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43231 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43233 2010-12-10 Andreas Schwab <schwab@redhat.com>
43235 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43238 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43239 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43241 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43242 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43244 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43247 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43250 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43252 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43254 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43256 * po/it.po: Update from translation team.
43258 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43263 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43265 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43267 2010-11-24 Andreas Schwab <schwab@redhat.com>
43269 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43271 (gaih_getanswer_slice): Likewise.
43273 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43277 2010-05-31 Petr Baudis <pasky@suse.cz>
43280 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43281 silently even in the chroot mode.
43283 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43285 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43286 last patch a bit. Pretty printing
43288 2010-05-31 Petr Baudis <pasky@suse.cz>
43291 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43292 initialization of skip_initgroups_dyn.
43294 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43296 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43297 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43299 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43301 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43303 2010-11-11 Andreas Schwab <schwab@redhat.com>
43305 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43306 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43307 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43308 ($(objpfx)tst-fnmatch-mem): New rule.
43309 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43310 * posix/tst-fnmatch.c (main): Call mtrace.
43312 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43315 Support Intel processor model 6 and model 0x2c.
43317 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43322 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43325 * string/test-strncasecmp.c (check_result): New function.
43326 (do_one_test): Use it.
43327 (check1): New function.
43328 (test_main): Use it.
43329 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43330 Support strcasecmp and strncasecmp.
43332 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43335 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43336 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43338 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43340 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43344 * sysdeps/x86_64/multiarch/bzero.S: New file.
43345 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43346 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43347 * sysdeps/x86_64/multiarch/memset.S: New file.
43348 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43350 Set bit_Prefer_SSE_for_memop for Intel processors.
43351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43353 (index_Prefer_SSE_for_memop): Define.
43354 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43356 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43358 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43359 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43361 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43364 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43365 (__x86_64_raw_data_cache_size_half): Likewise.
43366 (__x86_64_raw_shared_cache_size): Likewise.
43367 (__x86_64_raw_shared_cache_size_half): Likewise.
43369 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43370 (__x86_64_raw_data_cache_size_half): Likewise.
43371 (__x86_64_raw_shared_cache_size): Likewise.
43372 (__x86_64_raw_shared_cache_size_half): Likewise.
43373 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43374 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43375 and __x86_64_raw_shared_cache_size_half. Round
43376 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43377 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43378 to multiple of 256 bytes.
43380 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43383 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43384 of inacessible symlinks. Verify result of symlink before returning it.
43385 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43386 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43388 2010-10-28 Erich Ritz <erichritz@gmail.com>
43390 * math/math.h (isinf): Fix typo in comment.
43392 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43394 * po/da.po: Update from translation team.
43396 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43398 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43399 is added to the list.
43401 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43402 Ulrich Drepper <drepper@gmail.com>
43404 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43405 the global list here. Move code to...
43406 (_dl_add_to_namespace_list): ...here. New function.
43407 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43408 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43409 * elf/dl-load.c (lose): Don't remove the element from the list.
43410 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43411 (_dl_map_object): Likewise.
43413 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43416 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43417 into all bytes of SSE register.
43418 Patch by Richard Li <richardpku@gmail.com>.
43420 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43423 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43426 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43428 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43429 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43430 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43431 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43436 2010-10-22 Andreas Schwab <schwab@redhat.com>
43438 * include/dlfcn.h (__RTLD_SECURE): Define.
43439 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43440 mode & __RTLD_SECURE instead.
43441 (open_path): Rename preloaded parameter to secure.
43442 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43443 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43444 * elf/dl-deps.c (openaux): Likewise.
43445 * elf/rtld.c (struct map_args): Remove is_preloaded.
43446 (map_doit): Don't use it.
43447 (dl_main): Likewise.
43448 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43449 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43451 2010-09-09 Andreas Schwab <schwab@redhat.com>
43453 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43454 (sysd-rules-targets): Remove duplicates.
43455 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43456 rtld-%.$o dependency.
43458 2010-10-18 Andreas Schwab <schwab@redhat.com>
43460 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43461 _dl_map_object do it.
43463 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43465 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43466 fast fma builtins, define the macros in the C99 standard.
43467 (FP_FAST_FMAF): Likewise.
43468 (FP_FAST_FMAL): Likewise.
43469 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43471 * bits/mathdef.h: Update copyright year.
43472 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43474 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43476 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43477 builtins, define the macros in the C99 standard.
43478 (FP_FAST_FMAF): Likewise.
43479 (FP_FAST_FMAL): Likewise.
43480 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43482 (FP_FAST_FMAF): Likewise.
43484 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43487 * math/libm-test.inc (fma_test): Some new testcases.
43488 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43490 y and infinite z. Do multiplication by C already in long double.
43491 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43493 y and infinite z. Do bitwise or of inexact bit into u.d.
43494 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43495 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43496 * sysdeps/i386/fpu/s_fma.S: Removed.
43497 * sysdeps/i386/fpu/s_fmal.S: Removed.
43499 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43502 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43504 computation is not scheduled after fetestexcept. Fix value
43505 of minimum denormal long double.
43507 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43510 * math/libm-test.inc (fma_test): Add some more tests.
43511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43514 2010-10-15 Andreas Schwab <schwab@redhat.com>
43516 * scripts/data/localplt-s390-linux-gnu.data: New file.
43517 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43519 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43522 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43523 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43525 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43527 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43529 if one of x and y is very large and the other is subnormal.
43530 * sysdeps/s390/fpu/s_fmaf.c: New file.
43531 * sysdeps/s390/fpu/s_fma.c: New file.
43532 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43533 * sysdeps/powerpc/fpu/s_fma.S: New file.
43534 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43535 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43536 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43538 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43541 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43544 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43545 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43546 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43547 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43548 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43549 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43551 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43554 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43555 * posix/bug-regex31.input: Add test case.
43557 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43559 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43560 * posix/bug-regex31.input: New file.
43563 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43564 (parse_sub_exp): Fix last change, use postorder.
43566 * posix/bug-regex31.c: New file.
43567 * posix/Makefile: Add rules to build and run bug-regex31.
43569 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43572 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43575 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43576 to have entries in sys_siglist.
43579 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43582 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43585 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43586 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43587 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43588 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43589 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43590 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43591 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43592 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43593 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43594 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43595 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43596 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43597 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43598 * math/ftestexcept.c (fetestexcept): Likewise.
43599 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43600 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43601 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43602 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43603 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43604 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43605 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43607 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43610 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43613 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43615 * string/bug-strstr1.c: New file.
43616 * string/Makefile: Add rules to build and run bug-strstr1.
43618 2010-10-05 Eric Blake <eblake@redhat.com>
43621 * string/str-two-way.h (two_way_long_needle): Always clear memory
43622 when skipping input due to the shift table.
43624 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43627 * malloc/mcheck.c: Handle large requests.
43630 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43631 for strncmp and strncasecmp.
43632 * string/stratcliff.c: Add tests for strcmp and strncmp.
43633 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43635 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43637 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43640 2010-09-30 Andreas Jaeger <aj@suse.de>
43642 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43643 (CGROUP_SUPER_MAGIC): Define.
43644 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43645 Handle btrfs and cgroup file systems.
43646 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43649 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43651 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43652 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43654 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43657 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43658 trying to locate the ELF header.
43660 2010-09-27 Andreas Schwab <schwab@redhat.com>
43663 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43664 Mask out sign-bit copies when constructing f_fsid.
43666 2010-09-24 Petr Baudis <pasky@suse.cz>
43668 * debug/stack_chk_fail_local.c: Add missing licence exception.
43669 * debug/warning-nop.c: Likewise.
43671 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43673 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43674 implementing getdents64 using getdents syscall, set d_type if
43675 __ASSUME_GETDENTS32_D_TYPE.
43677 2010-09-16 Andreas Schwab <schwab@redhat.com>
43679 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43680 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43682 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43685 * posix/unistd.h: Undo change of feature selection for ftruncate from
43688 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43690 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43693 2010-09-20 Andreas Schwab <schwab@redhat.com>
43695 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43699 2010-09-14 Andreas Schwab <schwab@redhat.com>
43701 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43702 variables after CHECK_SP call.
43703 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43705 2010-09-13 Andreas Schwab <schwab@redhat.com>
43706 Ulrich Drepper <drepper@redhat.com>
43708 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43709 re-relocationg ld.so.
43710 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43711 _dl_init_paths call.
43712 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43715 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43717 * resolv/res_init.c (__res_vinit): Count the default server we added.
43719 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43720 Ulrich Drepper <drepper@redhat.com>
43723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43724 (____longjmp_chk): Use %ebx for saving value across system call.
43727 2010-09-06 Andreas Schwab <schwab@redhat.com>
43729 * manual/Makefile: Don't mix pattern rules with normal rules.
43731 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43733 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43735 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43736 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43737 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43738 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43742 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43745 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43746 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43748 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43750 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43751 * sysdeps/x86_64/addmul_1.S: Likewise.
43752 * sysdeps/x86_64/lshift.S: Likewise.
43753 * sysdeps/x86_64/mul_1.S: Likewise.
43754 * sysdeps/x86_64/rshift.S: Likewise.
43755 * sysdeps/x86_64/sub_n.S: Likewise.
43756 * sysdeps/x86_64/submul_1.S: Likewise.
43758 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43760 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43761 Define __sched_param instead of SCHED_* and sched_param when
43762 <bits/sched.h> is included with __need_schedparam defined.
43763 * bits/sched.h [__need_schedparam]
43764 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43765 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43766 (__defined_schedparam): Define to 1.
43767 (__sched_param): New structure, identical to sched_param.
43768 (__need_schedparam): Undefine.
43770 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43772 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43773 (epoll_create1): Declare.
43775 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43777 2010-08-31 Andreas Schwab <schwab@redhat.com>
43780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43781 shifting retval into place.
43783 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43785 * nis/rpcsvc/nis.h: Update copyright notice.
43786 * nis/rpcsvc/nis.x: Likewise.
43787 * nis/rpcsvc/nis_callback.h: Likewise.
43788 * nis/rpcsvc/nis_callback.x: Likewise.
43789 * nis/rpcsvc/nis_object.x: Likewise.
43790 * nis/rpcsvc/nis_tags.h: Likewise.
43791 * nis/rpcsvc/yp.h: Likewise.
43792 * nis/rpcsvc/yp.x: Likewise.
43793 * nis/rpcsvc/ypupd.h: Likewise.
43794 * nis/yp_xdr.c: Likewise.
43795 * nis/ypupdate_xdr.c: Likewise.
43797 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43798 mainly the body of pmap_getport. Add parameters to specify timeouts.
43799 (pmap_getport): Use __libc_rpc_getport.
43800 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43801 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43802 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43804 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43809 2010-08-27 Roland McGrath <roland@redhat.com>
43811 * sysdeps/i386/i686/multiarch/Makefile
43812 (CFLAGS-varshift.c): New variable.
43814 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43816 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43817 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43819 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43821 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43823 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43825 * sysdeps/x86_64/strlen.S: Unroll the loop.
43826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43827 strlen-sse2 strlen-sse2-bsf.
43828 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43829 __strlen_no_bsf if bit_Slow_BSF is set.
43830 (__strlen_sse42): Removed.
43831 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43832 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43834 2010-08-25 Roland McGrath <roland@redhat.com>
43836 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43837 * sysdeps/x86_64/multiarch/varshift.c: New file.
43838 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43839 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43840 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43841 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43843 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43846 strlen-sse2 strlen-sse2-bsf.
43847 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43848 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43849 (__strlen_sse2): Removed.
43850 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43853 bit_Slow_BSF for Atom.
43854 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43855 (index_Slow_BSF): Define.
43856 (HAS_SLOW_BSF): Define.
43858 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43861 * resolv/res_init.c (__res_vinit): When no server address at all
43862 is given default to loopback.
43864 2010-08-24 Roland McGrath <roland@redhat.com>
43866 * configure.in: Remove config-name.h generation.
43867 * configure: Regenerated.
43868 * config-name.in: File removed.
43869 * scripts/config-uname.sh: New file.
43870 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43871 ($(objdir)config-name.h): New target.
43873 * sunrpc/rpc_parse.h: Avoid nested comment.
43875 2010-08-24 Richard Henderson <rth@redhat.com>
43876 Ulrich Drepper <drepper@redhat.com>
43877 H.J. Lu <hongjiu.lu@intel.com>
43879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43881 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43882 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43883 _mm_alignr_epi8 with _mm_loadu_si128.
43884 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43885 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43886 (__m128i_shift_right): Removed.
43887 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43888 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43889 * sysdeps/x86_64/multiarch/varshift.h: New file.
43890 * sysdeps/x86_64/multiarch/varshift.S: New file.
43892 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43894 * configure.in: Move assembler checks to before sysdep dir checking.
43896 2010-08-20 Petr Baudis <pasky@suse.cz>
43898 * LICENSES: Sync the sunrpc license.
43900 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43902 * sunrpc/auth_des.c: Update copyright notice once again.
43903 * sunrpc/auth_none.c: Likewise.
43904 * sunrpc/auth_unix.c: Likewise.
43905 * sunrpc/authdes_prot.c: Likewise.
43906 * sunrpc/authuxprot.c: Likewise.
43907 * sunrpc/bindrsvprt.c: Likewise.
43908 * sunrpc/clnt_gen.c: Likewise.
43909 * sunrpc/clnt_perr.c: Likewise.
43910 * sunrpc/clnt_raw.c: Likewise.
43911 * sunrpc/clnt_simp.c: Likewise.
43912 * sunrpc/clnt_tcp.c: Likewise.
43913 * sunrpc/clnt_udp.c: Likewise.
43914 * sunrpc/clnt_unix.c: Likewise.
43915 * sunrpc/des_crypt.c: Likewise.
43916 * sunrpc/des_soft.c: Likewise.
43917 * sunrpc/get_myaddr.c: Likewise.
43918 * sunrpc/getrpcport.c: Likewise.
43919 * sunrpc/key_call.c: Likewise.
43920 * sunrpc/key_prot.c: Likewise.
43921 * sunrpc/openchild.c: Likewise.
43922 * sunrpc/pm_getmaps.c: Likewise.
43923 * sunrpc/pm_getport.c: Likewise.
43924 * sunrpc/pmap_clnt.c: Likewise.
43925 * sunrpc/pmap_prot.c: Likewise.
43926 * sunrpc/pmap_prot2.c: Likewise.
43927 * sunrpc/pmap_rmt.c: Likewise.
43928 * sunrpc/rpc/auth.h: Likewise.
43929 * sunrpc/rpc/auth_unix.h: Likewise.
43930 * sunrpc/rpc/clnt.h: Likewise.
43931 * sunrpc/rpc/des_crypt.h: Likewise.
43932 * sunrpc/rpc/key_prot.h: Likewise.
43933 * sunrpc/rpc/netdb.h: Likewise.
43934 * sunrpc/rpc/pmap_clnt.h: Likewise.
43935 * sunrpc/rpc/pmap_prot.h: Likewise.
43936 * sunrpc/rpc/pmap_rmt.h: Likewise.
43937 * sunrpc/rpc/rpc.h: Likewise.
43938 * sunrpc/rpc/rpc_des.h: Likewise.
43939 * sunrpc/rpc/rpc_msg.h: Likewise.
43940 * sunrpc/rpc/svc.h: Likewise.
43941 * sunrpc/rpc/svc_auth.h: Likewise.
43942 * sunrpc/rpc/types.h: Likewise.
43943 * sunrpc/rpc/xdr.h: Likewise.
43944 * sunrpc/rpc_clntout.c: Likewise.
43945 * sunrpc/rpc_cmsg.c: Likewise.
43946 * sunrpc/rpc_common.c: Likewise.
43947 * sunrpc/rpc_cout.c: Likewise.
43948 * sunrpc/rpc_dtable.c: Likewise.
43949 * sunrpc/rpc_hout.c: Likewise.
43950 * sunrpc/rpc_main.c: Likewise.
43951 * sunrpc/rpc_parse.c: Likewise.
43952 * sunrpc/rpc_parse.h: Likewise.
43953 * sunrpc/rpc_prot.c: Likewise.
43954 * sunrpc/rpc_sample.c: Likewise.
43955 * sunrpc/rpc_scan.c: Likewise.
43956 * sunrpc/rpc_scan.h: Likewise.
43957 * sunrpc/rpc_svcout.c: Likewise.
43958 * sunrpc/rpc_tblout.c: Likewise.
43959 * sunrpc/rpc_util.c: Likewise.
43960 * sunrpc/rpc_util.h: Likewise.
43961 * sunrpc/rpcinfo.c: Likewise.
43962 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43963 * sunrpc/rpcsvc/key_prot.x: Likewise.
43964 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43965 * sunrpc/rpcsvc/mount.x: Likewise.
43966 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43967 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43968 * sunrpc/rpcsvc/rex.x: Likewise.
43969 * sunrpc/rpcsvc/rstat.x: Likewise.
43970 * sunrpc/rpcsvc/rusers.x: Likewise.
43971 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43972 * sunrpc/rpcsvc/spray.x: Likewise.
43973 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43974 * sunrpc/rtime.c: Likewise.
43975 * sunrpc/svc.c: Likewise.
43976 * sunrpc/svc_auth.c: Likewise.
43977 * sunrpc/svc_authux.c: Likewise.
43978 * sunrpc/svc_raw.c: Likewise.
43979 * sunrpc/svc_run.c: Likewise.
43980 * sunrpc/svc_simple.c: Likewise.
43981 * sunrpc/svc_tcp.c: Likewise.
43982 * sunrpc/svc_udp.c: Likewise.
43983 * sunrpc/svc_unix.c: Likewise.
43984 * sunrpc/svcauth_des.c: Likewise.
43985 * sunrpc/xcrypt.c: Likewise.
43986 * sunrpc/xdr.c: Likewise.
43987 * sunrpc/xdr_array.c: Likewise.
43988 * sunrpc/xdr_float.c: Likewise.
43989 * sunrpc/xdr_mem.c: Likewise.
43990 * sunrpc/xdr_rec.c: Likewise.
43991 * sunrpc/xdr_ref.c: Likewise.
43992 * sunrpc/xdr_sizeof.c: Likewise.
43993 * sunrpc/xdr_stdio.c: Likewise.
43995 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43998 2010-08-19 Andreas Schwab <schwab@redhat.com>
44000 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44002 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44004 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44005 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44006 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44007 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44008 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44009 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44010 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44011 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44012 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44013 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44014 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44015 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44016 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44017 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44019 2010-07-26 Anton Blanchard <anton@samba.org>
44021 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44022 * malloc/arena.c (heap_trim): Likewise.
44024 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44026 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44028 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44029 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44031 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44033 * sysdeps/i386/elf/Makefile: New file.
44035 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44037 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44038 from fanotify_init.
44039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44042 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44044 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44046 * sysdeps/multiarch/strcmp.S: Likewise.
44048 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44050 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44051 strncase_l-nonascii.
44052 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44053 Add strncase_l-ssse3.
44054 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44055 * sysdeps/x86_64/strcmp.S: Likewise.
44056 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44057 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44058 * sysdeps/x86_64/strncase.S: New file.
44059 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44060 * sysdeps/x86_64/strncase_l.S: New file.
44061 * string/Makefile (strop-tests): Add strncasecmp.
44062 * string/test-strncasecmp.c: New file.
44064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44067 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44068 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44070 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44072 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44074 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44076 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44077 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44078 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44080 2010-05-01 Alan Modra <amodra@gmail.com>
44082 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44083 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44084 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44085 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44086 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44087 tidying. Don't tail-call __sigjmp_save for static lib.
44088 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44090 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44091 (CALL_MCOUNT): Add eh info, and nop after bl.
44092 (TAIL_CALL_SYSCALL_ERROR): New macro.
44093 (PSEUDO_RET): Use it.
44094 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44095 Correct save location of integer regs and cr.
44096 (_dl_profile_resolve): Correct cr save location. Delete nops
44097 after bl when SHARED. Reduce cfi size a little by better
44098 placement of cfi directives.
44099 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44100 make a stack frame. Instead use parm save area as a temp.
44101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44102 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44104 Don't make a stack frame for parent, use parm save area.
44105 Increase child stack frame to 112 bytes. Don't save unused reg,
44106 and adjust reg usage. Set up cfi on error recovery and
44107 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44109 (__makecontext): Add dummy nop after jump to exit.
44110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44111 Use correct parm save area and cr save, reduce stack frame.
44112 Correct cfi for possible PSEUDO_RET frame setup.
44113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44114 Branch to local label emitted by PSEUDO_RET rather than
44117 2010-08-12 Andreas Schwab <schwab@redhat.com>
44120 * locale/programs/locale.c (print_assignment): New function.
44121 (show_locale_vars): Use it.
44123 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44125 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44127 (struct statfs64): Likewise.
44128 (_STATFS_F_FLAGS): Define.
44129 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44130 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44131 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44132 (ST_VALID): Define locally.
44133 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44134 __statvfs_getflags, use the provided value.
44135 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44136 __ASSUME_STATFS_F_FLAGS.
44138 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44140 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44141 Add sys/fanotify.h.
44142 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44143 fanotify_mask for GLIBC_2.13.
44144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44145 fanotify_init and fanotify_mark.
44146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44147 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44149 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44151 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44152 prlimit64 for GLIBC_2.13.
44153 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44155 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44158 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44159 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44160 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44163 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44166 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44167 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44169 * nss/Makefile: Add rules to build and run tst-nss-test1.
44170 * shlib-versions: Add entry for libnss_test1.
44171 * nss/nss_test1.c: New file.
44172 * nss/tst-nss-test1.c: New file.
44174 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44175 (__nss_configure_lookup): Set appropriate entry in
44176 __nss_configure_lookup to true.
44177 * nss/nsswitch.h: Define enum with indeces of databases in
44178 databases and __nss_database_custom arrays. Declare
44179 __nss_database_custom.
44180 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44181 to avoid using nscd when custom rules are installed.
44182 * nss/getXXbyYY_r.c: Likewise.
44183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44185 * nss/nss_files/files-parse.c: Whitespace fixes.
44187 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44190 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44191 * posix/fnmatch_loop.c: Likewise.
44193 2010-07-17 Andi Kleen <ak@linux.intel.com>
44195 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44196 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44197 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44198 * Versions.def [GLIBC_2.13]: Add.
44200 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44203 Also fail if tpwd after pwuid call is NULL.
44205 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44207 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44208 when converting to ms.
44210 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44212 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44213 EOPNOTSUPP errors with ENOTTY.
44214 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44215 EOPNOTSUPP errors with ENOTTY.
44217 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44219 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44220 Add strcasecmp_l-ssse3.
44221 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44223 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44224 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44225 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44227 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44229 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44231 * string/Makefile (strop-tests): Add strcasecmp.
44232 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44233 strcasecmp_l-nonascii.
44234 (gen-as-const-headers): Add locale-defines.sym.
44235 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44236 * sysdeps/x86_64/strcasecmp.S: New file.
44237 * sysdeps/x86_64/strcasecmp_l.S: New file.
44238 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44239 * sysdeps/x86_64/locale-defines.sym: New file.
44240 * string/test-strcasecmp.c: New file.
44242 * string/test-strcasestr.c: Test both ends of the range of characters.
44243 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44245 2010-07-29 Roland McGrath <roland@redhat.com>
44248 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44250 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44252 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44255 2010-07-27 Andreas Schwab <schwab@redhat.com>
44257 * manual/memory.texi (Malloc Tunable Parameters): Document
44260 2010-07-26 Roland McGrath <roland@redhat.com>
44263 * configure.in (-fgnu89-inline check): Set and substitute
44264 gnu89_inline, not libc_cv_gnu89_inline.
44265 * configure: Regenerated.
44266 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44268 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44270 * string/test-strnlen.c: New file.
44271 * string/Makefile (strop-tests): Add strnlen.
44272 * string/tester.c (test_strnlen): Add a few more test cases.
44273 * string/tst-strlen.c: Better error reporting.
44275 * sysdeps/x86_64/strnlen.S: New file.
44277 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44280 lower-latency instructions.
44282 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44284 * string/test-strcasestr.c: New file.
44285 * string/test-strstr.c: New file.
44286 * string/Makefile (strop-tests): Add strstr and strcasestr.
44287 * string/str-two-way.h: Don't undefine MAX.
44288 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44290 2010-07-21 Andreas Schwab <schwab@redhat.com>
44292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44293 strcasestr-nonascii.
44294 (CFLAGS-strcasestr-nonascii.c): Define.
44295 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44296 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44297 Remove unused attribute.
44299 2010-07-20 Roland McGrath <roland@redhat.com>
44301 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44302 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44303 ld.so.cache was broken. With it, there is no way to disable dsocaps
44304 like LD_HWCAP_MASK can disable hwcaps.
44306 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44308 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44310 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44312 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44313 call in strcasestr.
44314 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44315 __strcasestr_sse42_nonascii.
44316 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44317 strcasestr-nonascii.c.
44318 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44320 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44323 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44325 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44327 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44329 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44332 2010-07-06 Andreas Schwab <schwab@redhat.com>
44335 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44338 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44340 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44341 _PC_PIPE_BUF using F_GETPIPE_SZ.
44343 2010-07-05 Roland McGrath <roland@redhat.com>
44345 * manual/arith.texi (Rounding Functions): Fix rint description
44346 implicit in round description.
44348 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44350 * elf/Makefile: Fix linking for a few tests to make recent linker
44353 2010-06-30 Andreas Schwab <schwab@redhat.com>
44355 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44356 $(common-objpfx)libc_nonshared.a.
44358 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44360 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44361 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44362 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44363 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44364 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44365 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44366 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44367 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44382 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44383 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44384 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44385 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44386 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44387 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44388 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44389 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44390 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44391 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44392 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44393 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44409 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44411 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44412 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44413 * string/memmove.c (memmove): Renamed to ...
44414 (MEMMOVE): ...this. Default to memmove.
44415 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44416 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44419 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44420 mempcpy-ssse3-back memmove-ssse3-back.
44421 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44424 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44425 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44426 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44427 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44428 * sysdeps/x86_64/multiarch/memmove.c: New file.
44429 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44430 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44431 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44432 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44433 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44436 (index_Fast_Copy_Backward): Define.
44437 (HAS_ARCH_FEATURE): Define.
44438 (HAS_FAST_REP_STRING): Define.
44439 (HAS_FAST_COPY_BACKWARD): Define.
44441 2010-06-21 Andreas Schwab <schwab@redhat.com>
44443 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44444 Restore proper fallback handling.
44446 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44449 * posix/group_member.c (__group_member): Correct checking loop.
44451 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44452 OOM in getpwuid_r correctly. Return error number when the caller
44453 should return, otherwise -1.
44454 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44455 call returning > 0 value.
44456 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44458 2010-06-07 Andreas Schwab <schwab@redhat.com>
44460 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44461 libc_nonshared.a from targets in modules-names.
44463 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44465 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44468 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44470 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44471 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44472 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44475 2010-06-02 Andreas Schwab <schwab@redhat.com>
44477 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44479 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44481 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44484 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44488 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44490 2010-06-14 Roland McGrath <roland@redhat.com>
44492 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44494 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44496 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44497 __REDIRECT followed by __THROW.
44498 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44499 * posix/getopt.h (getopt): Likewise.
44501 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44503 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44504 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44505 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44507 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44508 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44510 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44514 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44518 Properly check family and model.
44520 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44522 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44524 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44526 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44528 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44530 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44533 2010-05-19 Andreas Schwab <schwab@redhat.com>
44535 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44538 2010-05-21 Andreas Schwab <schwab@redhat.com>
44540 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44541 and internal_recvmmsg.
44542 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44543 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44544 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44545 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44547 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44548 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44549 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44551 2010-05-20 Andreas Schwab <schwab@redhat.com>
44553 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44555 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44557 POWER7 optimizations.
44558 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44559 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44561 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44563 * version.h: Update for 2.13 development version.
44565 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44567 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44568 exceptions. Return 0.
44570 2010-05-07 Roland McGrath <roland@redhat.com>
44572 * elf/ldconfig.c (main): Add a const.
44574 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44576 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44577 (args_options): Add no-idn option.
44578 (ahosts_keys_int): Add idn_flags to ai_flags.
44579 (parse_option): Handle 'i' option to clear idn_flags.
44581 * malloc/malloc.c (_int_free): Possible race in the most recently
44582 added check. Only act on the data if no current modification
44585 See ChangeLog.17 for earlier changes.