1 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5 not $(common-objpfx)math/libm.so.
6 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9 $(common-objpfx)dlfcn/libdl.so.
10 ($(objpfx)tst-audit8): Depend on $(libm), not
11 $(common-objpfx)math/libm.so.
12 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13 not $(common-objpfx)dlfcn/libdl.so.
15 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17 [$(build-shared) = yes].
18 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19 $(common-objpfx)nptl/libpthread.so.
20 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21 $(common-objpfx)math/libm.so$(libm.so-version) or
22 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
23 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24 $(common-objpfx)dlfcn/libdl.so.
25 * setjmp/Makefile (link-libm): Remove variable.
26 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27 * stdio-common/Makefile (link-libm): Remove variable.
28 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29 * stdlib/Makefile (link-libm): Remove variable.
30 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31 ($(objpfx)tst-strtod-round): Likewise.
32 ($(objpfx)tst-tininess): Likewise.
33 ($(objpfx)tst-strtod-underflow): Likewise.
34 ($(objpfx)tst-strtod6): Likewise.
35 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36 $(libdl), not $(common-objpfx)nptl/libpthread.so and
37 $(common-objpfx)dlfcn/libdl.so.
39 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
42 BSD terminal modes definitions.
44 2014-05-16 Roland McGrath <roland@hack.frob.com>
46 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
47 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
49 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52 Don't do #include_next.
53 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
54 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
55 Don't do #include_next.
56 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
57 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
58 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
59 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
61 2014-05-16 Allan McRae <allan@archlinux.org>
63 * po/sv.po: Update Swedish translation from translation project.
65 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
68 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
71 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
72 errno if the TIOCGPTN ioctl fails with an error different than
74 * login/tst-ptsname.c: New file.
75 * login/Makefile (tests): Add tst-ptsname.
78 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
81 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
84 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
85 herrno to return EAI_AGAIN.
87 2014-05-14 Roland McGrath <roland@hack.frob.com>
89 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
90 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
91 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
93 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
95 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
97 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
99 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
101 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
103 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
105 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
107 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
108 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
109 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
111 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
113 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
115 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
117 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
118 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
120 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
122 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
125 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
127 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
129 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
131 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
137 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
139 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
141 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
145 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
149 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
154 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
156 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
158 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
162 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
166 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
175 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
179 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
180 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
181 (libpthread-sysdep_routines): Add elision-related stuff here instead.
182 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
183 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
184 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
185 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
186 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
187 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
188 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
189 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
190 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
191 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
192 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
193 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
194 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
195 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
196 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
197 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
198 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
199 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
200 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
201 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
202 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
203 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
204 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
205 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
206 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
207 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
208 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
209 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
211 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
212 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
214 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
215 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
216 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
217 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
218 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
221 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
222 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
224 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
225 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
227 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
230 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
231 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
232 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
233 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
235 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
236 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
237 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
239 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
240 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
241 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
242 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
244 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
247 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
249 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
250 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
251 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
252 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
253 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
255 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
257 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
259 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
260 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
261 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
262 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
263 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
266 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
267 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
269 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
270 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
272 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
275 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
276 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
277 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
278 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
280 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
281 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
282 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
284 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
285 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
286 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
287 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
289 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
292 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
294 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
295 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
296 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
297 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
298 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
300 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
302 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
304 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
305 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
306 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
307 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
308 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
309 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
310 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
311 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
312 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
313 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
315 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
316 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
318 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
321 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
324 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
325 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
326 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
327 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
328 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
329 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
331 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
332 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
333 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
335 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
336 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
337 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
338 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
340 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
343 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
345 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
346 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
347 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
348 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
349 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
351 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
353 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
355 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
356 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
357 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
358 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
359 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
360 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
361 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
362 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
363 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
365 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
367 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
368 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
370 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
371 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
373 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
374 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
375 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
376 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
377 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
378 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
379 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
380 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
381 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
382 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
383 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
384 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
385 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
386 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
387 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
389 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
390 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
392 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
394 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
395 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
399 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
401 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
403 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
404 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
406 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
413 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
415 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
416 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
417 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
418 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
419 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
420 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
421 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
422 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
423 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
424 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
425 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
427 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
428 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
429 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
430 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
431 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
433 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
434 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
435 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
436 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
437 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
438 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
439 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
440 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
441 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
442 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
445 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
447 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
448 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
449 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
450 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
451 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
452 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
453 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
454 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
455 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
456 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
457 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
458 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
459 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
460 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
465 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
486 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
488 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
490 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
491 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
495 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
497 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
498 that was previously under [RESET_PID].
499 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
500 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
501 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
503 * sysdeps/i386/nptl/Implies: New file.
504 * sysdeps/x86_64/nptl/Implies: New file.
505 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
506 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
507 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
508 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
510 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
511 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
512 (__libc_vfork): New strong alias.
513 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
514 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
516 * sysdeps/unix/sysv/linux/x86_64/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/x86_64/vfork.S: File removed.
520 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
522 * sysdeps/unix/sysv/linux/arm/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 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
526 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
527 * nptl/pt-vfork.c: New file.
528 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
529 (libpthread: GLIBC_2.20): New version set (empty).
531 2014-05-14 Will Newton <will.newton@linaro.org>
533 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
536 2014-05-14 Joseph Myers <joseph@codesourcery.com>
539 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
540 arguments with exponent 65 or above.
541 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
542 arguments 0x1p113L or above.
543 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
544 to arguments 0x1p107L or above.
545 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
546 positive arguments with exponent 65 or above.
547 * math/auto-libm-test-in: Add more tests of log1p.
548 * math/auto-libm-test-out: Regenerated.
551 * math/s_cacos.c (__cacos): Ensure zero real part of result from
552 non-finite arguments is +0.
553 * math/s_cacosf.c (__cacosf): Likewise.
554 * math/s_cacosl.c (__cacosl): Likewise.
555 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
556 * sysdeps/i386/fpu/libm-test-ulps: Update.
557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
560 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
562 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
563 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
564 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
565 for explicit high bit of mantissa when testing for argument equal
567 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
568 * sysdeps/i386/fpu/libm-test-ulps: Update.
569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
572 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
573 (__erf): Scale by 16 instead of 8 in potentially underflowing
574 case. Ensure exception if result actually underflows.
575 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
576 (__erff): Scale by 16 instead of 8 in potentially underflowing
577 case. Ensure exception if result actually underflows.
578 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
579 (efx8): Remove variable.
580 (__erfl): Scale by 16 instead of 8 in potentially underflowing
581 case. Ensure exception if result actually underflows.
582 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
583 (efx8): Remove variable.
584 (__erfl): Scale by 16 instead of 8 in potentially underflowing
585 case. Ensure exception if result actually underflows.
586 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
587 (efx8): Remove variable.
588 (__erfl): Scale by 16 instead of 8 in potentially underflowing
589 case. Ensure exception if result actually underflows.
590 * math/auto-libm-test-in: Add more tests of erf.
591 * math/auto-libm-test-out: Regenerated.
593 2014-05-14 Andreas Schwab <schwab@suse.de>
595 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
596 Remove code conditionalized on USE___THREAD.
598 * config.h.in (HAVE_PT_CHOWN): Define as 0.
599 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
602 2014-05-14 Joseph Myers <joseph@codesourcery.com>
604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
605 Define unconditionally.
606 (__ASSUME_O_CLOEXEC): Likewise.
607 (__ASSUME_SOCK_CLOEXEC): Likewise.
608 (__ASSUME_IN_NONBLOCK): Likewise.
609 (__ASSUME_PIPE2): Likewise.
610 (__ASSUME_EVENTFD2): Likewise.
611 (__ASSUME_SIGNALFD4): Likewise.
612 (__ASSUME_DUP3): Likewise.
613 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
614 (__ASSUME_DUP3): Do not define.
615 (__ASSUME_EVENTFD2): Likewise.
616 (__ASSUME_IN_NONBLOCK): Likewise.
617 (__ASSUME_O_CLOEXEC): Likewise.
618 (__ASSUME_PIPE2): Likewise.
619 (__ASSUME_SIGNALFD4): Likewise.
620 (__ASSUME_SOCK_CLOEXEC): Likewise.
621 (__ASSUME_UTIMES): Undefine.
622 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
623 (__ASSUME_UTIMES): Do not define.
624 (__ASSUME_O_CLOEXEC): Likewise.
625 (__ASSUME_SOCK_CLOEXEC): Likewise.
626 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
627 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
629 (__ASSUME_PIPE2): Likewise.
630 (__ASSUME_EVENTFD2): Likewise.
631 (__ASSUME_SIGNALFD4): Likewise.
632 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
633 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
635 (__ASSUME_EVENTFD2): Likewise.
636 (__ASSUME_SIGNALFD4): Likewise.
637 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
638 (__ASSUME_32BITUIDS): Likewise.
639 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
640 (__ASSUME_IPC64): Likewise.
641 (__ASSUME_ST_INO_64_BIT): Likewise.
642 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
643 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
644 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
645 (__ASSUME_UTIMES): Do not define.
646 (__ASSUME_PSELECT): Likewise.
647 (__ASSUME_PPOLL): Likewise.
648 (__ASSUME_O_CLOEXEC): Likewise.
649 (__ASSUME_SOCK_CLOEXEC): Likewise.
650 (__ASSUME_IN_NONBLOCK): Likewise.
651 (__ASSUME_PIPE2): Likewise.
652 (__ASSUME_EVENTFD2): Likewise.
653 (__ASSUME_SIGNALFD4): Likewise.
654 (__ASSUME_DUP3): Likewise.
655 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
656 (__ASSUME_UTIMES): Likewise.
657 (__ASSUME_O_CLOEXEC): Likewise.
658 (__ASSUME_SOCK_CLOEXEC): Likewise.
659 (__ASSUME_IN_NONBLOCK): Likewise.
660 (__ASSUME_PIPE2): Likewise.
661 (__ASSUME_EVENTFD2): Likewise.
662 (__ASSUME_SIGNALFD4): Likewise.
663 (__ASSUME_DUP3): Likewise.
664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
665 (__ASSUME_UTIMES): Likewise.
666 (__ASSUME_O_CLOEXEC): Likewise.
667 (__ASSUME_SOCK_CLOEXEC): Likewise.
668 (__ASSUME_IN_NONBLOCK): Likewise.
669 (__ASSUME_PIPE2): Likewise.
670 (__ASSUME_EVENTFD2): Likewise.
671 (__ASSUME_SIGNALFD4): Likewise.
672 (__ASSUME_DUP3): Likewise.
673 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
675 (__ASSUME_UTIMES): Likewise.
676 (__ASSUME_EVENTFD2): Likewise.
677 (__ASSUME_SIGNALFD4): Likewise.
678 * sysdeps/unix/sysv/linux/tile/kernel-features.h
679 (__ASSUME_O_CLOEXEC): Likewise.
680 (__ASSUME_SOCK_CLOEXEC): Likewise.
681 (__ASSUME_IN_NONBLOCK): Likewise.
682 (__ASSUME_PIPE2): Likewise.
683 (__ASSUME_EVENTFD2): Likewise.
684 (__ASSUME_SIGNALFD4): Likewise.
685 (__ASSUME_DUP3): Likewise.
686 (__ASSUME_UTIMES): Undefine.
688 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
689 feclearexcept. Remove symbol versioning code.
690 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
691 symbol versioning code.
692 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
693 symbol versioning code.
694 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
695 feupdateenv. Remove symbol versioning code.
696 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
697 fegetexceptflag. Remove symbol versioning code.
698 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
699 fesetexceptflag. Remove symbol versioning code.
700 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
701 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
702 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
703 (__posix_fadvise64_l32): Remove prototype.
704 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
707 2014-05-13 Roland McGrath <roland@hack.frob.com>
709 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
710 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
711 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
712 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
714 2014-05-13 Sami Kerola <kerolasa@iki.fi>
716 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
717 current working directory
719 2014-05-13 Roland McGrath <roland@hack.frob.com>
721 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
722 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
723 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
724 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
725 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
726 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
727 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
728 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
729 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
730 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
731 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
732 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
733 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
734 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
735 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
736 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
737 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
738 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
739 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
740 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
741 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
742 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
743 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
744 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
745 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
746 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
747 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
749 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
751 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
753 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
754 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
755 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
756 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
757 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
758 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
759 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
760 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
761 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
762 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
764 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
765 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
767 * sysdeps/unix/sysv/linux/arm/Makefile
768 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
769 Add rt-aeabi_unwind_cpp_pr1.
770 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
771 Add nptl-aeabi_unwind_cpp_pr1.
772 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
773 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
774 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
775 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
776 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
777 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
779 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
780 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
781 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
782 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
784 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
785 Deconditionalize the code that was previously under [RESET_PID].
786 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
788 * sysdeps/generic/exit-thread.h: New file.
789 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
790 * include/unistd.h (__exit_thread): Remove declaration.
791 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
792 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
793 * csu/libc-start.c: Include <exit-thread.h>.
794 (LIBC_START_MAIN): Pass no argument to __exit_thread.
795 * nptl/pthread_create.c: Include <exit-thread.h>.
796 (start_thread): Call __exit_thread in place of __exit_thread_inline.
797 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
798 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
799 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
800 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
801 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
802 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
803 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
804 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
805 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
806 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
807 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
808 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
809 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
810 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
811 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
812 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
814 2014-05-13 Andreas Schwab <schwab@suse.de>
816 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
818 2014-05-12 Joseph Myers <joseph@codesourcery.com>
820 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
821 (__ASSUME_UTIMES): Do not condition on kernel version.
822 (__ASSUME_PSELECT): Define unconditionally.
823 (__ASSUME_PPOLL): Likewise.
824 (__ASSUME_ATFCTS): Likewise.
825 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
826 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
827 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
828 (__ASSUME_UTIMENSAT): Define unconditionally.
829 (__ASSUME_PRIVATE_FUTEX): Likewise.
830 (__ASSUME_FALLOCATE): Likewise.
831 (__ASSUME_O_CLOEXEC): Likewise.
832 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
833 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
834 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
835 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
836 (__ASSUME_IN_NONBLOCK): Likewise.
837 (__ASSUME_PIPE2): Likewise.
838 (__ASSUME_EVENTFD2): Likewise.
839 (__ASSUME_SIGNALFD4): Likewise.
840 (__ASSUME_DUP3): Likewise.
841 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
842 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
843 (__ASSUME_AT_RANDOM): Likewise.
844 (__ASSUME_PREADV): Likewise.
845 (__ASSUME_PWRITEV): Likewise.
846 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
847 (__ASSUME_F_GETOWN_EX): Define unconditionally.
848 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
849 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
850 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
851 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
852 (__ASSUME_O_CLOEXEC): Define unconditionally.
853 (__ASSUME_PSELECT): Do not undefine conditionally.
854 (__ASSUME_PPOLL): Likewise.
855 (__ASSUME_ATFCTS): Likewise.
856 (__ASSUME_SET_ROBUST_LIST): Likewise.
857 (__ASSUME_UTIMENSAT): Likewise.
858 (__ASSUME_FDATASYNC): Define unconditionally.
859 * sysdeps/unix/sysv/linux/arm/kernel-features.h
860 (__ASSUME_SIGFRAME_V2): Likewise.
861 )__ASSUME_EVENTFD2): Likewise.
862 (__ASSUME_SIGNALFD4): Likewise.
863 (__ASSUME_PSELECT): Do not undefine conditionally.
864 (__ASSUME_PPOLL): Likewise.
865 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
866 (__ASSUME_PSELECT): Define unconditionally.
867 (__ASSUME_PPOLL): Likewise.
868 (__ASSUME_O_CLOEXEC): Likewise.
869 (__ASSUME_SOCK_CLOEXEC): Likewise.
870 (__ASSUME_IN_NONBLOCK): Likewise.
871 (__ASSUME_PIPE2): Likewise.
872 (__ASSUME_EVENTFD2): Likewise.
873 (__ASSUME_SIGNALFD4): Likewise.
874 (__ASSUME_DUP3): Likewise.
875 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
876 (__ASSUME_O_CLOEXEC): Likewise.
877 (__ASSUME_SOCK_CLOEXEC): Likewise.
878 (__ASSUME_IN_NONBLOCK): Likewise.
879 (__ASSUME_PIPE2): Likewise.
880 (__ASSUME_EVENTFD2): Likewise.
881 (__ASSUME_SIGNALFD4): Likewise.
882 (__ASSUME_DUP3): Likewise.
883 * sysdeps/unix/sysv/linux/mips/kernel-features.h
884 (__ASSUME_EVENTFD2): Likewise.
885 (__ASSUME_SIGNALFD4): Likewise.
886 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
888 2014-05-12 Andreas Schwab <schwab@suse.de>
891 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
892 (_nss_nis_gethostbyname4_r): Return error if item length is larger
893 than maximum RPC packet size.
894 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
895 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
896 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
897 (_nss_nis_getservbyport_r): Likewise.
899 2014-05-12 Will Newton <will.newton@linaro.org>
901 * malloc/Makefile (tests): Add tst-mallopt.
902 * malloc/tst-mallopt.c: New file.
904 2014-05-09 Roland McGrath <roland@hack.frob.com>
906 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
907 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
909 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
911 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
912 (tst-tlsmod6.so): Likewise.
914 2014-05-09 Roland McGrath <roland@hack.frob.com>
916 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
918 2014-05-09 Joseph Myers <joseph@codesourcery.com>
921 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
923 (__fegetenv): Save SSE state in envp->__eip if supported.
924 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
925 envp->__eip if supported.
926 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
928 (__fesetenv): Always set __eip, __cs_selector, __opcode,
929 __data_offset and __data_selector in environment to 0. Set SSE
931 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
933 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
935 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
937 2014-05-09 Will Newton <will.newton@linaro.org>
939 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
940 and libc_relro_required for ARM.
941 * sysdeps/arm/preconfigure: Regenerate.
943 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
944 Stefan Liebler <stli@linux.vnet.ibm.com>
946 * config.make.in (enable-lock-elision): New Makefile variable.
947 * configure.ac: Likewise.
948 * configure: Regenerate.
949 * sysdeps/s390/configure.ac:
950 Add check for gcc transactions support.
951 * sysdeps/s390/configure: Regenerate.
952 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
953 Build elision files if enabled.
954 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
955 Add lock elision support for s390.
956 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
957 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
958 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
959 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
960 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
961 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
962 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
964 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
966 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
968 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
970 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
971 (__lll_timedlock_elision, __lll_lock_elision)
972 (__lll_unlock_elision, __lll_trylock_elision)
973 (lll_timedlock_elision, lll_lock_elision)
974 (lll_unlock_elision, lll_trylock_elision): Add.
975 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
976 (pthread_mutex_t): Add lock elision support for s390.
978 2014-05-14 Wilco <wdijkstr@arm.com>
980 * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
981 * sysdeps/arm/fedisblxcpt.c: Likewise.
982 * sysdeps/arm/feenablxcpt.c: Likewise.
983 * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
984 * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
985 * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
986 Call optimized (libc_fesetenv_vfp).
987 * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
988 * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
989 Call optimized (libc_feupdateenv_vfp).
990 * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
991 * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
993 * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
994 * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
996 2014-05-14 Wilco <wdijkstr@arm.com>
998 * sysdeps/arm/fclrexcpt.c: Cleanup.
999 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1000 * sysdeps/arm/feenablxcpt.c: Cleanup.
1001 * sysdeps/arm/fegetenv.c: Cleanup.
1002 * sysdeps/arm/fegetexcept.c: Cleanup.
1003 * sysdeps/arm/fegetround.c: Cleanup.
1004 * sysdeps/arm/feholdexcpt.c: Cleanup.
1005 * sysdeps/arm/fesetenv.c: Cleanup.
1006 * sysdeps/arm/fesetround.c: Cleanup.
1007 * sysdeps/arm/feupdateenv.c: Cleanup.
1008 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1009 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1010 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1011 * sysdeps/arm/ftestexcept.c: Cleanup.
1012 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1013 * sysdeps/arm/setfpucw.c: Cleanup.
1015 2014-05-09 Will Newton <will.newton@linaro.org>
1017 * sysdeps/arm/armv7/strcmp.S: New file.
1018 * NEWS: Mention addition of ARMv7 optimized strcmp.
1020 2014-05-08 Roland McGrath <roland@hack.frob.com>
1022 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1023 look for %.ac rather than %.in.
1025 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1026 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1027 * sysdeps/mach/hurd/configure: Regenerated.
1028 * sysdeps/unix/sysv/linux/configure: Regenerated.
1030 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1032 2014-05-07 Steve Ellcey <sellcey@mips.com>
1035 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1039 2014-05-07 Andreas Schwab <schwab@suse.de>
1041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1042 when skipping over non-matching result from nscd.
1044 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1047 * nptl/sockperf.c (client): Check socket return value.
1050 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1051 nscd security class.
1053 2014-05-06 Roland McGrath <roland@hack.frob.com>
1055 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1056 * sysdeps/arm/unwind.h: ... here.
1058 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1061 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1064 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1066 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1067 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1068 multiarch strncpy for PPC64.
1069 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1070 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1072 multiarch optimizations.
1073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1074 (__libc_ifunc_impl_list): Likewise.
1075 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1076 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1077 multiarch stpncpy for PPC64.
1078 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1079 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1081 2014-05-06 Andreas Schwab <schwab@suse.de>
1084 * gmon/mcount.c (_MCOUNT_DECL): Use
1085 atomic_compare_and_exchange_bool_acq instead of
1086 catomic_compare_and_exchange_bool_acq.
1088 2014-05-05 Roland McGrath <roland@hack.frob.com>
1090 * elf/Makefile (others, install-bin): Remove pldd.
1091 (pldd-modules): Variable removed.
1092 ($(objpfx)pldd): Target removed.
1093 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1094 (others, install-bin): Append pldd here.
1095 ($(objpfx)pldd): New target.
1097 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1098 to 0, so the first #if test emitted later doesn't see it undefined.
1099 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1100 * sysdeps/gnu/errlist.c: Regenerated.
1102 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1105 [libc_hidden_builtin_def]: Define to empty value.
1106 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1107 [libc_hidden_builtin_def]: Likewise.
1108 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1109 [libc_hidden_builtin_def]: Likewise.
1110 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1111 [libc_hidden_builtin_def]: Likewise.
1112 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1113 __redirect_memcpy and define ifunc as default hidden symbol.
1114 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1115 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1117 2014-05-04 Adam Conrad <adconrad@0c3.net>
1119 * locale/iso-4217.def: Reintroduce XDR currency.
1121 2014-05-04 Allan McRae <allan@archlinux.org>
1123 * po/eo.po: Update Esperanto translation from translation project.
1125 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1127 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1128 and FEATURE_INDEX_MAX to 1.
1129 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1131 2014-05-01 Steve Ellcey <sellcey@mips.com>
1133 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1134 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1135 * iconvdata/big5.c (ONE_DIRECTION): Define.
1136 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1137 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1138 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1139 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1140 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1141 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1142 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1143 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1144 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1145 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1146 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1147 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1148 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1149 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1150 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1151 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1152 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1153 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1154 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1155 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1156 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1157 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1158 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1159 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1160 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1161 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1162 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1163 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1164 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1165 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1166 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1167 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1168 * iconvdata/johab.c (ONE_DIRECTION): Define.
1169 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1170 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1171 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1172 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1173 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1174 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1175 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1176 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1177 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1178 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1180 2014-05-01 Roland McGrath <roland@hack.frob.com>
1182 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1183 (_IO_JUMPS_OFFSET): Define to 0.
1185 * nptl/sysdeps/pthread/bits/libc-lock.h
1186 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1187 (__libc_lock_define_initialized_recursive): Always define using
1188 initializer. Modern compilers treat uninitialized (implicit zero) and
1189 explicit zero initializers the same (i.e. put the datum in bss).
1191 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1193 * nscd/nscd-client.h: Include <string.h>.
1195 2014-05-01 David S. Miller <davem@davemloft.net>
1198 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1199 multiple zero bytes exist at the end of a string.
1200 Reported by Aurelien Jarno <aurelien@aurel32.net>
1202 * string/test-strcmp.c (check): Add explicit test for situations where
1203 there are multiple zero bytes after the first.
1205 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1208 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1209 when compiling wprintf.
1210 * stdio-common/tstdiomisc.c (t3): New function.
1213 2014-05-01 Steve Ellcey <sellcey@mips.com>
1215 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1216 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1217 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1218 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1220 2014-05-01 Steve Ellcey <sellcey@mips.com>
1222 * stdlib/longlong.h: Updated from GCC.
1224 2014-05-01 Will Newton <will.newton@linaro.org>
1225 Bernard Ogden <bernie.ogden@linaro.org>
1227 * NEWS: Update fixed bug list.
1230 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1232 2014-04-30 David S. Miller <davem@davemloft.net>
1234 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1235 (libc_feholdexcept_setround_sparc_ctx): New function.
1236 (libc_fesetenv_sparc_ctx): Likewise.
1237 (libc_feupdateenv_sparc_ctx): Likewise.
1238 (libc_feholdsetround_sparc_ctx): Likewise.
1239 (libc_feholdexcept_setround_ctx): Define.
1240 (libc_feholdexcept_setroundf_ctx): Likewise.
1241 (libc_feholdexcept_setroundl_ctx): Likewise.
1242 (libc_fesetenv_ctx): Likewise.
1243 (libc_fesetenvf_ctx): Likewise.
1244 (libc_fesetenvl_ctx): Likewise.
1245 (libc_feupdateenv_ctx): Likewise.
1246 (libc_feupdateenvf_ctx): Likewise.
1247 (libc_feupdateenvl_ctx): Likewise.
1248 (libc_feresetround_ctx): Likewise.
1249 (libc_feresetroundf_ctx): Likewise.
1250 (libc_feresetroundl_ctx): Likewise.
1251 (libc_feholdsetround_ctx): Likewise.
1252 (libc_feholdsetroundf_ctx): Likewise.
1253 (libc_feholdsetroundl_ctx): Likewise.
1255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1256 with __USE_GNU instead of XOPEN cpp guards.
1258 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1262 with XOPEN cpp guards.
1264 2014-04-30 Julian Brown <julian@codesourcery.com>
1267 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1270 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1273 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1275 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1276 * sysdeps/unix/sysv/linux/configure: Regenerated.
1277 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1278 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1279 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1280 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1281 * README: Update reference to required Linux kernel version.
1282 * manual/install.texi (Linux): Update reference to required Linux
1283 kernel headers version.
1284 * INSTALL: Regenerated.
1286 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1288 [POSIX] (limits.h): Likewise.
1289 [POSIX] (math.h): Likewise.
1290 [POSIX] (sys/wait.h): Likewise.
1291 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1293 [POSIX] (stddef.h): Do not allow header inclusion.
1295 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1299 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1301 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1302 Return immediately after lll_futex_wake.
1304 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1307 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1309 (datahead_init_pos): Call datahead_init_common early.
1310 (datahead_init_neg): Likewise.
1312 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1313 datahead_init_neg): New functions.
1314 * nscd/aicache.c (addhstaiX): Use them.
1315 * nscd/grpcache.c (cache_addgr): Likewise.
1316 * nscd/hstcache.c (cache_addhst): Likewise.
1317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1318 * nscd/netgroupcache.c (do_notfound): Likewise.
1319 (addgetnetgrentX): Likewise.
1320 (addinnetgrX): Likewise.
1321 * nscd/pwdcache.c (cache_addpw): Likewise.
1322 * nscd/servicescache.c (cache_addserv): Likewise.
1324 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1325 Atsushi Onoe <atsushi@onoe.org>
1330 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1331 one response is valid.
1332 * resolv/res_send.c (send_dg): Check for validity of other
1333 response if the current response is a referral.
1335 2014-04-29 Steve Ellcey <sellcey@mips.com>
1337 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1339 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1342 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1343 Always divide by positive zero when computing -Inf result.
1344 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1345 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1347 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1350 FPSCR if value do not change.
1351 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1352 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1353 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1354 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1355 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1356 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1359 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1361 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1362 * sysdeps/unix/sysv/linux/hppa: Move directory from
1363 ports/systeps/unix/sysv/linux/hppa.
1364 * README: Update listing for hppa-*-linux-gnu.
1366 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1369 * manual/stdio.texi (Hook functions): Fix types of stream hook
1372 * socket/sys/socket.h: Fix typo in comment.
1374 2014-04-28 Wilco <wdijkstr@arm.com>
1376 * sysdeps/arm/fenv_private.h: New file.
1377 * sysdeps/arm/math_private.h: New file.
1378 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1380 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1382 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1384 (La_x86_64_retval): Likewise.
1386 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1388 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1389 fpsr if value didn't change.
1390 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1391 to fpcr if value didn't change.
1392 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1393 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1394 fpsr or fpcr if value didn't change.
1395 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1396 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1397 fpcr if value didn't change.
1398 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1399 to fpsr if value didn't change.
1401 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1403 * nptl/tst-sem3.c: Use test-skeleton.c
1404 (main): Rename to do_test. Use return instead of
1406 * nptl/tst-sem4.c: Use test-skeleton.c
1407 (main): Rename to do_test.
1409 2014-04-22 David S. Miller <davem@davemloft.net>
1411 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1412 (struct sigaction): New struct member __glibc_reserved0, change
1413 type of sa_flags to int.
1415 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1417 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1418 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1420 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1422 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1423 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1425 2014-04-22 Will Newton <will.newton@linaro.org>
1426 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1428 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1429 (__longjmp): Add longjmp and longjmp_target SystemTap
1431 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1432 (__sigsetjmp): Add setjmp SystemTap probe.
1434 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1436 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1439 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1441 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1443 * sysdeps/powerpc/fpu/fenv_private.h
1444 (libc_feholdexcept_setroundl_ctx): Define to
1445 libc_feholdexcept_setround_ppc_ctx.
1446 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1447 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1448 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1449 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1451 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1453 * sysdeps/aarch64/math-tests.h: New file.
1455 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1457 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1460 Check and set bit_AVX2_Usable.
1461 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1463 (bit_AVX2): Likewise.
1464 (index_AVX2_Usable): Likewise.
1465 (CPUID_AVX2): Likewise.
1466 (HAS_AVX2): Likewise.
1468 2014-04-17 Will Newton <will.newton@linaro.org>
1470 * manual/setjmp.texi (System V contexts): Add note that
1471 calling setcontext on a context created by a call to a
1472 signal handler is undefined. Update text to note that
1473 setcontext from a signal handler is possible but not
1477 * stdlib/tst-setcontext.c: Include signal.h.
1478 (main): Check that the signal stack before and
1479 after swapcontext is the same.
1481 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1482 Re-implement to restore registers in user code and avoid
1483 rt_sigreturn system call.
1485 2014-04-17 Wilco <wdijkstr@arm.com>
1487 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1488 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1489 * math/test-fenv.c: Skip exception trap tests on targets which only
1490 support non-stop mode.
1492 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1493 Wilco Dijkstra <wilco.dijkstra@arm.com>
1495 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1496 (libc_feholdsetround_aarch64_ctx)
1497 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1498 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1499 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1500 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1501 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1502 (libc_feresetround_noexl_ctx): Define.
1504 2014-04-16 Richard Henderson <rth@redhat.com>
1506 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1508 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1511 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1512 const from the non-libc, non-ldso copy.
1514 * sysdeps/alpha/libm-test-ulps: Regenerate.
1516 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1517 Wilco Dijkstra <wilco.dijkstra@arm.com>
1519 * sysdeps/aarch64/fpu/math_private.h: New file.
1521 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1523 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1525 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1527 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1528 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1530 Intel MPX bound registers before _dl_profile_fixup.
1531 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1532 registers after _dl_profile_fixup. Save and restore bound
1533 registers bnd0/bnd1 when calling _dl_call_pltexit.
1534 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1535 (LR_BND_OFFSET): Likewise.
1536 (LRV_BND0_OFFSET): Likewise.
1537 (LRV_BND1_OFFSET): Likewise.
1539 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1541 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1543 * sysdeps/mach/hurd/i386/tls.h: ... here.
1544 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1545 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1548 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1550 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1552 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1554 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1556 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1559 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1560 * sysdeps/s390/configure: Regenerate.
1563 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1564 Set round-to-nearest internally to reduce error accumulation.
1566 2014-04-16 Alan Modra <amodra@gmail.com>
1570 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1571 * math/libm-test.inc (frexp_test_data): Add tests.
1572 * NEWS: Update fixed bug list.
1574 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1576 * benchtests/Makefile: Depend on libraries in build directory.
1577 (bench-math): Separate out math tests.
1578 (bench-pthread): Separate out pthread tests.
1579 (bench): Include math and pthread tests.
1581 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1584 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1585 _dl_debug_initialize.
1587 * configure.ac: Remove SELinux header check.
1588 * configure: Regenerate.
1589 * nscd/selinux.c (perms): Array of const char* to permission names.
1590 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1591 default policy. Call string_to_security_class and string_to_av_perm to
1592 translate strings. Enforce default policy and call avs_has_perm with
1593 results of translated strings.
1595 2014-04-13 David S. Miller <davem@davemloft.net>
1597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1599 2014-04-12 Allan McRae <allan@archlinux.org>
1602 * manual/string.texi (Collation Functions): Fix qsort argument
1604 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1606 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1608 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1609 Make the test a no-op if there are no exceptions defined.
1611 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1613 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1614 enable-hardcoded-path-in-tests
1616 2014-04-11 Will Newton <will.newton@linaro.org>
1618 * benchtests/Makefile (extra-objs): Add json-lib.o.
1619 (bench-func): Tidy up JSON output.
1620 * benchtests/bench-skeleton.c: Include json-lib.h.
1621 (main): Use JSON library functions to do output of
1623 * benchtests/bench-timing-type.c (main): Output the
1624 timing type simply, leaving formatting to the user.
1625 * benchtests/json-lib.c: New file.
1626 * benchtests/json-lib.h: Likewise.
1628 2014-04-11 Torvald Riegel <triegel@redhat.com>
1631 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1632 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1633 memory barriers. Add comments.
1634 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1635 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1636 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1637 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1638 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1639 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1641 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1643 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1644 * sysdeps/s390/s390-64/configure.ac: ... this ...
1645 * sysdeps/s390/configure.ac: ... to here.
1646 * sysdeps/s390/s390-32/configure: Delete file.
1647 * sysdeps/s390/s390-64/configure: Delete file.
1648 * sysdeps/s390/configure: Regenerate.
1650 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1652 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1654 2014-04-11 Will Newton <will.newton@linaro.org>
1656 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1657 to zero if it is not defined elsewhere. (mtrim): Test
1658 the value of MALLOC_DEBUG with #if rather than #ifdef.
1660 2014-04-10 Torvald Riegel <triegel@redhat.com>
1662 * benchtests/pthread_once-inputs: New file.
1663 * benchtests/pthread_once-source.c: New file.
1664 * benchtests/README: Update documentation.
1666 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1667 H.J. Lu <hongjiu.lu@intel.com>
1669 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1670 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1671 * sysdeps/x86_64/configure: Regenerated.
1672 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1674 (REGISTER_SAVE_RAX): Likewise.
1675 (REGISTER_SAVE_RCX): Likewise.
1676 (REGISTER_SAVE_RDX): Likewise.
1677 (REGISTER_SAVE_RSI): Likewise.
1678 (REGISTER_SAVE_RDI): Likewise.
1679 (REGISTER_SAVE_R8): Likewise.
1680 (REGISTER_SAVE_R9): Likewise.
1681 (REGISTER_SAVE_BND0): Likewise.
1682 (REGISTER_SAVE_BND1): Likewise.
1683 (REGISTER_SAVE_BND2): Likewise.
1684 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1685 bound registers when calling _dl_fixup.
1687 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1690 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1692 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1693 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1694 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1695 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1696 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1697 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1698 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1700 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1703 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1704 pathconf(_PC_NAME_MAX).
1706 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1710 (__PTHREAD_SPINS): Move definition to ...
1711 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1712 (__PTHREAD_SPINS): ... here.
1713 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1714 (__PTHREAD_SPIN): Likewise.
1715 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1716 (__PTHREAD_SPIN): Likewise.
1717 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1718 (__PTHREAD_SPIN): Likewise.
1719 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1720 (__PTHREAD_SPIN): Likewise.
1721 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1722 (__PTHREAD_SPIN): Likewise.
1723 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1724 (__PTHREAD_SPIN): Likewise.
1725 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1726 (__PTHREAD_SPIN): Likewise.
1727 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1728 (__PTHREAD_SPIN): Likewise.
1729 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1730 (__PTHREAD_SPIN): Likewise.
1731 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1732 (__PTHREAD_SPIN): Likewise.
1733 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1734 (__PTHREAD_SPIN): Likewise.
1735 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1736 (__PTHREAD_SPIN): Likewise.
1738 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1739 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1740 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1741 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1743 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1744 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1745 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1746 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1748 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1749 strlen symbol for non multi-arch builds.
1750 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1751 missing hidden_def and weak_alias.
1753 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1755 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1757 2014-04-07 Will Newton <will.newton@linaro.org>
1759 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1760 and contents. [!_LIBC] Remove #ifndef and contents.
1761 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1762 * string/memccpy.c (__memccpy): Use ANSI prototype.
1763 * string/memfrob.c (memfrob): Likewise.
1764 * string/strcoll.c (STRCOLL): Likewise.
1765 * string/strlen.c (strlen): Likewise.
1766 * string/strtok.c (STRTOK): Likewise.
1767 * string/strcat.c: Remove unused #include of memcopy.h.
1768 (strcat): Use ANSI prototype.
1769 * string/strchr.c: Remove unused #include of memcopy.h.
1770 (strchr): Use ANSI prototype.
1771 * string/strcmp.c: Remove unused #include of memcopy.h.
1772 (strcmp): Use ANSI prototype.
1773 * string/strcpy.c: Remove unused #include of memcopy.h.
1774 (strcpy): Use ANSI prototype.
1776 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1778 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1779 * config.make.in (config-extra-cppflags): Set it from
1780 libc_extra_cppflags.
1781 * configure.ac (libc_extra_cflags): Make it accumulate over
1782 configure fragments.
1783 (libc_extra_cppflags): New flag.
1784 * configure. Regenerate.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1786 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1787 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1792 result for FE_DOWNWARD rounding mode.
1793 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1797 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1799 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1800 in function argument name.
1802 2014-04-03 David Svoboda <svoboda@cert.org>
1805 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1808 2014-04-03 Roland McGrath <roland@hack.frob.com>
1810 * elf/dl-unmap-segments.h: New file.
1811 * sysdeps/generic/ldsodefs.h
1812 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1813 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1814 * elf/dl-fptr.c: Likewise.
1815 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1816 * sysdeps/aarch64/tlsdesc.c: Likewise.
1817 * sysdeps/arm/tlsdesc.c: Likewise.
1818 * sysdeps/i386/tlsdesc.c: Likewise.
1819 * sysdeps/tile/dl-runtime.c: Likewise.
1820 * sysdeps/x86_64/tlsdesc.c: Likewise.
1821 * elf/dl-load.h: New file.
1822 * elf/dl-load.c: Include it.
1823 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1824 Macros moved to dl-load.h.
1825 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1826 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1827 Use _dl_unmap_segments in place of __munmap.
1828 Break out segment-mapping loop into ...
1829 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1831 2014-04-03 Will Newton <will.newton@linaro.org>
1833 * elf/dl-lookup.c (do_lookup_x): Remove comment
1834 referring to nested function and move variable
1835 declarations down to before first use.
1837 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1841 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1843 * math/s_catanf.c (__catanf): Likewise.
1844 * math/s_catanh.c (__catanh): Likewise.
1845 * math/s_catanhf.c (__catanhf): Likewise.
1846 * math/s_catanhl.c (__catanhl): Likewise.
1847 * math/s_catanl.c (__catanl): Likewise.
1848 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1849 by positive zero when computing -Inf result.
1850 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1851 (catanh_test): Likewise.
1852 * sysdeps/i386/fpu/libm-test-ulps: Update.
1853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1856 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1857 instead of using underflowing value in computing result.
1858 * math/s_clog10.c (__clog10): Likewise.
1859 * math/s_clog10f.c (__clog10f): Likewise.
1860 * math/s_clog10l.c (__clog10l): Likewise.
1861 * math/s_clogf.c (__clogf): Likewise.
1862 * math/s_clogl.c (__clogl): Likewise.
1863 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1864 (clog10_test): Likewise.
1865 * sysdeps/i386/fpu/libm-test-ulps: Update.
1866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1868 2014-04-02 Alan Modra <amodra@gmail.com>
1871 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1872 output when value is near a power of two. Use int64_t for lx and
1873 remove casts. Use decimal rather than hex exponent constants.
1874 Don't use long double multiplication when double will suffice.
1875 * math/libm-test.inc (nextafter_test_data): Add tests.
1876 * NEWS: Add 16739 and 16786 to bug list.
1878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1880 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1882 2014-04-01 Will Newton <will.newton@linaro.org>
1884 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1885 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1887 2014-04-01 Florian Weimer <fweimer@redhat.com>
1890 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1891 * nptl/tst-setuid2.c: New file.
1892 * nptl/Makefile (xtests): Add tst-setuid2.
1894 2014-04-01 Alan Modra <amodra@gmail.com>
1897 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1899 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1903 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1904 set errno as appropriate.
1905 * math/w_scalbf.c (__scalbf): Likewise.
1906 * math/w_scalbl.c (__scalbl): Likewise.
1907 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1908 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1909 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1913 * math/w_atan2.c: Include <errno.h>.
1914 (__atan2): Set errno for result underflowing to zero.
1915 * math/w_atan2f.c: Include <errno.h>.
1916 (__atan2f): Set errno for result underflowing to zero.
1917 * math/w_atan2l.c: Include <errno.h>.
1918 (__atan2l): Set errno for result underflowing to zero.
1919 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1921 * math/auto-libm-test-out: Regenerated.
1923 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1926 Encode instruction correctly in little endian.
1927 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1929 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1931 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1933 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1936 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1939 * sysdeps/unix/sysv/linux/kernel-features.h
1940 [__sparc__ && !__arch64__ && !__sparc_v9__]
1941 (__ASSUME_SET_ROBUST_LIST): Do not define.
1942 [__sparc__ && !__arch64__ && !__sparc_v9__]
1943 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1944 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1946 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1947 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1948 (__ASSUME_REQUEUE_PI): Likewise.
1949 (__ASSUME_SET_ROBUST_LIST): Likewise.
1950 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1951 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1953 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1954 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1956 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1958 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1960 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1961 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1963 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1964 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1968 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1969 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1970 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1972 2014-03-31 Will Newton <will.newton@linaro.org>
1974 * benchtests/Makefile (bench): Add ffs and ffsll to list
1976 * benchtests/ffs-inputs: New file.
1977 * benchtests/ffsll-inputs: Likewise.
1979 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1982 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1983 too large before casting to int.
1984 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1985 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1986 * math/libm-test.inc (scalb_test_data): Add more tests.
1988 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1990 * benchtests/Makefile (DETAILED_OPT): New make option.
1991 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1993 * benchtests/bench-skeleton.c: Include stdbool.h.
1994 (main): Store and print timings per input.
1995 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1996 member to each argument value.
1997 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1998 (_print_arg_data): Initialize per-input timing to 0.
2000 * benchtests/Makefile (timing-type): New binary.
2001 (bench-clean): Also remove bench-timing-type.
2002 (bench): New target for timing-type.
2003 (bench-func): Print output in JSON format.
2004 * benchtests/bench-skeleton.c (main): Print output in JSON
2006 * benchtests/bench-timing-type.c: New file.
2007 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2008 (TIMING_PRINT_STATS): Remove.
2009 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2012 * benchtests/bench-modf.c: Remove.
2013 * benchtests/modf-inputs: New inputs file.
2015 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2018 * math/s_clog10.c (M_PI_LOG10E): New macro.
2019 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2020 imaginary parts are 0.
2021 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2022 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2023 imaginary parts are 0.
2024 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2025 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2026 imaginary parts are 0.
2027 * math/libm-test.inc (clog10_test_data): Update expected results
2028 for when real and imaginary parts are 0.
2030 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2032 * elf/dl-load.c: Finish conversion of __builtin_expect into
2035 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2038 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2039 1+x for argument with exponent below -67.
2040 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2042 * math/auto-libm-test-in: Add more tests of exp.
2043 * math/auto-libm-test-out: Regenerated.
2045 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2048 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2049 (nscd_getnetgrent): Use it.
2052 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2055 2014-03-27 Andi Kleen <ak@linux.intel.com>
2057 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2058 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2059 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2060 (lll_robust_unlock): Remove out of line section. Use cfi
2062 (LLL_STUB_UNWIND_INFO*): Remove.
2063 * nptl/sysdeps/unix/sysv/linux/i386/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.
2070 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2073 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2076 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2078 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2080 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2083 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2085 * math/test-fenv-preserve.c: New file.
2086 * math/Makefile (tests): Add test-fenv-preserve.
2088 2014-03-26 Will Newton <will.newton@linaro.org>
2090 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2092 2014-03-25 Roland McGrath <roland@hack.frob.com>
2094 * scripts/versionlist.awk: Partition the version sets and emit all
2095 GLIBC_* (sorted) before all others (sorted).
2097 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2099 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2100 GLIBC_2.2.5 version.
2102 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2104 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2107 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2112 2014-03-25 Andreas Schwab <schwab@suse.de>
2114 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2115 label to be used after in6ailist is initialized.
2117 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2120 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2122 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2126 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2128 (fp_formats): Update initializers.
2129 (init_fp_formats): Initialize new field.
2130 (output_for_one_input_case): Allow underflow for results up to
2132 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2133 * math/auto-libm-test-in: Don't mark some underflows from asin and
2135 * math/auto-libm-test-out: Regenerated.
2136 * sysdeps/i386/fpu/libm-test-ulps: Update.
2137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2139 2014-03-25 Andreas Schwab <schwab@suse.de>
2141 * libio/Makefile (tst-ftell-partial-wide-ENV)
2142 (tst-ftell-active-handler-ENV): Define.
2144 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2146 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2148 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2150 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2152 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2154 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2155 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2156 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2158 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2161 * elf/dl-load.c (open_verify): Add mode parameter.
2162 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2163 (open_path): Change from boolean 'secure' to complete flag 'mode'
2164 (_dl_map_object): Adjust.
2165 * elf/Makefile (tests): Add tst-dlopen-aout.
2166 * elf/tst-dlopen-aout.c: New test.
2168 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2171 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2172 (struct stat): Rename member pad0 to __glibc_reserved0.
2175 * sysdeps/s390/s390-32/bits/wordsize.h
2176 (__WORDSIZE32_SIZE_ULONG): New define.
2177 * sysdeps/s390/s390-64/bits/wordsize.h
2178 (__WORDSIZE32_SIZE_ULONG): Likewise.
2179 * sysdeps/generic/stdint.h (SIZE_MAX):
2180 Define as UL if __WORDSIZE32_SIZE_ULONG.
2183 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2184 (__glibc_reserved0): New variable.
2185 (sa_flags): Change type to int.
2187 * posix/Makefile (before-compile): Use += before-compile instead
2190 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2191 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2193 2014-03-20 Andreas Schwab <schwab@suse.de>
2196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2197 non-matching result from nscd.
2199 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2201 * scripts/bench.py: Moved to ...
2202 * benchtests/scripts/bench.py: ... here.
2203 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2205 2014-03-24 Andreas Schwab <schwab@suse.de>
2208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2209 alloca_account and account alloca use for struct in6ailist.
2211 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2214 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2215 rounding mode to recompute results that overflow to infinity or
2217 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2219 * math/auto-libm-test-out: Regenerated.
2220 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2221 (ccosh_test): Likewise.
2222 (csin_test_data): Use plus_oflow.
2223 (csin_test): Use ALL_RM_TEST.
2224 (csinh_test_data): Use plus_oflow.
2225 (csinh_test): Use ALL_RM_TEST.
2226 * sysdeps/i386/fpu/libm-test-ulps: Update.
2227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2229 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2231 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2232 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2233 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2236 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2238 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2239 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2240 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2241 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2243 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2244 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2246 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2247 * sysdeps/i386/fpu/libm-test-ulps: Update.
2248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2250 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2252 * scripts/bench.pl: Remove file.
2253 * scripts/bench.py: New benchmark script.
2254 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2255 * benchtests/README: Mention python dependency.
2256 * scripts/pylintrc: New file.
2257 * scripts/pylint: New file.
2259 * bits/mathdef.h: Use #ifdef instead of #if.
2260 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2261 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2262 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2263 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2264 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2265 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2267 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2270 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2272 and strpbrk-ppc64 objects.
2273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2274 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2275 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2276 multiarch strpbrk for POWER7.
2277 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2278 multiarch strpbrk for PPC64.
2279 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2281 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2284 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2286 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2287 (atan_test): Likewise.
2288 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2289 (atanh_test): Use ALL_RM_TEST.
2290 (atan2_test_data): Likewise.
2291 (cabs_test): Likewise.
2292 (cacosh_test): Likewise.
2293 (carg_test): Likewise.
2294 (casin_test): Likewise.
2295 (casinh_test): Likewise.
2296 (cbrt_test): Likewise.
2297 (csqrt_test): Likewise.
2298 (erf_test): Likewise.
2299 (erfc_test): Likewise.
2300 (pow10_test): Likewise.
2301 (exp2_test): Likewise.
2302 (hypot_test): Likewise.
2303 (j0_test): Likewise.
2304 (j1_test): Likewise.
2305 (lgamma_test): Likewise.
2306 (gamma_test): Likewise.
2307 (sincos_test): Likewise.
2308 (tanh_test): Likewise.
2309 (y0_test): Likewise.
2310 (y1_test): Likewise.
2311 * sysdeps/i386/fpu/libm-test-ulps: Update.
2312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2314 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2318 and strcspn-ppc64 objects.
2319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2320 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2321 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2322 multiarch strcspn for POWER7.
2323 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2324 multiarch strcspn for PPC64.
2325 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2327 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2330 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2332 * math/gen-libm-test.pl (generate_testfile): Expect only function
2333 name as argument to AUTO_TESTS_* and pass results for all rounding
2334 modes to parse_args.
2335 (parse_auto_input): Separate inputs of automatic tests from
2336 outputs before storing in %auto_tests.
2337 * math/libm-test.inc (acos_test_data): Update call to
2339 (acos_test): Use ALL_RM_TEST.
2340 (acos_tonearest_test_data): Remove.
2341 (acos_test_tonearest): Likewise.
2342 (acos_towardzero_test_data): Likewise.
2343 (acos_test_towardzero): Likewise.
2344 (acos_downward_test_data): Likewise.
2345 (acos_test_downward): Likewise.
2346 (acos_upward_test_data): Likewise.
2347 (acos_test_upward): Likewise.
2348 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2349 (asin_test_data): Likewise.
2350 (asin_test): Use ALL_RM_TEST.
2351 (asin_tonearest_test_data): Remove.
2352 (asin_test_tonearest): Likewise.
2353 (asin_towardzero_test_data): Likewise.
2354 (asin_test_towardzero): Likewise.
2355 (asin_downward_test_data): Likewise.
2356 (asin_test_downward): Likewise.
2357 (asin_upward_test_data): Likewise.
2358 (asin_test_upward): Likewise.
2359 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2360 (atan_test_data): Likewise.
2361 (atanh_test_data): Likewise.
2362 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2363 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2364 (carg_test_data): Likewise.
2365 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2366 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2367 (ccosh_test_data): Likewise.
2368 (cexp_test_data): Likewise.
2369 (clog_test_data): Likewise.
2370 (clog10_test_data): Likewise.
2371 (cos_test_data): Update call to AUTO_TESTS_f_f.
2372 (cos_test): Use ALL_RM_TEST.
2373 (cos_tonearest_test_data): Remove.
2374 (cos_test_tonearest): Likewise.
2375 (cos_towardzero_test_data): Likewise.
2376 (cos_test_towardzero): Likewise.
2377 (cos_downward_test_data): Likewise.
2378 (cos_test_downward): Likewise.
2379 (cos_upward_test_data): Likewise.
2380 (cos_test_upward): Likewise.
2381 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2382 (cosh_test): Use ALL_RM_TEST.
2383 (cosh_tonearest_test_data): Remove.
2384 (cosh_test_tonearest): Likewise.
2385 (cosh_towardzero_test_data): Likewise.
2386 (cosh_test_towardzero): Likewise.
2387 (cosh_downward_test_data): Likewise.
2388 (cosh_test_downward): Likewise.
2389 (cosh_upward_test_data): Likewise.
2390 (cosh_test_upward): Likewise.
2391 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2392 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2393 (ctan_test_data): Likewise.
2394 (ctan_test): Use ALL_RM_TEST.
2395 (ctan_tonearest_test_data): Remove.
2396 (ctan_test_tonearest): Likewise.
2397 (ctan_towardzero_test_data): Likewise.
2398 (ctan_test_towardzero): Likewise.
2399 (ctan_downward_test_data): Likewise.
2400 (ctan_test_downward): Likewise.
2401 (ctan_upward_test_data): Likewise.
2402 (ctan_test_upward): Likewise.
2403 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2404 (ctanh_test): Use ALL_RM_TEST.
2405 (ctanh_tonearest_test_data): Remove.
2406 (ctanh_test_tonearest): Likewise.
2407 (ctanh_towardzero_test_data): Likewise.
2408 (ctanh_test_towardzero): Likewise.
2409 (ctanh_downward_test_data): Likewise.
2410 (ctanh_test_downward): Likewise.
2411 (ctanh_upward_test_data): Likewise.
2412 (ctanh_test_upward): Likewise.
2413 (erf_test_data): Update call to AUTO_TESTS_f_f.
2414 (erfc_test_data): Likewise.
2415 (exp_test_data): Likewise.
2416 (exp_test): Use ALL_RM_TEST.
2417 (exp_tonearest_test_data): Remove.
2418 (exp_test_tonearest): Likewise.
2419 (exp_towardzero_test_data): Likewise.
2420 (exp_test_towardzero): Likewise.
2421 (exp_downward_test_data): Likewise.
2422 (exp_test_downward): Likewise.
2423 (exp_upward_test_data): Likewise.
2424 (exp_test_upward): Likewise.
2425 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2426 (exp10_test): Use ALL_RM_TEST.
2427 (exp10_tonearest_test_data): Remove.
2428 (exp10_test_tonearest): Likewise.
2429 (exp10_towardzero_test_data): Likewise.
2430 (exp10_test_towardzero): Likewise.
2431 (exp10_downward_test_data): Likewise.
2432 (exp10_test_downward): Likewise.
2433 (exp10_upward_test_data): Likewise.
2434 (exp10_test_upward): Likewise.
2435 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2436 (expm1_test_data): Likewise.
2437 (expm1_test): Use ALL_RM_TEST.
2438 (expm1_tonearest_test_data): Remove.
2439 (expm1_test_tonearest): Likewise.
2440 (expm1_towardzero_test_data): Likewise.
2441 (expm1_test_towardzero): Likewise.
2442 (expm1_downward_test_data): Likewise.
2443 (expm1_test_downward): Likewise.
2444 (expm1_upward_test_data): Likewise.
2445 (expm1_test_upward): Likewise.
2446 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2447 (fma_test): Use ALL_RM_TEST.
2448 (fma_towardzero_test_data): Remove.
2449 (fma_test_towardzero): Likewise.
2450 (fma_downward_test_data): Likewise.
2451 (fma_test_downward): Likewise.
2452 (fma_upward_test_data): Likewise.
2453 (fma_test_upward): Likewise.
2454 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2455 (j0_test_data): Update call to AUTO_TESTS_f_f.
2456 (j1_test_data): Likewise.
2457 (jn_test_data): Update call to AUTO_TESTS_if_f.
2458 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2459 (log_test_data): Update call to AUTO_TESTS_f_f.
2460 (log10_test_data): Likewise.
2461 (log1p_test_data): Likewise.
2462 (log2_test_data): Likewise.
2463 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2464 (pow_tonearest_test_data): Likewise.
2465 (sin_test_data): Update call to AUTO_TESTS_f_f.
2466 (sin_test): Use ALL_RM_TEST.
2467 (sin_tonearest_test_data): Remove.
2468 (sin_test_tonearest): Likewise.
2469 (sin_towardzero_test_data): Likewise.
2470 (sin_test_towardzero): Likewise.
2471 (sin_downward_test_data): Likewise.
2472 (sin_test_downward): Likewise.
2473 (sin_upward_test_data): Likewise.
2474 (sin_test_upward): Likewise.
2475 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2476 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2477 (sinh_test): Use ALL_RM_TEST.
2478 (sinh_tonearest_test_data): Remove.
2479 (sinh_test_tonearest): Likewise.
2480 (sinh_towardzero_test_data): Likewise.
2481 (sinh_test_towardzero): Likewise.
2482 (sinh_downward_test_data): Likewise.
2483 (sinh_test_downward): Likewise.
2484 (sinh_upward_test_data): Likewise.
2485 (sinh_test_upward): Likewise.
2486 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2487 (sqrt_test): Use ALL_RM_TEST.
2488 (sqrt_tonearest_test_data): Remove.
2489 (sqrt_test_tonearest): Likewise.
2490 (sqrt_towardzero_test_data): Likewise.
2491 (sqrt_test_towardzero): Likewise.
2492 (sqrt_downward_test_data): Likewise.
2493 (sqrt_test_downward): Likewise.
2494 (sqrt_upward_test_data): Likewise.
2495 (sqrt_test_upward): Likewise.
2496 (tan_test_data): Update call to AUTO_TESTS_f_f.
2497 (tan_test): Use ALL_RM_TEST.
2498 (tan_tonearest_test_data): Remove.
2499 (tan_test_tonearest): Likewise.
2500 (tan_towardzero_test_data): Likewise.
2501 (tan_test_towardzero): Likewise.
2502 (tan_downward_test_data): Likewise.
2503 (tan_test_downward): Likewise.
2504 (tan_upward_test_data): Likewise.
2505 (tan_test_upward): Likewise.
2506 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2507 (tgamma_test_data): Likewise.
2508 (y0_test_data): Likewise.
2509 (y1_test_data): Likewise.
2510 (yn_test_data): Update call to AUTO_TESTS_if_f.
2511 (main): Do not call removed functions.
2513 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2515 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2516 (ldexp_test_data): Remove.
2517 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2519 (scalb_test): Use ALL_RM_TEST.
2521 2014-03-19 Andreas Schwab <schwab@suse.de>
2523 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2525 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2528 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2529 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2531 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2532 (__ASSUME_PREADV): Undefine.
2533 (__ASSUME_PWRITEV): Likewise.
2535 2014-03-18 Roland McGrath <roland@hack.frob.com>
2537 * bits/mman-linux.h: Add comment about non-Linux use.
2538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2539 bits/mman-linux.h resting place.
2541 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2542 * bits/mman-linux.h: ... here.
2544 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2546 * conform/conformtest.pl: Add standard definition when calling C
2547 preprocessor on data files.
2548 (checknamespace): Remove unused variable.
2550 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2552 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2553 minus_oflow, plus_uflow and minus_uflow in expected results.
2554 * math/libm-test.inc (scalbn_test_data): Add more tests of
2555 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2557 (scalbn_test): Use ALL_RM_TEST.
2558 (scalbln_test_data): Add more tests of negative arguments. Use
2559 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2560 (scalbln_test): Use ALL_RM_TEST.
2562 2014-03-18 Roland McGrath <roland@hack.frob.com>
2564 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2566 2014-03-18 Will Newton <will.newton@linaro.org>
2568 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2571 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2573 * Makerules [!subdir] (check-abi): Exit with error status if a
2576 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2578 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2579 for rint. Include results for all rounding modes.
2580 (nearbyint_test): Use ALL_RM_TEST.
2581 (rint_test_data): Include all tests used for nearbyint.
2583 2014-03-17 Will Newton <will.newton@linaro.org>
2585 * nptl/sysdeps/pthread/pthread.h: Revert previous
2588 * sysdeps/generic/ldsodefs.h: Revert previous
2591 * libio/genops.c: Revert previous change.
2592 * libio/libioP.h: Likewise.
2593 * stdio-common/vfprintf.c: Likewise.
2595 * sysdeps/generic/math_private.h: Revert previous
2598 * sysdeps/generic/math_private.h: Check whether
2599 HAVE_RM_CTX is defined with #ifdef rather
2602 * argp/argp-fmtstream.h: Check whether
2603 __STRICT_ANSI__ is defined with #ifdef rather
2605 * argp/argp.h: Likewise.
2607 * libio/genops.c: Check whether
2608 _IO_JUMPS_OFFSET is defined with #ifdef rather
2610 * libio/libioP.h: Likewise.
2611 * stdio-common/vfprintf.c: Likewise.
2613 * sysdeps/generic/ldsodefs.h: Check whether
2614 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2617 * nptl/sysdeps/pthread/pthread.h: Check
2618 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2621 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2623 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2625 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2629 * libio/fileops.c (_IO_file_open): Seek to end of file but
2630 don't cache the offset.
2631 (get_file_offset): Remove function.
2632 (do_ftell): Use cached offset when available.
2633 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2634 don't cache the offset.
2635 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2637 (do_one_test): Call it.
2638 (do_ftell_test): Fix up expected old offset for a+ mode.
2639 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2642 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2643 up test status with function return status.
2644 (do_write_test): Likewise.
2645 (do_append_test): Likewise.
2647 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2648 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2651 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2653 * math/gen-libm-test.pl (parse_args): Handle results specified for
2654 each rounding mode separately.
2655 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2656 tests and results from lrint_tonearest_test_data,
2657 lrint_towardzero_test_data, lrint_downward_test_data and
2658 lrint_upward_test_data.
2659 (lrint_test): Use ALL_RM_TEST.
2660 (lrint_tonearest_test_data): Remove.
2661 (lrint_test_tonearest): Likewise.
2662 (lrint_towardzero_test_data): Likewise.
2663 (lrint_test_towardzero): Likewise.
2664 (lrint_downward_test_data): Likewise.
2665 (lrint_test_downward): Likewise.
2666 (lrint_upward_test_data): Likewise.
2667 (lrint_test_upward): Likewise.
2668 (llrint_test_data): Merge in per-rounding-mode tests and results
2669 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2670 llrint_downward_test_data and llrint_upward_test_data.
2671 (llrint_test): Use ALL_RM_TEST.
2672 (llrint_tonearest_test_data): Remove.
2673 (llrint_test_tonearest): Likewise.
2674 (llrint_towardzero_test_data): Likewise.
2675 (llrint_test_towardzero): Likewise.
2676 (llrint_downward_test_data): Likewise.
2677 (llrint_test_downward): Likewise.
2678 (llrint_upward_test_data): Likewise.
2679 (llrint_test_upward): Likewise.
2680 (rint_test_data): Merge in per-rounding-mode tests and results
2681 from rint_tonearest_test_data, rint_towardzero_test_data,
2682 rint_downward_test_data and rint_upward_test_data. Add
2683 per-rounding-mode results for tests not in those arrays.
2684 (rint_test): Use ALL_RM_TEST.
2685 (rint_tonearest_test_data): Remove.
2686 (rint_test_tonearest): Likewise.
2687 (rint_towardzero_test_data): Likewise.
2688 (rint_test_towardzero): Likewise.
2689 (rint_downward_test_data): Likewise.
2690 (rint_test_downward): Likewise.
2691 (rint_upward_test_data): Likewise.
2692 (rint_test_upward): Likewise.
2693 (main): Don't call removed functions.
2695 2014-03-14 Roland McGrath <roland@hack.frob.com>
2697 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2698 "Compiled on ..." crapola. It is anti-useful.
2700 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2702 * scripts/evaluate-test.sh: Handle fourth argument to determine
2703 whether test run should stop on failure.
2704 * Makeconfig (stop-on-test-failure): New variable.
2705 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2706 $(stop-on-test-failure).
2707 * Makefile (tests): Give a summary of results from testing and
2708 exit with failure status if they include an ERROR or FAIL.
2710 * manual/install.texi (Configuring and compiling): Mention
2711 stop-on-test-failure=y.
2712 * INSTALL: Regenerated.
2714 2014-03-14 Roland McGrath <roland@hack.frob.com>
2716 * scripts/versionlist.awk: New file.
2717 * Makerules [$(build-shared) = yes]
2718 (postclean-generated): Add Versions.def, not Versions.def.v and
2720 ($(common-objpfx)Versions.def.v.i): Target removed.
2721 ($(common-objpfx)Versions.def): New target.
2722 ($(common-objpfx)Versions.all): Depend on that rather that
2723 $(common-objpfx)Versions.def.v.
2724 * Versions.def: File removed.
2726 * Makeconfig (+gccwarn): Add -Wundef.
2727 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2728 a dl-sysdep.h breaking its contract.
2729 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2730 * include/stackinfo.h: New file.
2731 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2732 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2733 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2734 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2735 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2736 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2737 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2738 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2739 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2740 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2741 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2742 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2743 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2744 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2745 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2747 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2750 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2752 * math/libm-test.inc (round_test_data): Add more tests.
2755 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2757 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2760 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2762 * math/libm-test.inc (ceil_test_data): Add more tests.
2764 * math/libm-test.inc (trunc_test_data): Add more tests related to
2767 2014-03-14 Roland McGrath <roland@hack.frob.com>
2769 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2770 with #if rather than #ifdef.
2771 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2773 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2775 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2776 first. Disable AVX-512 GCC support if assembler doesn't support
2778 * sysdeps/x86_64/configure: Regenerated.
2780 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2782 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2783 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2784 (__old_pthread_attr_setstack): Likewise.
2785 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2786 [!_STACK_GROWS_DOWN]: Likewise.
2788 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2790 * config.make.in (have-bash2): Delete.
2791 * configure.ac (libc_cv_have_bash2): Delete.
2792 * configure: Regenerate.
2793 * elf/Makefile (common-ldd-rewrite): Rename to ...
2794 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2795 (sh-ldd-rewrite): Delete.
2796 (bash-ldd-rewrite): Delete.
2797 (have-bash2): Delete checks.
2798 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2801 * config.make.in (have-ksh): Delete.
2803 * configure.ac (libc_cv_have_ksh): Delete.
2804 * configure: Regenerate.
2806 * elf/Makefile: Delete $(have-ksh) check.
2807 ($(objpfx)sotruss): Change KSH to BASH.
2808 * elf/sotruss.ksh: Rename to ...
2809 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2810 function style to match POSIX. Drop ksh vim mode setting.
2812 * manual/time.texi (Specifying the Time Zone with TZ): Change
2813 Tuesday to Thursday.
2815 * debug/tst-longjmp_chk2.c: Update header comment.
2816 (stackoverflow_handler): Add comment. Call assert on pass value.
2818 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2820 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2821 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2822 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2823 (La_x86_64_vector): Add zmm.
2824 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2825 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2826 ($(objpfx)tst-audit10): New target.
2827 ($(objpfx)tst-audit10.out): Likewise.
2828 (tst-audit10-ENV): New.
2829 (AVX512-CFLAGS): Likewise.
2830 (CFLAGS-tst-audit10.c): Likewise.
2831 (CFLAGS-tst-auditmod10a.c): Likewise.
2832 (CFLAGS-tst-auditmod10b.c): Likewise.
2833 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2834 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2835 * sysdeps/x86_64/configure: Regenerated.
2836 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2837 AVX-512 zmm register support.
2838 (_dl_x86_64_save_sse): Likewise.
2839 (_dl_x86_64_restore_sse): Likewise.
2840 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2841 size vector registers.
2842 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2843 (ZMM_SIZE): Likewise.
2844 * sysdeps/x86_64/tst-audit10.c: New file.
2845 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2846 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2848 2014-03-13 Roland McGrath <roland@hack.frob.com>
2850 * configure.ac (HAVE_EHDR_START): New check.
2851 * configure: Regenerated.
2852 * config.h.in (HAVE_EHDR_START): New #undef.
2853 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2854 assuming the lowest-addressed segment maps the start of the file.
2856 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2858 * INSTALL: Regenerated.
2860 2014-03-13 Will Newton <will.newton@linaro.org>
2862 * manual/setjmp.texi (System V contexts): Improve
2863 clarity and grammar of documentation.
2865 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2868 * elf/Makefile (tests): Add tst-pie2.
2869 (tests-pie): Add tst-pie2.
2870 * elf/tst-pie2.c: New file.
2871 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2873 * elf/rtld.c (map_doit): Load executable as lt_executable.
2874 (dl_main): Likewise.
2876 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2880 (__ASSUME_PSELECT): Undefine.
2882 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2885 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2886 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2888 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2889 selector for static builds.
2891 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2894 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2897 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2900 IFUNC selector for static builds.
2902 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2904 * sysdeps/mips/math_private.h [__mips_hard_float]
2905 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2906 libc_feresetround_mips_ctx.
2907 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2908 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2909 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2912 * math/s_nextafter.c (__nextafter): Do not return value from
2913 overflowing computation.
2914 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2915 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2916 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2918 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2920 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2921 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2923 2014-03-11 Roland McGrath <roland@hack.frob.com>
2925 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2926 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2927 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2928 the new mov targetting sp.
2930 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2933 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2934 Define it for static builds as well.
2935 (NO_BZERO_IMPL): Likewise.
2937 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2939 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2940 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2941 multiarch strspn for PPC64.
2942 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2943 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2945 (__libc_ifunc_impl_list): Likewise.
2946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2947 multiarch optimizations
2948 * string/strspn.c (strspn): Using macro to redefine symbol name.
2950 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2951 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2953 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2954 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2955 multiarch strncat for PPC64.
2956 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2957 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2959 (__libc_ifunc_impl_list): Likewise.
2960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2961 multiarch optimizations
2963 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2966 * nscd/nscd.service: Make service type forking.
2968 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2970 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2971 sign in non default rounding modes.
2972 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2974 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2976 * math/libm-test.inc (ALL_RM_TEST): New macro.
2977 (ceil_test): Use ALL_RM_TEST.
2978 (cimag_test): Likewise.
2979 (conj_test): Likewise.
2980 (copysign_test): Likewise.
2981 (cproj_test): Likewise.
2982 (creal_test): Likewise.
2983 (fabs_test): Likewise.
2984 (floor_test): Likewise.
2985 (fmax_test): Likewise.
2986 (fmin_test): Likewise.
2987 (fmod_test): Likewise.
2988 (fpclassify_test): Likewise.
2989 (frexp_test): Likewise.
2990 (ilogb_test): Likewise.
2991 (isfinite_test): Likewise.
2992 (finite_test): Likewise.
2993 (isgreater_test): Likewise.
2994 (isgreaterequal_test): Likewise.
2995 (isinf_test): Likewise.
2996 (isless_test): Likewise.
2997 (islessequal_test): Likewise.
2998 (islessgreater_test): Likewise.
2999 (isnan_test): Likewise.
3000 (isnormal_test): Likewise.
3001 (issignaling_test): Likewise.
3002 (isunordered_test): Likewise.
3003 (logb_test): Likewise.
3004 (logb_downward_test_data): Remove.
3005 (logb_test_downward): Likewise.
3006 (lround_test): Use ALL_RM_TEST.
3007 (llround_test): Likewise.
3008 (modf_test): Likewise.
3009 (nexttoward_test): Likewise.
3010 (remainder_test): Likewise.
3011 (drem_test): Likewise.
3012 (remainder_tonearest_test_data): Likewise.
3013 (remainder_test_tonearest): Likewise.
3014 (drem_test_tonearest): Likewise.
3015 (remainder_towardzero_test_data): Likewise.
3016 (remainder_test_towardzero): Likewise.
3017 (drem_test_towardzero): Likewise.
3018 (remainder_downward_test_data): Likewise.
3019 (remainder_test_downward): Likewise.
3020 (drem_test_downward): Likewise.
3021 (remainder_upward_test_data): Likewise.
3022 (remainder_test_upward): Likewise.
3023 (drem_test_upward): Likewise.
3024 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3025 (round_test): Use ALL_RM_TEST.
3026 (signbit_test): Likewise.
3027 (trunc_test): Likewise.
3028 (significand_test): Likewise.
3029 (main): Don't call removed functions.
3031 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3034 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3036 (ILL_ILLOPN): Likewise.
3037 (ILL_ILLADR): Likewise.
3038 (ILL_ILLTRP): Likewise.
3039 (ILL_PRVOPC): Likewise.
3040 (ILL_PRVREG): Likewise.
3041 (ILL_COPROC): Likewise.
3042 (ILL_BADSTK): Likewise.
3043 (FPE_INTDIV): Likewise.
3044 (FPE_INTOVF): Likewise.
3045 (FPE_FLTDIV): Likewise.
3046 (FPE_FLTOVF): Likewise.
3047 (FPE_FLTUND): Likewise.
3048 (FPE_FLTRES): Likewise.
3049 (FPE_FLTINV): Likewise.
3050 (FPE_FLTSUB): Likewise.
3051 (SEGV_MAPERR): Likewise.
3052 (SEGV_ACCERR): Likewise.
3053 (BUS_ADRALN): Likewise.
3054 (BUS_ADRERR): Likewise.
3055 (BUS_OBJERR): Likewise.
3056 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3057 (TRAP_TRACE): Likewise.
3058 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3060 (CLD_KILLED): Likewise.
3061 (CLD_DUMPED): Likewise.
3062 (CLD_TRAPPED): Likewise.
3063 (CLD_STOPPED): Likewise.
3064 (CLD_CONTINUED): Likewise.
3065 (POLL_IN): Likewise.
3066 (POLL_OUT): Likewise.
3067 (POLL_MSG): Likewise.
3068 (POLL_ERR): Likewise.
3069 (POLL_PRI): Likewise.
3070 (POLL_HUP): Likewise.
3071 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3073 (ILL_ILLOPN): Likewise.
3074 (ILL_ILLADR): Likewise.
3075 (ILL_ILLTRP): Likewise.
3076 (ILL_PRVOPC): Likewise.
3077 (ILL_PRVREG): Likewise.
3078 (ILL_COPROC): Likewise.
3079 (ILL_BADSTK): Likewise.
3080 (FPE_INTDIV): Likewise.
3081 (FPE_INTOVF): Likewise.
3082 (FPE_FLTDIV): Likewise.
3083 (FPE_FLTOVF): Likewise.
3084 (FPE_FLTUND): Likewise.
3085 (FPE_FLTRES): Likewise.
3086 (FPE_FLTINV): Likewise.
3087 (FPE_FLTSUB): Likewise.
3088 (SEGV_MAPERR): Likewise.
3089 (SEGV_ACCERR): Likewise.
3090 (BUS_ADRALN): Likewise.
3091 (BUS_ADRERR): Likewise.
3092 (BUS_OBJERR): Likewise.
3093 (BUS_MCEERR_AR): Likewise.
3094 (BUS_MCEERR_AO): Likewise.
3095 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3096 (TRAP_TRACE): Likewise.
3097 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3099 (CLD_KILLED): Likewise.
3100 (CLD_DUMPED): Likewise.
3101 (CLD_TRAPPED): Likewise.
3102 (CLD_STOPPED): Likewise.
3103 (CLD_CONTINUED): Likewise.
3104 (POLL_IN): Likewise.
3105 (POLL_OUT): Likewise.
3106 (POLL_MSG): Likewise.
3107 (POLL_ERR): Likewise.
3108 (POLL_PRI): Likewise.
3109 (POLL_HUP): Likewise.
3110 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3111 (ILL_ILLOPN): Likewise.
3112 (ILL_ILLADR): Likewise.
3113 (ILL_ILLTRP): Likewise.
3114 (ILL_PRVOPC): Likewise.
3115 (ILL_PRVREG): Likewise.
3116 (ILL_COPROC): Likewise.
3117 (ILL_BADSTK): Likewise.
3118 (FPE_INTDIV): Likewise.
3119 (FPE_INTOVF): Likewise.
3120 (FPE_FLTDIV): Likewise.
3121 (FPE_FLTOVF): Likewise.
3122 (FPE_FLTUND): Likewise.
3123 (FPE_FLTRES): Likewise.
3124 (FPE_FLTINV): Likewise.
3125 (FPE_FLTSUB): Likewise.
3126 (SEGV_MAPERR): Likewise.
3127 (SEGV_ACCERR): Likewise.
3128 (BUS_ADRALN): Likewise.
3129 (BUS_ADRERR): Likewise.
3130 (BUS_OBJERR): Likewise.
3131 (BUS_MCEERR_AR): Likewise.
3132 (BUS_MCEERR_AO): Likewise.
3133 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3134 (TRAP_TRACE): Likewise.
3135 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3137 (CLD_KILLED): Likewise.
3138 (CLD_DUMPED): Likewise.
3139 (CLD_TRAPPED): Likewise.
3140 (CLD_STOPPED): Likewise.
3141 (CLD_CONTINUED): Likewise.
3142 (POLL_IN): Likewise.
3143 (POLL_OUT): Likewise.
3144 (POLL_MSG): Likewise.
3145 (POLL_ERR): Likewise.
3146 (POLL_PRI): Likewise.
3147 (POLL_HUP): Likewise.
3148 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3150 (ILL_ILLOPN): Likewise.
3151 (ILL_ILLADR): Likewise.
3152 (ILL_ILLTRP): Likewise.
3153 (ILL_PRVOPC): Likewise.
3154 (ILL_PRVREG): Likewise.
3155 (ILL_COPROC): Likewise.
3156 (ILL_BADSTK): Likewise.
3157 (ILL_BADIADDR): Likewise.
3158 (ILL_BREAK): Likewise.
3159 (FPE_INTDIV): Likewise.
3160 (FPE_INTOVF): Likewise.
3161 (FPE_FLTDIV): Likewise.
3162 (FPE_FLTOVF): Likewise.
3163 (FPE_FLTUND): Likewise.
3164 (FPE_FLTRES): Likewise.
3165 (FPE_FLTINV): Likewise.
3166 (FPE_FLTSUB): Likewise.
3167 (FPE_DECOVF): Likewise.
3168 (FPE_DECDIV): Likewise.
3169 (FPE_DECERR): Likewise.
3170 (FPE_INVASC): Likewise.
3171 (FPE_INVDEC): Likewise.
3172 (SEGV_MAPERR): Likewise.
3173 (SEGV_ACCERR): Likewise.
3174 (SEGV_PSTKOVF): Likewise.
3175 (BUS_ADRALN): Likewise.
3176 (BUS_ADRERR): Likewise.
3177 (BUS_OBJERR): Likewise.
3178 (BUS_MCEERR_AR): Likewise.
3179 (BUS_MCEERR_AO): Likewise.
3180 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3181 (TRAP_TRACE): Likewise.
3182 (TRAP_BRANCH): Likewise.
3183 (TRAP_HWBKPT): Likewise.
3184 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3186 (CLD_KILLED): Likewise.
3187 (CLD_DUMPED): Likewise.
3188 (CLD_TRAPPED): Likewise.
3189 (CLD_STOPPED): Likewise.
3190 (CLD_CONTINUED): Likewise.
3191 (POLL_IN): Likewise.
3192 (POLL_OUT): Likewise.
3193 (POLL_MSG): Likewise.
3194 (POLL_ERR): Likewise.
3195 (POLL_PRI): Likewise.
3196 (POLL_HUP): Likewise.
3197 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3198 (ILL_ILLOPN): Likewise.
3199 (ILL_ILLADR): Likewise.
3200 (ILL_ILLTRP): Likewise.
3201 (ILL_PRVOPC): Likewise.
3202 (ILL_PRVREG): Likewise.
3203 (ILL_COPROC): Likewise.
3204 (ILL_BADSTK): Likewise.
3205 (FPE_INTDIV): Likewise.
3206 (FPE_INTOVF): Likewise.
3207 (FPE_FLTDIV): Likewise.
3208 (FPE_FLTOVF): Likewise.
3209 (FPE_FLTUND): Likewise.
3210 (FPE_FLTRES): Likewise.
3211 (FPE_FLTINV): Likewise.
3212 (FPE_FLTSUB): Likewise.
3213 (SEGV_MAPERR): Likewise.
3214 (SEGV_ACCERR): Likewise.
3215 (BUS_ADRALN): Likewise.
3216 (BUS_ADRERR): Likewise.
3217 (BUS_OBJERR): Likewise.
3218 (BUS_MCEERR_AR): Likewise.
3219 (BUS_MCEERR_AO): Likewise.
3220 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3221 (TRAP_TRACE): Likewise.
3222 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3224 (CLD_KILLED): Likewise.
3225 (CLD_DUMPED): Likewise.
3226 (CLD_TRAPPED): Likewise.
3227 (CLD_STOPPED): Likewise.
3228 (CLD_CONTINUED): Likewise.
3229 (POLL_IN): Likewise.
3230 (POLL_OUT): Likewise.
3231 (POLL_MSG): Likewise.
3232 (POLL_ERR): Likewise.
3233 (POLL_PRI): Likewise.
3234 (POLL_HUP): Likewise.
3235 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3236 (ILL_ILLOPN): Likewise.
3237 (ILL_ILLADR): Likewise.
3238 (ILL_ILLTRP): Likewise.
3239 (ILL_PRVOPC): Likewise.
3240 (ILL_PRVREG): Likewise.
3241 (ILL_COPROC): Likewise.
3242 (ILL_BADSTK): Likewise.
3243 (FPE_INTDIV): Likewise.
3244 (FPE_INTOVF): Likewise.
3245 (FPE_FLTDIV): Likewise.
3246 (FPE_FLTOVF): Likewise.
3247 (FPE_FLTUND): Likewise.
3248 (FPE_FLTRES): Likewise.
3249 (FPE_FLTINV): Likewise.
3250 (FPE_FLTSUB): Likewise.
3251 (SEGV_MAPERR): Likewise.
3252 (SEGV_ACCERR): Likewise.
3253 (BUS_ADRALN): Likewise.
3254 (BUS_ADRERR): Likewise.
3255 (BUS_OBJERR): Likewise.
3256 (BUS_MCEERR_AR): Likewise.
3257 (BUS_MCEERR_AO): Likewise.
3258 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3259 (TRAP_TRACE): Likewise.
3260 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3262 (CLD_KILLED): Likewise.
3263 (CLD_DUMPED): Likewise.
3264 (CLD_TRAPPED): Likewise.
3265 (CLD_STOPPED): Likewise.
3266 (CLD_CONTINUED): Likewise.
3267 (POLL_IN): Likewise.
3268 (POLL_OUT): Likewise.
3269 (POLL_MSG): Likewise.
3270 (POLL_ERR): Likewise.
3271 (POLL_PRI): Likewise.
3272 (POLL_HUP): Likewise.
3273 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3274 (ILL_ILLOPN): Likewise.
3275 (ILL_ILLADR): Likewise.
3276 (ILL_ILLTRP): Likewise.
3277 (ILL_PRVOPC): Likewise.
3278 (ILL_PRVREG): Likewise.
3279 (ILL_COPROC): Likewise.
3280 (ILL_BADSTK): Likewise.
3281 (FPE_INTDIV): Likewise.
3282 (FPE_INTOVF): Likewise.
3283 (FPE_FLTDIV): Likewise.
3284 (FPE_FLTOVF): Likewise.
3285 (FPE_FLTUND): Likewise.
3286 (FPE_FLTRES): Likewise.
3287 (FPE_FLTINV): Likewise.
3288 (FPE_FLTSUB): Likewise.
3289 (SEGV_MAPERR): Likewise.
3290 (SEGV_ACCERR): Likewise.
3291 (BUS_ADRALN): Likewise.
3292 (BUS_ADRERR): Likewise.
3293 (BUS_OBJERR): Likewise.
3294 (BUS_MCEERR_AR): Likewise.
3295 (BUS_MCEERR_AO): Likewise.
3296 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3297 (TRAP_TRACE): Likewise.
3298 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3300 (CLD_KILLED): Likewise.
3301 (CLD_DUMPED): Likewise.
3302 (CLD_TRAPPED): Likewise.
3303 (CLD_STOPPED): Likewise.
3304 (CLD_CONTINUED): Likewise.
3305 (POLL_IN): Likewise.
3306 (POLL_OUT): Likewise.
3307 (POLL_MSG): Likewise.
3308 (POLL_ERR): Likewise.
3309 (POLL_PRI): Likewise.
3310 (POLL_HUP): Likewise.
3311 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3312 (ILL_ILLOPN): Likewise.
3313 (ILL_ILLADR): Likewise.
3314 (ILL_ILLTRP): Likewise.
3315 (ILL_PRVOPC): Likewise.
3316 (ILL_PRVREG): Likewise.
3317 (ILL_COPROC): Likewise.
3318 (ILL_BADSTK): Likewise.
3319 (ILL_DBLFLT): Likewise.
3320 (ILL_HARDWALL): Likewise.
3321 (FPE_INTDIV): Likewise.
3322 (FPE_INTOVF): Likewise.
3323 (FPE_FLTDIV): Likewise.
3324 (FPE_FLTOVF): Likewise.
3325 (FPE_FLTUND): Likewise.
3326 (FPE_FLTRES): Likewise.
3327 (FPE_FLTINV): Likewise.
3328 (FPE_FLTSUB): Likewise.
3329 (SEGV_MAPERR): Likewise.
3330 (SEGV_ACCERR): Likewise.
3331 (BUS_ADRALN): Likewise.
3332 (BUS_ADRERR): Likewise.
3333 (BUS_OBJERR): Likewise.
3334 (BUS_MCEERR_AR): Likewise.
3335 (BUS_MCEERR_AO): Likewise.
3336 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3337 (TRAP_TRACE): Likewise.
3338 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3340 (CLD_KILLED): Likewise.
3341 (CLD_DUMPED): Likewise.
3342 (CLD_TRAPPED): Likewise.
3343 (CLD_STOPPED): Likewise.
3344 (CLD_CONTINUED): Likewise.
3345 (POLL_IN): Likewise.
3346 (POLL_OUT): Likewise.
3347 (POLL_MSG): Likewise.
3348 (POLL_ERR): Likewise.
3349 (POLL_PRI): Likewise.
3350 (POLL_HUP): Likewise.
3351 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3352 (ILL_ILLOPN): Likewise.
3353 (ILL_ILLADR): Likewise.
3354 (ILL_ILLTRP): Likewise.
3355 (ILL_PRVOPC): Likewise.
3356 (ILL_PRVREG): Likewise.
3357 (ILL_COPROC): Likewise.
3358 (ILL_BADSTK): Likewise.
3359 (FPE_INTDIV): Likewise.
3360 (FPE_INTOVF): Likewise.
3361 (FPE_FLTDIV): Likewise.
3362 (FPE_FLTOVF): Likewise.
3363 (FPE_FLTUND): Likewise.
3364 (FPE_FLTRES): Likewise.
3365 (FPE_FLTINV): Likewise.
3366 (FPE_FLTSUB): Likewise.
3367 (SEGV_MAPERR): Likewise.
3368 (SEGV_ACCERR): Likewise.
3369 (BUS_ADRALN): Likewise.
3370 (BUS_ADRERR): Likewise.
3371 (BUS_OBJERR): Likewise.
3372 (BUS_MCEERR_AR): Likewise.
3373 (BUS_MCEERR_AO): Likewise.
3374 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3375 (TRAP_TRACE): Likewise.
3376 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3378 (CLD_KILLED): Likewise.
3379 (CLD_DUMPED): Likewise.
3380 (CLD_TRAPPED): Likewise.
3381 (CLD_STOPPED): Likewise.
3382 (CLD_CONTINUED): Likewise.
3383 (POLL_IN): Likewise.
3384 (POLL_OUT): Likewise.
3385 (POLL_MSG): Likewise.
3386 (POLL_ERR): Likewise.
3387 (POLL_PRI): Likewise.
3388 (POLL_HUP): Likewise.
3389 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3390 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3393 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3394 before #include of <time.h>.
3395 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3396 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3397 (test-xfail-UNIX98/sched.h/conform): Likewise.
3399 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3401 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3402 error absence of trapping exception support.
3403 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3405 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3407 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3408 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3409 * timezone/Makefile (testdata): Move definition above include of
3411 (test-zones): New variable.
3412 (tests-special): Add zone files.
3413 (build-testdata): Use $(evaluate-test).
3415 * elf/Makefile (tests-special): Rename tests to end with .out.
3416 ($(objpfx)noload-mem): Likewise.
3417 ($(objpfx)tst-leaks1-mem): Likewise.
3418 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3419 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3420 $(objpfx)test-iconvconfig.out.
3421 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3422 set -e inside subshell and redirect output to file.
3423 * iconvdata/Makefile (generated): Rename tests to end with .out.
3425 (tests-special): Rename tests to end with .out.
3426 ($(objpfx)mtrace-tst-loading): Likewise.
3427 * intl/Makefile (generated): Likewise.
3428 (tests-special): Likewise.
3429 ($(objpfx)mtrace-tst-gettext): Likewise.
3430 * misc/Makefile (generated): Likewise.
3431 (tests-special): Likewise.
3432 ($(objpfx)tst-error1-mem): Likewise.
3433 * nptl/Makefile (tests-special): Likewise.
3434 ($(objpfx)tst-stack3-mem): Likewise.
3435 (generated): Likewise.
3436 * posix/Makefile (generated): Likewise.
3437 (tests-special): Likewise.
3438 (xtests-special): Likewise.
3439 ($(objpfx)tst-fnmatch-mem): Likewise.
3440 ($(objpfx)bug-regex2-mem): Likewise.
3441 ($(objpfx)bug-regex14-mem): Likewise.
3442 ($(objpfx)bug-regex21-mem): Likewise.
3443 ($(objpfx)bug-regex31-mem): Likewise.
3444 ($(objpfx)tst-vfork3-mem): Likewise.
3445 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3446 ($(objpfx)tst-pcre-mem): Likewise.
3447 ($(objpfx)tst-boost-mem): Likewise.
3448 ($(objpfx)bug-ga2-mem): Likewise.
3449 ($(objpfx)bug-glob2-mem): Likewise.
3450 * resolv/Makefile (generate): Likewise.
3451 (tests-special): Likewise.
3452 (xtests-special): Likewise.
3453 (generated): Likewise.
3454 ($(objpfx)mtrace-tst-leaks): Likewise.
3455 ($(objpfx)mtrace-tst-leaks2): Likewise.
3457 * scripts/merge-test-results.sh: New file.
3458 * Makefile (tests-special-notdir): New variable.
3459 (tests): Run merge-test-results.sh.
3461 * Rules (tests-special-notdir): New variable.
3462 (xtests-special-notdir): Likewise.
3463 (tests): Run merge-test-results.sh
3466 * Makeconfig (test-xfail-name): New variable.
3467 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3468 compute variable name for expected failures.
3469 * conform/Makefile (conformtest-headers-data): New variable.
3470 (conformtest-standards): Likewise.
3471 (conformtest-headers-ISO): Likewise.
3472 (conformtest-headers-ISO99): Likewise.
3473 (conformtest-headers-ISO11): Likewise.
3474 (conformtest-headers-POSIX): Likewise.
3475 (conformtest-headers-XPG3): Likewise.
3476 (conformtest-headers-XPG4): Likewise.
3477 (conformtest-headers-UNIX98): Likewise.
3478 (conformtest-headers-XOPEN2K): Likewise.
3479 (conformtest-headers-POSIX2008): Likewise.
3480 (conformtest-headers-XOPEN2K8): Likewise.
3481 (conformtest-header-list-base): Likewise.
3482 (conformtest-header-list-tests): Likewise.
3483 (conformtest-header-base): Likewise.
3484 (conformtest-header-tests): Likewise.
3485 (tests-special): Add $(conformtest-header-list-tests). If
3486 [$(fast-check) && !$(cross-compiling)], add
3487 $(conformtest-header-tests) instead of
3488 $(objpfx)run-conformtest.out.
3489 (generated): Add $(conformtest-header-list-base). If
3490 [$(fast-check) && !$(cross-compiling)], add
3491 $(conformtest-header-base). Remove previous setting.
3492 ($(conformtest-header-list-tests)): New target.
3493 (test-xfail-run-conformtest): Remove variable.
3494 ($(objpfx)run-conformtest.out): Remove target.
3495 (test-xfail-ISO11/complex.h/conform): New variable.
3496 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3497 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3498 (test-xfail-XPG3/varargs.h/conform): Likewise.
3499 (test-xfail-XPG4/varargs.h/conform): Likewise.
3500 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3501 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3502 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3503 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3504 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3505 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3506 (test-xfail-XPG3/ftw.h/conform): Likewise.
3507 (test-xfail-XPG3/grp.h/conform): Likewise.
3508 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3509 (test-xfail-XPG3/limits.h/conform): Likewise.
3510 (test-xfail-XPG3/pwd.h/conform): Likewise.
3511 (test-xfail-XPG3/search.h/conform): Likewise.
3512 (test-xfail-XPG3/signal.h/conform): Likewise.
3513 (test-xfail-XPG3/stdio.h/conform): Likewise.
3514 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3515 (test-xfail-XPG3/string.h/conform): Likewise.
3516 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3517 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3518 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3519 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3520 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3521 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3522 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3523 (test-xfail-XPG3/termios.h/conform): Likewise.
3524 (test-xfail-XPG3/time.h/conform): Likewise.
3525 (test-xfail-XPG3/unistd.h/conform): Likewise.
3526 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3527 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3528 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3529 (test-xfail-XPG4/netdb.h/conform): Likewise.
3530 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3531 (test-xfail-XPG4/signal.h/conform): Likewise.
3532 (test-xfail-XPG4/stdio.h/conform): Likewise.
3533 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3534 (test-xfail-XPG4/stropts.h/conform): Likewise.
3535 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3536 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3537 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3538 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3539 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3540 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3541 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3542 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3543 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3544 (test-xfail-XPG4/termios.h/conform): Likewise.
3545 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3546 (test-xfail-XPG4/unistd.h/conform): Likewise.
3547 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3548 (test-xfail-POSIX/sched.h/conform): Likewise.
3549 (test-xfail-POSIX/signal.h/conform): Likewise.
3550 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3551 (test-xfail-POSIX/tar.h/conform): Likewise.
3552 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3553 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3554 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3555 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3556 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3557 (test-xfail-UNIX98/sched.h/conform): Likewise.
3558 (test-xfail-UNIX98/signal.h/conform): Likewise.
3559 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3560 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3561 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3562 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3563 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3564 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3565 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3566 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3567 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3568 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3569 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3570 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3571 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3572 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3573 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3574 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3575 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3576 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3577 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3578 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3579 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3580 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3581 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3582 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3583 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3584 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3585 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3586 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3587 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3588 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3589 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3590 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3591 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3592 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3593 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3594 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3595 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3596 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3597 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3598 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3599 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3600 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3601 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3602 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3603 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3604 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3605 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3606 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3607 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3608 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3609 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3610 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3611 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3612 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3613 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3614 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3615 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3616 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3617 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3618 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3619 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3620 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3621 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3622 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3623 (conformtest-cc-flags): Likewise.
3624 ($(conformtest-header-tests): New target.
3625 * conform/check-header-lists.sh: New file.
3626 * conform/run-conformtest.sh: Remove.
3628 * conform/conformtest.pl: Allow ' and \ in values given for
3630 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3632 [POSIX] (sys/types.h): Likewise.
3633 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3635 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3637 * conform/data/signal.h-data (SIGIO): Remove expectation.
3638 [XPG3] (SIGBUS): Do not expect.
3639 [POSIX || XPG3] (SIGPOLL): Likewise.
3640 [POSIX || XPG3] (SIGPROF): Likewise.
3641 [POSIX || XPG3] (SIGSYS): Likewise.
3642 [XPG3] (SIGTRAP): Likewise.
3643 [POSIX || XPG3] (SIGURG): Likewise.
3644 [POSIX || XPG3] (SIGVTALRM): Likewise.
3645 [POSIX || XPG3] (SIGXCPU): Likewise.
3646 [POSIX || XPG3] (SIGXFSZ): Likewise.
3647 [POSIX] (SA_SIGINFO): Expect.
3648 [XPG3] (siginfo_t): Do not expect type or contents.
3649 [POSIX] (si_pid): Do not expect element.
3650 [POSIX] (si_uid): Likewise.
3651 [POSIX] (si_addr): Likewise.
3652 [POSIX] (si_status): Likewise.
3653 [POSIX] (si_band): Likewise.
3654 [XPG4] (si_value): Likewise.
3655 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3656 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3657 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3658 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3659 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3660 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3661 [POSIX || XPG3] (ILL_COPROC): Likewise.
3662 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3663 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3664 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3665 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3666 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3667 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3668 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3669 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3670 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3671 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3672 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3673 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3674 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3675 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3676 [POSIX || XPG3] (CLD_EXITED): Likewise.
3677 [POSIX || XPG3] (CLD_KILLED): Likewise.
3678 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3679 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3680 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3681 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3682 [POSIX || XPG3] (POLL_IN): Likewise.
3683 [POSIX || XPG3] (POLL_OUT): Likewise.
3684 [POSIX || XPG3] (POLL_MSG): Likewise.
3685 [POSIX || XPG3] (POLL_ERR): Likewise.
3686 [POSIX || XPG3] (POLL_PRI): Likewise.
3687 [POSIX || XPG3] (POLL_HUP): Likewise.
3688 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3689 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3690 (SIG*): Do not allow.
3691 [XPG3] (si_*): Likewise.
3692 [XPG3] (SI_*): Likewise.
3693 [XPG3 || XPG4] (sigev_*): Likewise.
3694 [XPG3 || XPG4] (SIGEV_*): Likewise.
3695 [XPG3 || XPG4] (sival_*): Likewise.
3696 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3697 [POSIX || XPG3] (BUS_*): Likewise.
3698 [POSIX || XPG3] (CLD_*): Likewise.
3699 [POSIX || XPG3] (FPE_*): Likewise.
3700 [POSIX || XPG3] (ILL_*): Likewise.
3701 [POSIX || XPG3] (POLL_*): Likewise.
3702 [POSIX || XPG3] (SEGV_*): Likewise.
3703 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3704 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3705 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3706 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3707 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3708 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3709 Specify type and value.
3710 (TVERSLEN): Likewise.
3711 (REGTYPE): Likewise.
3712 (AREGTYPE): Likewise.
3713 (LNKTYPE): Likewise.
3714 (SYMTYPE): Likewise.
3715 (CHRTYPE): Likewise.
3716 (BLKTYPE): Likewise.
3717 (DIRTYPE): Likewise.
3718 (FIFOTYPE): Likewise.
3719 (CONTTYPE): Likewise.
3724 (TUWRITE): Likewise.
3727 (TGWRITE): Likewise.
3730 (TOWRITE): Likewise.
3732 [POSIX] (TSVTX): Expect constant.
3734 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3736 * Makefile (tests): Change dependencies to ....
3737 (tests-special): ... additions to this variable.
3738 (tests): Depend on $(tests-special).
3739 * Makerules (check-abi-list): New variable.
3740 (check-abi): Depend on $(check-abi-list).
3741 [$(subdir) = elf] (tests-special): Add
3742 $(objpfx)check-abi-libc.out.
3743 [$(build-shared) = yes && subdir] (tests-special): Add
3745 [$(build-shared) = yes && subdir] (tests): Do not depend on
3747 * Rules (tests): Depend on $(tests-special).
3748 (xtests): Depend on $(xtests-special).
3749 * catgets/Makefile (tests): Change dependencies to ....
3750 (tests-special): ... additions to this variable.
3751 * conform/Makefile (tests): Change dependencies to ....
3752 (tests-special): ... additions to this variable.
3753 * elf/Makefile (tests): Change dependencies to ....
3754 (tests-special): ... additions to this variable.
3755 * grp/Makefile (tests): Change dependencies to ....
3756 (tests-special): ... additions to this variable.
3757 * iconv/Makefile (xtests): Change dependencies to ....
3758 (xtests-special): ... additions to this variable.
3759 * iconvdata/Makefile (tests): Change dependencies to ....
3760 (tests-special): ... additions to this variable.
3761 * intl/Makefile (tests): Change dependencies to ....
3762 (tests-special): ... additions to this variable. Also add
3763 $(objpfx)tst-gettext.out.
3764 * io/Makefile (tests): Change dependencies to ....
3765 (tests-special): ... additions to this variable.
3766 * libio/Makefile (tests): Change dependencies to ....
3767 (tests-special): ... additions to this variable.
3768 * malloc/Makefile (tests): Change dependencies to ....
3769 (tests-special): ... additions to this variable.
3770 * misc/Makefile (tests): Change dependencies to ....
3771 (tests-special): ... additions to this variable.
3772 * nptl/Makefile (tests): Change dependencies to ....
3773 (tests-special): ... additions to this variable.
3774 * nptl_db/Makefile (tests): Change dependencies to ....
3775 (tests-special): ... additions to this variable.
3776 * posix/Makefile (tests): Change dependencies to ....
3777 (tests-special): ... additions to this variable.
3778 (xtests): Change dependencies to ....
3779 (xtests-special): ... additions to this variable.
3780 * resolv/Makefile (tests): Change dependencies to ....
3781 (tests-special): ... additions to this variable.
3782 (xtests): Change dependencies to ....
3783 (xtests-special): ... additions to this variable.
3784 * stdio-common/Makefile (tests): Change dependencies to ....
3785 (tests-special): ... additions to this variable.
3786 (do-tst-unbputc): Remove target.
3787 (do-tst-printf): Likewise.
3788 * stdlib/Makefile (tests): Change dependencies to ....
3789 (tests-special): ... additions to this variable.
3790 * string/Makefile (tests): Change dependencies to ....
3791 (tests-special): ... additions to this variable.
3792 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3793 (tests-special): ... additions to this variable.
3795 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3797 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3799 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3800 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3802 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3803 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3804 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3805 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3806 * conform/data/libgen.h-data [XPG3]: Likewise.
3807 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3808 * conform/data/ndbm.h-data [XPG3]: Likewise.
3809 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3810 * conform/data/netdb.h-data [XPG3]: Likewise.
3811 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3812 * conform/data/poll.h-data [XPG3]: Likewise.
3813 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3814 * conform/data/strings.h-data [XPG3]: Likewise.
3815 * conform/data/stropts.h-data [XPG3]: Likewise.
3816 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3817 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3818 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3820 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3821 * conform/data/sys/time.h-data [XPG3]: Likewise.
3822 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3823 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3824 * conform/data/sys/un.h-data [XPG3]: Likewise.
3825 * conform/data/syslog.h-data [XPG3]: Likewise.
3826 * conform/data/ucontext.h-data [XPG3]: Likewise.
3827 * conform/data/utmpx.h-data [XPG3]: Likewise.
3828 * conform/data/varargs.h-data [UNIX98]: Enable file.
3830 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3832 * math/libm-test.inc (struct test_f_f_data): Move expected results
3833 into structure for each rounding mode.
3834 (struct test_ff_f_data): Likewise.
3835 (struct test_ff_f_data_nexttoward): Likewise.
3836 (struct test_fi_f_data): Likewise.
3837 (struct test_fl_f_data): Likewise.
3838 (struct test_if_f_data): Likewise.
3839 (struct test_fff_f_data): Likewise.
3840 (struct test_c_f_data): Likewise.
3841 (struct test_f_f1_data): Likewise.
3842 (struct test_fF_f1_data): Likewise.
3843 (struct test_ffI_f1_data): Likewise.
3844 (struct test_c_c_data): Likewise.
3845 (struct test_cc_c_data): Likewise.
3846 (struct test_f_i_data): Likewise.
3847 (struct test_ff_i_data): Likewise.
3848 (struct test_f_l_data): Likewise.
3849 (struct test_f_L_data): Likewise.
3850 (struct test_fFF_11_data): Likewise.
3852 (RM_FE_DOWNWARD): Likewise.
3853 (RM_FE_TONEAREST): Likewise.
3854 (RM_FE_TOWARDZERO): Likewise.
3855 (RM_FE_UPWARD): Likewise.
3856 (RUN_TEST_LOOP_f_f): Update references to expected results.
3857 (RUN_TEST_LOOP_2_f): Likewise.
3858 (RUN_TEST_LOOP_fff_f): Likewise.
3859 (RUN_TEST_LOOP_c_f): Likewise.
3860 (RUN_TEST_LOOP_f_f1): Likewise.
3861 (RUN_TEST_LOOP_fF_f1): Likewise.
3862 (RUN_TEST_LOOP_fI_f1): Likewise.
3863 (RUN_TEST_LOOP_ffI_f1): Likewise.
3864 (RUN_TEST_LOOP_c_c): Likewise.
3865 (RUN_TEST_LOOP_cc_c): Likewise.
3866 (RUN_TEST_LOOP_f_i): Likewise.
3867 (RUN_TEST_LOOP_f_i_tg): Likewise.
3868 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3869 (RUN_TEST_LOOP_f_b): Likewise.
3870 (RUN_TEST_LOOP_f_b_tg): Likewise.
3871 (RUN_TEST_LOOP_f_l): Likewise.
3872 (RUN_TEST_LOOP_f_L): Likewise.
3873 (RUN_TEST_LOOP_fFF_11): Likewise.
3874 * math/gen-libm-test.pl (parse_args): Output four copies of
3875 expected results for each test.
3877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3878 (__ASSUME_UTIMES): Remove.
3879 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3880 (__ASSUME_UTIMES): Likewise.
3882 * math/gen-auto-libm-tests.c: Update comment on output format.
3883 (output_for_one_input_case): Generate before-rounding and
3884 after-rounding information as conditions on output flags not
3885 floating-point format.
3886 * math/auto-libm-test-out: Regenerated.
3887 * math/gen-libm-test.pl (cond_value): New function.
3888 (or_cond_value): Use cond_value.
3889 (generate_testfile): Handle conditional exceptions.
3891 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3893 * math/libm-test.inc (max_valid_error): New variable.
3894 (init_max_error): Take new argument specifying whether function
3895 results are exactly determined. Set max_valid_error and bound
3896 other variables for errors based on this argument.
3897 (set_max_error): Do not record results above max_valid_error.
3898 (check_float_internal): Only accept errors of up to 0.5ulps if
3899 also at most max_valid_error.
3900 (START): Take new argument EXACT and pass it to init_max_error.
3901 (acos_test): Update call to START.
3902 (acos_test_tonearest): Likewise.
3903 (acos_test_towardzero): Likewise.
3904 (acos_test_downward): Likewise.
3905 (acos_test_upward): Likewise.
3906 (acosh_test): Likewise.
3907 (asin_test): Likewise.
3908 (asin_test_tonearest): Likewise.
3909 (asin_test_towardzero): Likewise.
3910 (asin_test_downward): Likewise.
3911 (asin_test_upward): Likewise.
3912 (asinh_test): Likewise.
3913 (atan_test): Likewise.
3914 (atanh_test): Likewise.
3915 (atan2_test): Likewise.
3916 (cabs_test): Likewise.
3917 (cacos_test): Likewise.
3918 (cacosh_test): Likewise.
3919 (carg_test): Likewise.
3920 (casin_test): Likewise.
3921 (casinh_test): Likewise.
3922 (catan_test): Likewise.
3923 (catanh_test): Likewise.
3924 (cbrt_test): Likewise.
3925 (ccos_test): Likewise.
3926 (ccosh_test): Likewise.
3927 (ceil_test): Likewise.
3928 (cexp_test): Likewise.
3929 (cimag_test): Likewise.
3930 (clog_test): Likewise.
3931 (clog10_test): Likewise.
3932 (conj_test): Likewise.
3933 (copysign_test): Likewise.
3934 (cos_test): Likewise.
3935 (cos_test_tonearest): Likewise.
3936 (cos_test_towardzero): Likewise.
3937 (cos_test_downward): Likewise.
3938 (cos_test_upward): Likewise.
3939 (cosh_test): Likewise.
3940 (cosh_test_tonearest): Likewise.
3941 (cosh_test_towardzero): Likewise.
3942 (cosh_test_downward): Likewise.
3943 (cosh_test_upward): Likewise.
3944 (cpow_test): Likewise.
3945 (cproj_test): Likewise.
3946 (creal_test): Likewise.
3947 (csin_test): Likewise.
3948 (csinh_test): Likewise.
3949 (csqrt_test): Likewise.
3950 (ctan_test): Likewise.
3951 (ctan_test_tonearest): Likewise.
3952 (ctan_test_towardzero): Likewise.
3953 (ctan_test_downward): Likewise.
3954 (ctan_test_upward): Likewise.
3955 (ctanh_test): Likewise.
3956 (ctanh_test_tonearest): Likewise.
3957 (ctanh_test_towardzero): Likewise.
3958 (ctanh_test_downward): Likewise.
3959 (ctanh_test_upward): Likewise.
3960 (erf_test): Likewise.
3961 (erfc_test): Likewise.
3962 (exp_test): Likewise.
3963 (exp_test_tonearest): Likewise.
3964 (exp_test_towardzero): Likewise.
3965 (exp_test_downward): Likewise.
3966 (exp_test_upward): Likewise.
3967 (exp10_test): Likewise.
3968 (exp10_test_tonearest): Likewise.
3969 (exp10_test_towardzero): Likewise.
3970 (exp10_test_downward): Likewise.
3971 (exp10_test_upward): Likewise.
3972 (pow10_test): Likewise.
3973 (exp2_test): Likewise.
3974 (expm1_test): Likewise.
3975 (expm1_test_tonearest): Likewise.
3976 (expm1_test_towardzero): Likewise.
3977 (expm1_test_downward): Likewise.
3978 (expm1_test_upward): Likewise.
3979 (fabs_test): Likewise.
3980 (fdim_test): Likewise.
3981 (floor_test): Likewise.
3982 (fma_test): Likewise.
3983 (fma_test_towardzero): Likewise.
3984 (fma_test_downward): Likewise.
3985 (fma_test_upward): Likewise.
3986 (fmax_test): Likewise.
3987 (fmin_test): Likewise.
3988 (fmod_test): Likewise.
3989 (fpclassify_test): Likewise.
3990 (frexp_test): Likewise.
3991 (hypot_test): Likewise.
3992 (ilogb_test): Likewise.
3993 (isfinite_test): Likewise.
3994 (finite_test): Likewise.
3995 (isgreater_test): Likewise.
3996 (isgreaterequal_test): Likewise.
3997 (isinf_test): Likewise.
3998 (isless_test): Likewise.
3999 (islessequal_test): Likewise.
4000 (islessgreater_test): Likewise.
4001 (isnan_test): Likewise.
4002 (isnormal_test): Likewise.
4003 (issignaling_test): Likewise.
4004 (isunordered_test): Likewise.
4005 (j0_test): Likewise.
4006 (j1_test): Likewise.
4007 (jn_test): Likewise.
4008 (ldexp_test): Likewise.
4009 (lgamma_test): Likewise.
4010 (gamma_test): Likewise.
4011 (lrint_test): Likewise.
4012 (lrint_test_tonearest): Likewise.
4013 (lrint_test_towardzero): Likewise.
4014 (lrint_test_downward): Likewise.
4015 (lrint_test_upward): Likewise.
4016 (llrint_test): Likewise.
4017 (llrint_test_tonearest): Likewise.
4018 (llrint_test_towardzero): Likewise.
4019 (llrint_test_downward): Likewise.
4020 (llrint_test_upward): Likewise.
4021 (log_test): Likewise.
4022 (log10_test): Likewise.
4023 (log1p_test): Likewise.
4024 (log2_test): Likewise.
4025 (logb_test): Likewise.
4026 (logb_test_downward): Likewise.
4027 (lround_test): Likewise.
4028 (llround_test): Likewise.
4029 (modf_test): Likewise.
4030 (nearbyint_test): Likewise.
4031 (nextafter_test): Likewise.
4032 (nexttoward_test): Likewise.
4033 (pow_test): Likewise.
4034 (pow_test_tonearest): Likewise.
4035 (pow_test_towardzero): Likewise.
4036 (pow_test_downward): Likewise.
4037 (pow_test_upward): Likewise.
4038 (remainder_test): Likewise.
4039 (drem_test): Likewise.
4040 (remainder_test_tonearest): Likewise.
4041 (drem_test_tonearest): Likewise.
4042 (remainder_test_towardzero): Likewise.
4043 (drem_test_towardzero): Likewise.
4044 (remainder_test_downward): Likewise.
4045 (drem_test_downward): Likewise.
4046 (remainder_test_upward): Likewise.
4047 (drem_test_upward): Likewise.
4048 (remquo_test): Likewise.
4049 (rint_test): Likewise.
4050 (rint_test_tonearest): Likewise.
4051 (rint_test_towardzero): Likewise.
4052 (rint_test_downward): Likewise.
4053 (rint_test_upward): Likewise.
4054 (round_test): Likewise.
4055 (scalb_test): Likewise.
4056 (scalbn_test): Likewise.
4057 (scalbln_test): Likewise.
4058 (signbit_test): Likewise.
4059 (sin_test): Likewise.
4060 (sin_test_tonearest): Likewise.
4061 (sin_test_towardzero): Likewise.
4062 (sin_test_downward): Likewise.
4063 (sin_test_upward): Likewise.
4064 (sincos_test): Likewise.
4065 (sinh_test): Likewise.
4066 (sinh_test_tonearest): Likewise.
4067 (sinh_test_towardzero): Likewise.
4068 (sinh_test_downward): Likewise.
4069 (sinh_test_upward): Likewise.
4070 (sqrt_test): Likewise.
4071 (sqrt_test_tonearest): Likewise.
4072 (sqrt_test_towardzero): Likewise.
4073 (sqrt_test_downward): Likewise.
4074 (sqrt_test_upward): Likewise.
4075 (tan_test): Likewise.
4076 (tan_test_tonearest): Likewise.
4077 (tan_test_towardzero): Likewise.
4078 (tan_test_downward): Likewise.
4079 (tan_test_upward): Likewise.
4080 (tanh_test): Likewise.
4081 (tgamma_test): Likewise.
4082 (trunc_test): Likewise.
4083 (y0_test): Likewise.
4084 (y1_test): Likewise.
4085 (yn_test): Likewise.
4086 (significand_test): Likewise.
4088 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4089 individual tests in comment.
4090 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4091 (prev_max_error): New variable.
4092 (prev_real_max_error): Likewise.
4093 (prev_imag_max_error): Likewise.
4094 (compare_ulp_data): Don't refer to test names in comment.
4095 (find_test_ulps): Remove function.
4096 (find_function_ulps): Likewise.
4097 (find_complex_function_ulps): Likewise.
4098 (init_max_error): Take function name as argument. Look up ulps
4100 (print_ulps): Remove function.
4101 (print_max_error): Use prev_max_error instead of calling
4103 (print_complex_max_error): Use prev_real_max_error and
4104 prev_imag_max_error instead of calling find_complex_function_ulps.
4105 (check_float_internal): Take max_ulp parameter instead of calling
4106 find_test_ulps. Don't call print_ulps.
4107 (check_float): Update call to check_float_internal.
4108 (check_complex): Update calls to check_float_internal.
4109 (START): Pass argument to init_max_error.
4110 * math/gen-libm-test.pl (%results): Don't include "kind"
4112 (parse_ulps): Don't handle ulps of individual tests.
4113 (print_ulps_file): Likewise.
4114 (output_ulps): Likewise.
4115 * math/README.libm-test: Update.
4116 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4118 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4119 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4120 * sysdeps/arm/libm-test-ulps: Likewise.
4121 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4122 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4123 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4124 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4125 * sysdeps/microblaze/libm-test-ulps: Likewise.
4126 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4127 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4129 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4131 * sysdeps/sh/libm-test-ulps: Likewise.
4132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4133 * sysdeps/tile/libm-test-ulps: Likewise.
4134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4136 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4138 * math/libm-test.inc (print_complex_max_error): Check separately
4139 whether real and imaginary errors are within allowed range and
4140 pass 0 to print_complex_function_ulps instead of value within
4143 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4145 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4147 (get_handles_fopen): Likewise.
4148 (do_write_test): Likewise.
4150 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4152 * libio/fileops.c (do_ftell): Use cached offset when
4154 * libio/iofwide.c (do_ftell_wide): Likewise.
4155 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4157 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4160 * libio/libioP.h (get_file_offset): New function.
4161 * libio/fileops.c (get_file_offset): Likewise.
4162 (do_ftell): Likewise.
4163 (_IO_new_file_seekoff): Split out ftell logic.
4164 * libio/wfileops.c (do_ftell_wide): Likewise.
4165 (_IO_wfile_seekoff): Split out ftell logic.
4166 * libio/tst-ftell-active-handler.c: New test case.
4167 * libio/Makefile (tests): Add it.
4169 2014-03-03 Roland McGrath <roland@hack.frob.com>
4171 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4172 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4174 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4177 * nscd/connections.c (nscd_init): Call do_exit.
4178 (start_threads): Call do_exit and notify_parent.
4179 (begin_drop_privileges): Call do_exit.
4180 (finish_drop_privileges): Likewise.
4181 * nscd/selinux.c (preserve_capabilities): Likewise.
4182 (install_real_capabilities): Likewise.
4183 (nscd_selinux_enabled): Likewise.
4184 (avc_create_thread): Likewise.
4185 (avc_alloc_lock): Likewise.
4186 (nscd_avc_init): Likewise.
4187 * nscd/nscd.c (parent_fd): New static variable.
4188 (main): Create a pipe between parent and child processes.
4189 Skip closing parent_fd.
4190 (monitor_child): New function.
4191 (do_exit): Likewise.
4192 (notify_parent): Likewise.
4193 * nscd/nscd.h (notify_parent): Likewise.
4194 (do_exit): Likewise.
4196 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4198 * malloc/malloc.c (__libc_calloc): Revert last change.
4200 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4204 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4206 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4210 (__libc_ifunc_impl_list): Likewise.
4211 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4212 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4213 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4214 * string/strrchr.c: Define STRRCHR.
4216 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4218 * benchtest/bench-strtok.c (simple_strtok): Delete.
4219 (strtok_string): Use as benchmark.
4220 * string/strtok (STRTOK): New macro.
4222 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4224 * manual/threads.texi: Add header and standard comments to all
4227 * elf/dl-lookup.c (check_match): New function.
4228 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4229 (do_lookup_x): Remove nested function check_match. Use non-nested
4230 function check_match.
4232 2014-02-28 Roland McGrath <roland@hack.frob.com>
4234 * csu/Makefile (generated, before-compile): Use += rather than =.
4235 * catgets/Makefile (generated, generated-dirs): Likewise.
4236 * debug/Makefile (generated): Likewise.
4237 * dlfcn/Makefile (generated): Likewise.
4238 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4239 * iconvdata/Makefile (before-compile, generated): Likewise.
4240 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4241 * libio/Makefile (generated): Likewise.
4242 * malloc/Makefile (generated): Likewise.
4243 * manual/Makefile (generated, generated-dirs): Likewise.
4244 * misc/Makefile (generated): Likewise.
4245 * posix/Makefile (generated): Likewise.
4246 * resolv/Makefile (generated): Likewise.
4247 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4248 * timezone/Makefile (generated, generated-dirs): Likewise.
4250 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4252 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4255 power8 implementation.
4256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4257 file: POWER8 llround ifunc implementation.
4258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4259 (__lllround): Add POWER8 implementation.
4260 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4261 POWER8 llround implementation.
4263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4264 power8 implementation.
4265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4266 file: POWER8 llrint ifunc implementation.
4267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4268 Add POWER8 implementation.
4269 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4270 POWER8 llrint implementation.
4272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4273 power8 implementation.
4274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4275 file: POWER8 finite ifunc implementation.
4276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4277 Add POWER8 implementation.
4278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4280 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4281 POWER8 finite implementation.
4282 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4285 power8 implementation.
4286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4287 file: POWER8 isinf ifunc implementation.
4288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4289 POWER8 implementation.
4290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4293 isinf implementation.
4294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4296 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4297 (INIT_ARCH): Add hwcap2 initialization.
4298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4299 power8 implementation.
4300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4301 file: POWER8 isnan ifunc implementation.
4302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4303 POWER8 implementation.
4304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4306 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4307 isnan implementation.
4308 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4310 2014-02-27 Joey Ye <joey.ye@arm.com>
4312 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4313 (_FP_NANFRAC_Q): Set to zero.
4315 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4318 * math/auto-libm-test-in: New test inputs.
4319 * math/auto-libm-test-out: Regenerate.
4320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4323 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4325 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4327 * scripts/evaluate-test.sh: Take new argument indicating whether
4328 failure is expected.
4329 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4330 indicating whether failure is expected.
4331 * conform/Makefile (test-xfail-run-conformtest): New variable.
4332 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4334 * posix/Makefile (test-xfail-annexc): New variable.
4335 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4337 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4339 * argp/Makefile: Include Makeconfig immediately after defining
4341 * assert/Makefile: Likewise.
4342 * benchtests/Makefile: Likewise.
4343 * catgets/Makefile: Likewise.
4344 * conform/Makefile: Likewise.
4345 * crypt/Makefile: Likewise.
4346 * csu/Makefile: Likewise.
4347 (all): Remove target.
4348 * ctype/Makefile: Include Makeconfig immediately after defining
4350 * debug/Makefile: Likewise.
4351 * dirent/Makefile: Likewise.
4352 * dlfcn/Makefile: Likewise.
4353 * gmon/Makefile: Likewise.
4354 * gnulib/Makefile: Likewise.
4355 * grp/Makefile: Likewise.
4356 * gshadow/Makefile: Likewise.
4357 * hesiod/Makefile: Likewise.
4358 * hurd/Makefile: Likewise.
4359 (all): Remove target.
4360 * iconvdata/Makefile: Include Makeconfig immediately after
4362 * inet/Makefile: Likewise.
4363 * intl/Makefile: Likewise.
4364 * io/Makefile: Likewise.
4365 * libio/Makefile: Likewise.
4366 (all): Remove target.
4367 * locale/Makefile: Include Makeconfig immediately after defining
4369 * login/Makefile: Likewise.
4370 * mach/Makefile: Likewise.
4371 (all): Remove target.
4372 * malloc/Makefile: Include Makeconfig immediately after defining
4374 (all): Remove target.
4375 * manual/Makefile: Include Makeconfig immediately after defining
4377 * math/Makefile: Likewise.
4378 * misc/Makefile: Likewise.
4379 * nis/Makefile: Likewise.
4380 * nss/Makefile: Likewise.
4381 * po/Makefile: Likewise.
4382 (all): Remove target.
4383 * posix/Makefile: Include Makeconfig immediately after defining
4385 * pwd/Makefile: Likewise.
4386 * resolv/Makefile: Likewise.
4387 * resource/Makefile: Likewise.
4388 * rt/Makefile: Likewise.
4389 * setjmp/Makefile: Likewise.
4390 * shadow/Makefile: Likewise.
4391 * signal/Makefile: Likewise.
4392 * socket/Makefile: Likewise.
4393 * soft-fp/Makefile: Likewise.
4394 * stdio-common/Makefile: Likewise.
4395 * stdlib/Makefile: Likewise.
4396 * streams/Makefile: Likewise.
4397 * string/Makefile: Likewise.
4398 * sunrpc/Makefile: Likewise.
4399 (all): Remove target.
4400 * sysvipc/Makefile: Include Makeconfig immediately after defining
4402 * termios/Makefile: Likewise.
4403 * time/Makefile: Likewise.
4404 * timezone/Makefile: Likewise.
4405 (all): Remove target.
4406 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4408 * wctype/Makefile: Likewise.
4410 2014-02-26 Steve Ellcey <sellcey@mips.com>
4412 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4413 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4414 (libc_feholdexcept_setround_mips): Ditto.
4415 (libc_feholdsetround): New.
4416 (libc_feholdsetroundf): New.
4417 (libc_feholdsetroundl): New.
4418 (libc_feupdateenv_test_mips): New.
4419 (libc_feupdateenv_test): New.
4420 (libc_feupdateenv_testf): New.
4421 (libc_feupdateenv_testl): New.
4422 (libc_feresetround): New.
4423 (libc_feresetroundf): New.
4424 (libc_feresetroundl): New.
4425 (libc_fetestexcept_mips): New.
4426 (libc_fetestexcept): New.
4427 (libc_fetestexceptf): New.
4428 (libc_fetestexceptl): New.
4430 (libc_feholdexcept_setround_mips_ctx): New.
4431 (libc_feholdexcept_setround_ctx): New.
4432 (libc_feholdexcept_setroundf_ctx): New.
4433 (libc_feholdexcept_setroundl_ctx): New.
4434 (libc_fesetenv_mips_ctx): New.
4435 (libc_fesetenv_ctx): New.
4436 (libc_fesetenv_ctxf): New.
4437 (libc_fesetenv_ctxl): New.
4438 (libc_feupdateenv_mips_ctx): New.
4439 (libc_feupdateenv_ctx): New.
4440 (libc_feupdateenvf_ctx): New.
4441 (libc_feupdateenvl_ctx): New.
4442 (libc_feholdsetround_mips_ctx): New.
4443 (libc_feholdsetround_ctx): New.
4444 (libc_feholdsetroundf_ctx): New.
4445 (libc_feholdsetroundl_ctx): New.
4446 (libc_feresetround_mips_ctx): New.
4447 (libc_feresetround_ctx): New.
4448 (libc_feresetroundf_ctx): New.
4449 (libc_feresetroundl_ctx): New.
4451 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4453 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4455 * manual/ipc.texi: New file.
4456 * manual/Makefile (chapters): Add ipc.
4457 * manual/job.texi: Add "Inter-Process Communication" to next.
4458 * manual/process.texi: Add "Inter-Process Communication" to prev.
4460 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4464 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4466 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4468 * manual/arith.texi: Fix spaces after sentences.
4469 * manual/charset.texi: Likewise.
4470 * manual/errno.texi: Likewise.
4471 * manual/install.texi: Likewise.
4472 * manual/llio.texi: Likewise.
4473 * manual/locale.texi: Likewise.
4474 * manual/maint.texi: Likewise.
4475 * manual/math.texi: Likewise.
4476 * manual/memory.texi: Likewise.
4477 * manual/message.texi: Likewise.
4478 * manual/probes.texi: Likewise.
4479 * manual/resource.texi: Likewise.
4480 * manual/signal.texi: Likewise.
4481 * manual/socket.texi: Likewise.
4482 * manual/stdio.texi: Likewise.
4483 * manual/string.texi: Likewise.
4484 * manual/time.texi: Likewise.
4485 * manual/users.texi: Likewise.
4487 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4490 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4491 _DEFAULT_SOURCE is defined.
4493 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4494 Carlos O'Donell <carlos@redhat.com>
4497 * elf/dl-tls.c (_dl_count_modids): New function.
4498 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4499 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4500 audit library and increment generation counter.
4501 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4502 * elf/tst-audit9.c: New file.
4503 * elf/tst-auditmod9a.c: New file.
4504 * elf/tst-auditmod9b.c: New file.
4505 * elf/Makefile: Add rules to build and run tst-audit9.
4507 2014-02-25 Florian Weimer <fweimer@redhat.com>
4510 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4512 2014-02-25 Will Newton <will.newton@linaro.org>
4514 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4515 (__longjmp): Restore sp and lr before restoring callee
4516 saved registers. Add longjmp and longjmp_target
4517 SystemTap probe point.
4518 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4519 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4520 Define to zero to match jmpbuf layout.
4521 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4522 (__sigsetjmp): Save sp and lr before saving callee
4523 saved registers. Add setjmp SystemTap probe point.
4525 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4527 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4529 2014-02-24 Andreas Schwab <schwab@suse.de>
4532 * elf/pldd.c (wait_for_ptrace_stop): New function.
4533 (main): Call it after attaching.
4535 2014-02-22 Roland McGrath <roland@hack.frob.com>
4537 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4538 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4539 Versions files is now verboten.
4540 * hurd/Versions (libc: GLIBC_2.0):
4541 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4542 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4543 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4544 * mach/Versions: Likewise.
4546 * csu/Versions: Remove unused %include.
4547 * resolv/Versions: Likewise.
4549 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4551 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4552 ($(objpfx)check-local-headers.out): Likewise.
4553 ($(objpfx)begin-end-check.out): Likewise.
4554 * Makerules (check-abi-%.out): Likewise.
4555 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4556 ($(objpfx)test2.cat): Likewise.
4557 ($(objpfx)de/libc.cat): Likewise.
4558 ($(objpfx)test-gencat.out): Likewise.
4559 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4560 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4561 ($(objpfx)noload-mem): Likewise.
4562 ($(objpfx)tst-pathopt.out): Likewise.
4563 ($(objpfx)tst-rtld-load-self.out): Likewise.
4564 ($(objpfx)tst-array1-cmp.out): Likewise.
4565 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4566 ($(objpfx)tst-array2-cmp.out): Likewise.
4567 ($(objpfx)tst-array3-cmp.out): Likewise.
4568 ($(objpfx)tst-array4-cmp.out): Likewise.
4569 ($(objpfx)tst-array5-cmp.out): Likewise.
4570 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4571 ($(objpfx)check-textrel.out): Likewise.
4572 ($(objpfx)check-execstack.out): Likewise.
4573 ($(objpfx)check-localplt.out): Likewise.
4574 ($(objpfx)order2-cmp.out): Likewise.
4575 ($(objpfx)tst-leaks1-mem): Likewise.
4576 ($(objpfx)tst-leaks1-static-mem): Likewise.
4577 ($(objpfx)tst-initorder-cmp.out): Likewise.
4578 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4579 ($(objpfx)tst-unused-dep.out): Likewise.
4580 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4581 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4582 * iconv/Makefile (test-iconvconfig): Likewise.
4583 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4584 ($(objpfx)iconv-test.out): Likewise.
4585 ($(objpfx)tst-tables.out): Likewise.
4586 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4587 ($(objpfx)tst-gettext.out): Likewise.
4588 ($(objpfx)tst-translit.out): Likewise.
4589 ($(objpfx)tst-gettext2.out): Likewise.
4590 ($(objpfx)tst-gettext4.out): Likewise.
4591 ($(objpfx)tst-gettext6.out): Likewise.
4592 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4593 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4594 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4595 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4596 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4597 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4598 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4599 ($(objpfx)wordexp-tst.out): Likewise.
4600 ($(objpfx)annexc.out): Likewise.
4601 ($(objpfx)tst-fnmatch-mem): Likewise.
4602 ($(objpfx)bug-regex2-mem): Likewise.
4603 ($(objpfx)bug-regex14-mem): Likewise.
4604 ($(objpfx)bug-regex21-mem): Likewise.
4605 ($(objpfx)bug-regex31-mem): Likewise.
4606 ($(objpfx)tst-vfork3-mem): Likewise.
4607 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4608 ($(objpfx)tst-pcre-mem): Likewise.
4609 ($(objpfx)tst-boost-mem): Likewise.
4610 ($(objpfx)tst-getconf.out): Likewise.
4611 ($(objpfx)bug-ga2-mem): Likewise.
4612 ($(objpfx)bug-glob2-mem): Likewise.
4613 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4614 ($(objpfx)mtrace-tst-leaks2): Likewise.
4615 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4616 ($(objpfx)tst-printf.out): Likewise.
4617 ($(objpfx)tst-setvbuf1.out): Likewise.
4618 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4619 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4620 ($(objpfx)tst-fmtmsg.out): Likewise.
4621 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4622 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4624 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4625 * bits/sigaction.h [__USE_MISC]: Likewise.
4626 * bits/waitstatus.h: Update #endif comments.
4627 * ctype/ctype.h: Likewise.
4628 * dirent/dirent.h: Likewise.
4629 [__USE_MISC]: Remove redundant conditionals.
4630 * grp/grp.h: Update #endif comments.
4631 [__USE_GNU]: Remove redundant conditionals.
4632 [__USE_MISC]: Likewise.
4633 * inet/netinet/in.h [__USE_GNU]: Likewise.
4634 * io/sys/stat.h [__USE_MISC]: Likewise.
4635 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4636 * libio/bits/stdio.h: Update #endif comments.
4637 [__USE_MISC]: Remove redundant conditionals.
4638 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4639 * libio/stdio.h: Update #endif comments.
4640 [__USE_MISC]: Remove redundant conditionals.
4641 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4642 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4643 * math/math.h: Update #else and #endif comments.
4644 [__USE_MISC]: Remove redundant conditionals.
4645 * misc/sys/uio.h: Update #endif comments.
4646 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4647 * posix/glob.h [__USE_MISC]: Likewise.
4648 * posix/sys/types.h: Update #endif comments.
4649 [__USE_MISC]: Remove redundant conditionals.
4650 * posix/sys/wait.h: Update #endif comments.
4651 [__USE_MISC]: Remove redundant conditionals.
4652 * posix/unistd.h: Update #endif comments.
4653 [__USE_MISC]: Remove redundant conditionals.
4654 * pwd/pwd.h [__USE_GNU]: Likewise.
4655 [__USE_MISC]: Likewise.
4656 * resolv/netdb.h [__USE_GNU]: Likewise.
4657 * signal/signal.h: Update #endif comments.
4658 [__USE_MISC]: Remove redundant conditionals.
4659 * stdlib/stdlib.h: Update #else and #endif comments.
4660 [__USE_MISC]: Remove redundant conditionals.
4661 [__USE_GNU]: Likewise.
4662 * string/bits/string2.h [__USE_MISC]: Likewise.
4663 * string/string.h: Update #endif comments.
4664 [__USE_MISC]: Remove redundant conditionals.
4665 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4667 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4668 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4669 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4671 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4673 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4675 [__USE_MISC]: Remove redundant conditionals.
4676 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4677 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4678 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4679 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4680 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4682 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4683 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4685 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4686 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4688 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4690 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4691 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4693 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4695 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4696 * sysdeps/x86/bits/string.h: Update #endif comments.
4697 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4699 * time/sys/time.h: Update #endif comments.
4700 * time/time.h: Likewise.
4701 [__USE_MISC]: Remove redundant conditionals.
4703 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4706 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4708 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4710 * Versions.def (librt): Add GLIBC_2.17.
4712 2014-02-21 Adam Conrad <adconrad@0c3.net>
4714 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4715 synonym for _SYS_AUXV_H to allow direct inclusion.
4716 * sysdeps/sparc/bits/hwcap.h: Likewise.
4717 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4718 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4719 * sysdeps/sparc/sysdep.h: Likewise.
4721 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4723 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4725 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4727 * benchtests/bench-strrchr.c: Print length instead of position.
4729 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4732 * sysdeps/unix/sysv/linux/kernel-features.h
4733 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4734 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4735 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4736 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4738 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4739 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4740 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4741 (__ASSUME_SENDMMSG): Define instead of using previous
4742 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4743 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4744 (__ASSUME_SENDMMSG_SYSCALL): Define.
4745 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4746 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4748 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4749 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4751 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4752 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4754 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4755 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4756 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4757 [__ASSUME_SENDMMSG]: Change conditionals to
4758 [__ASSUME_SENDMMSG_SOCKETCALL].
4759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4760 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4762 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4763 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4765 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4766 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4767 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4768 [!__ASSUME_SENDMMSG]: Change conditional to
4769 [!__ASSUME_SENDMMSG_SOCKETCALL].
4770 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4771 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4775 * sysdeps/unix/sysv/linux/kernel-features.h
4776 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4777 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4778 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4779 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4780 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4781 [__i386__ || __sparc__]
4782 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4783 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4784 (__ASSUME_RECVMMSG): Define instead of using previous
4785 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4786 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4787 (__ASSUME_RECVMMSG_SYSCALL): Define.
4788 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4789 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4791 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4792 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4794 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4795 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4797 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4798 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4799 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4800 [__ASSUME_RECVMMSG]: Change condition to
4801 [__ASSUME_RECVMMSG_SOCKETCALL].
4802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4803 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4805 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4806 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4807 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4809 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4810 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4811 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4812 [!__ASSUME_RECVMMSG]: Change condition to
4813 [!__ASSUME_RECVMMSG_SOCKETCALL].
4814 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4815 (__ASSUME_RECVMMSG_SYSCALL): Define.
4818 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4819 __powerpc__ || __s390__ || __sh__ || __sparc__]
4820 (__ASSUME_SOCKETCALL): Define.
4821 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4822 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4823 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4824 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4825 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4826 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4827 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4828 (__ASSUME_ACCEPT4): Define instead of using previous
4829 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4830 __powerpc__ || __sparc__ || __s390__)] condition.
4831 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4832 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4833 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4834 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4835 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4836 [!__ASSUME_ACCEPT4]: Change condition to
4837 [!__ASSUME_ACCEPT4_SOCKETCALL].
4838 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4839 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4840 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4841 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4842 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4843 __ASSUME_ACCEPT4_SYSCALL.
4844 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4845 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4846 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4847 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4848 __ASSUME_ACCEPT4_SYSCALL.
4849 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4850 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4851 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4852 [__ASSUME_ACCEPT4]: Change condition to
4853 [__ASSUME_ACCEPT4_SOCKETCALL].
4854 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4855 (__ASSUME_SOCKETCALL): Define.
4856 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4858 (__ASSUME_SOCKETCALL): Define.
4859 (__ASSUME_ACCEPT4): Remove.
4860 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4862 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4863 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4865 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4866 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4868 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4870 (HWCAP_ARM_LPAE): Likewise.
4871 (HWCAP_ARM_EVTSTRM): Likewise.
4872 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4873 Add vpfd32, lpae and evtstrm.
4874 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4877 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4879 * math/auto-libm-test-in: Add tests of clog10.
4880 * math/auto-libm-test-out: Regenerated.
4881 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4882 * sysdeps/i386/fpu/libm-test-ulps: Update.
4883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4885 2014-02-18 Andreas Schwab <schwab@suse.de>
4888 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4889 Store non-zero if the second buffer was newly allocated.
4890 (send_dg): Likewise.
4891 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4892 to send_vc and send_dg.
4893 (res_nsend): Pass NULL for ansp2_malloced.
4894 * resolv/res_query.c (__libc_res_nquery): Add parameter
4895 answerp2_malloced and pass it down to __libc_res_nsend.
4896 (res_nquery): Pass additional NULL to __libc_res_nquery.
4897 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4898 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4899 second answer buffer if answerp2_malloced was set.
4900 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4901 (__libc_res_nquerydomain): Add parameter
4902 answerp2_malloced and pass it down to __libc_res_nquery.
4903 (res_nquerydomain): Pass additional NULL to
4904 __libc_res_nquerydomain.
4905 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4906 additional NULL to __libc_res_nsend and __libc_res_nquery.
4907 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4908 additional NULL to __libc_res_nsearch.
4909 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4910 parameter of __libc_res_nsearch to check for separately allocated
4912 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4914 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4915 additional NULL to __libc_res_nquery.
4916 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4918 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4919 * include/resolv.h: Update prototypes of __libc_res_nquery,
4920 __libc_res_nsearch, __libc_res_nsend.
4922 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4924 * math/auto-libm-test-in: Add tests of fma.
4925 * math/auto-libm-test-out: Regenerated.
4926 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4927 (fma_towardzero_test_data): Likewise.
4928 (fma_downward_test_data): Likewise.
4929 (fma_upward_test_data): Likewise.
4930 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4932 (rounding_modes): Add values for new field.
4933 (func_calc_method): Add value mpfr_fff_f.
4934 (func_calc_desc): Add mpfr_fff_f union field.
4935 (test_function): Add field exact_args.
4936 (FUNC): Add macro argument EXACT_ARGS.
4937 (FUNC_mpfr_f_f): Update call to FUNC.
4938 (FUNC_mpfr_f_f): Likewise.
4939 (FUNC_mpfr_ff_f): Likewise.
4940 (FUNC_mpfr_if_f): Likewise.
4941 (FUNC_mpc_c_f): Likewise.
4942 (FUNC_mpc_c_c): Likewise.
4943 (test_functions): Add fma. Update calls to FUNC.
4944 (handle_input_arg): Add argument exact_args.
4945 (add_test): Update call to handle_input_arg.
4946 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4947 (output_for_one_input_case): Update call to calc_generic_results.
4948 Recalculate exact zero results in each rounding mode.
4950 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4951 non-negative before setting low bit.
4952 * math/auto-libm-test-in: Mark one asin test possibly having
4954 * math/auto-libm-test-out: Regenerated.
4955 * sysdeps/i386/fpu/libm-test-ulps: Update.
4956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4958 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4960 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4961 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4962 ports/sysdeps/unix/sysv/linux/microblaze.
4963 * README: Add missing listing for microblaze*-*-linux-gnu.
4965 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4967 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4968 * sysdeps/unix/sysv/linux/ia64: Move directory from
4969 ports/sysdeps/unix/sysv/linux/ia64.
4970 * README: Update listing for ia64-*-linux-gnu.
4972 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4973 Joseph Myers <joseph@codesourcery.com>
4975 * Makeconfig (test-name): New variable.
4976 (evaluate-test): Likewise.
4977 * Makerules (do-test-clean): Remove .test-result files.
4978 (common-mostlyclean): Likewise.
4979 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4980 * scripts/evaluate-test.sh: New file.
4982 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4984 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4985 separate $(objpfx)tst-fopenloc-cmp.out and
4986 $(objpfx)tst-fopenloc-mem.out targets.
4987 (tests): Update dependencies.
4988 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4989 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4990 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4991 (tst-rxspencer-no-utf8-ARGS): New variable.
4992 (tst-rxspencer-no-utf8-ENV): Likewise.
4993 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4994 instead of $(objpfx)tst-rxspencer-mem.
4995 ($(objpfx)tst-rxspencer-mem): Change target to
4996 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4997 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4998 * posix/tst-rxspencer-no-utf8.c: New file.
5000 * elf/Makefile ($(objpfx)order.out): Remove rule.
5001 [$(run-built-tests) = yes] (tests): Depend on
5002 $(objpfx)order-cmp.out.
5003 ($(objpfx)order-cmp.out): New rule.
5004 [$(run-built-tests) = yes] (tests): Depend on
5005 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5006 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5007 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5008 $(objpfx)tst-array5-static-cmp.out.
5009 ($(objpfx)tst-array1.out): Remove rule.
5010 ($(objpfx)tst-array1-cmp.out): New rule.
5011 ($(objpfx)tst-array1-static.out): Remove rule.
5012 ($(objpfx)tst-array1-static-cmp.out): New rule.
5013 ($(objpfx)tst-array2.out): Remove rule.
5014 ($(objpfx)tst-array2-cmp.out): New rule.
5015 ($(objpfx)tst-array3.out): Remove rule.
5016 ($(objpfx)tst-array3-cmp.out): New rule.
5017 ($(objpfx)tst-array4.out): Remove rule.
5018 ($(objpfx)tst-array4-cmp.out): New rule.
5019 ($(objpfx)tst-array5.out): Remove rule.
5020 ($(objpfx)tst-array5-cmp.out): New rule.
5021 ($(objpfx)tst-array5-static.out): Remove rule.
5022 ($(objpfx)tst-array5-static-cmp.out): New rule.
5023 [$(run-built-tests) = yes] (tests): Depend on
5024 $(objpfx)order2-cmp.out.
5025 ($(objpfx)order2.out): Remove rule.
5026 ($(objpfx)order2-cmp.out): New rule.
5027 ($(objpfx)tst-initorder.out): Remove rule.
5028 [$(run-built-tests) = yes] (tests): Depend on
5029 $(objpfx)tst-initorder-cmp.out.
5030 ($(objpfx)tst-initorder-cmp.out): New rule.
5031 ($(objpfx)tst-initorder2.out): Remove rule.
5032 [$(run-built-tests) = yes] (tests): Depend on
5033 $(objpfx)tst-initorder2-cmp.out.
5034 ($(objpfx)tst-initorder2-cmp.out): New rule.
5035 [$(run-built-tests) = yes] (tests): Depend on
5036 $(objpfx)tst-unused-dep-cmp.out.
5037 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5038 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5039 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5040 on $(objpfx)tst-setvbuf1-cmp.out.
5041 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5042 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5043 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5044 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5045 ($(objpfx)tst-svc.out): Remove rule.
5046 ($(objpfx)tst-svc-cmp.out): New rule.
5048 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5050 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5051 * ctype/ctype.h [__USE_MISC]: Likewise.
5052 * dirent/dirent.h [__USE_MISC]: Likewise.
5053 * grp/grp.h [__USE_MISC]: Likewise.
5054 * io/fcntl.h [__USE_MISC]: Likewise.
5055 * io/sys/stat.h [__USE_MISC]: Likewise.
5056 * libio/stdio.h [__USE_MISC]: Likewise.
5057 * posix/unistd.h [__USE_MISC]: Likewise.
5058 * pwd/pwd.h [__USE_MISC]: Likewise.
5059 * stdlib.h [__USE_MISC]: Likewise.
5060 * string/bits/string2.h [__USE_MISC]: Likewise.
5061 * string/string.h [__USE_MISC]: Likewise.
5062 * time/time.h [__USE_MISC]: Likewise.
5064 2014-02-13 Andreas Schwab <schwab@suse.de>
5067 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5068 second answer buffer if it was separately allocated.
5070 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5072 * sysdeps/mips/math-tests.h: Include <features.h>.
5073 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5074 (ROUNDING_TESTS_long_double): Do not define.
5075 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5076 (EXCEPTION_TESTS_long_double): Likewise.
5077 * sysdeps/mips/mips64/libm-test-ulps: Update.
5079 * include/features.h (__USE_BSD): Remove macro definitions.
5080 (__USE_SVID): Likewise.
5081 (_BSD_SOURCE): Likewise.
5082 (_SVID_SOURCE): Likewise.
5083 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5084 from definition of _DEFAULT_SOURCE.
5085 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5087 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5088 * bits/mman.h [__USE_BSD]: Likewise.
5089 * bits/termios.h [__USE_BSD]: Likewise.
5090 * bits/waitstatus.h [__USE_BSD]: Likewise.
5091 * ctype/ctype.h [__USE_SVID]: Likewise.
5092 * dirent/dirent.h [__USE_BSD]: Likewise.
5093 * grp/grp.h [__USE_SVID]: Likewise.
5094 [__USE_BSD]: Likewise.
5095 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5096 * io/fcntl.h [__USE_BSD]: Likewise.
5097 * io/ftw.h [__USE_BSD]: Likewise.
5098 * io/sys/stat.h [__USE_BSD]: Likewise.
5099 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5100 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5101 * libio/stdio.h [__USE_SVID]: Likewise.
5102 [__USE_BSD]: Likewise.
5103 * math/math.h [__USE_SVID]: Likewise.
5104 [__USE_BSD]: Likewise.
5105 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5106 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5107 * misc/search.h [__USE_SVID]: Likewise.
5108 * misc/sys/mman.h [__USE_BSD]: Likewise.
5109 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5110 * misc/sys/uio.h [__USE_BSD]: Likewise.
5111 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5112 * posix/glob.h [__USE_BSD]: Likewise.
5113 * posix/regex.h [__USE_BSD]: Likewise.
5114 * posix/sys/types.h [__USE_BSD]: Likewise.
5115 [__USE_SVID]: Likewise.
5116 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5117 * posix/sys/wait.h [__USE_BSD]: Likewise.
5118 [__USE_SVID]: Likewise.
5119 * posix/unistd.h [__USE_BSD]: Likewise.
5120 [__USE_SVID]: Likewise.
5121 * pwd/pwd.h [__USE_SVID]: Likewise.
5122 * resolv/netdb.h [__USE_BSD]: Likewise.
5123 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5124 * signal/signal.h [__USE_BSD]: Likewise.
5125 [__USE_SVID]: Likewise.
5126 * socket/sys/socket.h [__USE_BSD]: Likewise.
5127 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5128 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5129 [__USE_SVID]: Likewise.
5130 * string/bits/string2.h [__USE_BSD]: Likewise.
5131 [__USE_SVID]: Likewise.
5132 * string/bits/string3.h [__USE_BSD]: Likewise.
5133 * string/endian.h [__USE_BSD]: Likewise.
5134 * string/string.h [__USE_SVID]: Likewise.
5135 [__USE_BSD]: Likewise.
5136 * string/strings.h [__USE_BSD]: Likewise.
5137 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5138 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5139 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5140 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5141 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5142 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5146 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5147 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5149 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5150 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5152 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5154 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5155 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5158 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5160 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5161 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5162 * termios/termios.h [__USE_BSD]: Likewise.
5163 * time/sys/time.h [__USE_BSD]: Likewise.
5164 * time/time.h [__USE_BSD]: Likewise.
5165 [__USE_SVID]: Likewise.
5167 * Makefile (subdir_targets): Remove subdir_lint.out.
5169 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5170 (do-tst-printf): Likewise.
5171 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5172 $(objpfx)tst-printf.out.
5174 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5176 * Makerules (check-abi-%): Change target to
5177 $(objpfx)check-abi-%.out.
5178 (check-abi target): Update dependencies.
5179 (check-abi-pattern variable): Redirect output of diff to $@.
5180 (check-abi variable): Likewise.
5181 * elf/Makefile (check-abi): Update dependencies.
5183 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5185 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5186 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5188 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5189 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5190 value has largest subnormal exponent.
5191 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5192 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5193 * sysdeps/aarch64/soft-fp/sfp-machine.h
5194 (_FP_TININESS_AFTER_ROUNDING): New macro.
5195 * sysdeps/alpha/soft-fp/sfp-machine.h
5196 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5197 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5199 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5200 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5201 * sysdeps/mips/soft-fp/sfp-machine.h
5202 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5203 * sysdeps/powerpc/soft-fp/sfp-machine.h
5204 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5205 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5207 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5208 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5210 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5211 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5214 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5217 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5220 2014-02-12 Richard Henderson <rth@redhat.com>
5222 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5223 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5224 * sysdeps/unix/sysv/linux/alpha: Move directory from
5225 ports/sysdeps/unix/sysv/linux/alpha.
5226 * README: Update listing for alpha-*-linux-gnu.
5228 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5230 * include/features.h: Update comment documenting feature test
5232 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5234 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5235 (_SVID_SOURCE): Likewise.
5236 (_DEFAULT_SOURCE): Update description of default features.
5237 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5239 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5240 (S_ISVTX): Likewise.
5241 * manual/math.texi (Mathematical Constants): Likewise.
5242 * manual/signal.texi (Interrupted Primitives): Likewise.
5243 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5244 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5245 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5246 Don't refer to _SVID_SOURCE in warning text.
5248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5250 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5252 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5253 * sysdeps/mips/dl-lookup.c: Remove.
5254 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5256 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5259 * math/auto-libm-test-in: Add testcase for expl.
5260 * math/auto-libm-test-out: Regenerate.
5261 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5262 calculation of unsafe.
5263 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5265 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5267 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5268 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5269 ports/sysdeps/unix/sysv/linux/aarch64.
5270 * README: Update listing for aarch64*-*-linux-gnu.
5272 2014-02-11 Will Newton <will.newton@linaro.org>
5274 * manual/probes.texi (Mathematical Function Probes): Use
5275 "triggered" instead of "hit".
5277 * manual/probes.texi (Internal Probes): Add documentation
5278 of setjmp, longjmp and longjmp_target probes.
5280 * include/stap-probe.h: Add comment about probe argument
5283 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5284 definition. (tr_where, tr_freehook, tr_mallochook,
5285 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5287 2014-02-11 David S. Miller <davem@davemloft.net>
5289 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5290 processing int_tests.
5292 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5294 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5295 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5296 * sysdeps/unix/sysv/linux/mips: Move directory from
5297 ports/sysdeps/unix/sysv/linux/mips.
5298 * README: Update listing for mips-*-linux-gnu and
5301 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5303 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5304 * sysdeps/unix/sysv/linux/m68k: Move directory from
5305 ports/sysdeps/unix/sysv/linux/m68k.
5306 * README: Update listing for m68k-*-linux-gnu.
5308 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5310 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5311 * sysdeps/unix/sysv/linux/generic: Move directory from
5312 ports/sysdeps/unix/sysv/linux/generic.
5313 * sysdeps/unix/sysv/linux/tile: Move directory from
5314 ports/sysdeps/unix/sysv/linux/tile.
5315 * README: Update listing for tile*-*-linux-gnu.
5317 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5319 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5321 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5322 * catgets/open_catalog.c (__open_catalog): Likewise.
5323 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5324 * debug/confstr_chk.c: Likewise.
5325 * debug/fread_chk.c (__fread_chk): Likewise.
5326 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5327 * debug/getgroups_chk.c: Likewise.
5328 * debug/mbsnrtowcs_chk.c: Likewise.
5329 * debug/mbsrtowcs_chk.c: Likewise.
5330 * debug/mbstowcs_chk.c: Likewise.
5331 * debug/memcpy_chk.c: Likewise.
5332 * debug/memmove_chk.c: Likewise.
5333 * debug/mempcpy_chk.c: Likewise.
5334 * debug/memset_chk.c: Likewise.
5335 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5336 * debug/strcat_chk.c (__strcat_chk): Likewise.
5337 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5338 * debug/strncat_chk.c (__strncat_chk): Likewise.
5339 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5340 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5341 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5342 * debug/wcpncpy_chk.c: Likewise.
5343 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5344 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5345 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5346 * debug/wcsncpy_chk.c: Likewise.
5347 * debug/wcsnrtombs_chk.c: Likewise.
5348 * debug/wcsrtombs_chk.c: Likewise.
5349 * debug/wcstombs_chk.c: Likewise.
5350 * debug/wmemcpy_chk.c: Likewise.
5351 * debug/wmemmove_chk.c: Likewise.
5352 * debug/wmempcpy_chk.c: Likewise.
5353 * debug/wmemset_chk.c: Likewise.
5354 * dirent/scandirat.c (SCANDIRAT): Likewise.
5355 * dlfcn/dladdr1.c (dladdr1): Likewise.
5356 * dlfcn/dladdr.c (dladdr): Likewise.
5357 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5358 * dlfcn/dlerror.c (__dlerror): Likewise.
5359 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5360 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5361 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5362 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5363 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5364 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5365 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5366 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5368 * elf/dl-conflict.c: Likewise.
5369 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5370 * elf/dl-dst.h: Likewise.
5371 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5372 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5373 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5374 * elf/dl-init.c (call_init, _dl_init): Likewise.
5375 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5376 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5377 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5379 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5381 * elf/dl-minimal.c (__libc_memalign): Likewise.
5382 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5383 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5384 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5385 * elf/dl-sym.c (do_sym): Likewise.
5386 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5387 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5388 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5389 * elf/dl-writev.h (_dl_writev): Likewise.
5390 * elf/ldconfig.c (search_dir): Likewise.
5391 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5392 (dl_main): Likewise.
5393 * elf/setup-vdso.h (setup_vdso): Likewise.
5394 * grp/compat-initgroups.c (compat_call): Likewise.
5395 * grp/fgetgrent.c (fgetgrent): Likewise.
5396 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5397 * grp/putgrent.c (putgrent): Likewise.
5398 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5400 * hurd/hurdinit.c: Likewise.
5401 * iconvdata/8bit-gap.c (struct): Likewise.
5402 * iconvdata/ansi_x3.110.c : Likewise.
5403 * iconvdata/big5.c : Likewise.
5404 * iconvdata/big5hkscs.c : Likewise.
5405 * iconvdata/cp1255.c: Likewise.
5406 * iconvdata/cp1258.c : Likewise.
5407 * iconvdata/cp932.c : Likewise.
5408 * iconvdata/euc-cn.c: Likewise.
5409 * iconvdata/euc-jisx0213.c : Likewise.
5410 * iconvdata/euc-jp.c: Likewise.
5411 * iconvdata/euc-jp-ms.c : Likewise.
5412 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5413 * iconvdata/gb18030.c : Likewise.
5414 * iconvdata/gbbig5.c (const): Likewise.
5415 * iconvdata/gbgbk.c: Likewise.
5416 * iconvdata/gbk.c : Likewise.
5417 * iconvdata/ibm1364.c : Likewise.
5418 * iconvdata/ibm930.c : Likewise.
5419 * iconvdata/ibm932.c: Likewise.
5420 * iconvdata/ibm933.c : Likewise.
5421 * iconvdata/ibm935.c : Likewise.
5422 * iconvdata/ibm937.c : Likewise.
5423 * iconvdata/ibm939.c : Likewise.
5424 * iconvdata/ibm943.c: Likewise.
5425 * iconvdata/iso_11548-1.c: Likewise.
5426 * iconvdata/iso-2022-cn.c : Likewise.
5427 * iconvdata/iso-2022-cn-ext.c : Likewise.
5428 * iconvdata/iso-2022-jp-3.c: Likewise.
5429 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5430 * iconvdata/iso-2022-kr.c : Likewise.
5431 * iconvdata/iso646.c (gconv_end): Likewise.
5432 * iconvdata/iso_6937-2.c : Likewise.
5433 * iconvdata/iso_6937.c : Likewise.
5434 * iconvdata/iso8859-1.c: Likewise.
5435 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5436 * iconvdata/shift_jisx0213.c : Likewise.
5437 * iconvdata/sjis.c : Likewise.
5438 * iconvdata/t.61.c : Likewise.
5439 * iconvdata/tcvn5712-1.c : Likewise.
5440 * iconvdata/tscii.c: Likewise.
5441 * iconvdata/uhc.c : Likewise.
5442 * iconvdata/unicode.c (gconv_end): Likewise.
5443 * iconvdata/utf-16.c (gconv_end): Likewise.
5444 * iconvdata/utf-32.c (gconv_end): Likewise.
5445 * iconvdata/utf-7.c (base64): Likewise.
5446 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5447 * iconv/gconv_close.c (__gconv_close): Likewise.
5448 * iconv/gconv_open.c (__gconv_open): Likewise.
5449 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5450 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5451 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5452 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5453 (ucs4le_internal_loop_single): Likewise.
5454 * iconv/iconv.c (iconv): Likewise.
5455 * iconv/iconv_close.c: Likewise.
5456 * iconv/loop.c (SINGLE): Likewise.
5457 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5458 * include/atomic.h: Likewise.
5459 * inet/inet6_option.c (option_alloc): Likewise.
5460 * intl/bindtextdom.c (set_binding_values): Likewise.
5461 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5462 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5463 * intl/localealias.c (read_alias_file): Likewise.
5464 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5465 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5466 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5467 * libio/fmemopen.c (fmemopen): Likewise.
5468 * libio/iofgets.c (_IO_fgets): Likewise.
5469 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5470 * libio/iofgetws.c (fgetws): Likewise.
5471 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5472 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5473 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5474 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5475 * locale/findlocale.c (_nl_find_locale): Likewise.
5476 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5477 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5479 * locale/setlocale.c (setlocale): Likewise.
5480 * login/programs/pt_chown.c (main): Likewise.
5481 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5482 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5483 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5484 (mmap, mmap64, mremap, munmap): Likewise.
5485 * math/e_exp2l.c: Likewise.
5486 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5487 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5488 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5489 * math/s_catan.c (__catan): Likewise.
5490 * math/s_catanf.c (__catanf): Likewise.
5491 * math/s_catanh.c (__catanh): Likewise.
5492 * math/s_catanhf.c (__catanhf): Likewise.
5493 * math/s_catanhl.c (__catanhl): Likewise.
5494 * math/s_catanl.c (__catanl): Likewise.
5495 * math/s_ccosh.c (__ccosh): Likewise.
5496 * math/s_ccoshf.c (__ccoshf): Likewise.
5497 * math/s_ccoshl.c (__ccoshl): Likewise.
5498 * math/s_cexp.c (__cexp): Likewise.
5499 * math/s_cexpf.c (__cexpf): Likewise.
5500 * math/s_cexpl.c (__cexpl): Likewise.
5501 * math/s_clog10.c (__clog10): Likewise.
5502 * math/s_clog10f.c (__clog10f): Likewise.
5503 * math/s_clog10l.c (__clog10l): Likewise.
5504 * math/s_clog.c (__clog): Likewise.
5505 * math/s_clogf.c (__clogf): Likewise.
5506 * math/s_clogl.c (__clogl): Likewise.
5507 * math/s_csin.c (__csin): Likewise.
5508 * math/s_csinf.c (__csinf): Likewise.
5509 * math/s_csinh.c (__csinh): Likewise.
5510 * math/s_csinhf.c (__csinhf): Likewise.
5511 * math/s_csinhl.c (__csinhl): Likewise.
5512 * math/s_csinl.c (__csinl): Likewise.
5513 * math/s_csqrt.c (__csqrt): Likewise.
5514 * math/s_csqrtf.c (__csqrtf): Likewise.
5515 * math/s_csqrtl.c (__csqrtl): Likewise.
5516 * math/s_ctan.c (__ctan): Likewise.
5517 * math/s_ctanf.c (__ctanf): Likewise.
5518 * math/s_ctanh.c (__ctanh): Likewise.
5519 * math/s_ctanhf.c (__ctanhf): Likewise.
5520 * math/s_ctanhl.c (__ctanhl): Likewise.
5521 * math/s_ctanl.c (__ctanl): Likewise.
5522 * math/w_pow.c: Likewise.
5523 * math/w_powf.c: Likewise.
5524 * math/w_powl.c: Likewise.
5525 * math/w_scalb.c (sysv_scalb): Likewise.
5526 * math/w_scalbf.c (sysv_scalbf): Likewise.
5527 * math/w_scalbl.c (sysv_scalbl): Likewise.
5528 * misc/error.c (error_tail): Likewise.
5529 * misc/pselect.c (__pselect): Likewise.
5530 * nis/nis_callback.c (__nis_create_callback): Likewise.
5531 * nis/nis_call.c (__nisfind_server): Likewise.
5532 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5533 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5534 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5535 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5536 * nis/nis_lookup.c (nis_lookup): Likewise.
5537 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5538 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5539 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5540 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5541 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5542 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5543 * nis/nss_compat/compat-initgroups.c (add_group)
5544 (internal_getgrent_r): Likewise.
5545 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5546 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5547 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5548 (internal_getspnam_r): Likewise.
5549 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5550 (_nss_nis_getaliasbyname_r): Likewise.
5551 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5552 (_nss_nis_getntohost_r): Likewise.
5553 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5554 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5555 (_nss_nis_getgrgid_r): Likewise.
5556 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5557 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5558 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5559 (_nss_nis_gethostbyname4_r): Likewise.
5560 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5561 (initgroups_netid): Likewise.
5562 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5563 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5564 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5565 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5566 (_nss_nis_getprotobynumber_r): Likewise.
5567 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5568 (_nss_nis_getsecretkey): Likewise.
5569 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5570 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5571 (_nss_nis_getpwuid_r): Likewise.
5572 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5573 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5574 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5575 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5576 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5577 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5578 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5580 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5581 (_nss_nisplus_getntohost_r): Likewise.
5582 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5583 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5584 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5585 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5587 * nis/nss_nisplus/nisplus-initgroups.c
5588 (_nss_nisplus_initgroups_dyn): Likewise.
5589 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5590 (_nss_nisplus_getnetbyaddr_r): Likewise.
5591 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5592 (_nss_nisplus_getprotobynumber_r): Likewise.
5593 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5594 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5595 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5597 * nis/nss_nisplus/nisplus-service.c
5598 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5599 (_nss_nisplus_getservbyport_r): Likewise.
5600 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5601 (_nss_nisplus_getspnam_r): Likewise.
5602 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5604 * nscd/aicache.c (addhstaiX): Likewise.
5605 * nscd/cache.c (cache_search, prune_cache): Likewise.
5606 * nscd/connections.c (register_traced_file, send_ro_fd)
5607 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5608 (main_loop_epoll): Likewise.
5609 * nscd/grpcache.c (addgrbyX): Likewise.
5610 * nscd/hstcache.c (addhstbyX): Likewise.
5611 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5612 * nscd/mem.c (gc, mempool_alloc): Likewise.
5613 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5614 (addinnetgrX): Likewise.
5615 * nscd/nscd-client.h (__nscd_acquire_maplock)
5616 (__nscd_drop_map_ref): Likewise.
5617 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5618 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5619 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5621 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5622 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5623 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5624 (__nscd_get_map_ref): Likewise.
5625 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5626 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5628 * nscd/pwdcache.c (addpwbyX): Likewise.
5629 * nscd/selinux.c (preserve_capabilities): Likewise.
5630 * nscd/servicescache.c (addservbyX): Likewise.
5631 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5632 * posix/fnmatch.c (fnmatch): Likewise.
5633 * posix/getopt.c (_getopt_internal_r): Likewise.
5634 * posix/glob.c (glob, glob_in_dir): Likewise.
5635 * posix/wordexp.c (exec_comm_child): Likewise.
5636 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5637 (getanswer_r, gaih_getanswer_slice): Likewise.
5638 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5639 * resolv/res_init.c: Likewise.
5640 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5641 * resolv/res_query.c (__libc_res_nquery): Likewise.
5642 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5644 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5645 * stdio-common/perror.c (perror): Likewise.
5646 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5647 * stdio-common/tmpnam.c (tmpnam): Likewise.
5648 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5649 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5650 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5652 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5653 * stdlib/putenv.c (putenv): Likewise.
5654 * stdlib/setenv.c (__add_to_environ): Likewise.
5655 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5656 * stdlib/strtol_l.c (INTERNAL): Likewise.
5657 * string/memmem.c (memmem): Likewise.
5658 * string/strerror.c (strerror): Likewise.
5659 * string/strnlen.c (__strnlen): Likewise.
5660 * string/test-memmem.c (simple_memmem): Likewise.
5661 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5662 * sunrpc/pm_getport.c (__get_socket): Likewise.
5663 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5664 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5665 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5666 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5668 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5669 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5670 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5671 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5672 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5673 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5675 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5677 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5678 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5679 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5680 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5681 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5683 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5684 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5685 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5686 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5687 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5688 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5690 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5692 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5694 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5696 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5697 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5698 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5699 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5700 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5701 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5702 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5704 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5706 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5711 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5713 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5715 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5717 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5719 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5721 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5722 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5723 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5724 * sysdeps/posix/sleep.c: Likewise.
5725 * sysdeps/posix/tempname.c: Likewise.
5726 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5727 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5729 * sysdeps/powerpc/powerpc32/dl-machine.h
5730 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5731 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5733 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5734 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5736 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5737 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5738 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5739 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5740 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5741 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5742 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5743 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5744 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5745 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5746 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5747 (elf_machine_lazy_rel): Likewise.
5748 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5749 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5750 (elf_machine_lazy_rel): Likewise.
5751 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5752 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5753 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5754 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5755 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5756 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5757 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5760 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5761 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5762 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5763 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5764 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5765 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5766 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5767 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5768 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5769 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5770 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5772 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5773 (__posix_fallocate64_l64): Likewise.
5774 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5775 (posix_fallocate): Likewise.
5776 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5778 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5779 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5780 (getifaddrs_internal): Likewise.
5781 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5782 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5783 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5784 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5785 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5786 (__posix_fallocate64_l64): Likewise.
5787 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5789 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5790 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5791 (__get_clockfreq): Likewise.
5792 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5793 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5794 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5797 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5798 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5799 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5801 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5802 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5803 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5804 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5805 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5806 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5807 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5809 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5810 (posix_fallocate): Likewise.
5811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5812 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5813 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5814 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5815 (elf_machine_rela, elf_machine_rela_relative)
5816 (elf_machine_lazy_rel): Likewise.
5817 * time/asctime.c (asctime_internal): Likewise.
5818 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5819 * time/tzset.c (__tzset_parse_tz): Likewise.
5820 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5821 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5822 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5823 * wcsmbs/wcsmbsload.h: Likewise.
5826 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5828 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5829 (arena_get2): Remove THREAD_STATS conditionals.
5830 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5831 (__malloc_stats, int): Likewise.
5833 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5835 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5836 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5838 * manual/setjmp.texi: Fix typos/grammar errors.
5840 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5841 Only return early when n is <= 0. Delete unused return statement.
5843 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5844 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5845 * debug/tst-longjmp_chk3.c: New file.
5847 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5848 (test_main): Replace code with set_fortify_handler call.
5849 * debug/test-strcpy_chk.c: Likewise.
5850 * debug/tst-chk1.c: Likewise.
5851 * debug/tst-longjmp_chk.c: Likewise.
5852 * test-skeleton.c: Include fcntl.h & paths.h
5853 (set_fortify_handler): Define.
5855 * debug/tst-longjmp_chk.c: Add header comment and include
5857 (do_test): Mark static.
5858 (TEST_FUNCTION): Define.
5860 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5861 (IP_PMTUDISC_INTERFACE): Likewise.
5862 (IP_MULTICAST_IF): Likewise.
5863 (IP_MULTICAST_TTL): Likewise.
5864 (IP_MULTICAST_LOOP): Likewise.
5865 (IP_ADD_MEMBERSHIP): Likewise.
5866 (IP_DROP_MEMBERSHIP): Likewise.
5867 (IP_UNBLOCK_SOURCE): Likewise.
5868 (IP_BLOCK_SOURCE): Likewise.
5869 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5870 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5871 (IP_MSFILTER): Likewise.
5872 (MCAST_JOIN_GROUP): Likewise.
5873 (MCAST_BLOCK_SOURCE): Likewise.
5874 (MCAST_UNBLOCK_SOURCE): Likewise.
5875 (MCAST_LEAVE_GROUP): Likewise.
5876 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5877 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5878 (MCAST_MSFILTER): Likewise.
5879 (IP_MULTICAST_ALL): Likewise.
5880 (IP_UNICAST_IF): Likewise.
5882 * timezone/Makefile: Delete $(have-ksh) check.
5883 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5884 * timezone/tzselect.ksh: Add +x mode bits.
5886 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5887 (ANON_INODE_FS_MAGIC): Likewise.
5888 (BDEVFS_MAGIC): Likewise.
5889 (BINFMTFS_MAGIC): Likewise.
5890 (BTRFS_TEST_MAGIC): Likewise.
5891 (CRAMFS_MAGIC_WEND): Likewise.
5892 (DEBUGFS_MAGIC): Likewise.
5893 (ECRYPTFS_SUPER_MAGIC): Likewise.
5894 (EXT3_SUPER_MAGIC): Likewise.
5895 (EXT4_SUPER_MAGIC): Likewise.
5896 (FUTEXFS_SUPER_MAGIC): Likewise.
5897 (HOSTFS_SUPER_MAGIC): Likewise.
5898 (HUGETLBFS_MAGIC): Likewise.
5899 (MINIX3_SUPER_MAGIC): Likewise.
5900 (MTD_INODE_FS_MAGIC): Likewise.
5901 (NILFS_SUPER_MAGIC): Likewise.
5902 (OPENPROM_SUPER_MAGIC): Likewise.
5903 (PIPEFS_MAGIC): Likewise.
5904 (PSTOREFS_MAGIC): Likewise.
5905 (QNX6_SUPER_MAGIC): Likewise.
5906 (RAMFS_MAGIC): Likewise.
5907 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5908 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5909 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5910 (SECURITYFS_MAGIC): Likewise.
5911 (SELINUX_MAGIC): Likewise.
5912 (SMACK_MAGIC): Likewise.
5913 (SOCKFS_MAGIC): Likewise.
5914 (SQUASHFS_MAGIC): Likewise.
5915 (STACK_END_MAGIC): Likewise.
5916 (TMPFS_MAGIC): Likewise.
5917 (USBDEVICE_SUPER_MAGIC): Likewise.
5918 (V9FS_MAGIC): Likewise.
5919 (XENFS_SUPER_MAGIC): Likewise.
5920 (CRAMFS_MAGIC): Fix typo in comment.
5921 (EXT2_SUPER_MAGIC): Update comment.
5922 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5924 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5926 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5927 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5928 * sysdeps/unix/sysv/linux/arm: Move directory from
5929 ports/sysdeps/unix/sysv/linux/arm.
5930 * README: Update listing for arm-*-linux-gnueabi.
5932 * README: Remove mention of am33.
5934 2014-02-07 Roland McGrath <roland@hack.frob.com>
5936 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5937 than the comma operator, to avoid "rhs of comma has no effect"
5939 (__sigfillset, __sigandset, __sigorset): Likewise.
5940 * include/signal.h (__sigemptyset): Likewise.
5941 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5943 2014-02-07 Allan McRae <allan@archlinux.org>
5945 * version.h (RELEASE): Set to "development".
5946 (VERSION): Set to "2.19.90"
5947 * NEWS: Add 2.20 section.
5949 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5952 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5954 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5956 * manual/contrib.texi: Update entry for Carlos O'Donell,
5957 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5959 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5961 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5963 * sysdeps/unix/sysv/linux/kernel-features.h
5964 [__LINUX_KERNEL_VERSION >= 0x020621]
5965 (__ASSUME_PROC_PID_TASK_COMM): Define.
5967 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5970 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5971 conversion when destination buffer does not have enough space.
5972 * libio/tst-ftell-partial-wide.c: New test case.
5973 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5975 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5976 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5977 Leonard and Allan McRae.
5979 2014-02-04 David S. Miller <davem@davemloft.net>
5981 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5984 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6013 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6015 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6016 * shlib-versions: Likewise.
6018 2014-02-04 Roland McGrath <roland@hack.frob.com>
6019 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6021 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6022 (abilist-pattern): New variable, set to %-le.abilist.
6024 * Makerules (abilist-pattern): New variable.
6025 (vpath): Use $(abilist-pattern) in place of %.abilist.
6026 (check-abi-% pattern rule): Likewise.
6027 (check-abi, update-abi): Likewise.
6029 2014-02-04 Eric Wong <normalperson@yhbt.net>
6031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6033 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6035 * manual/startup.texi: Add next, previous, and top entries for
6036 the `Program Arguments' and `Environment Variables' nodes.
6038 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6040 * manual/macros.texi: Add comments before MTASC-safety macros.
6042 * manual/users.texi: Document MTASC-safety properties.
6044 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6045 (pthread_getspecific, pthread_setspecific): Format with
6046 @deftypefun, and add @safety note.
6047 * manual/signal.texi: Move comments that analyze the above
6048 functions to their home place.
6050 2014-02-03 Allan McRae <allan@archlinux.org>
6052 * po/sl.po: Update Slovenian translation from translation project.
6054 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6056 * manual/time.texi (timegm): Add missing blank after @c.
6057 Reported by Joseph Myers <joseph@codesourcery.com>.
6059 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6061 * manual/check-safety.sh: New.
6062 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6064 * manual/terminal.texi: Document MTASC-safety properties.
6066 * manual/filesys.texi: Document MTASC-safety properties.
6068 * manual/errno.texi: Document MTASC-safety properties.
6070 * manual/intro.texi: Document safety identifiers and
6073 * manual/string.texi (wcstok): Fix prototype.
6074 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6076 * manual/time.texi: Document MTASC-safety properties.
6078 * manual/string.texi: Document MTASC-safety properties.
6080 * manual/threads.texi: Document MTASC-safety properties.
6082 * manual/stdio.texi: Document MTASC-safety properties.
6084 * manual/syslog.texi: Document MTASC-safety properties.
6086 * manual/sysinfo.texi: Document MTASC-safety properties.
6088 * manual/startup.texi: Document MTASC-safety properties.
6090 * manual/socket.texi: Document MTASC-safety properties.
6092 * manual/signal.texi: Document MTASC-safety properties.
6094 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6096 * manual/setjmp.texi: Document MTASC-safety properties.
6098 * manual/search.texi: Document MTASC-safety properties.
6100 * manual/resource.texi: Document MTASC-safety properties.
6102 * manual/process.texi: Document MTASC-safety properties.
6104 * manual/platform.texi: Document MTASC-safety properties.
6106 * manual/pipe.texi: Document MTASC-safety properties.
6108 * manual/pattern.texi: Document MTASC-safety properties.
6110 * manual/message.texi: Document MTASC-safety properties.
6113 * manual/memory.texi: Document MTASC-safety properties.
6115 * manual/math.texi: Document MTASC-safety properties.
6117 * manual/locale.texi: Document MTASC-safety properties.
6119 * manual/llio.texi: Document MTASC-safety properties.
6121 * manual/libdl.texi: New.
6123 * manual/lang.texi: Document MTASC-safety properties.
6125 * manual/job.texi: Document MTASC-safety properties.
6127 * manual/getopt.texi: Document MTASC-safety properties.
6129 * manual/ctype.texi: Document MTASC-safety properties.
6131 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6134 * csu/libc-tls.c (static_map): Remove variable.
6135 (__libc_setup_tls): Use main executable's link map for TLS data.
6136 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6137 casing for LM_ID_BASE and GL(dl_nns).
6138 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6139 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6140 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6141 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6142 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6144 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6147 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6149 * manual/debug.texi: Document MTASC-safety properties.
6151 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6154 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6155 of __x86_64__ when disabling x87 inline functions.
6157 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6159 * manual/charset.texi: Document MTASC-safety properties.
6161 * manual/crypt.texi: Document MTASC-safety properties.
6163 * manual/conf.texi: Document MTASC-safety properties.
6165 * manual/arith.texi: Document MTASC-safety properties.
6167 * manual/argp.texi: Document MTASC-safety properties.
6169 * manual/macros.texi: Introduce macros to document multi
6170 thread, asynchronous signal and asynchronous cancellation
6172 * manual/intro.texi: Introduce the properties themselves.
6174 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6176 * sysdeps/sh/sh4/Makefile: New file.
6178 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6180 * math/gen-libm-test.pl ($srcdir): New variable.
6181 ($auto_input): Use it.
6183 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6186 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6187 access beyond array bounds when parsing netgroups file.
6189 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6190 the old buffer before realloc.
6192 2014-01-27 Allan McRae <allan@archlinux.org>
6194 * po/fr.po: Update French translation from translation project.
6196 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6198 * sysdeps/sh/libm-test-ulps: Regenerate.
6200 2014-01-24 David S. Miller <davem@davemloft.net>
6202 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6204 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6206 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6207 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6209 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6212 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6213 string pointers after reallocation.
6215 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6217 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6218 __SH4A__ instead of __SH_FPU_ANY__.
6220 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6222 * sysdeps/sh/fpu_control.h: New file.
6223 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6224 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6225 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6226 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6227 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6228 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6229 * sysdeps/sh/sys/ucontext.h: Remove.
6230 * sysdeps/sh/sys: Remove directory.
6232 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6234 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6235 s390/sys/ucontext.h.
6236 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6237 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6239 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6242 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6244 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6247 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6248 Adjust the vDSO correctly for internal calls.
6249 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6251 2014-01-20 Allan McRae <allan@archlinux.org>
6253 * po/ca.po: Update Catalan translation from translation project.
6255 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6257 * sysdeps/s390/sotruss-lib.c: New file.
6259 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6263 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6264 local calls issues by not having a PLT stub required for IFUNC calls.
6265 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6267 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6269 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6270 * math/test-fpucw-static.c: Likewise.
6272 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6275 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6277 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6279 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6280 implementation for powerpc.
6282 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6285 * sysdeps/posix/system.c (__libc_system): Do not enable
6286 asynchronous cancellation.
6288 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6291 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6292 handling only for numbers special also in the IEEE case.
6294 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6296 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6298 2014-01-11 Allan McRae <allan@archlinux.org>
6300 * po/bg.po: Update Bulgarian translation from translation project.
6302 * po/de.po: Update German translation from translation project.
6304 2014-01-10 Roland McGrath <roland@hack.frob.com>
6306 * sysdeps/generic/gcc-compat.h: New file.
6308 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6310 * benchtests/asin-inputs: Correct slow inputs.
6311 * benchtests/acos-inputs: Likewise.
6313 2014-01-10 Allan McRae <allan@archlinux.org>
6315 * po:sv.po: Update Swedish translation from translation project.
6317 * po/vi.po: Update Vietnamese translation from translation project.
6319 * po/eo.po: Update Esperanto translation from translation project.
6321 * po/cs.po: Update Czech translation from translation project.
6323 * po/nl.po: Update Dutch translation from translation project.
6325 * po/pl.po: Update Polish translation from translation project.
6327 * po/ru.po: Update Russian translation from translation project.
6329 * po/uk.po: Update Ukrainian translation from translation project.
6331 2014-01-08 Brooks Moses <bmoses@google.com>
6333 * elf/dl-load.c: Fix comment typo.
6335 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6337 * po/header.pot: Rename to...
6338 * po/pot.header: ... this.
6339 * po/Makefile: Use pot.header.
6341 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6342 Maxim Kuvyrkov <maxim@kugelworks.com>
6345 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6346 SRC and DEST against LEN.
6348 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6353 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6355 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6359 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6362 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6363 for large positive arguments.
6365 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6367 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6369 * math/auto-libm-test-in: Mark various tests with
6370 xfail-rounding:ldbl-128ibm.
6371 * math/auto-libm-test-out: Regenerated.
6374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6375 Increase overflow threshold.
6377 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6380 * stdio-common/vfprintf.c: Check for integer overflow.
6382 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6384 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6385 the first argument and return value of __tls_get_addr_internal.
6387 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6389 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6390 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6392 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6394 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6395 * sysdeps/s390/rtld-global-offsets.sym: New file.
6396 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6398 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6399 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6400 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6402 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6403 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6409 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6410 halfs of GPRs for high_gprs contexts.
6411 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6412 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6414 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6416 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6418 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6419 for high GPRs (uc_high_gprs) and for future extensions
6421 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6422 for future extensions (__reserved).
6423 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6425 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6426 SC_HIGHGPRS offset definition.
6427 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6428 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6430 * Versions.def: Add GLIBC_2.19 for libpthread.
6431 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6432 siglongjmp for libpthread with GLIBC_2.19 symver.
6433 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6434 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6435 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6436 * sysdeps/s390/__longjmp.c: New file.
6437 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6438 * sysdeps/s390/longjmp.c: New file.
6439 * sysdeps/s390/setjmp.S: New file.
6440 * sysdeps/s390/sigjmp.S: New file.
6441 * sysdeps/s390/v1-longjmp.c: New file.
6442 * sysdeps/s390/v1-setjmp.h: New file.
6443 * sysdeps/s390/v1-sigjmp.c: New file.
6444 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6445 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6447 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6448 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6449 versioned symbols for ____longjmp_chk.
6450 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6460 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6461 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6462 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6463 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6464 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6465 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6466 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6467 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6468 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6469 * sysdeps/s390/rtld-__longjmp.c: New file.
6470 * sysdeps/s390/rtld-setjmp.S: New file.
6472 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6475 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6476 Return -__logl (x) for small positive arguments without evaluating
6479 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6481 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6483 (__ptrace_peeksiginfo_args): ... this.
6484 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6485 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6488 2014-01-06 Allan McRae <allan@archlinux.org>
6490 * inet/netinet/in.h: Fix typo in comment.
6492 2014-01-05 Andreas Jaeger <aj@suse.de>
6494 * sysdeps/i386/fpu/libm-test-ulps: Update.
6496 2014-01-05 Allan McRae <allan@archlinux.org>
6498 * po/libc.pot: Regenerated.
6500 * malloc/memusagestat.c: Fix gettext call formatting.
6502 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6504 * nscd/nscd.c: Improve usage() output.
6506 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6508 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6509 * sysdeps/unix/sysv/linux/configure: Regenerated.
6510 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6511 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6513 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6516 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6517 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6519 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6521 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6522 extra tokens at end of #undef directive.
6523 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6524 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6525 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6527 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6529 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6531 * math/auto-libm-test-in: Mark various tests with
6532 xfail-rounding:ldbl-128ibm.
6533 * math/auto-libm-test-out: Regenerated.
6535 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6538 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6539 numbers with subnormal high part when calculating exponent.
6542 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6546 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6548 (__ieee754_acoshl): Use __log1pl not __log1p.
6550 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6552 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6553 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6554 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6555 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6556 (reused_arena, arena_get2): Convert to GNU style.
6557 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6558 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6559 (memalign_check, __malloc_set_state): Likewise.
6560 * malloc/mallocbug.c (main): Likewise.
6561 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6562 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6563 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6564 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6565 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6566 (__posix_memalign, malloc_info): Likewise.
6567 * malloc/malloc.h: Likewise.
6568 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6569 (mallochook, memalignhook, reallochook, mabort): Likewise.
6570 * malloc/mcheck.h: Likewise.
6571 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6572 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6573 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6574 * malloc/morecore.c (__default_morecore): Likewise.
6575 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6576 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6577 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6578 (print_and_abort): Likewise.
6579 * malloc/obstack.h: Likewise.
6580 * malloc/set-freeres.c (__libc_freeres): Likewise.
6581 * malloc/tst-mallocstate.c (main): Likewise.
6582 * malloc/tst-mtrace.c (main): Likewise.
6583 * malloc/tst-realloc.c (do_test): Likewise.
6585 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6588 * nscd/netgroupcache.c (do_notfound): New function.
6589 (addgetnetgrentX): Use it.
6592 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6593 NSS_STATUS_NOTFOUND.
6595 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6600 2014-01-01 Allan McRae <allan@archlinux.org>
6602 * scripts/update-copyrights: Update configure input file suffix.
6604 * NEWS: Update copyright year.
6605 * catgets/gencat.c: Likewise.
6606 * csu/version.c: Likewise.
6607 * debug/catchsegv.sh: Likewise.
6608 * debug/pcprofiledump.c: Likewise.
6609 * debug/xtrace.sh: Likewise.
6610 * elf/ldconfig.c: Likewise.
6611 * elf/ldd.bash.in: Likewise.
6612 * elf/pldd.c: Likewise.
6613 * elf/sotruss.ksh: Likewise.
6614 * elf/sprof.c: Likewise.
6615 * iconv/iconv_prog.c: Likewise.
6616 * iconv/iconvconfig.c: Likewise.
6617 * locale/programs/locale.c: Likewise.
6618 * locale/programs/localedef.c: Likewise.
6619 * login/programs/pt_chown.c: Likewise.
6620 * malloc/memusage.sh: Likewise.
6621 * malloc/memusagestat.c: Likewise.
6622 * malloc/mtrace.pl: Likewise.
6623 * manual/libc.texinfo: Likewise.
6624 * nscd/nscd.c: Likewise.
6625 * nss/getent.c: Likewise.
6626 * nss/makedb.c: Likewise.
6627 * posix/getconf.c: Likewise.
6628 * scripts/test-installation.pl: Likewise.
6630 * All files with FSF copyright notices: Update copyright dates
6631 using scripts/update-copyrights.
6632 * intl/plural.c: Regenerated.
6633 * locale/programs/charmap-kw.h: Likewise.
6634 * locale/programs/locfile-kw.h: Likewise.
6636 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6638 * sysdeps/unix/sysv/linux/configure: Regenerated.
6639 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6640 the linux/fanotify.h header.
6641 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6642 HAVE_LINUX_FANOTIFY_H is defined.
6644 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6646 * benchtests/cos-inputs: New inputs.
6647 * benchtests/sin-inputs: Likewise.
6649 * benchtests/atan-inputs: New inputs. Fix name of multiple
6650 precision fallback inputs.
6652 * benchtests/atanh-inputs: New inputs.
6653 * benchtests/tanh-inputs: Likewise.
6655 * benchtests/acosh-inputs: New inputs.
6656 * benchtests/asinh-inputs: Likewise.
6658 * benchtests/cosh-inputs: New inputs.
6659 * benchtests/sinh-inputs: Likewise.
6661 * benchtests/acos-inputs: Add more inputs.
6662 * benchtests/asin-inputs: Likewise.
6664 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6667 * manual/arith.texi: Fix spelling.
6668 * manual/charset.texi: Likewise.
6669 * manual/errno.texi: Likewise.
6670 * manual/filesys.texi: Likewise.
6671 * manual/lang.texi: Likewise.
6672 * manual/llio.texi: Likewise.
6673 * manual/locale.texi: Likewise.
6674 * manual/message.texi: Likewise.
6675 * manual/resource.texi: Likewise.
6676 * manual/search.texi: Likewise.
6677 * manual/setjmp.texi: Likewise.
6678 * manual/stdio.texi: Likewise.
6679 * manual/string.texi: Likewise.
6680 * manual/sysinfo.texi: Likewise.
6681 * manual/time.texi: Likewise.
6683 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6685 * po/sl.po: New file.
6687 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6689 * .gitignore: Add core/.gdbinit/.gdb_history.
6691 2013-12-27 Allan McRae <allan@archlinux.org>
6694 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6695 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6697 2013-12-24 Brooks Moses <bmoses@google.com>
6699 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6700 all compilers that claim C++98 compliance, not just GCC.
6701 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6704 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6706 * NEWS: Restore accidentally deleted bug-fix entries.
6708 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6709 Ondřej Bílka <neleai@seznam.cz>
6712 * malloc/malloc.c (_int_free): Perform sanity check only if we
6715 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6718 * manual/stdio.texi (String Input Conversions): Clarify that character
6719 classes are not supported.
6721 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6725 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6729 Calculate results for small negative arguments directly rather
6730 than using reflection formula with special underflow handling.
6732 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6733 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6734 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6735 (fchflags): Likewise.
6737 (setlogin): Likewise.
6738 (sigaltstack): Likewise.
6741 (sigsetmask): Likewise.
6743 (waitpid): Likewise.
6744 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6745 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6747 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6748 * sysdeps/unix/bsd/Makefile: ... here.
6749 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6750 * sysdeps/unix/bsd/Versions: ... here.
6751 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6752 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6753 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6754 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6755 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6756 * sysdeps/unix/bsd/sigblock.c: ... here.
6757 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6758 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6759 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6760 * sysdeps/unix/bsd/sigvec.c: ... here.
6761 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6762 * sysdeps/unix/bsd/tcdrain.c: ... here.
6763 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6764 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6765 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6766 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6767 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6768 * sysdeps/unix/bsd/wait.c: ... here.
6769 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6770 * sysdeps/unix/bsd/wait3.c: ... here.
6771 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6772 * sysdeps/unix/bsd/waitpid.c: ... here.
6774 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6777 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6778 round-to-nearest for [!USE_AS_EXPM1L].
6779 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6780 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6781 more tests of exp and exp10. Expect some exp10 tests to miss
6782 exceptions or fail in directed rounding modes.
6783 * math/auto-libm-test-out: Regenerated.
6784 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6785 (exp10_test_tonearest): New function.
6786 (exp10_towardzero_test_data): New array.
6787 (exp10_test_towardzero): New function.
6788 (exp10_downward_test_data): New array.
6789 (exp10_test_downward): New function.
6790 (exp10_upward_test_data): New array.
6791 (exp10_test_upward): New function.
6792 (main): Call the new functions.
6793 * sysdeps/i386/fpu/libm-test-ulps: Update.
6794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6796 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6798 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6799 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6800 * math/auto-libm-test-out: Regenerated.
6801 * math/libm-test.inc (acosh_test_data): Add more tests.
6802 (atanh_test_data): Likewise.
6803 (ceil_test_data): Likewise.
6804 (copysign_test_data): Likewise.
6805 * sysdeps/i386/fpu/libm-test-ulps: Update.
6806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6808 * timezone/checktab.awk: Update from tzcode 2013i.
6809 * timezone/private.h: Likewise.
6810 * timezone/scheck.c: Likewise.
6811 * timezone/tzfile.h: Likewise.
6812 * timezone/tzselect.ksh: Likewise.
6813 * timezone/zdump.c: Likewise.
6814 * timezone/zic.c: Likewise.
6816 * math/auto-libm-test-in: Add tests of cpow.
6817 * math/auto-libm-test-out: Regenerated.
6818 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6819 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6821 (func_calc_desc): Add mpc_cc_c union field.
6822 (test_functions): Add cpow.
6823 (special_fill_2pi): New function.
6824 (special_real_inputs): Add 2pi.
6825 (calc_generic_results): Handle mpc_cc_c.
6826 * sysdeps/i386/fpu/libm-test-ulps: Update.
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6829 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6830 csqrt, ctan and ctanh.
6831 * math/auto-libm-test-out: Regenerated.
6832 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6833 (TEST_COND_x86): Likewise.
6834 (ccos_test_data): Use AUTO_TESTS_c_c.
6835 (ccosh_test_data): Likewise.
6836 (cexp_test_data): Likewise.
6837 (clog_test_data): Likewise.
6838 (csqrt_test_data): Likewise.
6839 (ctan_test_data): Likewise.
6840 (ctan_tonearest_test_data): Likewise.
6841 (ctan_towardzero_test_data): Likewise.
6842 (ctan_downward_test_data): Likewise.
6843 (ctan_upward_test_data): Likewise.
6844 (ctanh_test_data): Likewise.
6845 (ctanh_tonearest_test_data): Likewise.
6846 (ctanh_towardzero_test_data): Likewise.
6847 (ctanh_downward_test_data): Likewise.
6848 (ctanh_upward_test_data): Likewise.
6849 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6851 (func_calc_desc): Add mpc_c_c union field.
6852 (FUNC_mpc_c_c): New macro.
6853 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6854 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6856 (special_fill_min_subnorm_p120): New function.
6857 (special_real_inputs): Add min_subnorm_p120.
6858 (calc_generic_results): Handle mpc_c_c.
6859 * sysdeps/i386/fpu/libm-test-ulps: Update.
6860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6862 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6864 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6865 (do_sin_slow): New functions.
6866 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6867 (cslow2, csloww1, csloww2): Use the new functions.
6869 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6870 Use M to change sign of result instead of X. Assume X is
6872 (csloww1): Likewise.
6876 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6881 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6883 (sloww1): Don't adjust sign of DX.
6884 (csloww1): Likewise.
6885 (sloww2): Use X directly and don't adjust sign of DX.
6886 (csloww2): Likewise.
6888 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6890 * math/auto-libm-test-in: Add tests of cabs and carg.
6891 * math/auto-libm-test-out: Regenerated.
6892 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6893 (carg_test_data): Likewise.
6894 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6896 (func_calc_desc): Add mpc_c_f union field.
6897 (test_functions): Add cabs and carg.
6898 (calc_generic_results): Handle mpc_c_f.
6900 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6901 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6902 as a macro and a compat symbol.
6903 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6904 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6905 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6906 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6907 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6908 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6910 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6912 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6914 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6916 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6918 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6920 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6921 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6924 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6928 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6930 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6931 trailing whitespace removed.
6932 * scripts/config.guess: Update to version 2013-11-29.
6933 * scripts/config.sub: Update to version 2013-10-01.
6935 * math/auto-libm-test-in: Add tests of sincos.
6936 * math/auto-libm-test-out: Regenerated.
6937 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6938 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6940 (func_calc_desc): Add mpfr_f_11 union field.
6941 (test_functions): Add sincos.
6942 (calc_generic_results): Handle mpfr_f_11.
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946 2013-12-19 Andreas Schwab <schwab@suse.de>
6948 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6951 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6952 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6954 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6956 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6957 * sysdeps/i386/fpu/libm-test-ulps: Update.
6958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6961 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6962 round-to-nearest mode when using frndint.
6963 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6964 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6965 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6967 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6969 * math/auto-libm-test-out: Regenerated.
6970 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6971 (TEST_COND_x86): Likewise.
6972 (expm1_tonearest_test_data): New array.
6973 (expm1_test_tonearest): New function.
6974 (expm1_towardzero_test_data): New array.
6975 (expm1_test_towardzero): New function.
6976 (expm1_downward_test_data): New array.
6977 (expm1_test_downward): New function.
6978 (expm1_upward_test_data): New array.
6979 (expm1_test_upward): New function.
6980 (main): Run the new test functions.
6981 * sysdeps/i386/fpu/libm-test-ulps: Update.
6982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6984 * include/features.h: Update comment documenting feature test
6985 macros. Mention _DEFAULT_SOURCE in comment.
6986 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6987 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6988 _BSD_SOURCE and _SVID_SOURCE.
6989 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6990 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6991 !_SVID_SOURCE]: Likewise.
6992 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6993 (__USE_POSIX_IMPLICITLY): Define.
6994 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6995 (_POSIX_SOURCE): Undefine and redefine.
6996 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6997 (_POSIX_C_SOURCE): Likewise.
6998 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6999 (Feature Test Macros): Update documentation of default features.
7001 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7003 * benchtests/Makefile: Add bench-strtok.
7004 * benchtests/bench-strtok.c: New file: strtok benchtest.
7006 2013-12-19 Allan McRae <allan@archlinux.org>
7008 * manual/install.texi: Suppress menu for plain text output.
7009 * INSTALL: Regenerated.
7011 2013-12-18 Brooks Moses <bmoses@google.com>
7014 * misc/getauxval.c: Include errno.h.
7015 (__getauxval): Set errno to ENOENT if the requested type is not
7017 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7018 don't declare with __attribute_const__.
7019 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7020 * manual/startup.texi: Document that getauxval sets errno.
7022 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7024 * math/auto-libm-test-in: Add tests of jn and yn.
7025 * math/auto-libm-test-out: Regenerated.
7026 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7027 (yn_test_data): Likewise.
7028 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7030 (func_calc_desc): Add mpfr_if_f union field.
7031 (FUNC_mpfr_if_f): New macro.
7032 (test_functions): Add jn and yn.
7033 (calc_generic_results): Assert type of second input for
7034 mpfr_ff_f. Handle mpfr_if_f.
7035 (output_for_one_input_case): Disable all checking for arguments
7036 fitting floating-point types in case of an integer argument.
7037 * sysdeps/i386/fpu/libm-test-ulps: Update.
7038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7041 Don't expect fegetround reference in libm.so.
7043 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7045 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7046 $(config-cflags-nofma).
7048 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7050 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7051 * math/auto-libm-test-out: Regenerated.
7054 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7055 to determine exponent and adjust argument to have exponent of -1.
7056 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7058 * math/auto-libm-test-out: Regenerated.
7059 * sysdeps/i386/fpu/libm-test-ulps: Update.
7060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7062 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7064 * manual/probes.texi: Remove cases when per-thread arenas are
7067 2013-12-18 Andreas Schwab <schwab@suse.de>
7069 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7070 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7071 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7072 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7073 * sysdeps/i386/i686/multiarch/Makefile: Update.
7074 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7076 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7078 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7079 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7081 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7084 Support TZ transition times < 00:00:00.
7085 This is needed for version-3 tz-format files; it supports time
7086 stamps past 2037 for America/Godthab (the only entry in the tz
7087 database for which this change is relevant).
7088 * manual/time.texi (TZ Variable): Document transition times
7089 from -167:59:59 through -00:00:01.
7090 * time/tzset.c (tz_rule): Time of day is now signed.
7091 (__tzset_parse_tz): Parse negative time of day.
7093 Document TZ transition times >= 25:00:00.
7094 * manual/time.texi (TZ Variable): Document transition times from
7095 25:00:00 through 167:59:59. These are already supported, and this
7096 support will help with version-3 tz-format files.
7098 * manual/time.texi (TZ Variable): Modernize North America example
7099 to reflect current (i.e., 2007-and-later) daylight saving rules.
7101 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7103 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7105 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7106 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7109 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7110 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7111 * sysdeps/unix/bsd/clock.c: Likewise.
7112 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7113 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7114 * sysdeps/unix/bsd/init-posix.c: Likewise.
7115 * sysdeps/unix/bsd/poll.c: Likewise.
7116 * sysdeps/unix/bsd/ptsname.c: Likewise.
7117 * sysdeps/unix/bsd/seekdir.c: Likewise.
7118 * sysdeps/unix/bsd/setegid.c: Likewise.
7119 * sysdeps/unix/bsd/seteuid.c: Likewise.
7120 * sysdeps/unix/bsd/setgid.c: Likewise.
7121 * sysdeps/unix/bsd/setrgid.c: Likewise.
7122 * sysdeps/unix/bsd/setruid.c: Likewise.
7123 * sysdeps/unix/bsd/setsid.c: Likewise.
7124 * sysdeps/unix/bsd/setuid.c: Likewise.
7125 * sysdeps/unix/bsd/sigaction.c: Likewise.
7126 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7127 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7128 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7129 * sysdeps/unix/bsd/telldir.c: Likewise.
7130 * sysdeps/unix/bsd/times.c: Likewise.
7131 * sysdeps/unix/bsd/usleep.c: Likewise.
7133 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7134 ($(objpfx)libbsd-compat.a): Remove rule.
7136 * include/features.h (__FAVOR_BSD): Do not define.
7137 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7138 features conflicting with POSIX.
7139 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7140 (_BSD_SOURCE): Remove description of not being a subset of other
7141 feature test macros.
7142 * manual/job.texi (getpgrp): Do not document BSD version.
7143 (getpgid): Do not document by reference to BSD getpgrp.
7144 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7145 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7146 * signal/signal.h [__FAVOR_BSD]: Likewise.
7147 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7148 instead of making contents conditional on [__FAVOR_BSD].
7149 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7151 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7155 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7158 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7159 values below 2**-450, not 2**-500.
7160 * math/auto-libm-test-in: Don't allow spurious underflow from
7162 * math/auto-libm-test-out: Regenerated.
7166 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7167 values of ha and hb and sort them after adjusting subnormal
7169 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7171 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7172 values of ea and eb and sort them after adjusting subnormal
7174 * math/auto-libm-test-in: Do not expect some hypot tests of
7175 subnormals to fail. Add more hypot tests.
7176 * math/auto-libm-test-out: Regenerated.
7178 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7181 * sysdeps/sh/s_fma.c: New file.
7182 * sysdeps/sh/s_fmaf.c: New file.
7183 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7185 * sysdeps/sh/Implies: Add sh/soft-fp.
7187 2013-12-16 Roland McGrath <roland@hack.frob.com>
7189 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7190 level of indirection to members `objname', `errstring', `malloced'.
7191 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7192 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7193 it as the __longjmp argument (just pass 1 instead).
7194 (_dl_catch_error): Initialize C with argument pointers and address of
7195 volatile local ERRCODE rather than copying values out of C at return.
7197 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7199 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7200 * math/auto-libm-test-out: Regenerated.
7201 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7202 (hypot_test_data): Likewise.
7203 (pow_test_data): Likewise.
7204 (pow_tonearest_test_data): Likewise.
7205 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7207 (func_calc_desc): Add mpfr_ff_f union field.
7208 (FUNC_mpfr_ff_f): New macro.
7209 (test_functions): Add atan2, hypot and pow.
7210 (special_fill_min): New function.
7211 (special_fill_minus_min): Likewise.
7212 (special_fill_min_subnorm): Likewise.
7213 (special_fill_minus_min_subnorm): Likewise.
7214 (special_real_inputs): Add min, -min, min_subnorm and
7216 (calc_generic_results): Handle mpfr_ff_f.
7217 * sysdeps/i386/fpu/libm-test-ulps: Update.
7218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7220 2013-12-16 Will Newton <will.newton@linaro.org>
7222 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7223 (Aligned Memory Blocks): Add documentation for aligned_alloc
7224 and suggest it as an alternative to posix_memalign.
7225 (Hooks for Malloc): Document __memalign_hook is also called
7226 for aligned_alloc. (Summary of Malloc): Add summary for
7227 aligned alloc. Document __memalign_hook is also called
7230 2013-12-16 Will Newton <will.newton@linaro.org>
7232 * manual/memory.texi (Malloc Examples): Clarify default
7233 alignment documentation. Suggest posix_memalign rather
7234 than memalign or valloc.
7235 (Aligned Memory Blocks): Remove suggestion to use memalign
7236 or valloc. Remove obsolete comment about BSD.
7237 Document memalign errno values and mark the function obsolete.
7238 Document posix_memalign returned error codes. Mark valloc
7239 as obsolete. (Hooks for Malloc): __memalign_hook is also
7240 called for posix_memalign and valloc.
7241 (Summary of Malloc): Add posix_memalign to function summary.
7242 __memalign_hook is also called for posix_memalign and valloc.
7244 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7246 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7250 (sloww): Use mynumber union. Expand ternary operator into
7252 (cslow): use mynumber union.
7254 2013-12-16 Allan McRae <allan@archlinux.org>
7256 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7257 * configure: Regenerated.
7259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7262 * configure.ac: Added --enable-maintainer-mode. Check for
7263 autoconf when enabled.
7264 * configure: Regenerated.
7266 * nscd/nscd.service: New file.
7267 * nscd/nscd.tmpfiles: New file.
7269 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7272 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7273 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7274 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7275 (strstr): Add __strstr_sse2_unaligned ifunc.
7276 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7277 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7278 (strcasestr): Remove __strcasestr_sse42 ifunc.
7279 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7283 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7285 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7286 * sysdeps/sh/bits/fenv.h: ... here.
7287 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7289 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7291 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7294 hypotf multiarch implementations.
7295 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7296 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7298 multiarch hypot for PPC64.
7299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7300 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7302 multiarch hypotf for PPC64.
7304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7305 modff multiarch implementations.
7306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7309 multiarch modf for PPC64.
7310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7313 multiarch modff for PPC64.
7315 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7316 and logl multiarch implementations.
7317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7320 multiarch logb for PPC64.
7321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7324 multiarch logb for PPC64.
7325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7328 multiarch logb for PPC64.
7330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7331 isinff multiarch implementation.
7332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7336 multiarch isinf for PPC64.
7337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7340 multiarch isinff for PPC64.
7342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7343 finitef multiarch implementation.
7344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7348 multiarch finite for PPC64.
7349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7352 multiarch finitef for PPC64.
7354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7355 lrint multiarch implementation.
7356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7360 multiarch llrint for PPC64.
7361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7362 multiarch lrint for PPC64.
7364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7365 copysignf multiarch implementation.
7366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7371 multiarch copysign for PPC64.
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7373 multiarch copysignf for PPC64.
7375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7376 multiarch implementation.
7377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7385 multiarch llround for PPC64.
7386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7387 multiarch trunc for PPC64.
7388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7389 multiarch truncf for PPC64.
7391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7392 multiarch implementation.
7393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7401 multiarch llround for PPC64.
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7403 multiarch round for PPC64.
7404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7405 multiarch roundf for PPC64.
7407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7408 multiarch implementation.
7409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7417 multiarch llround for PPC64.
7418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7419 multiarch floor for PPC64.
7420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7421 multiarch floorf for PPC64.
7423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7424 multiarch implementation.
7425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7433 multiarch llround for PPC64.
7434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7435 multiarch ceil for PPC64.
7436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7437 multiarch ceilf for PPC64.
7439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7440 multiarch implementation.
7441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7448 multiarch llround for PPC64.
7449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7450 multiarch lround for PPC64.
7452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7453 multiarch implementation.
7454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7461 multiarch isnan for PPC64.
7462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7463 multiarch isnanf for PPC64.
7465 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7466 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7467 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7468 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7469 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7472 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7473 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7478 multiarch implementations.
7479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7480 (__libc_ifunc_impl_list): Likewise.
7481 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7482 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7483 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7484 multiarch stpcpy for PPC64.
7486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7487 multiarch implementations.
7488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7489 (__libc_ifunc_impl_list): Likewise.
7490 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7491 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7492 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7493 multiarch strcpy for PPC64.
7495 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7496 redefine function name.
7497 (_wordcopy_fwd_dest_aligned): Likewise.
7498 (_wordcopy_bwd_aligned): Likewise.
7499 (_wordcopy_bwd_dest_aligned): Likewise.
7500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7501 multiarch implementations.
7502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7503 (__libc_ifunc_impl_list): Likewise.
7504 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7505 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7508 multiarch wcscpy for PPC64.
7510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7511 multiarch implementations.
7512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7513 (__libc_ifunc_impl_list): Likewise.
7514 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7515 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7516 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7517 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7518 multiarch wcscpy for PPC64.
7520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7521 multiarch implementations.
7522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7523 (__libc_ifunc_impl_list): Likewise.
7524 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7525 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7526 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7527 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7528 multiarch wcsrchr for PPC64.
7530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7531 multiarch implementations.
7532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7533 (__libc_ifunc_impl_list): Likewise.
7534 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7535 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7536 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7537 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7538 multiarch wcschr for PPC64.
7540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7541 multiarch implementations.
7542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7543 (__libc_ifunc_impl_list): Likewise.
7544 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7545 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7546 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7547 multiarch strchrnul for PPC64.
7549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7552 (__libc_ifunc_impl_list): Likewise.
7553 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7554 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7555 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7556 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7562 (__libc_ifunc_impl_list): Likewise.
7563 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7564 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7566 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7570 multiarch implementations.
7571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7572 (__libc_ifunc_impl_list): Likewise.
7573 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7574 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7575 strncasecmp for PPC64.
7576 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7577 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7578 multiarch strncasecmp_l for PPC64.
7580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7581 multiarch implementations.
7582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7583 (__libc_ifunc_impl_list): Likewise.
7584 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7585 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7586 multiarch strcasecmp for PPC64.
7587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7589 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7590 multiarch strcasecmp_l for PPC64.
7592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7595 (__libc_ifunc_impl_list): Likewise.
7596 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7597 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7598 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7604 (__libc_ifunc_impl_list): Likewise.
7605 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7606 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7607 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7613 (__libc_ifunc_impl_list): Likewise.
7614 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7615 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7617 rawmemrchr for PPC64.
7619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7622 (__libc_ifunc_impl_list): Likewise.
7623 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7624 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7625 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7631 (__libc_ifunc_impl_list): Likewise.
7632 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7633 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7634 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7640 (__libc_ifunc_impl_list): Likewise.
7641 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7642 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7643 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7646 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7647 avoid cretion of __bzero symbol.
7648 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7650 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7652 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7655 multiarch implementations.
7656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7657 (__libc_ifunc_impl_list): Likewise.
7658 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7659 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7660 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7661 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7663 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7664 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7665 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7666 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7667 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7669 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7671 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7675 (__libc_ifunc_impl_list): Likewise.
7676 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7679 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7683 multiarch for POWER/PPC64.
7684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7685 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7686 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7687 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7692 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7695 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7696 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7697 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7698 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7699 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7700 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7701 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7702 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7703 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7704 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7705 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7706 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7707 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7708 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7709 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7718 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7720 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7722 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7724 * benchtests/Makefile (bench): Add exp2 and log2.
7725 (LDLIBS-bench-exp2): Add -lm.
7726 (LDLIBS-bench-log2): Likewise.
7727 * benchtests/exp2-inputs: New inputs file.
7728 * benchtests/log2-inputs: New inputs file.
7729 * benchtests/log-inputs: Add new inputs.
7730 * benchtests/tan-inputs: Likewise.
7732 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7734 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7736 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7737 (csloww2): ... from here.
7739 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7740 instead of structures.
7741 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7742 (POLYNOMIAL): Likewise.
7743 (TAYLOR_SLOW): Likewise.
7751 (bsloww1): Likewise.
7752 (bsloww2): Likewise.
7755 (csloww1): Likewise.
7756 (csloww2): Likewise.
7758 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7760 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7761 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7762 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7763 * malloc/hooks.c (realloc_check): Likewise.
7765 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7766 * malloc/arena.c: Remove PER_THREAD conditional.
7767 [!PER_THREAD]: Remove code.
7768 (ptmalloc_unlock_all2): Likewise.
7769 (ptmalloc_init): Likewise.
7770 (_int_new_arena): Likewise.
7771 (arena_get2): Likewise.
7772 * malloc/hooks.c (__malloc_get_state): Likewise.
7773 (__malloc_set_state): Likewise.
7774 * malloc/malloc.c: Likewise.
7775 (struct malloc_state): Likewise.
7776 (struct malloc_par): Likewise.
7777 (__libc_realloc): Likewise.
7778 (__libc_mallopt): Likewise.
7780 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7782 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7784 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7786 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7787 macro to a function. Check for zero perturb_byte.
7788 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7790 * malloc/malloc.c: (force_reg): Remove.
7791 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7792 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7793 force_reg by atomic_forced_read.
7794 * malloc/arena.c (ptmalloc_init): Likewise.
7795 * malloc/hooks.c (top_check): Likewise.
7797 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7801 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7805 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7807 * math/auto-libm-test-in: Add tests of lgamma.
7808 * math/auto-libm-test-out: Regenerated.
7809 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7810 (M_LOG_2_SQRT_PIl): Likewise.
7811 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7812 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7814 (func_calc_desc): Add mpfr_f_f1 union field.
7823 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7824 (test_functions): Add lgamma.
7825 (calc_generic_results): Handle mpfr_f_f1.
7826 * sysdeps/i386/fpu/libm-test-ulps: Update.
7827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7829 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7831 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7832 __mpn_add_n for PowerPC64/POWER7.
7833 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7834 __mpn_sub_n for PowerPC64/POWER7.
7836 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7837 __mpn_addmul_1 for PowerPC64.
7838 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7839 __mpn_submul_1 for PowerPC64.
7840 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7842 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7845 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7848 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7850 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7852 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7854 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7855 add multiarch folders.
7856 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7857 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7858 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7859 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7860 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7861 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7862 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7863 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7864 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7865 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7866 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7875 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7881 multiarch __ieee754_hypot for PowerPC32.
7882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7887 multiarch __ieee754_hypotf for PowerPC32.
7889 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7890 long_double_symbol only if __logbl is defined.
7891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7892 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7894 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7896 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7897 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7898 path for implementation.
7899 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7900 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7902 logb, and logbl multiarch implementations for PowerPC32.
7903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7908 multiarch logb for PowerPC32.
7909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7914 multiarch logbf for PowerPC32.
7915 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7919 multiarch logbl implementation for PowerPC32.
7921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7922 and modff multiarch implementations.
7923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7928 multiarch modf for PowerPC32.
7929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7934 multiarch modff for PowerPC32.
7936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7937 and lrintf multiarch implementations.
7938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7943 multiarch lrint for PowerPC32.
7944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7945 file: multiarch lrintf for PowerPC32.
7947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7948 and lroundf multiarch implementations.
7949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7956 multiarch lround for PowerPC32.
7957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7958 file: multiarch lroundf for PowerPC32.
7960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7961 copysign and copysignf multiarch implementations.
7962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7967 file: multiarch copysign for PowerPC32.
7968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7969 file: multiarch copysignf for PowerPC32.
7971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7972 and truncf multiarch implementations.
7973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7978 multiarch trunc for PowerPC32.
7979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7984 multiarch truncf for PowerPC32.
7986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7987 and roundf multiarch implementations.
7988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7993 multiarch round for PowerPC32.
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7999 multiarch roundf for PowerPC32.
8001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8002 and floorf multiarch implementations.
8003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8008 multiarch floor for PowerPC32.
8009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8014 multiarch floorf for PowerPC32.
8016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8017 and ceilf multiarch implementations.
8018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8023 multiarch ceil for PowerPC32.
8024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8029 multiarch ceilf for PowerPC32.
8031 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8033 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8036 and finitef multiarch implementations.
8037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8042 multiarch finite for PowerPC32.
8043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8046 file: multiarch finitef for PowerPC32.
8048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8049 and isinff multiarch implementations.
8050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8055 multiarch isinf for PowerPC32.
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8059 multiarch isinff for PowerPC32.
8061 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8062 alias when __isnan is defined.
8063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8064 and isnanf multiarch implementations.
8065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8074 multiarch isnan for PowerPC32.
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8080 multiarch isnanf for PowerPC32.
8082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8083 and sqrtf multiarch implementations.
8084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8089 multiarch sqrt for PowerPC32.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8095 multiarch sqrtf for PowerPC32.
8097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8098 and llroundf multiarch implementations.
8099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8106 file: multiarch llround for PowerPC32.
8107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8108 file: multiarch llroundf for PowerPC32.
8110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8111 multiarch PowerPC32 fpu implementations.
8112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8117 multiarch llrint for PowerPC32.
8118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8127 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8129 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8131 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8133 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8134 multiarch wordcopy for PPC32.
8135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8138 (__libc_ifunc_impl_list): Likewise.
8139 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8140 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8141 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8142 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8143 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8144 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8146 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8154 multiarch wcscpy for PPC32.
8155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8158 (__libc_ifunc_impl_list): Likewise.
8159 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8160 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8161 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8162 sysdeps/powerpc/power6/wcscpy.c.
8164 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8172 multiarch wcsrchr for PPC32.
8173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8176 (__libc_ifunc_impl_list): Likewise.
8177 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8178 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8179 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8180 sysdeps/powerpc/power6/wcsrchr.c.
8182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8188 multiarch wcschr for PPc32.
8189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8192 (__libc_ifunc_impl_list): Likewise.
8193 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8194 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8195 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8196 sysdeps/powerpc/power6/wcschr.c.
8198 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8199 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8202 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8203 file: multiarch strchr for PPC32.
8204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8207 (__libc_ifunc_impl_list): Likewise.
8209 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8211 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8213 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8215 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8216 multiarch strchrnul for PPC32.
8217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8220 (__libc_ifunc_impl_list): Likewise.
8222 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8224 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8225 multiarch strncasecmp for PPC32.
8226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8229 multiarch strncasecmp_l for PPC32.
8230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8231 strncasecmp multiarch objects.
8232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8233 (__libc_ifunc_impl_list): Likewise.
8235 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8237 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8238 multiarch strncasecmp for PPC32.
8239 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8241 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8242 multiarch strcasecmp_l for PPC32.
8243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8246 (__libc_ifunc_impl_list): Likewise.
8248 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8250 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8252 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8253 multiarch strncmp for PPC32.
8254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8257 (__libc_ifunc_impl_list): Likewise.
8259 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8260 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8263 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8267 (__libc_ifunc_impl_list): Likewise.
8269 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8271 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8277 (__libc_ifunc_impl_list): Likewise.
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8281 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8283 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8284 multiarch rawmemchr for PPC32.
8285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8288 (__libc_ifunc_impl_list): Likewise.
8290 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8292 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8294 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8295 file: memrchr multiarch for PPC32.
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8299 (__libc_ifunc_impl_list): Likewise.
8301 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8302 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8305 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8306 multiarch memchr for PPC32.
8307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8310 (__libc_ifunc_impl_list): Likewise.
8312 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8313 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8315 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8317 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8318 file: multiarch mempcpy for PPC32.
8319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8322 (__libc_ifunc_impl_list): Likewise.
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8325 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8326 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8328 multiarch bzero for PPC32.
8329 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8331 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8333 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8334 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8335 file: multiarch memset for PPC32.
8336 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8338 memset multiarch objects.
8339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8340 (__libc_ifunc_impl_list): Likewise.
8342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8347 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8351 (__libc_ifunc_impl_list): Likewise.
8353 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8355 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8362 multiarch memcpy for PPC32.
8363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8366 (__libc_ifunc_impl_list): Likewise.
8368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8369 support multiarch for POWER/PPC32.
8370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8372 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8374 Implies file to make multiarch folder appers before the fpu and
8375 default folder for power4 configuration.
8377 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8379 * scripts/bench.pl: Append volatile keyword to type.
8381 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8383 * sysdeps/sh/sotruss-lib.c: New file.
8384 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8386 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8390 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8393 * math/w_tgamma.c: Include <errno.h>.
8394 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8395 * math/w_tgammaf.c: Include <errno.h>.
8396 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8397 * math/w_tgammal.c: Include <errno.h>.
8398 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8399 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8400 underflow. Add more tgamma tests.
8401 * math/auto-libm-test-out: Regenerated.
8402 * sysdeps/i386/fpu/libm-test-ulps: Update.
8403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8405 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8406 sin, sinh, tan, tanh, tgamma, y0 and y1.
8407 * math/auto-libm-test-out: Regenerated.
8408 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8409 (TEST_COND_x86): Likewise.
8410 (M_E2l): Remove macro.
8412 (M_2_SQRT_PIl): Likewise.
8413 (M_SQRT_PIl): Likewise.
8414 (M_1_DIV_El): Likewise.
8415 (log_test_data): Use AUTO_TESTS_f_f.
8416 (log10_test_data): Likewise.
8417 (log1p_test_data): Likewise.
8418 (log2_test_data): Likewise.
8419 (sin_test_data): Likewise.
8420 (sin_tonearest_test_data): Likewise.
8421 (sin_towardzero_test_data): Likewise.
8422 (sin_downward_test_data): Likewise.
8423 (sin_upward_test_data): Likewise.
8424 (sinh_test_data): Likewise.
8425 (sinh_tonearest_test_data): Likewise.
8426 (sinh_towardzero_test_data): Likewise.
8427 (sinh_downward_test_data): Likewise.
8428 (sinh_upward_test_data): Likewise.
8429 (tan_test_data): Likewise.
8430 (tan_tonearest_test_data): Likewise.
8431 (tan_towardzero_test_data): Likewise.
8432 (tan_downward_test_data): Likewise.
8433 (tan_upward_test_data): Likewise.
8434 (tanh_test_data): Likewise.
8435 (tgamma_test_data): Likewise.
8436 (y0_test_data): Likewise.
8437 (y1_test_data): Likewise.
8438 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8439 (special_real_inputs): Add pi/4.
8440 * sysdeps/i386/fpu/libm-test-ulps: Update.
8441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8443 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8445 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8446 "longjmp_target" static probes.
8447 (__longjmp): Rename to __longjmp_symbol.
8448 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8449 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8450 on which longjmp to generate.
8451 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8452 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8454 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8455 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8456 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8457 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8458 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8459 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8461 __longjmp_symbol based on which __longjmp to generate.
8462 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8464 (setjmp): Rename to setjmp_symbol.
8465 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8466 (_setjmp): Rename to _setjmp_symbol.
8467 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8468 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8469 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8470 which setjmp to generate.
8471 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8472 "longjmp_target" static probes.
8474 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8476 * benchtests/README: Add note about output arguments.
8477 * benchtests/bench-sincos.c: Remove file.
8478 * benchtests/sincos-inputs: New file.
8479 * scripts/bench.pl: Identify output arguments and define
8480 static variables for them.
8482 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8485 * Makefile (INSTALL): Add install-plain.texi as the primary
8487 * manual/install-plain.texi: New file.
8488 * manual/install.texi: Include node directive only for
8489 non-plaintext output.
8491 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8493 * stdlib/longlong.h: Update from GCC.
8497 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8498 * math/w_j0f.c (y0f): Likewise.
8499 * math/w_j0l.c (__y0l): Likewise.
8500 * math/w_j1.c (y1): Likewise.
8501 * math/w_j1f.c (y1f): Likewise.
8502 * math/w_j1l.c (__y1l): Likewise
8503 * math/w_jn.c (yn): Likewise.
8504 * math/w_jnf.c (ynf): Likewise.
8505 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8506 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8507 value for Bessel function domain errors outside _SVID_ mode.
8508 Adjust sign of return value for yn (negative integer, 0).
8509 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8510 by zero in return for negative x and set sign appropriately for
8512 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8513 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8514 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8515 expectations in error cases.
8516 (y1_test_data): Likewise.
8517 (yn_test_data): Likewise.
8518 * sysdeps/i386/fpu/libm-test-ulps: Update.
8519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8521 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8523 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8524 "64" to "64-v1". Add "64-v2".
8525 (abi-64-options): Rename to ...
8526 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8527 (abi-64-condition): Rename to ...
8528 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8529 (abi-64-ld-soname): Rename to ...
8530 (abi-64-v1-ld-soname): ... this.
8531 (abi-64-v2-options): Define.
8532 (abi-64-v2-condition): Likewise.
8533 (abi-64-v2-ld-soname): Likewise.
8534 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8535 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8540 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8541 Alan Modra <amodra@gmail.com>
8543 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8544 New versions for use with the ELFv2 ABI.
8545 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8546 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8548 (struct La_ppc64v2_retval): Likewise.
8549 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8550 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8551 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8552 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8553 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8555 Do not save or restore CR.
8556 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8557 (_dl_profile_resolve): Do no save or restore CR. Support extended
8558 return values for ELFv2 ABI. Fix location of FPR return registers.
8559 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8560 updated values for _CALL_ELF == 2.
8561 (La_regs, La_retval, int_retval): Likewise.
8563 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8565 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8566 (FRAME_MIN_SIZE_PARM): Likewise.
8567 (FRAME_BACKCHAIN): Likewise.
8568 (FRAME_CR_SAVE): Likewise.
8569 (FRAME_LR_SAVE): Likewise.
8570 (FRAME_TOC_SAVE): Likewise.
8571 (FRAME_PARM_SAVE): Likewise.
8572 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8573 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8574 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8575 (call_mcount_parm_offset): New macro.
8576 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8577 (PROF): Use symbolic stack frame offsets.
8578 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8579 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8580 Redefine in terms of FRAME_MIN_SIZE.
8581 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8582 (_dl_profile_resolve): Likewise. Update comment.
8583 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8584 symbols stack frame offsets.
8585 (__sigsetjmp): Likewise.
8586 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8587 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8588 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8589 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8592 (FRAME_BACKCHAIN): Remove.
8593 (FRAME_CR_SAVE): Likewise.
8594 (FRAME_LR_SAVE): Likewise.
8595 (FRAME_COMPILER_DW): Likewise.
8596 (FRAME_LINKER_DW): Likewise.
8597 (FRAME_TOC_SAVE): Likewise.
8598 (FRAME_PARM_SAVE): Likewise.
8599 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8600 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8601 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8603 (CHECK_SP): Use symbolic stack frame offsets.
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8605 zone" instead of caller's parameter save area for temp storage.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8607 Likewise. Also, use symbolic stack frame offsets.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8609 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8610 our own stack frame instead of the caller's.
8611 (__socket): Use symbolic stack frame offsets.
8613 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8614 Alan Modra <amodra@gmail.com>
8616 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8618 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8619 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8620 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8622 (elf_machine_fixup_plt): Call it.
8623 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8625 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8626 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8627 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8628 r2 before calling target.
8630 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8631 Alan Modra <amodra@gmail.com>
8633 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8634 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8635 versions of macros to support ELFv2 ABI.
8636 (LOCALENTRY): New macro.
8637 (ENTRY, EALIGN): Use it.
8638 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8639 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8640 fall through into ENTRY entry point.
8641 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8642 Only define if _CALL_ELF != 2.
8644 (elf_machine_matches_host): Verify ABI version matches.
8645 (RTLD_START): Use LOCALENTRY.
8646 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8647 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8648 (PLT_ENTRY_WORDS): New macro.
8649 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8650 (elf_machine_runtime_setup): Support ELFv2 ABI.
8651 (elf_machine_fixup_plt): Likewise.
8652 (elf_machine_plt_conflict): Likewise.
8653 (resolve_ifunc): Likewise.
8654 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8655 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8658 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8660 (makecontext): Support ELFv2 ABI.
8661 * elf/elf.h (EF_PPC64_ABI): Define.
8663 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8665 * sysdeps/powerpc/powerpc64/sysdep.h
8666 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8667 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8668 (ENTRY) [ASSEMBLER]: ... but instead here ...
8669 (EALIGN) [ASSEMBLER]: ... and here.
8670 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8671 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8672 (ENTRY_2) [!ASSEMBLER]: Use it.
8673 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8674 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8675 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8676 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8677 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8679 Use PPC64_LOAD_FUNCPTR.
8681 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8683 2013-12-04 Alan Modra <amodra@gmail.com>
8685 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8686 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8687 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8688 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8691 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8692 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8693 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8694 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8695 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8697 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8700 (__makecontext): Fix incorrect CFI when backtracing out of
8701 context created via makecontext.
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8703 (__setcontext): Fix incorrect CFI during switch to new context.
8704 (__novec_setcontext): Likewise.
8706 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8709 * time/strptime_l.c (__strptime_internal): Allow modifiers
8711 * time/tst-strptime.c (day_tests): Add testcase.
8713 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8715 * scripts/bench.pl: Skip over blank lines.
8717 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8720 * manual/time.texi (Calendar Time): Clarify what timezone functions
8723 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8727 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8729 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8731 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8732 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8733 * debug/memset_chk.c (__memset_chk): Likewise.
8734 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8735 * debug/strncpy_chk.c: Likewise.
8737 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8741 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8742 (__ieee754_exp): For possibly underflowing results, check size of
8743 result and force underflow exception if required.
8744 * math/auto-libm-test-in: Add more tests of exp.
8745 * math/auto-libm-test-out: Regenerated.
8746 * sysdeps/i386/fpu/libm-test-ulps: Update.
8747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8750 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8751 * math/w_exp2f.c (__exp2f): Likewise.
8752 * math/w_exp2l.c (__exp2l): Likewise.
8753 * math/auto-libm-test-in: Do not allow missing errno on exp2
8755 * math/auto-libm-test-out: Regenerated.
8757 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8760 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8761 handle filename validation.
8762 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8765 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8768 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8769 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8770 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8772 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8773 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8774 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8776 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8777 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8778 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8779 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8780 Add more erfc tests.
8781 * math/auto-libm-test-out: Regenerated.
8782 * sysdeps/i386/fpu/libm-test-ulps: Update.
8783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8785 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8786 exp2, expm1, j0 and j1.
8787 * math/auto-libm-test-out: Regenerated.
8788 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8789 (erfc_test_data): Likewise.
8790 (exp_test_data): Likewise.
8791 (exp_tonearest_test_data): Likewise.
8792 (exp_towardzero_test_data): Likewise.
8793 (exp_downward_test_data): Likewise.
8794 (exp_upward_test_data): Likewise.
8795 (exp10_test_data): Likewise.
8796 (exp2_test_data): Likewise.
8797 (expm1_test_data): Likewise.
8798 (j0_test_data): Likewise.
8799 (j1_test_data): Likewise.
8800 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8801 (input_flag_type): Add flag_xfail_rounding.
8802 (input_flags): Add xfail-rounding.
8803 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8804 (output_for_one_input_case): Handle flag_xfail_rounding.
8805 * sysdeps/i386/fpu/libm-test-ulps: Update.
8806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8811 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8814 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8817 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8818 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8819 (STAP_PROBE0): New macro.
8820 (STAP_PROBE1): Likewise.
8821 (STAP_PROBE2): Likewise.
8822 (STAP_PROBE3): Likewise.
8823 (STAP_PROBE4): Likewise.
8825 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8827 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8829 2013-12-02 Steve Ellcey <sellcey@mips.com>
8831 * benchtests/Makefile (bench): Add sqrt.
8832 (LDLIBS-bench-sqrt): New.
8833 * benchtests/sqrt-input: New.
8835 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8837 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8838 (GAIH_EAI): Likewise.
8839 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8840 (gaih_inet): Likewise.
8841 (getaddrinfo): Don't use GAIH_EAI.
8843 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8844 (struct gaih): Remove definition.
8846 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8848 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8849 Use HERRNOP directly.
8851 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8855 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8857 * math/gen-auto-libm-tests.c (test_functions): Add more
8858 single-argument functions.
8859 (special_fill_pi_2): New function.
8860 (special_fill_minus_pi_2): Likewise.
8861 (special_fill_pi_6): Likewise.
8862 (special_fill_minus_pi_6): Likewise.
8863 (special_fill_pi_3): Likewise.
8864 (special_fill_2pi_3): Likewise.
8865 (special_fill_e): Likewise.
8866 (special_fill_1_e): Likewise.
8867 (special_fill_e_minus_1): Likewise.
8868 (special_real_inputs): Add more special inputs.
8869 (output_for_one_input_case): Do not require ERANGE on underflow to
8870 zero if round-to-nearest result does not underflow to zero, unless
8871 exact results required.
8872 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8873 atan, atanh, cbrt, cos and cosh.
8874 * math/auto-libm-test-out: Regenerated.
8875 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8876 (acos_tonearest_test_data): Likewise.
8877 (acos_towardzero_test_data): Likewise.
8878 (acos_downward_test_data): Likewise.
8879 (acos_upward_test_data): Likewise.
8880 (acosh_test_data): Likewise.
8881 (asin_test_data): Likewise.
8882 (asin_tonearest_test_data): Likewise.
8883 (asin_towardzero_test_data): Likewise.
8884 (asin_upward_test_data): Likewise.
8885 (asinh_test_data): Likewise.
8886 (atan_test_data): Likewise.
8887 (atanh_test_data): Likewise.
8888 (cbrt_test_data): Likewise.
8889 (cos_test_data): Likewise.
8890 (cos_tonearest_test_data): Likewise.
8891 (cos_towardzero_test_data): Likewise.
8892 (cos_downward_test_data): Likewise.
8893 (cos_upward_test_data): Likewise.
8894 (cosh_test_data): Likewise.
8895 (cosh_tonearest_test_data): Likewise.
8896 (cosh_towardzero_test_data): Likewise.
8897 (cosh_downward_test_data): Likewise.
8898 (cosh_upward_test_data): Likewise.
8899 * sysdeps/i386/fpu/libm-test-ulps: Update.
8900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8902 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8905 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8906 * math/w_exp10f.c (__exp10f): Likewise.
8907 * math/w_exp10l.c (__exp10l): Likewise.
8908 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8909 errno settings in existing tests.
8912 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8913 precision control set to double precision.
8914 * sysdeps/i386/fpu/w_sqrt.c: New file.
8915 * math/auto-libm-test-in: Add more tests.
8916 * math/auto-libm-test-out: Update.
8918 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8919 (sqrt_test_tonearest): New function.
8920 (sqrt_towardzero_test_data): New variable.
8921 (sqrt_test_towardzero): New function.
8922 (sqrt_downward_test_data): New variable.
8923 (sqrt_test_downward): New function.
8924 (sqrt_upward_test_data): New variable.
8925 (sqrt_test_upward): New function.
8926 (main): Call the new functions.
8928 * math/gen-auto-libm-tests.c: New file.
8929 * math/auto-libm-test-in: Likewise.
8930 * math/auto-libm-test-out: New generated file.
8931 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8933 (%beautify): Add generated representations of zero.
8934 (top level): Set $auto_input and call parse_auto_input.
8935 (beautify): Remove trailing "f" from hex float constants.
8936 (parse_args): Handle XFAIL_TEST.
8937 (convert_condition): New function.
8938 (or_value): Likewise.
8939 (or_cond_value): Likewise.
8940 (generate_testfile): Handle AUTO_TESTS_* lines.
8941 (parse_auto_input): New function.
8942 * math/libm-test.inc (XFAIL_TEST): New macro.
8943 (ERRNO_UNCHANGED): Update value.
8944 (ERRNO_EDOM): Likewise.
8945 (ERRNO_ERANGE): Likewise.
8946 (IGNORE_RESULT): Likewise.
8947 (TEST_COND_flt_32): New macro.
8948 (TEST_COND_dbl_64): Likewise.
8949 (TEST_COND_ldbl_96_intel): Likewise.
8950 (TEST_COND_ldbl_96_m68k): Likewise.
8951 (TEST_COND_ldbl_128): Likewise.
8952 (TEST_COND_ldbl_128ibm): Likewise.
8953 (TEST_COND_long32): Likewise.
8954 (TEST_COND_long64): Likewise.
8955 (TEST_COND_before_rounding): Likewise.
8956 (TEST_COND_after_rounding): Likewise.
8957 (enable_test): Handle XFAIL_TEST flag.
8958 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8959 with finite results.
8960 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8963 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8964 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8967 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8968 __tls_get_addr_internal instead of __tls_get_offset in order to
8969 avoid GOT pointer dependency. Make rtld export
8970 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8971 __tls_get_addr since we are a __tls_get_offset platform.
8972 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8973 GOT pointer being set up before.
8974 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8976 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8978 * manual/math.texi (Errors in Math Functions): Document accuracy
8982 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8983 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8986 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8988 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8999 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9000 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9001 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9002 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9003 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9005 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9007 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9009 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9010 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9011 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9012 atomic-feupdateenv and flt-rounds.
9013 * sysdeps/powerpc/nofpu/Versions (libc): Add
9014 __atomic_feholdexcept, __atomic_feclearexcept,
9015 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9016 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9017 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9018 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9019 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9024 * manual/arith.texi (FP Exceptions): Document that exceptions may
9025 not be raised when matherr is used.
9026 (Math Error Reporting): Document overflow in directed rounding
9027 modes. Document that errno may not be set when finite values are
9028 returned on overflow. Document intent to set errno on underflow
9029 only for underflow to zero.
9032 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9033 round-to-nearest then adjust result for other rounding modes.
9034 * include/fenv.h (fegetround): Use libm_hidden_proto.
9035 * math/fegetround.c (fegetround): Use libm_hidden_def.
9036 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9037 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9038 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9039 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9041 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9042 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9043 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9044 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9046 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9049 * nss/Versions (libnss_files): Add
9050 _nss_files_gethostbyname3_r.
9051 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9053 (HOST_DB_LOOKUP): Remove macro.
9054 (_nss_files_gethostbyname_r): Implement function without the
9055 HOST_DB_LOOKUP macro.
9056 (_nss_files_gethostbyname2_r): Likewise.
9058 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9060 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9062 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9064 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9065 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9068 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9070 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9071 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9072 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9073 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9074 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9075 __fe_nomask_env_priv and attribute_hidden.
9076 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9077 (libc_feupdateenv_test_ppc): Likewise.
9078 (libc_feresetround_ppc): Likewise.
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9080 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9081 compat_symbol macro.
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9083 (__fe_nomask_env): Likewise.
9084 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9086 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9088 * string/Makefile: Remove ifunc tests.
9089 * string/test-string.h: Define TEST_IFUNC.
9090 * string/test-bcopy-ifunc.c: Remove.
9091 * string/test-bzero-ifunc.c: Likewise.
9092 * string/test-memccpy-ifunc.c: Likewise.
9093 * string/test-memchr-ifunc.c: Likewise.
9094 * string/test-memcmp-ifunc.c: Likewise.
9095 * string/test-memcpy-ifunc.c: Likewise.
9096 * string/test-memmem-ifunc.c: Likewise.
9097 * string/test-memmove-ifunc.c: Likewise.
9098 * string/test-mempcpy-ifunc.c: Likewise.
9099 * string/test-memrchr-ifunc.c: Likewise.
9100 * string/test-memset-ifunc.c: Likewise.
9101 * string/test-rawmemchr-ifunc.c: Likewise.
9102 * string/test-stpcpy-ifunc.c: Likewise.
9103 * string/test-stpncpy-ifunc.c: Likewise.
9104 * string/test-strcasecmp-ifunc.c: Likewise.
9105 * string/test-strcasestr-ifunc.c: Likewise.
9106 * string/test-strcat-ifunc.c: Likewise.
9107 * string/test-strchr-ifunc.c: Likewise.
9108 * string/test-strchrnul-ifunc.c: Likewise.
9109 * string/test-strcmp-ifunc.c: Likewise.
9110 * string/test-strcpy-ifunc.c: Likewise.
9111 * string/test-strcspn-ifunc.c: Likewise.
9112 * string/test-strlen-ifunc.c: Likewise.
9113 * string/test-strncasecmp-ifunc.c: Likewise.
9114 * string/test-strncat-ifunc.c: Likewise.
9115 * string/test-strncmp-ifunc.c: Likewise.
9116 * string/test-strncpy-ifunc.c: Likewise.
9117 * string/test-strnlen-ifunc.c: Likewise.
9118 * string/test-strpbrk-ifunc.c: Likewise.
9119 * string/test-strrchr-ifunc.c: Likewise.
9120 * string/test-strspn-ifunc.c: Likewise.
9121 * string/test-strstr-ifunc.c: Likewise.
9123 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9125 * benchtests/Makefile: Remove ifunc tests.
9126 * benchtests/bench-string.h: Define TEST_IFUNC.
9127 * benchtests/bench-bcopy-ifunc.c: Remove.
9128 * benchtests/bench-bzero-ifunc.c: Likewise.
9129 * benchtests/bench-memccpy-ifunc.c: Likewise.
9130 * benchtests/bench-memchr-ifunc.c: Likewise.
9131 * benchtests/bench-memcmp-ifunc.c: Likewise.
9132 * benchtests/bench-memcpy-ifunc.c: Likewise.
9133 * benchtests/bench-memmem-ifunc.c: Likewise.
9134 * benchtests/bench-memmove-ifunc.c: Likewise.
9135 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9136 * benchtests/bench-memrchr-ifunc.c: Likewise.
9137 * benchtests/bench-memset-ifunc.c: Likewise.
9138 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9139 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9140 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9141 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9142 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9143 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9144 * benchtests/bench-strcat-ifunc.c: Likewise.
9145 * benchtests/bench-strchr-ifunc.c: Likewise.
9146 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9147 * benchtests/bench-strcmp-ifunc.c: Likewise.
9148 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9149 * benchtests/bench-strcpy-ifunc.c: Likewise.
9150 * benchtests/bench-strcspn-ifunc.c: Likewise.
9151 * benchtests/bench-strlen-ifunc.c: Likewise.
9152 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9153 * benchtests/bench-strncat-ifunc.c: Likewise.
9154 * benchtests/bench-strncmp-ifunc.c: Likewise.
9155 * benchtests/bench-strncpy-ifunc.c: Likewise.
9156 * benchtests/bench-strnlen-ifunc.c: Likewise.
9157 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9158 * benchtests/bench-strrchr-ifunc.c: Likewise.
9159 * benchtests/bench-strsep-ifunc.c: Likewise.
9160 * benchtests/bench-strspn-ifunc.c: Likewise.
9161 * benchtests/bench-strstr-ifunc.c: Likewise.
9163 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9165 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9167 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9169 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9170 * rt/aio.h: Likewise.
9171 * sysdeps/gnu/bits/utmp.h: Likewise.
9172 * sysdeps/gnu/bits/utmpx.h: Likewise.
9173 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9174 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9175 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9176 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9177 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9178 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9179 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9180 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9181 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9182 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9183 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9184 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9185 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9187 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9188 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9189 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9190 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9191 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9192 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9193 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9194 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9195 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9196 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9197 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9199 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9200 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9201 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9203 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9204 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9205 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9206 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9207 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9208 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9209 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9210 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9211 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9212 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9213 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9214 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9216 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9219 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9220 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9222 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9224 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9225 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9228 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9230 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9231 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9232 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9233 (__fesetround): Remove define.
9234 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9235 rounding and exceptions handling.
9236 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9237 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9238 (__fe_nomask_env): Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9240 __fegetround instead of fegetround.
9241 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9244 2013-11-21 Roland McGrath <roland@hack.frob.com>
9246 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9249 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9251 2013-11-21 Meador Inge <meadori@codesourcery.com>
9254 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9255 (encrypt_r): Likewise.
9256 * malloc/obstack.h (obstack_free): Likewise.
9257 * posix/unistd.h (encrypt): Likewise.
9259 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9261 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9262 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9263 DL_CALL_DT_FINI() that call the functions directly.
9264 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9265 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9266 * elf/dl-fini.c: Likewise.
9268 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9270 * malloc/hooks.c (memalign_check): Add alignment rounding.
9271 * malloc/malloc.c (_mid_memalign): New function.
9272 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9273 Implement by calling _mid_memalign.
9274 * manual/probes.texi (Memory Allocation Probes): Remove
9275 memory_valloc_retry and memory_pvalloc_retry.
9277 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9279 * locale/programs/locarchive.c (open_archive): Add const
9280 qualifier to ARCHIVEFNAME and copy default fname to
9284 * libio/tst-widetext.input: Rename Oriya to Odia.
9285 * locale/iso-639.def: Likewise.
9287 * manual/probes.texi (Mathematical Function Probes): Add
9288 documentation for sin, cos, asin and acos probes.
9289 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9290 (__sin32): Add slowasin probe.
9291 (__cos32): Add slowacos probe.
9292 (__mpsin): Add slowsin probe.
9293 (__mpcos): Add slowcos probe.
9295 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9298 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9299 thread-local __sim_exceptions_thread and global
9300 __sim_exceptions_global.
9301 (__sim_disabled_exceptions): Change to thread-local
9302 __sim_disabled_exceptions_thread and global
9303 __sim_disabled_exceptions_global.
9304 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9305 and global __sim_round_mode_global.
9306 (__simulate_exceptions): Use thread-local floating-point state and
9307 set global state from it as needed.
9308 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9309 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9310 __sim_round_mode_thread.
9311 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9312 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9313 and global __sim_exceptions_global.
9314 (__sim_disabled_exceptions): Change to thread-local
9315 __sim_disabled_exceptions_thread and global
9316 __sim_disabled_exceptions_global.
9317 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9318 and global __sim_round_mode_global.
9319 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9320 (SIM_SET_GLOBAL): Likewise.
9321 * sysdeps/powerpc/soft-fp/sfp-machine.h
9322 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9323 __sim_round_mode_thread.
9324 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9325 __sim_disabled_exceptions_thread.
9326 (__sim_exceptions): Change to __sim_exceptions_thread.
9327 (__sim_disabled_exceptions): Change to
9328 __sim_disabled_exceptions_thread.
9329 (__sim_round_mode): Change to __sim_round_mode_thread.
9330 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9331 thread-local floating-point state and set global state from it as
9333 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9334 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9335 (__sim_disabled_exceptions): Remove extern declaration.
9336 (feenableexcept): Use thread-local floating-point state and set
9337 global state from it as needed.
9338 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9340 (__sim_disabled_exceptions): Likewise.
9341 (__sim_round_mode): Likewise.
9342 (__fegetenv): Use thread-local floating-point state.
9343 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9344 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9345 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9346 floating-point state and set global state from it as needed.
9347 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9348 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9349 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9351 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9352 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9354 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9355 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9356 Use __sim_round_mode_thread.
9357 * math/test-fenv-tls.c: New file.
9358 * math/Makefile (tests): Add test-fenv-tls.
9359 ($(objpfx)test-fenv-tls): Depend on
9360 $(common-objpfx)nptl/libpthread.so.
9362 2013-11-19 Andreas Schwab <schwab@suse.de>
9364 * locale/programs/locale.c (show_info): Decode wordarray elements.
9365 * locale/categories.def (LC_MONETARY): Add element for
9366 _NL_MONETARY_CRNCYSTR.
9367 * locale/C-monetary.c (conversion_rate): New variable.
9368 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9371 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9373 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9374 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9376 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9378 * elf/Makefile (tst-auxv): New test.
9379 * elf/tst-auxv.c: New
9380 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9382 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9384 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9385 (hidden_proto): Caller changed.
9386 (hidden_tls_proto): New macro.
9387 (libc_hidden_tls_proto): Likewise.
9388 (rtld_hidden_tls_proto): Likewise.
9389 (libm_hidden_tls_proto): Likewise.
9390 (libresolv_hidden_tls_proto): Likewise.
9391 (librt_hidden_tls_proto): Likewise.
9392 (libdl_hidden_tls_proto): Likewise.
9393 (libnss_files_hidden_tls_proto): Likewise.
9394 (libnsl_hidden_tls_proto): Likewise.
9395 (libnss_nisplus_hidden_tls_proto): Likewise.
9396 (libutil_hidden_tls_proto): Likewise.
9398 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9401 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9402 (decompose_rpath): Defer expansion to fillin_rpath.
9403 (_dl_init_paths): Pass linkmap to fillin_rpath.
9405 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9407 * benchtests/Makefile: Add strsep.
9408 * benchtests/bench-strsep.c: New file: strsep benchtest.
9409 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9411 2013-11-18 Andreas Schwab <schwab@suse.de>
9413 * locale/programs/locale.c (show_info) [case byte]: Check for
9414 '\377' instead of '\177'.
9415 * locale/C-monetary.c (not_available): Always use "\377".
9416 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9417 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9418 detect unavailable sign_posn locale elements.
9419 * locale/localeconv.c (__localeconv): For grouping and
9420 mon_grouping handle "\177" and "\377" like no grouping.
9421 (INT_ELEM): New macro. Use it to set all numeric members.
9422 * locale/programs/ld-monetary.c (monetary_read)
9423 <tok_mon_grouping>: Normalize single -1 to the empty string.
9424 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9427 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9430 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9431 when we match (nil).
9432 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9434 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9436 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9437 (NO_TEST_INLINE): Update value.
9438 (ERRNO_UNCHANGED): Likewise.
9439 (ERRNO_EDOM): Likewise.
9440 (ERRNO_ERANGE): Likewise.
9441 (IGNORE_RESULT): Likewise.
9442 (check_float_internal): Check signs of NaN results if
9444 (check_complex): Pass TEST_NAN_SIGN flag through to second
9445 check_float_internal call.
9446 (copysign_test_data): Add tests with quiet NaNs as second
9447 argument. Use TEST_NAN_SIGN.
9448 (fabs_test_data): Add test of negative quiet NaN argument. Use
9450 (signbit_test_data): Add tests of quiet NaN argument.
9451 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9453 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9455 (parse_args): Handle function results specified as IGNORE.
9456 * math/libm-test.inc (IGNORE_RESULT): New macro.
9457 (check_float_internal): Do not check numerical result if flag
9459 (check_complex): Pass through IGNORE_RESULT to second
9460 check_float_internal call.
9461 (check_int): Do not check numerical result if flag IGNORE_RESULT
9463 (check_long): Likewise.
9464 (check_bool): Likewise.
9465 (check_longlong): Likewise.
9466 (lrint_test_data): Add tests of infinite and NaN arguments.
9467 (lrint_tonearest_test_data): Likewise.
9468 (lrint_towardzero_test_data): Likewise.
9469 (lrint_downward_test_data): Likewise.
9470 (lrint_upward_test_data): Likewise.
9471 (llrint_test_data): Likewise.
9472 (llrint_tonearest_test_data): Likewise.
9473 (llrint_towardzero_test_data): Likewise.
9474 (llrint_downward_test_data): Likewise.
9475 (llrint_upward_test_data): Likewise.
9476 (lround_test_data): Likewise.
9477 (llround_test_data): Likewise.
9479 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9480 (ERRNO_UNCHANGED): Update value.
9481 (ERRNO_EDOM): Likewise.
9482 (ERRNO_ERANGE): Likewise.
9483 (NO_TEST_INLINE_FLOAT): New macro.
9484 (NO_TEST_INLINE_DOUBLE): Likewise.
9485 (enable_test): New function.
9486 (RUN_TEST_f_f): Check enable_test before running test.
9487 (RUN_TEST_2_f): Likewise.
9488 (RUN_TEST_fff_f): Likewise.
9489 (RUN_TEST_c_f): Likewise.
9490 (RUN_TEST_f_f1): Likewise.
9491 (RUN_TEST_fF_f1): Likewise.
9492 (RUN_TEST_fI_f1): Likewise.
9493 (RUN_TEST_ffI_f1): Likewise.
9494 (RUN_TEST_c_c): Likewise.
9495 (RUN_TEST_cc_c): Likewise.
9496 (RUN_TEST_f_i): Likewise.
9497 (RUN_TEST_f_i_tg): Likewise.
9498 (RUN_TEST_ff_i_tg): Likewise.
9499 (RUN_TEST_f_b): Likewise.
9500 (RUN_TEST_f_b_tg): Likewise.
9501 (RUN_TEST_f_l): Likewise.
9502 (RUN_TEST_f_L): Likewise.
9503 (RUN_TEST_fFF_11): Likewise.
9504 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9506 (cosh_test_data): Likewise.
9507 (exp_test_data): Likewise.
9508 (expm1_test_data): Likewise.
9509 (hypot_test_data): Likewise.
9510 (pow_test_data): Likewise.
9511 (sinh_test_data): Likewise.
9512 (tanh_test_data): Likewise.
9513 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9516 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9517 tests with quiet NaN input and output.
9518 (acosh_test_data): Likewise.
9519 (asin_test_data): Likewise.
9520 (asinh_test_data): Likewise.
9521 (atan_test_data): Likewise.
9522 (atanh_test_data): Likewise.
9523 (atan2_test_data): Likewise.
9524 (cbrt_test_data): Likewise.
9525 (cos_test_data): Likewise.
9526 (cosh_test_data): Likewise.
9527 (erf_test_data): Likewise.
9528 (erfc_test_data): Likewise.
9529 (exp_test_data): Likewise.
9530 (exp10_test_data): Likewise.
9531 (exp2_test_data): Likewise.
9532 (expm1_test_data): Likewise.
9533 (hypot_test_data): Likewise.
9534 (j0_test_data): Likewise.
9535 (j1_test_data): Likewise.
9536 (jn_test_data): Likewise.
9537 (lgamma_test_data): Likewise.
9538 (log_test_data): Likewise.
9539 (log10_test_data): Likewise.
9540 (log1p_test_data): Likewise.
9541 (log2_test_data): Likewise.
9542 (pow_test_data): Likewise.
9543 (scalb_test_data): Likewise.
9544 (sin_test_data): Likewise.
9545 (sincos_test_data): Likewise.
9546 (sinh_test_data): Likewise.
9547 (tan_test_data): Likewise.
9548 (tanh_test_data): Likewise.
9549 (tgamma_test_data): Likewise.
9550 (y0_test_data): Likewise.
9551 (y1_test_data): Likewise.
9552 (yn_test_data): Likewise.
9555 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9556 argument being NaN and avoid computations with second argument in
9558 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9559 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9560 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9562 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9564 * locale/iso-639.def: Add Chitwani Tharu (the).
9566 2013-11-14 Andreas Schwab <schwab@suse.de>
9568 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9569 word instead of empty string.
9571 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9574 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9576 (__fe_nomask_env): Likewise.
9578 2013-11-13 Steve Ellcey <sellcey@mips.com>
9580 * benchtests/bench-timing.h: Include time.h.
9582 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9585 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9587 * sysdeps/unix/sysv/linux/configure: Regenerated.
9589 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9592 * stdlib/strtod_l.c (round_and_return): Do not consider
9593 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9594 exponent one less than half the least subnormal exponent.
9595 * stdlib/test-strtod-round-data: Add more tests.
9596 * stdlib/tst-strtod-round.c (tests): Regenerated.
9598 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9601 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9602 (__fe_mask_env): Likewise.
9603 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9604 libm_hidden_proto and add function prototype.
9605 (__fe_mask_env): Add function prototype.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9607 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9609 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9611 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9613 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9615 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9616 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9618 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9620 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9621 of htab_find_slot().
9623 2013-11-11 David S. Miller <davem@davemloft.net>
9626 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9627 symbol in the non-vis3 case in static builds.
9628 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9629 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9630 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9631 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9633 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9636 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9639 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9641 * benchtests/Makefile: Add bench-strtod.
9642 * benchtests/bench-strtod.c: New file: strtod benchtest
9644 2013-11-11 Andreas Schwab <schwab@suse.de>
9647 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9648 terminating NUL in key length.
9650 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9652 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9653 Add artificial ODP entry for vDSO symbol for PPC64.
9654 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9655 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9657 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9660 * nss/getent.c (services_keys): Recognize services starting with digit.
9662 2013-11-06 David S. Miller <davem@davemloft.net>
9665 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9666 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9668 2013-11-06 Will Newton <will.newton@linaro.org>
9670 * manual/memory.texi (Malloc Examples): Remove register
9671 keyword from examples.
9673 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9675 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9677 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9680 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9681 depending on [__GCC_IEC_559 > 0].
9682 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9683 depending on [__GCC_IEC_559_COMPLEX > 0].
9685 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9687 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9690 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9692 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9694 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9697 * malloc/malloc (malloc_info): Do not handle first bin as
9700 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9702 * locale/iso-639.def: Add Central Nahuatl (nhn).
9704 2013-11-01 Bruno Haible <bruno@clisp.org>
9707 * manual/math.texi (BSD Random): Specify range upper bound as
9710 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9712 * locale/iso-639.def: Add Meadow Mari (mhr).
9714 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9716 [BZ #14752], [BZ #15763]
9717 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9719 * rt/tst_shm.c: Add test for escaping directory.
9721 2013-10-31 Andreas Schwab <schwab@suse.de>
9724 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9725 followed by 'x' as part of digit sequence.
9726 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9728 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9731 * configure.ac: allow GNU Make 4.0 and greater.
9732 * configure: Regenerated.
9734 2013-10-30 Will Newton <will.newton@linaro.org>
9737 * malloc/hooks.c (memalign_check): Limit alignment to the
9738 maximum representable power of two.
9739 * malloc/malloc.c (__libc_memalign): Likewise.
9740 * malloc/tst-memalign.c (do_test): Add test for very
9741 large alignment values.
9742 * malloc/tst-posix_memalign.c (do_test): Likewise.
9744 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9747 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9748 (munmap_chunk): Likewise.
9749 (mremap_chunk): Likewise.
9751 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9754 * stdlib/div.c (div): Remove obsolete code.
9755 * stdlib/ldiv.c (ldiv): Likewise.
9756 * stdlib/lldiv.c (lldiv): Likewise.
9758 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9761 * nss/nss_files/files-XXX.c (get_contents_ret): New
9763 (get_contents): New function.
9764 (internal_getent): Use it. Expand size of LINEBUFLEN.
9766 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9768 * configure.in: Moved to ...
9769 * configure.ac: ... here. Change reference to configure.in
9771 * sysdeps/arm/preconfigure.ac: ... here.
9772 configure.in to configure.ac.
9773 * sysdeps/gnu/configure.in: Moved to ...
9774 * sysdeps/gnu/configure.ac: ... here.
9775 * sysdeps/i386/configure.in: Moved to ...
9776 * sysdeps/i386/configure.ac: ... here.
9777 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9778 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9779 * sysdeps/mach/configure.in: Moved to ...
9780 * sysdeps/mach/configure.ac: ... here.
9781 * sysdeps/mach/hurd/configure.in: Moved to ...
9782 * sysdeps/mach/hurd/configure.ac: ... here.
9783 * sysdeps/powerpc/configure.in: Moved to ...
9784 * sysdeps/powerpc/configure.ac: ... here.
9785 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9786 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9787 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9788 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9789 * sysdeps/s390/s390-32/configure.in: Moved to ...
9790 * sysdeps/s390/s390-32/configure.ac: ... here.
9791 * sysdeps/s390/s390-64/configure.in: Moved to ...
9792 * sysdeps/s390/s390-64/configure.ac: ... here.
9793 * sysdeps/sh/configure.in: Moved to ...
9794 * sysdeps/sh/configure.ac: ... here.
9795 * sysdeps/sparc/configure.in: Moved to ...
9796 * sysdeps/sparc/configure.ac: ... here.
9797 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9798 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9799 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9800 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9801 * sysdeps/x86_64/configure.in: Moved to ...
9802 * sysdeps/x86_64/configure.ac: ... here.
9803 * sysdeps/x86_64/preconfigure.in: Moved to ...
9804 * sysdeps/x86_64/preconfigure.ac: ... here.
9805 * aclocal.m4: Change reference to configure.in to configure.ac.
9806 * config.h.in: Likewise.
9807 * manual/install.texi: Likewise.
9808 * manual/maint.texi: Likewise.
9809 * Makefile: Likewise.
9810 * malloc/Makefile: Likewise.
9811 * nscd/Makefile: Likewise.
9812 * Makeconfig: Change reference to configure.in and
9813 preconfigure.in to configure.ac and preconfigure.ac
9815 * INSTALL: Regenerated.
9816 * configure: Likewise.
9817 * sysdeps/gnu/configure: Likewise.
9818 * sysdeps/i386/configure: Likewise.
9819 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9820 * sysdeps/mach/configure: Likewise.
9821 * sysdeps/mach/hurd/configure: Likewise.
9822 * sysdeps/powerpc/configure: Likewise.
9823 * sysdeps/powerpc/powerpc32/configure: Likewise.
9824 * sysdeps/powerpc/powerpc64/configure: Likewise.
9825 * sysdeps/s390/s390-32/configure: Likewise.
9826 * sysdeps/s390/s390-64/configure: Likewise.
9827 * sysdeps/sh/configure: Likewise.
9828 * sysdeps/sparc/configure: Likewise.
9829 * sysdeps/unix/sysv/linux/configure: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9831 * sysdeps/x86_64/configure: Likewise.
9832 * sysdeps/x86_64/preconfigure: Likewise.
9834 2013-10-29 Andreas Schwab <schwab@suse.de>
9836 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9838 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9840 * benchtests/pow-inputs: Add new inputs.
9842 * benchtests/exp-inputs: Add new inputs.
9844 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9845 conditional check for return value.
9846 (__cos32): Likewise.
9848 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9850 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9851 to provide a boost for large inputs with word alignment.
9852 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9853 implementation based on optimized PPC64 strcpy.
9854 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9855 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9856 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9857 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9859 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9862 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9864 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9867 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9868 * time/tst-strptime.c (day_tests): Add testcase.
9870 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9873 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9875 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9878 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9879 MAP_FAILED on error.
9881 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9884 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9885 heap for large requests.
9887 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9890 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9891 result if the result has no associated interface.
9892 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9893 interface for all 127.X.Y.Z addresses.
9895 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9897 * locale/iso-639.def: Add Ligurian (lij)
9899 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9902 * sunrpc/rpc_main.c: Document rpcgen -5.
9904 2013-10-19 Michael Stahl <mstahl@redhat.com>
9906 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9908 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9911 * posix/glob.c: Match only directories when trailing slash is present.
9912 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9913 (main): Add testcase.
9915 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9918 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9920 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9922 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9923 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9924 AUTH_DES and cindex for FIPS 140-2.
9925 (DES Encryption): Add cindex FIPS 46-3.
9927 * locale/locarchive.h (struct locarhandle): Add fname.
9928 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9929 if an optional argument was specified to --list-archive,
9931 * locale/programs/locarchive.c (show_archive_content): Take new
9932 argument fname and pass it via ah.fname to open_archive.
9933 * locale/programs/localedef.h: Update decl.
9934 (open_archive): If AH->fname is non-null, open that file
9935 rather than the default file name, and don't ignore ENOENT.
9936 (create_archive): Set AH.fname to NULL.
9937 (delete_locales_from_archive): Likewise.
9938 (add_locales_to_archive): Likewise.
9939 * locale/programs/locfile.c (write_all_categories): Likewise.
9941 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9942 Aldy Hernandez <aldyh@redhat.com>
9944 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9945 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9946 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9947 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9948 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9949 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9950 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9951 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9952 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9953 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9954 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9955 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9956 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9957 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9958 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9960 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9962 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9964 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9966 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9967 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9969 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9970 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9971 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9972 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9974 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9975 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9976 * sysdeps/powerpc/preconfigure: Likewise.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9979 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9980 Replace contents of file by #include of <fenv_libc.h>.
9981 * sysdeps/powerpc/soft-fp/sfp-machine.h
9982 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9984 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9985 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9997 Allow copysignl PLT reference to be missing.
9999 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10000 Joseph Myers <joseph@codesourcery.com
10003 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10005 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10007 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10009 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10010 * elf/tst-tls1.c: Likewise.
10011 * elf/tst-tls10.h: Likewise.
10012 * elf/tst-tls14.c: Likewise.
10013 * elf/tst-tls2.c: Likewise.
10014 * elf/tst-tls3.c: Likewise.
10015 * elf/tst-tls4.c: Likewise.
10016 * elf/tst-tls5.c: Likewise.
10017 * elf/tst-tls6.c: Likewise.
10018 * elf/tst-tls7.c: Likewise.
10019 * elf/tst-tls8.c: Likewise.
10020 * elf/tst-tls9.c: Likewise.
10021 * elf/tst-tlsmod1.c: Likewise.
10022 * elf/tst-tlsmod13.c: Likewise.
10023 * elf/tst-tlsmod13a.c: Likewise.
10024 * elf/tst-tlsmod14a.c: Likewise.
10025 * elf/tst-tlsmod16a.c: Likewise.
10026 * elf/tst-tlsmod16b.c: Likewise.
10027 * elf/tst-tlsmod2.c: Likewise.
10028 * elf/tst-tlsmod3.c: Likewise.
10029 * elf/tst-tlsmod4.c: Likewise.
10030 * elf/tst-tlsmod5.c: Likewise.
10031 * elf/tst-tlsmod6.c: Likewise.
10033 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10036 * malloc/malloc.c: remove checks for statistics.
10038 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10041 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10042 * inet/tst-network.c: Add testcase.
10044 2013-10-17 Andreas Schwab <schwab@suse.de>
10047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10048 to determine canonical name.
10050 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10052 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10053 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10076 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10077 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10111 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10114 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10115 make result into a quiet NaN.
10117 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10119 * soft-fp/adddf3.c: Fix horizontal whitespace.
10120 * soft-fp/addsf3.c: Likewise.
10121 * soft-fp/addtf3.c: Likewise.
10122 * soft-fp/divdf3.c: Likewise.
10123 * soft-fp/divsf3.c: Likewise.
10124 * soft-fp/divtf3.c: Likewise.
10125 * soft-fp/double.h: Likewise.
10126 * soft-fp/eqdf2.c: Likewise.
10127 * soft-fp/eqsf2.c: Likewise.
10128 * soft-fp/eqtf2.c: Likewise.
10129 * soft-fp/extenddftf2.c: Likewise.
10130 * soft-fp/extended.h: Likewise.
10131 * soft-fp/extendsfdf2.c: Likewise.
10132 * soft-fp/extendsftf2.c: Likewise.
10133 * soft-fp/extendxftf2.c: Likewise.
10134 * soft-fp/fixdfdi.c: Likewise.
10135 * soft-fp/fixdfsi.c: Likewise.
10136 * soft-fp/fixdfti.c: Likewise.
10137 * soft-fp/fixsfdi.c: Likewise.
10138 * soft-fp/fixsfsi.c: Likewise.
10139 * soft-fp/fixsfti.c: Likewise.
10140 * soft-fp/fixtfdi.c: Likewise.
10141 * soft-fp/fixtfsi.c: Likewise.
10142 * soft-fp/fixtfti.c: Likewise.
10143 * soft-fp/fixunsdfdi.c: Likewise.
10144 * soft-fp/fixunsdfsi.c: Likewise.
10145 * soft-fp/fixunsdfti.c: Likewise.
10146 * soft-fp/fixunssfdi.c: Likewise.
10147 * soft-fp/fixunssfsi.c: Likewise.
10148 * soft-fp/fixunssfti.c: Likewise.
10149 * soft-fp/fixunstfdi.c: Likewise.
10150 * soft-fp/fixunstfsi.c: Likewise.
10151 * soft-fp/fixunstfti.c: Likewise.
10152 * soft-fp/floatdidf.c: Likewise.
10153 * soft-fp/floatdisf.c: Likewise.
10154 * soft-fp/floatditf.c: Likewise.
10155 * soft-fp/floatsidf.c: Likewise.
10156 * soft-fp/floatsisf.c: Likewise.
10157 * soft-fp/floatsitf.c: Likewise.
10158 * soft-fp/floattidf.c: Likewise.
10159 * soft-fp/floattisf.c: Likewise.
10160 * soft-fp/floattitf.c: Likewise.
10161 * soft-fp/floatundidf.c: Likewise.
10162 * soft-fp/floatundisf.c: Likewise.
10163 * soft-fp/floatunditf.c: Likewise.
10164 * soft-fp/floatunsidf.c: Likewise.
10165 * soft-fp/floatunsisf.c: Likewise.
10166 * soft-fp/floatunsitf.c: Likewise.
10167 * soft-fp/floatuntidf.c: Likewise.
10168 * soft-fp/floatuntisf.c: Likewise.
10169 * soft-fp/floatuntitf.c: Likewise.
10170 * soft-fp/fmadf4.c: Likewise.
10171 * soft-fp/fmasf4.c: Likewise.
10172 * soft-fp/fmatf4.c: Likewise.
10173 * soft-fp/gedf2.c: Likewise.
10174 * soft-fp/gesf2.c: Likewise.
10175 * soft-fp/getf2.c: Likewise.
10176 * soft-fp/ledf2.c: Likewise.
10177 * soft-fp/lesf2.c: Likewise.
10178 * soft-fp/letf2.c: Likewise.
10179 * soft-fp/muldf3.c: Likewise.
10180 * soft-fp/mulsf3.c: Likewise.
10181 * soft-fp/multf3.c: Likewise.
10182 * soft-fp/negdf2.c: Likewise.
10183 * soft-fp/negsf2.c: Likewise.
10184 * soft-fp/negtf2.c: Likewise.
10185 * soft-fp/op-1.h: Likewise.
10186 * soft-fp/op-2.h: Likewise.
10187 * soft-fp/op-4.h: Likewise.
10188 * soft-fp/op-8.h: Likewise.
10189 * soft-fp/op-common.h: Likewise.
10190 * soft-fp/quad.h: Likewise.
10191 * soft-fp/single.h: Likewise.
10192 * soft-fp/soft-fp.h: Likewise.
10193 * soft-fp/sqrtdf2.c: Likewise.
10194 * soft-fp/sqrtsf2.c: Likewise.
10195 * soft-fp/sqrttf2.c: Likewise.
10196 * soft-fp/subdf3.c: Likewise.
10197 * soft-fp/subsf3.c: Likewise.
10198 * soft-fp/subtf3.c: Likewise.
10199 * soft-fp/truncdfsf2.c: Likewise.
10200 * soft-fp/trunctfdf2.c: Likewise.
10201 * soft-fp/trunctfsf2.c: Likewise.
10202 * soft-fp/trunctfxf2.c: Likewise.
10203 * soft-fp/unorddf2.c: Likewise.
10204 * soft-fp/unordsf2.c: Likewise.
10205 * soft-fp/unordtf2.c: Likewise.
10207 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10209 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10210 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10212 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10214 * elf/dl-libc.c: Clear initfini list after freeing.
10216 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10218 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10219 * soft-fp/addsf3.c: Likewise.
10220 * soft-fp/addtf3.c: Likewise.
10221 * soft-fp/divdf3.c: Likewise.
10222 * soft-fp/divsf3.c: Likewise.
10223 * soft-fp/divtf3.c: Likewise.
10224 * soft-fp/double.h: Likewise.
10225 * soft-fp/eqdf2.c: Likewise.
10226 * soft-fp/eqsf2.c: Likewise.
10227 * soft-fp/eqtf2.c: Likewise.
10228 * soft-fp/extenddftf2.c: Likewise.
10229 * soft-fp/extended.h: Likewise.
10230 * soft-fp/extendsfdf2.c: Likewise.
10231 * soft-fp/extendsftf2.c: Likewise.
10232 * soft-fp/extendxftf2.c: Likewise.
10233 * soft-fp/fixdfdi.c: Likewise.
10234 * soft-fp/fixdfsi.c: Likewise.
10235 * soft-fp/fixdfti.c: Likewise.
10236 * soft-fp/fixsfdi.c: Likewise.
10237 * soft-fp/fixsfsi.c: Likewise.
10238 * soft-fp/fixsfti.c: Likewise.
10239 * soft-fp/fixtfdi.c: Likewise.
10240 * soft-fp/fixtfsi.c: Likewise.
10241 * soft-fp/fixtfti.c: Likewise.
10242 * soft-fp/fixunsdfdi.c: Likewise.
10243 * soft-fp/fixunsdfsi.c: Likewise.
10244 * soft-fp/fixunsdfti.c: Likewise.
10245 * soft-fp/fixunssfdi.c: Likewise.
10246 * soft-fp/fixunssfsi.c: Likewise.
10247 * soft-fp/fixunssfti.c: Likewise.
10248 * soft-fp/fixunstfdi.c: Likewise.
10249 * soft-fp/fixunstfsi.c: Likewise.
10250 * soft-fp/fixunstfti.c: Likewise.
10251 * soft-fp/floatdidf.c: Likewise.
10252 * soft-fp/floatdisf.c: Likewise.
10253 * soft-fp/floatditf.c: Likewise.
10254 * soft-fp/floatsidf.c: Likewise.
10255 * soft-fp/floatsisf.c: Likewise.
10256 * soft-fp/floatsitf.c: Likewise.
10257 * soft-fp/floattidf.c: Likewise.
10258 * soft-fp/floattisf.c: Likewise.
10259 * soft-fp/floattitf.c: Likewise.
10260 * soft-fp/floatundidf.c: Likewise.
10261 * soft-fp/floatundisf.c: Likewise.
10262 * soft-fp/floatunsidf.c: Likewise.
10263 * soft-fp/floatunsisf.c: Likewise.
10264 * soft-fp/floatuntidf.c: Likewise.
10265 * soft-fp/floatuntisf.c: Likewise.
10266 * soft-fp/floatuntitf.c: Likewise.
10267 * soft-fp/fmadf4.c: Likewise.
10268 * soft-fp/fmasf4.c: Likewise.
10269 * soft-fp/fmatf4.c: Likewise.
10270 * soft-fp/gedf2.c: Likewise.
10271 * soft-fp/gesf2.c: Likewise.
10272 * soft-fp/getf2.c: Likewise.
10273 * soft-fp/ledf2.c: Likewise.
10274 * soft-fp/lesf2.c: Likewise.
10275 * soft-fp/letf2.c: Likewise.
10276 * soft-fp/muldf3.c: Likewise.
10277 * soft-fp/mulsf3.c: Likewise.
10278 * soft-fp/multf3.c: Likewise.
10279 * soft-fp/negdf2.c: Likewise.
10280 * soft-fp/negsf2.c: Likewise.
10281 * soft-fp/negtf2.c: Likewise.
10282 * soft-fp/op-1.h: Likewise.
10283 * soft-fp/op-2.h: Likewise.
10284 * soft-fp/op-4.h: Likewise.
10285 * soft-fp/op-8.h: Likewise.
10286 * soft-fp/op-common.h: Likewise.
10287 * soft-fp/quad.h: Likewise.
10288 * soft-fp/single.h: Likewise.
10289 * soft-fp/soft-fp.h: Likewise.
10290 * soft-fp/sqrtdf2.c: Likewise.
10291 * soft-fp/sqrtsf2.c: Likewise.
10292 * soft-fp/sqrttf2.c: Likewise.
10293 * soft-fp/subdf3.c: Likewise.
10294 * soft-fp/subsf3.c: Likewise.
10295 * soft-fp/subtf3.c: Likewise.
10296 * soft-fp/truncdfsf2.c: Likewise.
10297 * soft-fp/trunctfdf2.c: Likewise.
10298 * soft-fp/trunctfsf2.c: Likewise.
10299 * soft-fp/trunctfxf2.c: Likewise.
10300 * soft-fp/unorddf2.c: Likewise.
10301 * soft-fp/unordsf2.c: Likewise.
10302 * soft-fp/unordtf2.c: Likewise.
10304 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10307 * misc/error.c (error_tail): Fix possible buffer overflow.
10309 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10312 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10315 2013-10-14 P. J. McDermott <pj@pehjota.net>
10318 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10319 testing pipefail option.
10321 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10323 * soft-fp/double.h: Indent preprocessor directives inside #if.
10324 * soft-fp/extended.h: Likewise.
10325 * soft-fp/op-2.h: Likewise.
10326 * soft-fp/op-4.h: Likewise.
10327 * soft-fp/op-common.h: Likewise.
10328 * soft-fp/quad.h: Likewise.
10329 * soft-fp/single.h: Likewise.
10330 * soft-fp/soft-fp.h: Likewise.
10332 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10334 * iconv/iconv_prog.c: Fix typos.
10335 * stdio-common/psiginfo-data.h: Likewise.
10337 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10340 * locale/setlocale.c: Fix typo.
10342 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10345 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10346 signaling NaN arguments.
10347 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10348 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10351 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10352 unordered operands.
10353 * soft-fp/gesf2.c (__gesf2): Likewise.
10354 * soft-fp/getf2.c (__getf2): Likewise.
10355 * soft-fp/ledf2.c (__ledf2): Likewise.
10356 * soft-fp/lesf2.c (__lesf2): Likewise.
10357 * soft-fp/letf2.c (__letf2): Likewise.
10359 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10360 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10361 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10362 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10363 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10364 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10365 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10366 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10367 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10368 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10369 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10370 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10371 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10372 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10373 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10374 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10375 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10376 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10377 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10378 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10379 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10380 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10381 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10382 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10383 * soft-fp/floattidf.c (__floattidf): Likewise.
10384 * soft-fp/floattisf.c (__floattisf): Likewise.
10385 * soft-fp/floattitf.c (__floattitf): Likewise.
10386 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10387 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10388 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10389 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10390 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10391 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10392 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10393 * soft-fp/gesf2.c (__gesf2): Likewise.
10394 * soft-fp/getf2.c (__getf2): Likewise.
10395 * soft-fp/ledf2.c (__ledf2): Likewise.
10396 * soft-fp/lesf2.c (__lesf2): Likewise.
10397 * soft-fp/letf2.c (__letf2): Likewise.
10399 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10400 Undefine and redefine.
10401 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10402 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10403 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10404 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10405 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10406 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10407 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10408 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10409 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10410 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10411 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10412 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10413 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10414 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10415 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10418 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10419 without decrementing exponent if mantissa >= that for the
10420 denominator, not >.
10421 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10422 denominator, not >. Decrement exponent in < case instead of
10423 incrementing in >= case.
10424 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10425 without decrementing exponent if mantissa >= that for the
10426 denominator, not >.
10428 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10429 computing saturated result for unsigned overflow.
10431 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10432 Jeff Law <law@redhat.com>
10434 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10435 (atan2Mp): Add systemtap probe marker.
10436 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10437 (__ieee754_log): Add systemtap probe marker.
10438 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10439 (atanMp): Add systemtap probe marker.
10440 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10441 (tanMp): Add systemtap probe marker.
10442 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10443 (__slowexp): Add systemtap probe marker.
10444 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10445 (__slowpow): Add systemtap probe marker.
10446 * manual/probes.texi: Document probes.
10448 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10451 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10453 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10455 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10456 written to buffer but not flushed.
10457 * libio/iofwrite_u.c: Likewise.
10458 * libio/iopadn.c: Return bytes returned even if EOF was
10460 * libio/iowpadn.c: Likewise.
10461 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10462 if _IO_padn does not write the whole buffer.
10463 [!COMPILE_WPRINTF] (PAD): Likewise.
10465 2013-10-10 David S. Miller <davem@davemloft.net>
10467 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10470 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10472 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10473 instead of FSF address.
10474 * soft-fp/fixdfti.c: Likewise.
10475 * soft-fp/fixsfti.c: Likewise.
10476 * soft-fp/fixtfti.c: Likewise.
10477 * soft-fp/fixunsdfti.c: Likewise.
10478 * soft-fp/fixunssfti.c: Likewise.
10479 * soft-fp/fixunstfti.c: Likewise.
10480 * soft-fp/floattidf.c: Likewise.
10481 * soft-fp/floattisf.c: Likewise.
10482 * soft-fp/floattitf.c: Likewise.
10483 * soft-fp/floatuntidf.c: Likewise.
10484 * soft-fp/floatuntisf.c: Likewise.
10485 * soft-fp/floatuntitf.c: Likewise.
10486 * soft-fp/trunctfxf2.c: Likewise.
10488 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10489 * soft-fp/fixdfti.c: Likewise.
10490 * soft-fp/fixsfti.c: Likewise.
10491 * soft-fp/fixtfti.c: Likewise.
10492 * soft-fp/fixunsdfti.c: Likewise.
10493 * soft-fp/fixunssfti.c: Likewise.
10494 * soft-fp/fixunstfti.c: Likewise.
10495 * soft-fp/floattidf.c: Likewise.
10496 * soft-fp/floattisf.c: Likewise.
10497 * soft-fp/floattitf.c: Likewise.
10498 * soft-fp/floatuntidf.c: Likewise.
10499 * soft-fp/floatuntisf.c: Likewise.
10500 * soft-fp/floatuntitf.c: Likewise.
10501 * soft-fp/trunctfxf2.c: Likewise.
10503 2013-10-10 David S. Miller <davem@davemloft.net>
10505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10507 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10509 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10510 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10511 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10512 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10513 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10514 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10515 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10517 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10518 for NaNs before doing comparisons on argument.
10519 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10522 2013-10-10 Will Newton <will.newton@linaro.org>
10524 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10525 passed to _int_memalign does not overflow.
10527 2013-10-10 Torvald Riegel <triegel@redhat.com>
10529 * scripts/bench.pl: Add include-sources directive.
10530 * benchtests/README: Update documentation.
10532 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10534 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10535 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10536 instead of FP_INIT_ROUNDMODE.
10537 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10538 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10541 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10542 copy class of input value.
10543 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10544 not handle exceptions.
10545 * soft-fp/negsf2.c (__negsf2): Likewise.
10546 * soft-fp/negtf2.c (__negtf2): Likewise.
10547 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10549 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10551 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10552 semicolon. From Linux kernel.
10554 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10556 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10558 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10561 * manual/socket.texi: Added statement about buffer
10562 for gethostbyname2_r.
10564 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10566 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10567 Use .p2align directive instead, throughout.
10568 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10569 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10570 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10573 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10574 * sysdeps/x86_64/strchr.S: Likewise.
10575 * sysdeps/x86_64/strrchr.S: Likewise.
10577 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10579 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10581 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10583 * sysdeps/generic/math_private.h (__mpsin1): Remove
10585 (__mpcos1): Likewise.
10586 (__mpsin): New argument __range_reduce.
10587 (__mpcos): Likewise.
10588 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10589 (slow): Use __mpsin and __mpcos.
10593 (sloww1): Likewise.
10594 (sloww2): Likewise.
10595 (bsloww): Likewise.
10596 (bsloww1): Likewise.
10597 (bsloww2): Likewise.
10598 (cslow2): Likewise.
10599 (csloww): Likewise.
10600 (csloww1): Likewise.
10601 (csloww2): Likewise.
10602 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10603 range_reduce. Merge in __mpsin1.
10604 (__mpcos): Likewise.
10605 (__mpsin1): Remove.
10606 (__mpcos1): Likewise.
10608 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10610 * locale/loadlocale.c (_nl_intern_locale_data): Use
10612 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10613 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10614 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10615 obstack data is appropriately aligned.
10616 (obstack_int32_grow_fast): Likewise.
10617 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10618 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10619 (add_locale_uint32_array): Likewise.
10621 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10623 * benchtests/Makefile: Remove ARGLIST and RET variables.
10624 ($(objpfx)bench-%.c): Pass only function name to the script.
10625 * benchtests/README: Update documentation.
10626 * benchtests/acos-inputs: Add new directives.
10627 * benchtests/acosh-inputs: Likewise.
10628 * benchtests/asin-inputs: Likewise.
10629 * benchtests/asinh-inputs: Likewise.
10630 * benchtests/atan-inputs: Likewise.
10631 * benchtests/atanh-inputs: Likewise.
10632 * benchtests/cos-inputs: Likewise.
10633 * benchtests/cosh-inputs: Likewise.
10634 * benchtests/exp-inputs: Likewise.
10635 * benchtests/log-inputs: Likewise.
10636 * benchtests/pow-inputs: Likewise.
10637 * benchtests/rint-inputs: Likewise.
10638 * benchtests/sin-inputs: Likewise.
10639 * benchtests/sinh-inputs: Likewise.
10640 * benchtests/tan-inputs: Likewise.
10641 * benchtests/tanh-inputs: Likewise.
10642 * scripts/bench.pl: Add support for new directives.
10644 2013-10-07 Alan Modra <amodra@gmail.com>
10646 * README: Fix careless merge.
10648 2013-10-05 Alan Modra <amodra@gmail.com>
10650 * NEWS: Mention powerpc64le support and bugs fixed.
10651 * README: Both big-endian and little-endian powerpc64 supported.
10653 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10655 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10656 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10657 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10658 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10660 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10662 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10665 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10667 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10668 Move -mhard-float appending from
10669 ports/sysdeps/powerpc/powerpc32/Makefile.
10670 [$(with-fp) = yes] (ASFLAGS): Likewise.
10671 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10672 * sysdeps/powerpc/nofpu: Move directory from
10673 ports/sysdeps/powerpc/nofpu.
10674 * sysdeps/powerpc/soft-fp: Move directory from
10675 ports/sysdeps/powerpc/soft-fp.
10676 * sysdeps/powerpc/powerpc32/405: Move directory from
10677 ports/sysdeps/powerpc/powerpc32/405.
10678 * sysdeps/powerpc/powerpc32/440: Move directory from
10679 ports/sysdeps/powerpc/powerpc32/440.
10680 * sysdeps/powerpc/powerpc32/464: Move directory from
10681 ports/sysdeps/powerpc/powerpc32/464.
10682 * sysdeps/powerpc/powerpc32/476: Move directory from
10683 ports/sysdeps/powerpc/powerpc32/476.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10685 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10687 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10689 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10691 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10693 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10694 * README: Update for powerpc-*-linux-gnu software floating point
10697 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10698 case to powerpc/powerpc32*.
10699 * sysdeps/unix/sysv/linux/configure: Regenerated.
10701 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10702 (_FPU_MASK_OM): Define as 0x04.
10703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10711 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10714 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10717 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10718 and setcontext_e500.
10720 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10722 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10724 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10726 * manual/threads.texi (Default Thread Attributes): Fix typo.
10728 2013-10-04 Will Newton <will.newton@linaro.org>
10730 * malloc/Makefile: Add tst-memalign.
10731 * malloc/tst-memalign.c: New file.
10733 * malloc/tst-posix_memalign.c: Add comments.
10734 (do_test): Add comments and call free on all potentially
10735 allocated pointers. Add space after cast.
10737 * malloc/tst-pvalloc.c: Add comments.
10738 (do_test): Add comments and call free on all potentially
10739 allocated pointers. Remove duplicate check for NULL pointer.
10740 Add space after cast.
10742 * malloc/tst-valloc.c: Add comments.
10743 (do_test): Add comments and call free on all potentially
10744 allocated pointers. Remove duplicate check for NULL pointer.
10745 Add space after cast.
10747 2013-10-04 Alan Modra <amodra@gmail.com>
10749 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10750 Use stdint types in rather than __attribute__((mode())).
10751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10753 2013-10-04 Alan Modra <amodra@gmail.com>
10755 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10756 Correct handling of unaligned relocs for little-endian.
10757 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10759 2013-10-04 Alan Modra <amodra@gmail.com>
10761 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10762 * configure: Regenerate.
10763 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10764 * shlib-versions: Likewise.
10766 2013-10-04 Alan Modra <amodra@gmail.com>
10768 * string/tester.c (test_memrchr): Increment reported test cycle.
10770 2013-10-04 Alan Modra <amodra@gmail.com>
10772 * string/test-memcpy.c (do_one_test): When reporting errors, print
10773 string address and don't overrun end of string.
10775 2013-10-04 Alan Modra <amodra@gmail.com>
10777 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10778 insrdi. Make better use of reg selection to speed exit slightly.
10779 Schedule entry path a little better. Remove useless "are we done"
10780 checks on entry to main loop. Handle wrapping around zero address.
10781 Correct main loop count. Handle single left-over word from main
10782 loop inline rather than by using loop_small. Remove extra word
10783 case in loop_small caused by wrong loop count. Add little-endian
10785 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10788 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10789 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10790 support. Avoid rlwimi.
10791 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10793 2013-10-04 Alan Modra <amodra@gmail.com>
10795 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10796 insrdi. Formatting.
10797 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10798 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10799 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10800 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10801 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10802 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10804 2013-10-04 Alan Modra <amodra@gmail.com>
10806 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10807 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10808 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10809 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10810 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10811 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10813 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10814 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10815 use of regs. Use power7 mtocrf. Tidy function tails.
10817 2013-10-04 Alan Modra <amodra@gmail.com>
10819 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10820 Formatting. Consistently use rXXX register defines or rN defines.
10821 Use early exit labels that avoid restoring unused non-volatile regs.
10822 Make cr field use more consistent with rWORDn compares. Rename
10823 regs used as shift registers for unaligned loop, using rN defines
10824 for short lifetime/multiple use regs.
10825 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10826 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10827 addi 1,1,64 to pop stack frame. Simplify return value code.
10828 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10830 2013-10-04 Alan Modra <amodra@gmail.com>
10832 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10833 support. Correct typos, formatting. Optimize tail. Use insrdi
10834 rather than rlwimi.
10835 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10836 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10837 little-endian support. Correct typos.
10838 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10839 rather than rlwimi.
10840 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10841 in loop and entry code to keep "and." results.
10842 (strchr): Add little-endian support. Comment. Move cntlzd
10844 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10846 2013-10-04 Alan Modra <amodra@gmail.com>
10848 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10849 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10850 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10851 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10853 2013-10-04 Alan Modra <amodra@gmail.com>
10855 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10856 (rTMP): Define as r11.
10857 (strcmp): Add little-endian support. Optimise tail.
10858 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10859 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10860 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10861 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10862 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10863 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10864 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10866 2013-10-04 Alan Modra <amodra@gmail.com>
10868 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10869 little-endian support. Remove unnecessary "are we done" tests.
10870 Handle "s" wrapping around zero and extremely large "size".
10871 Correct main loop count. Handle single left-over word from main
10872 loop inline rather than by using small_loop. Correct comments.
10873 Delete "zero" tail, use "end_max" instead.
10874 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10876 2013-10-04 Alan Modra <amodra@gmail.com>
10878 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10879 support. Don't branch over align.
10880 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10881 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10882 support. Rearrange tmp reg use to suit. Comment.
10883 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10885 2013-10-04 Alan Modra <amodra@gmail.com>
10887 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10889 2013-10-04 Alan Modra <amodra@gmail.com>
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10892 conditional form of branch and link when obtaining pc.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10895 2013-10-04 Alan Modra <amodra@gmail.com>
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10902 2013-10-04 Alan Modra <amodra@gmail.com>
10904 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10905 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10906 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10907 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10908 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10909 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10910 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10911 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10912 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10913 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10915 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10916 Alistair Popple <alistair@ozlabs.au.ibm.com>
10917 Alan Modra <amodra@gmail.com>
10920 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10921 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10922 _dl_hwcap access for little-endian.
10923 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10924 destroy vmx regs when saving unaligned.
10925 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10926 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10927 destroy vmx regs when saving unaligned.
10929 2013-10-04 Alan Modra <amodra@gmail.com>
10931 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10932 Don't use a union to pack hi/low value.
10934 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10936 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10938 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10939 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10940 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10941 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10942 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10944 2013-10-04 Alan Modra <amodra@gmail.com>
10946 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10947 constants to usual value for .cst8 section, and remove redundant
10949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10950 constant for 0x1p52. Load little-endian words of double from
10951 correct stack offsets.
10953 2013-10-04 Alan Modra <amodra@gmail.com>
10955 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10956 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10957 words of double from correct stack offsets.
10958 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10959 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10960 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10961 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10962 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10963 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10964 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10965 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10966 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10967 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10968 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10969 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10970 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10971 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10972 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10973 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10974 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10976 2013-10-04 Alan Modra <amodra@gmail.com>
10978 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10979 64-bit int/double union.
10980 (_FPU_SETCW): Likewise.
10981 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10982 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10984 2013-10-04 Alan Modra <amodra@gmail.com>
10986 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10987 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10989 2013-10-04 Alan Modra <amodra@gmail.com>
10991 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10992 use vector int constants.
10993 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10995 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10997 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10998 array with long long.
10999 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11000 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11001 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11002 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11003 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11004 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11005 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11006 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11007 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11008 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11009 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11010 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11011 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11013 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11015 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11016 (__signbit): Likewise. Correct for little-endian.
11017 (__signbitl): Call __signbit.
11018 (lrint): Correct for little-endian.
11019 (lrintf): Call lrint.
11021 2013-10-04 Alan Modra <amodra@gmail.com>
11023 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11024 union 32-bit int array member with 64-bit int array.
11025 (t515, tm256): Double rather than long double.
11026 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11028 2013-10-04 Alan Modra <amodra@gmail.com>
11030 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11032 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11033 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11034 version of math_ldbl.h.
11036 2013-10-04 Alan Modra <amodra@gmail.com>
11038 [BZ #15734], [BZ #15735]
11039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11040 all uses of ieee875 long double macros and unions. Simplify test
11041 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11042 ldbl_extract_mantissa value for ix,iy exponents. Properly
11043 normalize after ldbl_extract_mantissa, and don't add hidden bit
11044 already handled. Don't treat low word of ieee854 mantissa like
11045 low word of IBM long double and mask off bit when testing for
11047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11048 all uses of ieee875 long double macros and unions. Simplify tests
11049 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11050 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11051 two1022, instead use their values. Recognise that tests for large
11052 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11053 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11054 Rewrite all uses of ieee875 long double macros and unions. Simplify
11055 test for 0.0L and nan. Correct negation.
11056 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11057 ieee875 long double macros and unions. Correct output for large
11058 magnitude x. Correct absolute value calculation.
11059 (__erfcl): Likewise.
11060 * math/libm-test.inc: Add tests for errors discovered in IBM long
11061 double versions of fmodl, remainderl, erfl and erfcl.
11063 2013-10-04 Alan Modra <amodra@gmail.com>
11065 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11066 all uses of ieee854 long double macros and unions. Simplify tests
11067 for long doubles that are fully specified by the high double.
11068 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11070 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11071 Remove dead code too.
11072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11073 (__ieee754_ynl): Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11077 Remove dead code too.
11078 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11088 Comment on variable precision.
11089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11092 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11096 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11098 2013-10-04 Alan Modra <amodra@gmail.com>
11100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11101 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11102 all uses of ieee854 long double macros and unions.
11103 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11110 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11116 Simplify sign and nan test too.
11117 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11122 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11130 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11132 2013-10-04 Alan Modra <amodra@gmail.com>
11134 * stdio-common/printf_size.c (__printf_size): Don't use
11135 union ieee854_long_double in fpnum union.
11136 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11137 signbit macro to retrieve sign from long double.
11138 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11139 retrieve sign from long double.
11140 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11141 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11142 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11143 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11144 * math/test-misc.c (main): Don't use union ieee854_long_double.
11146 2013-10-04 Alan Modra <amodra@gmail.com>
11149 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11150 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11151 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11152 calculation. Remove unnecessary test for denormal exponent.
11153 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11154 Correct handling of denormals. Avoid undefined shift behaviour.
11155 Correct normalisation of low mantissa when low double is denormal.
11156 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11157 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11158 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11159 Correct normalisation of low mantissa. Test for overflow of high
11160 mantissa and normalise.
11161 (ldbl_nearbyint): Use more readable constant for two52.
11162 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11163 (__mpn_construct_long_double): Fix test for overflow of high
11164 mantissa and correct normalisation. Avoid undefined shift.
11166 2013-10-04 Alan Modra <amodra@gmail.com>
11168 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11169 (union ibm_extended_long_double): Define as an array of ieee754_double.
11170 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11171 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11172 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11173 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11177 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11182 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11184 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11185 page size instead of calling getpagesize.
11187 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11188 (LOCFILE_ALIGN_MASK): Likewise.
11189 (LOCFILE_ALIGN_UP): Likewise.
11190 (LOCFILE_ALIGNED_P): Likewise.
11191 * locale/programs/ld-collate.c (collate_output): Use the new
11192 macros instead of __alignof__ (int32_t).
11193 * locale/weight.h (findidx): Likewise.
11195 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11198 * manual/string.texi: Fix strncat and wcsncat.
11200 2013-10-03 Brooks Moses <bmoses@google.com>
11203 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11204 * Makerules: ...here, and adjust associated comments.
11206 2013-10-02 Will Newton <will.newton@linaro.org>
11208 * malloc/Makefile: Add tst-pvalloc.
11209 * malloc/tst-pvalloc.c: New file.
11211 2013-10-02 Will Newton <will.newton@linaro.org>
11213 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11214 improve test coverage.
11216 2013-10-02 Will Newton <will.newton@linaro.org>
11218 * malloc/Makefile: Add tst-posix_memalign.
11219 * malloc/tst-posix_memalign.c: New file.
11221 2013-10-01 Eric Blake <eblake@redhat.com>
11223 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11224 Use __THROWNL rather than __THROW on static functions.
11226 2013-09-30 Petr Machata <pmachata@redhat.com>
11228 * elf/elf.h (R_AARCH64_ABS16): New macro.
11229 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11230 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11231 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11232 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11233 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11234 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11235 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11236 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11237 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11238 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11239 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11240 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11241 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11242 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11243 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11244 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11245 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11246 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11247 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11248 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11249 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11250 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11251 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11252 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11253 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11254 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11255 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11256 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11257 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11258 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11259 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11260 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11261 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11262 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11263 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11264 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11265 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11266 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11267 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11268 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11269 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11270 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11271 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11272 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11273 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11274 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11275 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11276 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11277 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11278 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11279 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11280 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11281 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11282 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11283 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11284 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11285 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11286 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11287 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11288 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11289 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11290 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11291 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11292 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11293 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11294 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11295 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11296 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11297 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11298 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11299 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11300 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11301 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11302 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11303 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11304 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11305 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11306 (R_AARCH64_TLSDESC_LDR): Likewise.
11307 (R_AARCH64_TLSDESC_ADD): Likewise.
11308 (R_AARCH64_TLSDESC_CALL): Likewise.
11310 2013-09-30 Andreas Schwab <schwab@suse.de>
11313 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11314 the nss database lookup.
11315 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11318 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11320 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11322 2013-09-28 P. J. McDermott <pj@pehjota.net>
11324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11325 ${Bash-specific parameter/pattern/string} parameter expansion.
11326 * sysdeps/unix/make-syscalls.sh: Likewise.
11328 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11330 * sysdeps/sh/stackguard-macros.h: New file.
11332 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11336 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11338 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11339 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11341 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11343 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11344 Fix thread ID register.
11346 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11348 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11349 [POSIX || UNIX98]: Require rather than permitting all symbols from
11351 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11352 element of struct sched_param.
11353 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11354 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11355 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11356 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11359 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11361 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11362 argument calculation.
11364 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11366 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11368 [POSIX] (pthread_attr_t): Do not require type.
11369 [POSIX] (pthread_cond_t): Likewise.
11370 [POSIX] (pthread_condattr_t): Likewise.
11371 [POSIX] (pthread_key_t): Likewise.
11372 [POSIX] (pthread_mutex_t): Likewise.
11373 [POSIX] (pthread_mutexattr_t): Likewise.
11374 [POSIX] (pthread_once_t): Likewise.
11375 [POSIX] (pthread_t): Likewise.
11376 [POSIX-based standards] (pthread_atfork): Expect function.
11378 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11379 Richard Sandiford <richard@codesourcery.com>
11381 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11382 (swap_endianness_p): New extern variable.
11383 (set_big_endian): New inline function.
11384 (maybe_swap_uint32): Likewise.
11385 (maybe_swap_uint32_array): Likewise.
11386 (maybe_swap_uint32_obstack): Likewise.
11387 * locale/programs/locfile.c: Include <stdbool.h>.
11388 (swap_endianness_p): New variable.
11389 (add_locale_uint32): Call maybe_swap_uint32.
11390 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11391 (write_locale_data): Call maybe_swap_uint32_array.
11392 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11394 (obstack_int32_grow_fast): Likewise.
11395 (output_weightwc): Call maybe_swap_uint32_obstack.
11396 (collate_output): Likewise.
11397 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11398 (OPT_LITTLE_ENDIAN): Likewise.
11399 (options): Add --little-endian and --big-endian options.
11400 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11401 * locale/programs/locarchive.c: Include "locfile.h".
11405 (create_archive): Use the new macros to access fields of
11406 structures directly mapped from or written to locale archives.
11407 (oldlocrecentcmp): Likewise.
11408 (enlarge_archive): Likewise.
11409 (insert_name): Likewise.
11410 (add_alias): Likewise.
11411 (add_locale): Likewise.
11412 (delete_locales_from_archive): Likewise.
11413 (show_archive_content): Likewise.
11414 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11417 2013-09-24 Roland McGrath <roland@hack.frob.com>
11419 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11420 http://www.gnu.org/doc/freemanuals.texi.
11421 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11423 2013-09-24 Will Newton <will.newton@linaro.org>
11425 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11428 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11430 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11433 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11435 * manual/threads.texi (POSIX Threads): Fix a typo.
11437 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11440 * string/tst-strcoll-overflow.c: New test case.
11441 * string/Makefile (xtests): Add tst-strcoll-overflow.
11442 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11443 cache if string sizes may cause integer overflow.
11446 * string/strcoll_l.c (coll_seq): New members rule, idx,
11447 save_idx and back_us.
11448 (get_next_seq_nocache): New function.
11449 (do_compare_nocache): New function.
11450 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11453 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11456 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11457 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11458 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11461 * elf/Makefile (tests): Add tst-ptrguard1.
11462 (tests-static): Add tst-ptrguard1-static.
11463 (tst-ptrguard1-ARGS): Define.
11464 (tst-ptrguard1-static-ARGS): Define.
11465 * elf/tst-ptrguard1.c: New file.
11466 * elf/tst-ptrguard1-static.c: New file.
11467 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11468 * sysdeps/i386/stackguard-macros.h: Likewise.
11469 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11470 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11471 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11472 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11473 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11474 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11476 2013-09-23 Hector Marco <hecmargi@upv.es>
11477 Ismael Ripoll <iripoll@disca.upv.es>
11478 Carlos O'Donell <carlos@redhat.com>
11481 * sysdeps/generic/stackguard-macros.h: Define
11482 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11483 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11484 Define __pointer_chk_guard_local.
11485 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11486 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11488 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11491 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11493 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11495 * include/string.h (__ffs): Declare as hidden.
11496 * string/ffs.c (__ffs): Define as hidden.
11497 * sysdeps/i386/ffs.c (__ffs): Likewise.
11498 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11499 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11500 * sysdeps/s390/ffs.c (__ffs): Likewise.
11501 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11503 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11505 * NEWS: Mention malloc probes.
11507 * malloc/arena.c (new_heap): New memory_heap_new probe.
11508 (grow_heap): New memory_heap_more probe.
11509 (shrink_heap): New memory_heap_less probe.
11510 (heap_trim): New memory_heap_free probe.
11511 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11512 (systrim): New memory_sbrk_less probe.
11513 * manual/probes.texi: Document them.
11515 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11516 * manual/probes.texi: Document it.
11518 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11519 (__libc_realloc): Add memory_realloc_retry probe.
11520 (__libc_memalign): Add memory_memalign_retry probe.
11521 (__libc_valloc): Add memory_valloc_retry probe.
11522 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11523 (__libc_calloc): Add memory_calloc_retry probe.
11524 * manual/probes.texi: Document them.
11526 * malloc/arena.c (get_free_list): Add probe
11527 memory_arena_reuse_free_list.
11528 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11529 and memory_arena_reuse.
11530 (arena_get2) [!PER_THREAD]: Likewise.
11531 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11532 memory_arena_reuse_realloc.
11533 * manual/probes.texi: Document them.
11535 * malloc/malloc.c (__libc_free): Add
11536 memory_mallopt_free_dyn_thresholds probe.
11537 (__libc_mallopt): Add multiple memory_mallopt probes.
11538 * manual/probes.texi: Document them.
11540 * malloc/malloc.c: Include stap-probe.h.
11541 (__libc_mallopt): Add memory_mallopt probe.
11542 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11543 * manual/probes.texi: New.
11544 * manual/Makefile (chapters): Add probes.
11545 * manual/threads.texi: Set next node.
11547 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11549 [BZ #15963, #13985]
11550 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11551 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11552 Add `Chinese' to `nan' entry name.
11554 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11556 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11557 (POLYNOMIAL): Likewise.
11558 (TAYLOR_SINCOS): Likewise.
11559 (TAYLOR_SLOW): Likewise.
11560 (__sin): Use TAYLOR_SINCOS.
11562 (slow): Use TAYLOR_SLOW.
11564 (bsloww): Likewise.
11565 (csloww): Likewise.
11567 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11569 * stdlib/strtod_l.c: Fix buffer overrun.
11571 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11573 * benchtests/Makefile (bench): Add sincos.
11574 * benchtests/bench-sincos.c: New file.
11576 * math/libm-test.inc (cos_test_data): New test inputs.
11577 (sin_test_data): Likewise.
11579 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11585 (sloww1): Likewise.
11586 (sloww2): Likewise.
11587 (bsloww1): Likewise.
11588 (bsloww2): Likewise.
11589 (cslow2): Likewise.
11590 (csloww1): Likewise.
11591 (csloww2): Likewise.
11593 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11598 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11602 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11604 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11605 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11606 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11607 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11608 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11609 * elf/cache.c (print_entry): Handle the new cache flags.
11611 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11612 Aldy Hernandez <aldyh@redhat.com>
11614 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11615 Change condition to [_SOFT_FLOAT].
11616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11628 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11631 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11634 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11636 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11637 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11638 (__longjmp): Use LOAD_GP to load saved GPRs.
11639 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11640 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11641 (__sigsetjmp): Use SAVE_GP to save GPRs.
11643 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11644 Do not append -msoft-float.
11645 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11647 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11649 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11651 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11654 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11655 (_FPU_GETCW): Use initial "__" on variable and field names but not
11656 on macro parameter name.
11657 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11658 parentheses around reference to macro parameter.
11660 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11662 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11664 (ctype_startup): Use uint32_t in cast and sizeof for
11667 2013-09-11 Jia Liu <proljc@gmail.com>
11669 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11671 [__FreeBSD__]: Likewise.
11673 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11676 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11677 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11678 (strchr): Remove __strchr_sse42 ifunc selection.
11679 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11680 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11682 2013-09-11 Will Newton <will.newton@linaro.org>
11684 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11685 parameter to RES. Remove hardcoded 1000 value.
11686 * benchtests/bench-skeleton.c (main): Pass RES parameter
11687 to TIMING_INIT and multiply result by 1000.
11689 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11693 2013-09-11 Andreas Schwab <schwab@suse.de>
11695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11697 (O_TMPFILE) [__USE_GNU]: Define.
11698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11701 2013-09-11 Will Newton <will.newton@linaro.org>
11704 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11707 2013-09-11 Will Newton <will.newton@linaro.org>
11710 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11713 2013-09-11 Will Newton <will.newton@linaro.org>
11716 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11719 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11721 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11724 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11727 2013-09-10 Allan McRae <allan@archlinux.org>
11730 * manual/arith.texi (Parsing of Floats): Clarify
11734 * manual/install.texi (Running make install): Mention
11736 * INSTALL: Regenerated.
11738 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11740 * csu/init-first.c (_init): Remove the !SHARED condition around
11741 FPU control word initialization.
11742 * elf/dl-support.c (_dl_fpu_control): New variable.
11743 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11744 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11745 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11746 * math/test-fpucw-static.c: New file.
11747 * math/test-fpucw-ieee.c: New file.
11748 * math/test-fpucw-ieee-static.c: New file.
11749 * math/Makefile (tests): Add `test-fpucw-ieee' and
11751 (tests-static): New variable.
11752 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11754 [($(build-shared),yes)]
11755 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11757 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11760 2013-09-09 Allan McRae <allan@archlinux.org>
11763 * manual/string.texi (Collation Functions): Fix typo in
11765 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11768 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11771 * libio/memstream.c (open_memstream): Fix memory leak.
11772 * libio/wmemstream.c (open_wmemstream): Likewise.
11775 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11777 2013-09-09 Will Newton <will.newton@linaro.org>
11779 * malloc/Makefile: Add tst-realloc to tests.
11780 * malloc/tst-realloc.c: New file.
11782 2013-09-09 Allan McRae <allan@archlinux.org>
11785 * COPYING: Update from GNU website to fix FSF address.
11786 * COPYING.LIB: Likewise.
11788 2013-09-06 David S. Miller <davem@davemloft.net>
11790 * po/zh_TW.po: Update Chinese (traditional) translation from
11791 translation project.
11793 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11794 Joseph Myers <joseph@codesourcery.com>
11796 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11798 (obstack_chunk_alloc): New macro.
11799 (obstack_chunk_free): Likewise.
11800 (record_offset): New function.
11801 (init_locale_data): Likewise.
11802 (align_locale_data): Likewise.
11803 (add_locale_empty): Likewise.
11804 (add_locale_raw_data): Likewise.
11805 (add_locale_raw_obstack): Likewise.
11806 (add_locale_string): Likewise.
11807 (add_locale_wstring): Likewise.
11808 (add_locale_uint32): Likewise.
11809 (add_locale_uint32_array): Likewise.
11810 (add_locale_char): Likewise.
11811 (start_locale_structure): Likewise.
11812 (end_locale_structure): Likewise.
11813 (start_locale_prelude): Likewise.
11814 (end_locale_prelude): Likewise.
11815 (write_locale_data): Take locale_file structure rather than an
11817 * locale/programs/locfile.h: Include "obstack.h".
11818 (struct locale_file): Change to store locale file contents instead
11820 (init_locale_data): New prototype.
11821 (align_locale_data): Likewise.
11822 (add_locale_empty): Likewise.
11823 (add_locale_raw_data): Likewise.
11824 (add_locale_raw_obstack): Likewise.
11825 (add_locale_string): Likewise.
11826 (add_locale_wstring): Likewise.
11827 (add_locale_uint32): Likewise.
11828 (add_locale_uint32_array): Likewise.
11829 (add_locale_char): Likewise.
11830 (start_locale_structure): Likewise.
11831 (end_locale_structure): Likewise.
11832 (start_locale_prelude): Likewise.
11833 (end_locale_prelude): Likewise.
11834 (write_locale_data): Update prototype.
11835 * locale/programs/3level.h (struct TABLE): Remove result field.
11836 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11837 Use new locale_file interface.
11838 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11839 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11840 * locale/programs/ld-address.c (address_output): Use new
11841 locale_file interface.
11842 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11844 (collate_finish): Don't call collseq_table_finalize.
11845 (collate_output): Use new locale_file interface.
11846 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11848 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11849 (TABLE): Move defines earlier in file.
11850 (ELEMENT): Likewise.
11851 (DEFAULT): Likewise.
11852 (wctrans_table_add): Move macro and inline function earlier in
11854 (struct wctype_table): Move type earlier in file.
11855 (add_locale_wctype_table): New static prototype.
11856 (struct locale_ctype_t): Use logical types instead of struct iovec
11857 pointers for members.
11858 (ctype_output): Use new locale_file interface.
11859 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11860 new locale_file interface.
11861 (allocate_arrays): Update for use of new locale_file interface.
11862 * locale/programs/ld-identification.c (identification_output): Use
11863 new locale_file interface.
11864 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11865 * locale/programs/ld-messages.c (messages_output): Likewise.
11866 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11867 * locale/programs/ld-name.c (name_output): Likewise.
11868 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11869 * locale/programs/ld-paper.c (paper_output): Likewise.
11870 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11871 * locale/programs/ld-time.c (time_output): Likewise.
11873 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11875 * benchtests/Makefile: Add memrchr benchmark.
11876 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11877 benchmark as memrchr.
11878 * benchtests/bench-memrchr-ifunc.c: New file.
11879 * benchtests/bench-memrchr.c: New file.
11881 2013-09-06 Will Newton <will.newton@linaro.org>
11883 * benchtests/Makefile (string-bench): Add memcpy.
11885 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11886 Cong Wang <amwang@redhat.com>
11889 * sysdeps/unix/sysv/linux/bits/in.h
11890 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11891 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11892 before __USE_KERNEL_IPV6_DEFS uses.
11893 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11895 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11896 sockaddr_in6, or ipv6_mreq.
11898 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11900 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11901 memory access for final bytes in some large inputs.
11902 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11904 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11906 * string/test-memrchr.c: New file.
11907 * string/test-memrchr-ifunc.c: New file.
11908 * string/Makefile: Add new memrchr testcase.
11910 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11912 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11913 fanotify_init returns EPERM.
11915 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11917 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11919 (top level): Treat second token from macro or constant entries for
11920 allowed headers as allowed.
11921 * include/complex.h: Condition internal declarations on
11923 * include/fenv.h: Condition include of <stdbool.h> and internal
11924 declarations on [!_ISOMAC].
11926 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11929 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11931 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11933 * configure.in (--enable-versioning): Remove configure option.
11934 (libc_cv_asm_symver_directive): Remove configure test.
11935 (libc_cv_ld_version_script_option): Likewise.
11936 (VERSIONING): Remove variable and AC_SUBST.
11937 (DO_VERSIONING): Remove AC_DEFINE.
11938 * configure: Regenerated.
11939 * config.h.in (DO_VERSIONING): Remove macro.
11940 * Makerules [$(versioning) = yes]: Change conditionals to
11941 [$(build-shared) = yes].
11942 * config.make.in (versioning): Remove variable.
11943 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11944 [$(build-shared) = yes].
11945 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11946 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11947 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11948 [$(build-shared) = yes].
11949 * extra-lib.mk [$(versioning) = yes]: Likewise.
11950 * hurd/Makefile [$(versioning) = yes]: Likewise.
11951 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11953 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11955 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11956 [SHARED && !NO_HIDDEN].
11957 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11959 [SHARED && DO_VERSIONING]: Likewise..
11960 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11961 [$(build-shared) = yes].
11962 * manual/install.texi (--disable-versioning): Remove
11964 * INSTALL: Regenerated.
11965 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11967 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11968 [$(build-shared) = yes].
11969 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11970 * sysdeps/i386/i686/multiarch/strstr-c.c
11971 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11972 [SHARED && !NO_HIDDEN].
11973 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11974 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11975 * sysdeps/powerpc/powerpc32/dl-machine.c
11976 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11977 * sysdeps/powerpc/powerpc32/sysdep.h
11978 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11979 to [SHARED && PIC && !NO_HIDDEN].
11980 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11981 conditional to [SHARED].
11983 2013-09-04 Will Newton <will.newton@linaro.org>
11985 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11986 * benchtests/bench-string.h: Include bench-timing.h instead
11987 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11988 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11989 call to HP_TIMING_DIFF_INIT.
11990 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11991 instead of hp-timing.h macros.
11992 * benchtests/bench-memchr.c: Likewise.
11993 * benchtests/bench-memcmp.c: Likewise.
11994 * benchtests/bench-memcpy.c: Likewise.
11995 * benchtests/bench-memmem.c: Likewise.
11996 * benchtests/bench-memmove.c: Likewise.
11997 * benchtests/bench-memset.c: Likewise.
11998 * benchtests/bench-rawmemchr.c: Likewise.
11999 * benchtests/bench-strcasecmp.c: Likewise.
12000 * benchtests/bench-strcasestr.c: Likewise.
12001 * benchtests/bench-strcat.c: Likewise.
12002 * benchtests/bench-strchr.c: Likewise.
12003 * benchtests/bench-strcmp.c: Likewise.
12004 * benchtests/bench-strcpy.c: Likewise.
12005 * benchtests/bench-strcpy_chk.c: Likewise.
12006 * benchtests/bench-strlen.c: Likewise.
12007 * benchtests/bench-strncasecmp.c: Likewise.
12008 * benchtests/bench-strncat.c: Likewise.
12009 * benchtests/bench-strncmp.c: Likewise.
12010 * benchtests/bench-strncpy.c: Likewise.
12011 * benchtests/bench-strnlen.c: Likewise.
12012 * benchtests/bench-strpbrk.c: Likewise.
12013 * benchtests/bench-strrchr.c: Likewise.
12014 * benchtests/bench-strspn.c: Likewise.
12015 * benchtests/bench-strstr.c: Likewise.
12017 2013-09-04 Will Newton <will.newton@linaro.org>
12019 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12021 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12024 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12025 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12026 * math/libm-test.inc (lgamma_test_data): Add more tests.
12027 * sysdeps/i386/fpu/libm-test-ulps: Update.
12028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12030 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12032 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12036 Add strcmp-sse2-unaligned
12037 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12039 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12041 * Versions.def (libc): Add GLIBC_2.19.
12043 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12045 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12046 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12048 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12051 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12052 intermediate calculations in recurrence.
12053 (__ieee754_ynf): Likewise.
12054 * math/libm-test.inc (jn_test_data): Do not allow spurious
12055 underflow exception. Add more tests.
12056 (yn_test_data): Add more tests.
12057 * sysdeps/i386/fpu/libm-test-ulps: Update.
12058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12060 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12062 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12064 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12066 * csu/init-first.c: Fix then/than typos.
12067 * locale/programs/ld-collate.c: Likewise.
12068 * locale/programs/linereader.h: Likewise.
12069 * manual/charset.texi: Likewise.
12070 * manual/filesys.texi: Likewise.
12071 * manual/stdio.texi: Likewise.
12072 * manual/string.texi: Likewise.
12073 * stdlib/fmtmsg.c: Likewise.
12074 * sysdeps/i386/stpncpy.S: Likewise.
12075 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12076 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12077 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12078 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12080 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12082 * elf/dl-open.c: Fix typos.
12083 * iconvdata/gbbig5.c: Likewise.
12084 * iconvdata/iso-2022-jp.c: Likewise.
12085 * iconv/gconv_int.h: Likewise.
12086 * iconv/loop.c: Likewise.
12087 * nis/rpcsvc/nis.h: Likewise.
12088 * resolv/ns_name.c: Likewise.
12089 * stdio-common/vfscanf.c: Likewise.
12090 * streams/stropts.h: Likewise.
12091 * sunrpc/rpc_thread.c: Likewise.
12092 * sysdeps/i386/strpbrk.S: Likewise.
12093 * sysdeps/ieee754/k_standard.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12096 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12097 * sysdeps/mach/hurd/profil.c: Likewise.
12098 * sysdeps/s390/dl-procinfo.h: Likewise.
12099 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12100 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12101 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12102 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12103 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12105 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12107 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12110 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12112 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12113 aix specific files.
12114 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12115 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12117 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12118 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12119 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12120 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12121 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12123 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12124 Roland McGrath <roland@hack.frob.com>
12126 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12127 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12129 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12131 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12132 __executable_start symbol instead of _start.
12134 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12136 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12137 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12139 * sysdeps/gnu/ldsodefs.h: ... this new file.
12141 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12142 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12143 instead of ELFOSABI_LINUX.
12145 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12146 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12147 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12148 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12150 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12151 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12152 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12154 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12155 (ibm_extended_long_double): Add ieee_nan member.
12156 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12157 (do_test): New function.
12159 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12161 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12162 functions, renamed from truncdfsf_test, trunctfsf_test,
12164 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12166 (do_test): Run all these.
12168 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12170 * argp/argp-help.c: Fix typos.
12171 * argp/argp-parse.c: Likewise.
12172 * debug/backtracesyms.c: Likewise.
12173 * elf/elf.h: Likewise.
12174 * malloc/malloc.c: Likewise.
12175 * nis/nis_print.c: Likewise.
12176 * resolv/res_comp.c: Likewise.
12177 * stdlib/stdlib.h: Likewise.
12178 * sunrpc/clnt_tcp.c: Likewise.
12179 * sunrpc/clnt_udp.c: Likewise.
12180 * sunrpc/clnt_unix.c: Likewise.
12181 * sysdeps/unix/bsd/ptsname.c: Likewise.
12182 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12183 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12190 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12192 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12194 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12197 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12200 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12201 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12202 ($(objpfx)bug-dl-leaf): New rule.
12203 ($(objpfx)bug-dl-leaf.so): Likewise.
12204 ($(objpfx)bug-dl-leaf.out): Likewise.
12205 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12206 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12207 * dlfcn/bug-dl-leaf.c: New test.
12208 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12209 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12210 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12211 (dlclose): Likewise.
12212 (dlmopen): Likewise.
12214 2013-08-27 Roland McGrath <roland@hack.frob.com>
12216 * include/netdb.h [!_ISOMAC]:
12217 Don't include <tls.h>.
12218 (h_errno, __libc_h_errno): Move declaration and macros out of
12221 * include/resolv.h [_RESOLV_H_]:
12222 Don't include <tls.h>.
12223 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12224 * resolv/res_libc.c: Don't include <tls.h>.
12225 (_res): Use __attribute__ ((nocommon)) in place of
12226 __attribute__ ((section (".bss"))).
12228 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12229 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12231 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12233 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12234 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12236 * resolv/res_mkquery.c: Include <sys/time.h>.
12238 * inet/ifreq.c: Moved to ...
12239 * sysdeps/unix/ifreq.c: ... here.
12240 * inet/ifreq.c: New file, true stub version.
12242 * socket/sa_len.c: New file.
12243 * socket/Makefile (aux): Add it.
12244 * sysdeps/unix/sysv/linux/Makefile
12245 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12246 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12247 and #include <socket/sa_len.c>.
12248 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12249 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12251 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12252 * bits/socket.h: ... here.
12254 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12255 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12256 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12258 2013-08-27 Andreas Schwab <schwab@suse.de>
12261 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12262 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12263 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12264 * string/test-strcasecmp.c (test_main): Run tests in several
12266 * string/test-strncasecmp.c (test_main): Likewise.
12268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12269 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12270 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12272 (__strncasecmp_ssse3) [PIC]: Likewise.
12274 2013-08-26 Roland McGrath <roland@hack.frob.com>
12276 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12278 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12279 instead of explicitly declaring xdecrypt.
12280 * nis/nss_nis/nis-publickey.c: Likewise.
12282 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12285 * nscd/aicache.c: Include res_hconf.h.
12286 (addhstaiX): Initialize res_hconf.
12288 2013-08-26 Andreas Schwab <schwab@suse.de>
12290 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12291 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12293 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12295 * nscd/aicache.c (addhstaiX): Fix indentation.
12297 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12299 * configure.ac: Quote $build_pt_chown test.
12300 * configure: Regenerated.
12302 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12305 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12306 * math/s_cexpf.c (__cexpf): Likewise.
12307 * math/s_cexpl.c (__cexpl): Likewise.
12308 * math/libm-test.inc (cexp_test_data): Correct expected return
12309 value for NaN + i0. Add another test.
12311 2013-08-22 David S. Miller <davem@davemloft.net>
12313 * po/ca.po: Update Catalan translation from translation project.
12314 * po/uk.po: Add Ukrainian translations from translation project.
12316 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12319 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12320 is infinite, not alongside NaN test.
12321 * math/s_fdimf.c (__fdimf): Likewise.
12322 * math/s_fdiml.c (__fdiml): Likewise.
12323 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12324 errno is unchanged.
12326 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12328 * argp/argp-help.c: Fix typos.
12329 * crypt/speeds.c: Likewise.
12330 * csu/check_fds.c: Likewise.
12331 * elf/dl-load.c: Likewise.
12332 * elf/dl-open.c: Likewise.
12333 * elf/reldep3.c: Likewise.
12334 * elf/reldep.c: Likewise.
12335 * elf/sprof.c: Likewise.
12336 * iconv/iconv_charmap.c: Likewise.
12337 * iconv/skeleton.c: Likewise.
12338 * iconv/strtab.c: Likewise.
12339 * io/lockf64.c: Likewise.
12340 * libio/libioP.h: Likewise.
12341 * resolv/gai_notify.c: Likewise.
12342 * resolv/ns_name.c: Likewise.
12343 * resolv/ns_samedomain.c: Likewise.
12344 * resolv/res_send.c: Likewise.
12345 * stdlib/random.c: Likewise.
12346 * sunrpc/rpc/xdr.h: Likewise.
12347 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12348 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12349 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12350 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12351 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12352 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12354 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12355 * sysdeps/mach/hurd/check_fds.c: Likewise.
12356 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12357 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12359 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12360 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12361 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12362 * sysdeps/pthread/aio_notify.c: Likewise.
12363 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12364 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12366 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12367 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12369 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12371 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12372 version if bit_Slow_SSE4_2 is set.
12373 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12374 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12376 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12379 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12380 trampoline stack frame information.
12381 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12383 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12384 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12385 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12386 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12387 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12388 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12390 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12391 interrupting a syscall and set with option SA_SIGINFO.
12393 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12396 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12397 argument is infinite.
12398 * math/s_cprojf.c (__cprojf): Likewise.
12399 * math/s_cprojl.c (__cprojl): Likewise.
12400 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12401 * math/libm-test.inc (cproj_test_data): Add more tests.
12403 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12405 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12406 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12407 size. Use __ffs to determine corresponding shift.
12409 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12410 Roland McGrath <roland@hack.frob.com>
12412 * Makefile (INSTALL): Remove trailing blank lines from output of
12415 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12417 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12418 Align 32 bit compat elf_greg to 8 bytes.
12420 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12422 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12424 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12426 * string/strcoll_l.c (coll_seq): New structure.
12427 (get_next_seq_cached): New function.
12428 (get_next_seq): New function.
12429 (do_compare): New function.
12430 (STRCOLL): Use GNU style definition. Simplify implementation
12431 by using get_next_seq, get_next_seq_cached and do_compare.
12433 2013-08-16 Florian Weimer <fweimer@redhat.com>
12437 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12439 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12441 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12442 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12443 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12445 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12446 GETDENTS_64BIT_ALIGNED.
12447 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12448 * manual/filesys.texi (Reading/Closing Directory): Document
12449 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12451 * manual/conf.texi (Limits for Files): Add portability note to
12452 NAME_MAX, PATH_MAX.
12453 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12455 2013-08-13 Andreas Schwab <schwab@suse.de>
12458 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12460 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12461 LDBL_MAX_EXP >= 16384]: Add tests for it.
12463 2013-08-12 David S. Miller <davem@davemloft.net>
12465 * version.h (RELEASE): Set to "development".
12466 (VERSION): Set to "2.18.90".
12467 * NEWS: Add 2.19 section.
12469 2013-08-03 David S. Miller <davem@davemloft.net>
12471 * po/ko.po: Update Korean translation from translation project.
12473 2013-08-01 David S. Miller <davem@davemloft.net>
12475 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12476 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12479 2013-07-30 David S. Miller <davem@davemloft.net>
12481 * po/fr.po: Update French translation from translation project.
12483 2013-07-28 David S. Miller <davem@davemloft.net>
12485 * po/cs.po: Update Czech translation from translation project.
12487 * po/sv.po: Update Swedish translation from translation project.
12489 2013-07-27 David S. Miller <davem@davemloft.net>
12491 * po/eo.po: Update Esperanto translation from translation project.
12493 * po/vi.po: Update Vietnamese translation from translation project.
12495 * po/de.po: Update German translation from translation project.
12497 2013-07-26 David S. Miller <davem@davemloft.net>
12499 * po/bg.po: Update Bulgarian translation from translation project.
12501 * po/nl.po: Update Dutch translation from translation project.
12502 * po/pl.po: Update Polish translation from translation project.
12503 * po/ru.po: Update Russian translation from translation project.
12505 2013-07-24 David S. Miller <davem@davemloft.net>
12507 * po/libc.pot: Update.
12509 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12511 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12512 variable page size.
12513 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12515 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12517 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12519 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12521 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12522 Andreas Schwab <schwab@suse.de>
12523 Roland McGrath <roland@hack.frob.com>
12524 Joseph Myers <joseph@codesourcery.com>
12525 Carlos O'Donell <carlos@redhat.com>
12528 * config.h.in: Define HAVE_PT_CHOWN.
12529 * config.make.in (build-pt-chown): New variable.
12530 * configure.in (--enable-pt_chown): New configure option.
12531 * configure: Regenerate.
12532 * login/Makefile: Include Makeconfig. Build pt_chown only if
12533 build-pt-chown is enabled.
12534 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12535 pt_chown to fix pty ownership.
12536 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12538 * manual/install.texi (Configuring and compiling): Mention
12539 --enable-pt_chown. Add @findex for grantpt.
12540 * INSTALL: Regenerate.
12542 2013-07-20 David S. Miller <davem@davemloft.net>
12544 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12545 difference between 32-bit and 64-bit.
12547 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12550 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12551 Avoid system header dependency with -ffreestanding.
12552 ($(objpfx)bits/syscall%d): Likewise.
12554 2013-07-13 David S. Miller <davem@davemloft.net>
12556 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12557 underflows from atanl/atan2l due to bug 15319.
12558 (casinh_test_data): Likewise.
12560 2013-07-07 David S. Miller <davem@davemloft.net>
12562 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12564 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12566 * sysdeps/i386/fpu/libm-test-ulps: Update.
12567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12569 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12571 * configure.in (--enable-lock-elision): Fix message text.
12572 * INSTALL: Regenerate.
12573 * configure: Regenerate.
12575 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12579 2013-07-03 Andreas Jaeger <aj@suse.de>
12581 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12583 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12584 (ptrace_peeksiginfo_args): Add.
12585 (__ptrace_peeksiginfo_flags): Add.
12586 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12588 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12590 2013-07-03 Allan McRae <allan@archlinux.org>
12592 * sysdeps/i386/fpu/libm-test-ulps: Update.
12594 2013-07-02 David S. Miller <davem@davemloft.net>
12596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12598 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12602 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12604 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12607 2013-07-02 Andi Kleen <ak@linux.intel.com>
12609 * config.h.in (ENABLE_LOCK_ELISION): Add.
12610 * configure.in (--enable-lock-elision): Add option.
12611 * manual/install.texi: Document --enable lock elision.
12612 * configure: Regenerate
12613 * INSTALL: Regenerate.
12615 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12617 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12618 SSE4.2 strcasecmp for libc.a.
12619 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12621 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12624 * soft-fp/op-common.h (_FP_FMA): New macro.
12625 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12626 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12627 (_FP_MUL_MEAT_1_imm): ... here.
12628 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12629 (_FP_MUL_MEAT_1_wide): ... here.
12630 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12631 (_FP_MUL_MEAT_1_hard): ... here.
12632 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12633 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12634 (_FP_MUL_MEAT_2_wide): ... here.
12635 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12636 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12637 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12638 (_FP_MUL_MEAT_2_gmp): ... here.
12639 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12640 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12641 (_FP_MUL_MEAT_4_wide): ... here.
12642 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12643 (_FP_MUL_MEAT_4_gmp): ... here.
12644 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12645 (_FP_WFRACBITS_DW_S): Likewise.
12646 (_FP_WFRACXBITS_DW_S): Likewise.
12647 (_FP_HIGHBIT_DW_S): Likewise.
12648 (FP_FMA_S): Likewise.
12649 (_FP_FRAC_HIGH_DW_S): Likewise.
12650 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12651 (_FP_WFRACBITS_DW_D): Likewise.
12652 (_FP_WFRACXBITS_DW_D): Likewise.
12653 (_FP_HIGHBIT_DW_D): Likewise.
12654 (FP_FMA_D): Likewise.
12655 (_FP_FRAC_HIGH_DW_D): Likewise.
12656 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12657 (_FP_WFRACBITS_DW_E): Likewise.
12658 (_FP_WFRACXBITS_DW_E): Likewise.
12659 (_FP_HIGHBIT_DW_E): Likewise.
12660 (FP_FMA_E): Likewise.
12661 (_FP_FRAC_HIGH_DW_E): Likewise.
12662 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12663 (_FP_WFRACBITS_DW_Q): Likewise.
12664 (_FP_WFRACXBITS_DW_Q): Likewise.
12665 (_FP_HIGHBIT_DW_Q): Likewise.
12666 (FP_FMA_Q): Likewise.
12667 (_FP_FRAC_HIGH_DW_Q): Likewise.
12668 * soft-fp/fmasf4.c: New file.
12669 * soft-fp/fmadf4.c: Likewise.
12670 * soft-fp/fmatf4.c: Likewise.
12672 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12675 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12679 (index_Slow_SSE4_2): Likewise.
12680 (index_Prefer_PMINUB_for_stringop): Likewise.
12681 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12682 bit_Slow_SSE4_2 is set.
12683 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12684 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12686 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12688 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12689 rtld_global._dl_hwcap2.
12690 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12692 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12693 POWER8 feature descriptions defined in _dl_hwcap2.
12694 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12695 string handling for POWER8 feature bits.
12696 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12697 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12698 _dl_powerpc_cap_flags.
12699 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12700 * sysdeps/powerpc/rtld-global-offsets.sym
12701 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12702 _dl_hwcap2 in the rtld_global_ro structure.
12704 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12706 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12707 hardware capabilities in support of AT_HWCAP2.
12708 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12709 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12711 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12712 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12713 explicitly the unknown a_type display mechanism is used.
12714 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12715 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12717 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12718 to macro prototype for AT_HWCAP2 support.
12719 * sysdeps/i386/dl-procinfo.h: Likewise.
12720 * sysdeps/s390/dl-procinfo.h: Likewise.
12721 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12722 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12723 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12724 return -1 for unknown a_type display fallback.
12725 * sysdeps/sparc/dl-procinfo.h: Likewise.
12726 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12727 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12729 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12731 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12732 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12734 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12737 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12738 mprotect making __stack_prot writable.
12740 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12741 Joseph Myers <joseph@codesourcery.com>
12743 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12744 as being properly aligned.
12746 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12748 * dlfcn/modstatic5.c: New file.
12749 * dlfcn/tststatic5.c: New file.
12750 * dlfcn/Makefile (tests): Add tststatic5.
12751 (tests-static): Likewise.
12752 (modules-names): Add modstatic5.
12753 (tststatic5-ENV): New variable.
12754 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12757 * elf/dl-support.c (_dl_main_map): New variable.
12758 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12759 (_dl_nns, _dl_load_adds): Set to 1.
12760 (_dl_initial_searchlist): Refer to _dl_main_map.
12761 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12762 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12763 call to _dl_get_origin.
12764 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12766 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12767 * dlfcn/modstatic3.c: New file.
12768 * dlfcn/tststatic3.c: New file.
12769 * dlfcn/tststatic4.c: New file.
12770 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12771 (tests-static): Likewise.
12772 (modules-names): Add modstatic3.
12773 (tststatic3-ENV, tststatic4-ENV): New variables.
12774 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12775 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12777 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12779 * configure.in (CC): Require GCC version 4.4 or later.
12780 * configure: Regenerated.
12781 * manual/install.texi (Tools for Compilation): Update GCC version
12783 * INSTALL: Regenerated.
12785 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12788 * string/test-memcmp.c (check2): New.
12789 (main): Call check2.
12791 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12793 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12796 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12798 (dl_open_worker) [!SHARED]: ... here.
12800 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12802 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12804 2013-06-25 Richard Henderson <rth@redhat.com>
12806 * locale/programs/locarchive.c: Include <libc-internal.h>
12808 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12810 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12811 trailing whitespace removed.
12813 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12816 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12817 * locale/programs/locarchive.c: Include libc-mmap.h.
12818 (prepare_address_space): Take two new outputs (the mmap base and len).
12819 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12821 (create_archive): Declare new mmap base and len values for
12822 prepare_address_space, and store the result in ah.
12823 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12824 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12825 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12826 Declare new mmap base and len values for
12827 prepare_address_space, and store the result in new_ah.
12828 (open_archive): Declare new mmap base and len values for
12829 prepare_address_space, and store the result in ah.
12830 (close_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 * sysdeps/generic/libc-mmap.h: New file.
12834 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12836 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12837 (ALIGN_UP): Likewise.
12838 (PTR_ALIGN_DOWN): Likewise.
12839 (PTR_ALIGN_UP): Likewise.
12841 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12843 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12844 entry mapped to PPC_PLATFORM_POWER8.
12845 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12847 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12848 (_dl_string_platform): Add case for exporting platform position for
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12851 search path to sysdeps/powerpc/powerpc32/power8 directory.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12853 search path to sysdeps/powerpc/powerpc64/power8 directory.
12854 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12855 power7 directories.
12856 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12857 power7 directories.
12859 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12861 * INSTALL: Regenerate.
12863 * nscd/connections.c (nscd_init): Fix comment.
12865 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12867 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12870 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12871 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12873 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12875 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12877 (DL_DST_REQ_STATIC): Remove macro.
12879 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12882 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12883 with a shift of 0 bits.
12885 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12887 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12890 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12893 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12895 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12897 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12898 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12899 accepts -fno-tree-loop-distribute-patterns.
12900 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12901 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12903 * string/memset.c (memset): Likewise.
12904 * string/test-memmove.c (simple_memmove): Disable loop transformation
12906 * string/test-memset.c (simple_memset): Likewise.
12907 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12908 * benchtests/bench-memset.c (simple_memset): Likewise.
12909 * configure: Regenerated.
12911 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12913 * math/test-misc.c (main): Ignore fesetround failure when failures
12914 of subsequent rounding tests would be ignored.
12917 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12918 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12919 * math/fegetenv.c (__fegetenv): Return 0.
12920 * math/fegetexcept.c (fegetexcept): Return 0.
12921 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12923 * math/feholdexcpt.c (feholdexcept): Return 0.
12924 * math/fesetenv.c (__fesetenv): Return 0.
12925 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12926 argument FE_TONEAREST.
12927 * math/feupdateenv.c (__feupdateenv): Return 0.
12928 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12930 2013-06-18 Roland McGrath <roland@hack.frob.com>
12932 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12933 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12934 ($(objpfx)rtld-%.os rules): Use them.
12936 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12938 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12941 2013-06-17 Roland McGrath <roland@hack.frob.com>
12943 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12944 length of target pattern, then descending length of dependency pattern.
12945 * configure.in (AWK): Require gawk 3.1.2 or newer.
12946 * manual/install.texi (Tools for Compilation): Say that we do.
12947 * configure: Regenerated.
12949 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12950 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12951 * scripts/sysd-rules.awk: ... this new script.
12952 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12953 than a glob-style pattern.
12955 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12957 * math/test-misc.c (main): Do not treat incorrectly rounded
12958 conversions as failure unless ROUNDING_TESTS passes.
12960 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12963 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12964 restore exception state around main square root computation, then
12965 check for inexactness explicitly.
12967 * math/libm-test.inc (fma_test_data): Add another test.
12969 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12971 * manual/threads.texi (Non-POSIX Extensions): New document
12972 node. Document pthread_getattr_default_np and
12973 pthread_setattr_default_np.
12975 * Versions.def (libpthread): Add GLIBC_2.18.
12976 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12985 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12996 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12999 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13001 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13002 H.J. Lu <hjl.tools@gmail.com>
13005 * sysdeps/x86_64/rtld-memset.c: Remove file.
13006 * sysdeps/x86_64/rtld-memset.S: New file.
13008 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13010 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13011 (test_in_one_mode): Take arguments for whether the rounding mode
13012 is supported for each floating-point type.
13013 (do_test): Pass new arguments to test_in_one_mode using
13016 2013-06-13 Roland McGrath <roland@hack.frob.com>
13018 * posix/tst-waitid.c (do_test): Distinguish different instances of
13019 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13020 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13021 before entering the kernel for waitpid.
13023 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13025 * NEWS: Fix note on clock function precision. Text by Roland
13028 2013-06-13 Roland McGrath <roland@hack.frob.com>
13030 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13031 it into place only when and if the sanity check passes.
13033 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13035 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13036 output for whether conversion result is exact. Take argument
13037 indicating whether type is IBM long double.
13038 (round_for_all): Change need_exact field to ibm_ld.
13039 * stdlib/tst-strtod-round.c (struct exactness): New type.
13040 (struct test): Change bool ld_ok field to struct exactness exact.
13041 (TEST): Update all definitions for change to field.
13042 (tests): Regenerate array contents.
13043 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13044 field value. Check for IBM long double here.
13045 (do_test): Update calls to test_in_one_mode.
13047 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13050 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13051 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13053 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13056 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13057 generated by the compiler on loop optimizations.
13058 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13059 general definitions.
13061 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13063 * math/bug-nextafter.c: Include <math-tests.h>.
13064 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13066 * math/bug-nexttoward.c: Include <math-tests.h>.
13067 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13069 * math/test-misc.c: Include <math-tests.h>.
13070 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13073 2013-06-12 Andreas Jaeger <aj@suse.de>
13075 * po/ia.po: Update Interlingua translation from translation
13078 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13080 * include/fenv.h: Include stdbool.h.
13081 (struct rm_ctx): New structure.
13082 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13084 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13085 (SET_RESTORE_ROUNDF): Likewise.
13086 (SET_RESTORE_ROUNDL): Likewise.
13087 (SET_RESTORE_ROUND_NOEX): Likewise.
13088 (SET_RESTORE_ROUND_NOEXF): Likewise.
13089 (SET_RESTORE_ROUND_NOEXL): Likewise.
13090 (SET_RESTORE_ROUND_53BIT): Likewise.
13091 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13092 (libc_feresetround_noexf_ctx): Likewise.
13093 (libc_feresetround_noexl_ctx): Likewise.
13094 (libc_feholdsetround_53bit_ctx): Likewise.
13095 (libc_feresetround_53bit_ctx): Likewise.
13096 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13097 (libc_feholdexcept_setround_sse_ctx): New function.
13098 (libc_fesetenv_sse_ctx): Likewise.
13099 (libc_feupdateenv_sse_ctx): Likewise.
13100 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13101 (libc_feholdexcept_setround_387_ctx): Likewise.
13102 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13103 (libc_feholdsetround_387_prec_ctx): Likewise.
13104 (libc_feholdsetround_387_ctx): Likewise.
13105 (libc_feholdsetround_387_53bit_ctx): Likewise.
13106 (libc_feholdsetround_sse_ctx): Likewise.
13107 (libc_feresetround_sse_ctx): Likewise.
13108 (libc_feresetround_387_ctx): Likewise.
13109 (libc_feupdateenv_387_ctx): Likewise.
13110 (libc_feholdexcept_setroundf_ctx): Define macro.
13111 (libc_fesetenvf_ctx): Likewise.
13112 (libc_feupdateenvf_ctx): Likewise.
13113 (libc_feholdsetroundf_ctx): Likewise.
13114 (libc_feresetroundf_ctx): Likewise.
13115 (libc_feholdexcept_setround_ctx): Likewise.
13116 (libc_fesetenv_ctx): Likewise.
13117 (libc_feupdateenv_ctx): Likewise.
13118 (libc_feholdsetround_ctx): Likewise.
13119 (libc_feresetround_ctx): Likewise.
13120 (libc_feholdexcept_setroundl_ctx): Likewise.
13121 (libc_feupdateenvl_ctx): Likewise.
13122 (libc_feholdsetroundl_ctx): Likewise.
13123 (libc_feresetroundl_ctx): Likewise.
13124 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13125 (libc_feresetround_53bit_ctx): Likewise.
13127 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13129 * locale/iso-639.def: Convert to UTF-8.
13131 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13133 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13134 (EXCEPTION_TESTS_double): Likewise.
13135 (EXCEPTION_TESTS_long_double): Likewise.
13136 (EXCEPTION_TESTS): Likewise.
13137 * math/libm-test.inc (test_exceptions): Only test exceptions if
13138 EXCEPTION_TESTS (FLOAT).
13140 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13142 * benchtests/Makefile (string-bench): Add strcpy_chk and
13144 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13145 * benchtests/bench-stpcpy_chk.c: New file.
13146 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13147 * benchtests/bench-strcpy_chk.c: New file.
13148 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13150 (do_test): Likewise.
13152 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13154 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13155 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13156 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13157 with tabs where appropriate.
13158 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13160 [PPC_PLATFORM_PPC440]: Likewise.
13161 [PPC_PLATFORM_PPC464]: Likewise.
13162 [PPC_PLATFORM_PPC476]: Likewise.
13163 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13164 ppc464, and ppc476 platform strings merging from ports/
13167 2013-06-11 Andreas Schwab <schwab@suse.de>
13170 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13171 (from_ucs4_idx): Regenerate.
13172 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13173 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13174 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13175 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13176 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13177 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13178 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13179 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13180 from FROM_LOOP and TO_LOOP specific macros.
13181 (BODY): Handle combining characters.
13182 * iconvdata/BIG5HKSCS.irreversible: Update.
13183 * iconvdata/BIG5HKSCS.precomposed: New file.
13184 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13186 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13188 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13190 * include/sys/time.h: Fix indentation and add copyright header.
13192 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13193 (do_test): Likewise.
13194 * string/test-memchr.c (do_one_test): Likewise.
13195 (do_test): Likewise.
13196 * string/test-memcmp.c (do_one_test): Likewise.
13197 (do_test): Likewise.
13198 * string/test-memcpy.c (do_one_test): Likewise.
13199 (do_test): Likewise.
13200 * string/test-memmem.c (do_one_test): Likewise.
13201 (do_test): Likewise.
13202 (do_random_tests): Likewise.
13203 * string/test-memmove.c (do_one_test): Likewise.
13204 (do_test): Likewise.
13205 * string/test-memset.c (do_one_test): Likewise.
13206 (do_test): Likewise.
13207 * string/test-rawmemchr.c (do_one_test): Likewise.
13208 (do_test): Likewise.
13209 * string/test-strcasecmp.c (do_one_test): Likewise.
13210 (do_test): Likewise.
13211 * string/test-strcasestr.c (do_one_test): Likewise.
13212 (do_test): Likewise.
13213 * string/test-strcat.c (do_one_test): Likewise.
13214 (do_test): Likewise.
13215 * string/test-strchr.c (do_one_test): Likewise.
13216 (do_test): Likewise.
13217 * string/test-strcmp.c (do_one_test): Likewise.
13218 (do_test): Likewise.
13219 * string/test-strcpy.c (do_one_test): Likewise.
13220 (do_test): Likewise.
13221 * string/test-string.h: Likewise.
13222 (test_init): Likewise.
13223 * string/test-strlen.c (do_one_test): Likewise.
13224 (do_test): Likewise.
13225 * string/test-strncasecmp.c (do_one_test): Likewise.
13226 (do_test): Likewise.
13227 * string/test-strncat.c (do_one_test): Likewise.
13228 (do_test): Likewise.
13229 * string/test-strncmp.c (do_one_test): Likewise.
13230 (do_test_limit): Likewise.
13231 (do_test): Likewise.
13232 * string/test-strncpy.c (do_one_test): Likewise.
13233 (do_test): Likewise.
13234 * string/test-strnlen.c (do_one_test): Likewise.
13235 (do_test): Likewise.
13236 * string/test-strpbrk.c (do_one_test): Likewise.
13237 (do_test): Likewise.
13238 * string/test-strrchr.c (do_one_test): Likewise.
13239 (do_test): Likewise.
13240 * string/test-strspn.c (do_one_test): Likewise.
13241 (do_test): Likewise.
13242 * string/test-strstr.c (do_one_test): Likewise.
13243 (do_test): Likewise.
13245 * benchtests/Makefile (string-bench): Add string benchmarks.
13246 * benchtests/bench-bcopy-ifunc.c: New file.
13247 * benchtests/bench-bcopy.c: New file.
13248 * benchtests/bench-bzero-ifunc.c: New file.
13249 * benchtests/bench-bzero.c: New file.
13250 * benchtests/bench-memccpy-ifunc.c: New file.
13251 * benchtests/bench-memccpy.c: New file.
13252 * benchtests/bench-memchr-ifunc.c: New file.
13253 * benchtests/bench-memchr.c: New file.
13254 * benchtests/bench-memcmp-ifunc.c: New file.
13255 * benchtests/bench-memcmp.c: New file.
13256 * benchtests/bench-memmem-ifunc.c: New file.
13257 * benchtests/bench-memmem.c: New file.
13258 * benchtests/bench-memmove-ifunc.c: New file.
13259 * benchtests/bench-memmove.c: New file.
13260 * benchtests/bench-mempcpy-ifunc.c: New file.
13261 * benchtests/bench-mempcpy.c: New file.
13262 * benchtests/bench-memset-ifunc.c: New file.
13263 * benchtests/bench-memset.c: New file.
13264 * benchtests/bench-rawmemchr-ifunc.c: New file.
13265 * benchtests/bench-rawmemchr.c: New file.
13266 * benchtests/bench-stpcpy-ifunc.c: New file.
13267 * benchtests/bench-stpcpy.c: New file.
13268 * benchtests/bench-stpncpy-ifunc.c: New file.
13269 * benchtests/bench-stpncpy.c: New file.
13270 * benchtests/bench-strcasecmp-ifunc.c: New file.
13271 * benchtests/bench-strcasecmp.c: New file.
13272 * benchtests/bench-strcasestr-ifunc.c: New file.
13273 * benchtests/bench-strcasestr.c: New file.
13274 * benchtests/bench-strcat-ifunc.c: New file.
13275 * benchtests/bench-strcat.c: New file.
13276 * benchtests/bench-strchr-ifunc.c: New file.
13277 * benchtests/bench-strchr.c: New file.
13278 * benchtests/bench-strchrnul-ifunc.c: New file.
13279 * benchtests/bench-strchrnul.c: New file.
13280 * benchtests/bench-strcmp-ifunc.c: New file.
13281 * benchtests/bench-strcmp.c: New file.
13282 * benchtests/bench-strcpy-ifunc.c: New file.
13283 * benchtests/bench-strcpy.c: New file.
13284 * benchtests/bench-strcspn-ifunc.c: New file.
13285 * benchtests/bench-strcspn.c: New file.
13286 * benchtests/bench-strlen-ifunc.c: New file.
13287 * benchtests/bench-strlen.c: New file.
13288 * benchtests/bench-strncasecmp-ifunc.c: New file.
13289 * benchtests/bench-strncasecmp.c: New file.
13290 * benchtests/bench-strncat-ifunc.c: New file.
13291 * benchtests/bench-strncat.c: New file.
13292 * benchtests/bench-strncmp-ifunc.c: New file.
13293 * benchtests/bench-strncmp.c: New file.
13294 * benchtests/bench-strncpy-ifunc.c: New file.
13295 * benchtests/bench-strncpy.c: New file.
13296 * benchtests/bench-strnlen-ifunc.c: New file.
13297 * benchtests/bench-strnlen.c: New file.
13298 * benchtests/bench-strpbrk-ifunc.c: New file.
13299 * benchtests/bench-strpbrk.c: New file.
13300 * benchtests/bench-strrchr-ifunc.c: New file.
13301 * benchtests/bench-strrchr.c: New file.
13302 * benchtests/bench-strspn-ifunc.c: New file.
13303 * benchtests/bench-strspn.c: New file.
13304 * benchtests/bench-strstr-ifunc.c: New file.
13305 * benchtests/bench-strstr.c: New file.
13307 * benchtests/Makefile: Disable parallel execution of targets.
13308 (string-bench): Add memcpy.
13309 (benchset): New variable to store a list of benchmark sets.
13310 (bench-func): Renamed from bench.
13311 (bench-set): New target.
13312 (bench): Depend on bench-func and bench-set.
13313 * benchtests/README: Add section on benchmark sets.
13314 * benchtests/bench-memcpy-ifunc.c: New file.
13315 * benchtests/bench-memcpy.c: New file.
13316 * benchtests/bench-string.h: New file.
13318 2013-06-11 Andreas Schwab <schwab@suse.de>
13321 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13322 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13323 values in the triple.
13324 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13325 terminator in the group key.
13327 2013-06-11 Andreas Jaeger <aj@suse.de>
13329 * po/zh_TW.po: Update Chinese (traditional) translation from
13330 translation project.
13332 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13334 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13335 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13336 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13337 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13338 (clock_getcpuclockid): Likewise.
13339 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13340 Add weak_alias and libc_hidden_def.
13341 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13342 * rt/clock_gettime.c (clock_gettime): Rename to
13343 __clock_gettime. Add weak_alias and libc_hidden_def.
13344 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13345 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13346 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13347 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13348 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13350 * rt/clock_settime.c (clock_settime): Rename to
13351 __clock_settime. Add weak_alias and libc_hidden_def.
13352 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13354 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13356 * mach/err_boot.sub: Remove trailing whitespace.
13357 * mach/err_ipc.sub: Likewise.
13358 * mach/err_mach.sub: Likewise.
13360 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13361 (ROUNDING_TESTS_double): Likewise.
13362 (ROUNDING_TESTS_long_double): Likewise.
13363 (ROUNDING_TESTS): Likewise.
13364 * math/libm-test.inc: Include <math-tests.h>.
13365 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13366 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13367 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13368 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13370 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13372 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13375 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13377 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13378 otherwise empty TRANS lines.
13379 * sysdeps/gnu/errlist.c: Regenerated.
13381 * catgets/gencat.c (error_print): Use (void) in function
13383 * crypt/crypt_util.c (__init_des): Likewise.
13384 * crypt/speeds.c (Stop): Likewise.
13386 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13387 * inet/ruserpass.c (token): Likewise.
13388 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13389 * intl/localealias.c (extend_alias_table): Likewise.
13390 * intl/plural-exp.c (init_germanic_plural): Likewise.
13391 * libio/fcloseall.c (__fcloseall): Likewise.
13392 * libio/genops.c (_IO_flush_all): Likewise.
13393 (_IO_flush_all_linebuffered): Likewise.
13394 (_IO_cleanup): Likewise.
13395 (_IO_iter_begin): Likewise.
13396 (_IO_iter_end): Likewise.
13397 (_IO_list_lock): Likewise.
13398 (_IO_list_unlock): Likewise.
13399 (_IO_list_resetlock): Likewise.
13400 * libio/getchar.c (getchar): Likewise.
13401 * libio/getchar_u.c (getchar_unlocked): Likewise.
13402 * libio/getwchar.c (getwchar): Likewise.
13403 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13404 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13405 * login/getpt.c (__getpt): Likewise.
13406 * login/tst-utmp.c (main): Likewise.
13407 * malloc/hooks.c (__malloc_check_init): Likewise.
13408 * malloc/malloc.c (__malloc_stats): Likewise.
13409 * malloc/mtrace.c (tr_break): Likewise.
13410 (mtrace): Likewise.
13411 (muntrace): Likewise.
13412 * misc/fstab.c (endfsent): Likewise.
13413 * misc/getclktck.c (__getclktck): Likewise.
13414 * misc/getdtsz.c (__getdtablesize): Likewise.
13415 * misc/gethostid.c (gethostid): Likewise.
13416 * misc/getpagesize.c (__getpagesize): Likewise.
13417 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13418 (__get_nprocs): Likewise.
13419 (__get_phys_pages): Likewise.
13420 (__get_avphys_pages): Likewise.
13421 * misc/getttyent.c (getttyent): Likewise.
13422 (setttyent): Likewise.
13423 (endttyent): Likewise.
13424 * misc/getusershell.c (getusershell): Likewise.
13425 (endusershell): Likewise.
13426 (setusershell): Likewise.
13427 (initshells): Likewise.
13428 * misc/hsearch.c (__hdestroy): Likewise.
13429 * misc/sync.c (sync): Likewise.
13430 * misc/syslog.c (closelog_internal): Likewise.
13431 (closelog): Likewise.
13432 * misc/ttyslot.c (ttyslot): Likewise.
13433 * misc/vhangup.c (vhangup): Likewise.
13434 * posix/fork.c (__fork): Likewise.
13435 * posix/getegid.c (__getegid): Likewise.
13436 * posix/geteuid.c (__geteuid): Likewise.
13437 * posix/getgid.c (__getgid): Likewise.
13438 * posix/getpid.c (__getpid): Likewise.
13439 * posix/getppid.c (__getppid): Likewise.
13440 * posix/getuid.c (__getuid): Likewise.
13441 * posix/pause.c (pause): Likewise.
13442 * posix/setpgrp.c (setpgrp): Likewise.
13443 * posix/setsid.c (__setsid): Likewise.
13444 * posix/test-vfork.c (noop): Likewise.
13445 * resolv/gethnamaddr.c (_endhtent): Likewise.
13446 (_gethtent): Likewise.
13447 (ht_endhostent): Likewise.
13448 (gethostent): Likewise.
13449 (dns_service): Likewise.
13450 * stdlib/drand48.c (drand48): Likewise.
13451 * stdlib/lrand48.c (lrand48): Likewise.
13452 * stdlib/mrand48.c (mrand48): Likewise.
13453 * stdlib/rand.c (rand): Likewise.
13454 * stdlib/random.c (__random): Likewise.
13455 * stdlib/setenv.c (clearenv): Likewise.
13456 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13457 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13458 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13459 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13460 (__get_nprocs): Likewise.
13461 (__get_phys_pages): Likewise.
13462 (__get_avphys_pages): Likewise.
13463 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13464 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13465 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13466 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13467 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13468 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13469 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13470 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13471 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13472 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13473 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13474 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13475 * sysdeps/posix/clock.c (clock): Likewise.
13476 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13477 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13478 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13479 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13480 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13482 (__get_nprocs_conf): Likewise.
13483 (__get_phys_pages): Likewise.
13484 (__get_avphys_pages): Likewise.
13485 * time/clock.c (clock): Likewise.
13486 * time/tzset.c (__tzname_max): Likewise.
13488 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13490 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13491 (__bswap_32): Do not use "register".
13492 * crypt/crypt.c (_ufc_doit_r): Likewise.
13493 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13494 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13495 * gmon/gmon.c (__monstartup): Likewise.
13496 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13497 * hurd/hurdmalloc.c (more_memory): Likewise.
13498 (malloc): Likewise.
13500 (realloc): Likewise.
13501 (malloc_fork_prepare): Likewise.
13502 (malloc_fork_parent): Likewise.
13503 (malloc_fork_child): Likewise.
13504 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13505 (_svcauth_des): Likewise.
13506 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13507 * inet/inet_net.c (inet_network): Likewise.
13508 * inet/inet_netof.c (inet_netof): Likewise.
13509 * inet/rcmd.c (__validuser2_sa): Likewise.
13510 * io/fts.c (fts_open): Likewise.
13511 (fts_load): Likewise.
13512 (fts_close): Likewise.
13513 (fts_read): Likewise.
13514 (fts_children): Likewise.
13515 (fts_build): Likewise.
13516 (fts_stat): Likewise.
13517 (fts_sort): Likewise.
13518 (fts_alloc): Likewise.
13519 (fts_lfree): Likewise.
13520 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13521 (_IO_file_xsgetn): Likewise.
13522 (_IO_file_xsgetn_mmap): Likewise.
13523 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13524 (_IO_cookie_write): Likewise.
13525 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13526 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13527 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13528 * malloc/obstack.c (_obstack_begin): Likewise.
13529 (_obstack_begin_1): Likewise.
13530 (_obstack_newchunk): Likewise.
13531 (_obstack_allocated_p): Likewise.
13532 (obstack_free): Likewise.
13533 (_obstack_memory_used): Likewise.
13534 * misc/getttyent.c (getttynam): Likewise.
13535 (getttyent): Likewise.
13538 * misc/getusershell.c (initshells): Likewise.
13539 * misc/syslog.c (__vsyslog_chk): Likewise.
13540 * misc/ttyslot.c (ttyslot): Likewise.
13541 * nis/nis_hash.c (__nis_hash): Likewise.
13542 * posix/fnmatch_loop.c (FCT): Likewise.
13543 * posix/getconf.c (print_all): Likewise.
13545 * posix/getopt.c (exchange): Likewise.
13546 * posix/glob.c (globfree): Likewise.
13547 (prefix_array): Likewise.
13548 (__glob_pattern_type): Likewise.
13549 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13550 (NS_GET32): Likewise.
13551 (NS_PUT16): Likewise.
13552 (NS_PUT32): Likewise.
13553 * resolv/gethnamaddr.c (getanswer): Likewise.
13554 (gethostbyname2): Likewise.
13555 (gethostbyaddr): Likewise.
13556 (_gethtent): Likewise.
13557 (_gethtbyname2): Likewise.
13558 (_gethtbyaddr): Likewise.
13559 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13560 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13561 * resolv/res_init.c (__res_vinit): Likewise.
13562 (net_mask): Likewise.
13563 * resolv/res_mkquery.c (outchar): Likewise.
13565 * stdio-common/printf_fp.c (outchar): Likewise.
13567 * stdio-common/printf_fphex.c (outchar): Likewise.
13569 * stdio-common/printf_size.c (outchar): Likewise.
13571 * stdio-common/test_rdwr.c (main): Likewise.
13572 * stdio-common/tfformat.c (matches): Likewise.
13573 * stdio-common/vfprintf.c (outchar): Likewise.
13574 (printf_unknown): Likewise.
13575 (buffered_vfprintf): Likewise.
13576 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13577 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13578 (ReadFile): Likewise.
13579 * stdlib/qsort.c (SWAP): Likewise.
13580 (_quicksort): Likewise.
13581 * stdlib/setenv.c (__add_to_environ): Likewise.
13582 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13583 * stdlib/strtol_l.c (__strtol_l): Likewise.
13584 * stdlib/tst-strtod.c (main): Likewise.
13585 * stdlib/tst-strtol.c (main): Likewise.
13586 * stdlib/tst-strtoll.c (main): Likewise.
13587 * string/bits/string2.h (__strcmp_cc): Likewise.
13588 (__strcmp_cg): Likewise.
13589 (__strcspn_c1): Likewise.
13590 (__strcspn_c2): Likewise.
13591 (__strcspn_c3): Likewise.
13592 (__strspn_c1): Likewise.
13593 (__strspn_c2): Likewise.
13594 (__strspn_c3): Likewise.
13595 (__strsep_1c): Likewise.
13596 (__strsep_2c): Likewise.
13597 (__strsep_3c): Likewise.
13598 * string/memccpy.c (__memccpy): Likewise.
13599 * string/stpcpy.c (__stpcpy): Likewise.
13600 * string/strcmp.c (strcmp): Likewise.
13601 * string/strrchr.c (strrchr): Likewise.
13602 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13604 * sysdeps/mach/hurd/getcwd.c
13605 (_hurd_canonicalize_directory_name_internal): Likewise.
13606 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13607 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13608 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13609 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13610 Likewise, in both definitions.
13611 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13613 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13614 64] (__bswap_64): Likewise.
13615 * time/test_time.c (main): Likewise.
13616 * time/tzfile.c (__tzfile_read): Likewise.
13617 (__tzfile_compute): Likewise.
13618 * time/tzset.c (__tzset_parse_tz): Likewise.
13619 (tzset_internal): Likewise.
13620 (compute_change): Likewise.
13621 * wcsmbs/wcscat.c (__wcscat): Likewise.
13622 * wcsmbs/wcschr.c (wcschr): Likewise.
13623 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13624 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13625 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13626 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13627 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13628 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13629 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13630 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13631 * wcsmbs/wmemset.c (wmemset): Likewise.
13633 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13635 * scripts/config.guess: Update to version 2013-05-16.
13636 * scripts/config.sub: Update to version 2013-04-24.
13637 * scripts/install-sh: Update to version 2011-11-20.07.
13638 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13639 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13641 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13643 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13644 * elf/sln.c: Likewise.
13645 * hurd/hurd/ioctl.h: Likewise.
13646 * hurd/hurdmalloc.c: Likewise.
13647 * hurd/xattr.c: Likewise.
13648 * include/shlib-compat.h: Likewise.
13649 * inet/ruserpass.c: Likewise.
13650 * libio/iofgets_u.c: Likewise.
13651 * libio/iofgetws_u.c: Likewise.
13652 * locale/programs/ld-identification.c: Likewise.
13653 * locale/programs/ld-time.c: Likewise.
13654 * mach/msg-destroy.c: Likewise.
13655 * nss/nss_files/files-netgrp.c: Likewise.
13656 * resolv/res_data.c: Likewise.
13657 * soft-fp/op-1.h: Likewise.
13658 * soft-fp/op-2.h: Likewise.
13659 * soft-fp/op-4.h: Likewise.
13660 * soft-fp/op-common.h: Likewise.
13661 * stdio-common/printf_fphex.c: Likewise.
13662 * stdlib/strtod_l.c: Likewise.
13663 * sunrpc/rpc/clnt.h: Likewise.
13664 * sysdeps/generic/framestate.c: Likewise.
13665 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13666 * sysdeps/i386/bsd-setjmp.S: Likewise.
13667 * sysdeps/i386/__longjmp.S: Likewise.
13668 * sysdeps/i386/setjmp.S: Likewise.
13669 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13670 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13671 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13672 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13675 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13677 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13687 * sysdeps/ieee754/support.c: Likewise.
13688 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13689 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13690 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13691 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13692 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13693 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13694 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13695 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13696 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13697 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13698 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13699 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13700 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13701 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13702 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13703 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13704 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13707 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13709 * posix/transbug.c: Remove executable mode.
13711 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13713 * crypt/speeds.c: Remove trailing whitespace.
13714 * dlfcn/default.c: Likewise.
13715 * elf/ifuncdep2.c: Likewise.
13716 * elf/ifuncmain1.c: Likewise.
13717 * elf/ifuncmain1vis.c: Likewise.
13718 * elf/testobj.h: Likewise.
13719 * elf/tst-stackguard1.c: Likewise.
13720 * gmon/sys/gmon.h: Likewise.
13721 * hurd/hurdmsg.c: Likewise.
13722 * hurd/new-fd.c: Likewise.
13723 * hurd/ports-get.c: Likewise.
13724 * iconvdata/ibm1008_420.c: Likewise.
13725 * inet/tst-getni1.c: Likewise.
13726 * inet/tst-getni2.c: Likewise.
13727 * libio/ioungetc.c: Likewise.
13728 * libio/wfiledoalloc.c: Likewise.
13729 * manual/libm-err-tab.pl: Likewise.
13730 * math/w_dremf.c: Likewise.
13731 * misc/ftruncate.c: Likewise.
13732 * posix/bug-glob2.c: Likewise.
13733 * posix/tst-pcre.c: Likewise.
13734 * posix/wait4.c: Likewise.
13735 * resolv/README: Likewise.
13736 * resolv/res_debug.h: Likewise.
13737 * resolv/tst-inet_ntop.c: Likewise.
13738 * setjmp/bug269-setjmp.c: Likewise.
13739 * soft-fp/extended.h: Likewise.
13740 * soft-fp/op-1.h: Likewise.
13741 * soft-fp/op-2.h: Likewise.
13742 * soft-fp/op-4.h: Likewise.
13743 * soft-fp/op-8.h: Likewise.
13744 * soft-fp/testit.c: Likewise.
13745 * stdio-common/bug16.c: Likewise.
13746 * stdlib/random.c: Likewise.
13747 * sunrpc/rpcsvc/rquota.x: Likewise.
13748 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13749 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13750 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13751 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13752 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13753 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13754 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13755 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13756 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13757 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13758 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13777 * sysdeps/ieee754/s_lib_version.c: Likewise.
13778 * sysdeps/mach/hurd/check_fds.c: Likewise.
13779 * sysdeps/mach/hurd/getsockname.c: Likewise.
13780 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13781 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13782 * sysdeps/powerpc/bits/link.h: Likewise.
13783 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13784 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13785 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13786 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13787 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13788 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13789 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13790 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13791 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13792 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13793 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13794 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13795 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13796 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13797 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13798 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13799 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13800 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13801 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13802 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13803 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13804 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13805 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13806 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13807 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13808 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13809 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13810 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13811 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13812 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13813 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13814 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13815 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13816 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13817 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13818 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13819 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13820 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13821 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13822 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13823 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13824 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13825 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13826 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13827 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13828 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13829 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13830 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13831 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13832 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13835 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13836 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13837 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13838 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13839 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13840 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13841 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13842 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13843 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13844 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13845 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13846 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13847 * sysdeps/powerpc/sysdep.h: Likewise.
13848 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13849 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13850 * sysdeps/sh/dl-trampoline.S: Likewise.
13851 * sysdeps/sh/memset.S: Likewise.
13852 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13853 * sysdeps/sh/strlen.S: Likewise.
13854 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13855 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13856 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13857 * sysdeps/sparc/sparc32/rem.S: Likewise.
13858 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13859 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13860 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13861 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13862 * sysdeps/sparc/sparc32/urem.S: Likewise.
13863 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13864 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13865 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13866 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13867 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13868 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13869 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13870 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13871 * sysdeps/unix/bsd/times.c: Likewise.
13872 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13873 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13877 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13878 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13879 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13880 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13881 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13882 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13883 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13884 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13885 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13886 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13888 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13889 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13890 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13891 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13892 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13893 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13894 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13895 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13896 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13897 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13898 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13899 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13900 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13901 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13902 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13903 * sysdeps/x86_64/strcspn.S: Likewise.
13905 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13907 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13908 generated file. Regenerate properly from gen-translit.pl.
13909 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13910 locale/C-translit.h.
13912 2013-06-05 Andreas Schwab <schwab@suse.de>
13915 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13916 week as 6 instead of -1.
13917 * time/tst-strptime.c (day_tests): Add test case.
13919 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13921 * sysdeps/generic/math_private.h
13922 (libc_feholdexcept_setround_53bit): Replace with
13923 libc_feholdsetround_53bit.
13924 (libc_feupdateenv_53bit): Replace with
13925 libc_feresetround_53bit.
13926 (SET_RESTORE_ROUND_53BIT): Adjust.
13928 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13930 * string/test-strchrnul.c: Add copyright header.
13932 * posix/tst-getaddrinfo4.c: Increase test timeout.
13934 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13937 * math/libm-test.inc (MAX_EXP): Remove
13939 (ulp): Use MIN_EXP - MANT_DIG.
13940 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13942 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13944 * po/be.po: Revert last change.
13945 * po/zh_CN.po: Likewise.
13946 * po/header.pot: Likewise.
13948 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13950 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13951 link-libc-deps to empty as target-specific variable.
13952 * Makerules (link-libc-args): New variable.
13953 (libc-for-link): Likewise.
13954 (link-libc-deps): Likewise.
13955 (lib%.so): Depend on $(link-libc-deps). Link with
13957 (build-module): Link with $(link-libc-args).
13958 (build-module-asneeded): Likewise.
13959 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13961 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13962 target-specific variable.
13963 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13964 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13965 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13967 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13969 ($(objpfx)libpcprofile.so): Likewise.
13970 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13972 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13973 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13974 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13976 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13977 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13978 * login/Makefile ($(objpfx)libutil.so): Likewise.
13979 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13980 * math/Makefile ($(objpfx)libm.so): Likewise.
13981 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13982 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13983 variable instead of depending directly on libc.
13984 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13985 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13987 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13989 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13990 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13991 ($(objpfx)libanl.so): Likewise.
13992 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13994 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13996 * sysdeps/i386/fpu/Makefile: Remove file.
13997 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13998 ($(objpfx)libm.so): Remove dependency on ld.so.
14000 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14003 * nis/yp_xdr.c (XDRMAXNAME): Define.
14004 (XDRMAXRECORD): Define.
14005 (xdr_domainname): Use XDRMAXNAME.
14006 (xdr_mapname): Likewise.
14007 (xdr_peername): Likewise.
14008 (xdr_keydat): Use XDRMAXRECORD.
14009 (xdr_valdat): Likewise.
14011 2013-05-30 Jeff Law <law@redhat.com>
14014 * manual/errno.texi (ESTALE): Update to account for more than
14015 just NFS file systems.
14016 * sysdeps/gnu/errlist.c: Regenerated.
14018 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14021 * elf/Makefile (tests): Add tst-null-argv.
14022 (modules-names): Add tst-null-argv-lib.
14023 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14024 (tst-null-argv-ENV): Set environment for tst-null-argv.
14025 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14026 (RTLD_PROGNAME): New macro.
14027 * elf/tst-null-argv.c: New test case.
14028 * elf/tst-null-argv-lib.c: Library for test case.
14029 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14030 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14031 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14032 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14033 * elf/dl-init.c (call_init): Likewise.
14034 (_dl_init): Likewise.
14035 * elf/dl-load.c (print_search_path): Likewise.
14036 (_dl_map_object): Likewise.
14037 * elf/dl-lookup.c (do_lookup_x): Likewise.
14038 (add_dependency): Likewise.
14039 (_dl_lookup_symbol_x): Likewise.
14040 (_dl_debug_bindings): Likewise.
14041 * elf/dl-open.c (_dl_show_scope): Likewise.
14042 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14043 * elf/dl-version.c (match_symbol): Likewise.
14044 (_dl_check_map_versions): Likewise.
14045 * elf/rtld.c (dl_main): Likewise.
14046 (print_unresolved): Use RTLD_PROGNAME.
14047 (print_missing_version): Likewise.
14048 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14049 (elf_machine_rela): Likewise.
14050 * sysdeps/powerpc/powerpc32/dl-machine.c
14051 (__process_machine_rela): Likewise.
14052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14054 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14056 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14058 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14059 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14061 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14063 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14065 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14067 * po/be.po: Add descriptive title.
14068 * po/zh_CN.po: Likewise.
14069 * po/header.pot: Likewise.
14071 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14073 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14075 (enlarge_archive): Likewise.
14077 2013-05-28 Ben North <ben@redfrontdoor.org>
14079 * manual/arith.texi (frexp): It is the magnitude of the return
14080 value which lies in [0.5, 1), not the return value itself.
14082 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14086 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14088 * stdio-common/bug26.c (main): Correct fscanf template.
14090 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14091 declare _dl_skip_args.
14093 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14096 * manual/platform.texi: Add missing @end deftypefun.
14098 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14101 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14102 bit of mantissa of 2^16382.
14103 * math/libm-test.inc (hypot_test_data): Add more tests.
14105 * math/libm-test.inc: Add drem and pow10 to list of tested
14107 (pow10_test): New function.
14108 (drem_test): Likewise.
14109 (drem_test_tonearest): Likewise.
14110 (drem_test_towardzero): Likewise.
14111 (drem_test_downward): Likewise.
14112 (drem_test_upward): Likewise.
14113 (main): Call the new functions.
14115 * math/libm-test.inc (finite_test_data): Remove.
14116 (finite_test): Run tests from isfinite_test_data.
14117 (gamma_test_data): Remove.
14118 (gamma_test): Run tests from lgamma_test_data.
14119 * sysdeps/i386/fpu/libm-test-ulps: Update.
14120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14122 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124 * manual/platform.texi: Add PowerPC PPR function set documentation.
14125 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14128 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14130 * math/libm-test.inc (MAX_EXP): Define.
14132 (ulp): New function.
14133 (check_float_internal): Use ULPDIFF.
14134 (cpow_test): Disable failing test.
14135 (check_ulp): Test ulp() implemetnation.
14136 (main): Call check_ulp before starting tests.
14138 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14140 * math/gen-libm-test.pl (generate_testfile): Do not handle
14141 START_DATA and END_DATA.
14142 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14144 (acos_tonearest_test_data): Likewise.
14145 (acos_towardzero_test_data): Likewise.
14146 (acos_downward_test_data): Likewise.
14147 (acos_upward_test_data): Likewise.
14148 (acosh_test_data): Likewise.
14149 (asin_test_data): Likewise.
14150 (asin_tonearest_test_data): Likewise.
14151 (asin_towardzero_test_data): Likewise.
14152 (asin_downward_test_data): Likewise.
14153 (asin_upward_test_data): Likewise.
14154 (asinh_test_data): Likewise.
14155 (atan_test_data): Likewise.
14156 (atanh_test_data): Likewise.
14157 (atan2_test_data): Likewise.
14158 (cabs_test_data): Likewise.
14159 (cacos_test_data): Likewise.
14160 (cacosh_test_data): Likewise.
14161 (carg_test_data): Likewise.
14162 (casin_test_data): Likewise.
14163 (casinh_test_data): Likewise.
14164 (catan_test_data): Likewise.
14165 (catanh_test_data): Likewise.
14166 (cbrt_test_data): Likewise.
14167 (ccos_test_data): Likewise.
14168 (ccosh_test_data): Likewise.
14169 (ceil_test_data): Likewise.
14170 (cexp_test_data): Likewise.
14171 (cimag_test_data): Likewise.
14172 (clog_test_data): Likewise.
14173 (clog10_test_data): Likewise.
14174 (conj_test_data): Likewise.
14175 (copysign_test_data): Likewise.
14176 (cos_test_data): Likewise.
14177 (cos_tonearest_test_data): Likewise.
14178 (cos_towardzero_test_data): Likewise.
14179 (cos_downward_test_data): Likewise.
14180 (cos_upward_test_data): Likewise.
14181 (cosh_test_data): Likewise.
14182 (cosh_tonearest_test_data): Likewise.
14183 (cosh_towardzero_test_data): Likewise.
14184 (cosh_downward_test_data): Likewise.
14185 (cosh_upward_test_data): Likewise.
14186 (cpow_test_data): Likewise.
14187 (cproj_test_data): Likewise.
14188 (creal_test_data): Likewise.
14189 (csin_test_data): Likewise.
14190 (csinh_test_data): Likewise.
14191 (csqrt_test_data): Likewise.
14192 (ctan_test_data): Likewise.
14193 (ctan_tonearest_test_data): Likewise.
14194 (ctan_towardzero_test_data): Likewise.
14195 (ctan_downward_test_data): Likewise.
14196 (ctan_upward_test_data): Likewise.
14197 (ctanh_test_data): Likewise.
14198 (ctanh_tonearest_test_data): Likewise.
14199 (ctanh_towardzero_test_data): Likewise.
14200 (ctanh_downward_test_data): Likewise.
14201 (ctanh_upward_test_data): Likewise.
14202 (erf_test_data): Likewise.
14203 (erfc_test_data): Likewise.
14204 (exp_test_data): Likewise.
14205 (exp_tonearest_test_data): Likewise.
14206 (exp_towardzero_test_data): Likewise.
14207 (exp_downward_test_data): Likewise.
14208 (exp_upward_test_data): Likewise.
14209 (exp10_test_data): Likewise.
14210 (exp2_test_data): Likewise.
14211 (expm1_test_data): Likewise.
14212 (fabs_test_data): Likewise.
14213 (fdim_test_data): Likewise.
14214 (finite_test_data): Likewise.
14215 (floor_test_data): Likewise.
14216 (fma_test_data): Likewise.
14217 (fma_towardzero_test_data): Likewise.
14218 (fma_downward_test_data): Likewise.
14219 (fma_upward_test_data): Likewise.
14220 (fmax_test_data): Likewise.
14221 (fmin_test_data): Likewise.
14222 (fmod_test_data): Likewise.
14223 (fpclassify_test_data): Likewise.
14224 (frexp_test_data): Likewise.
14225 (gamma_test_data): Likewise.
14226 (hypot_test_data): Likewise.
14227 (ilogb_test_data): Likewise.
14228 (isfinite_test_data): Likewise.
14229 (isgreater_test_data): Likewise.
14230 (isgreaterequal_test_data): Likewise.
14231 (isinf_test_data): Likewise.
14232 (isless_test_data): Likewise.
14233 (islessequal_test_data): Likewise.
14234 (islessgreater_test_data): Likewise.
14235 (isnan_test_data): Likewise.
14236 (isnormal_test_data): Likewise.
14237 (issignaling_test_data): Likewise.
14238 (isunordered_test_data): Likewise.
14239 (j0_test_data): Likewise.
14240 (j1_test_data): Likewise.
14241 (jn_test_data): Likewise.
14242 (ldexp_test_data): Likewise.
14243 (lgamma_test_data): Likewise.
14244 (lrint_test_data): Likewise.
14245 (lrint_tonearest_test_data): Likewise.
14246 (lrint_towardzero_test_data): Likewise.
14247 (lrint_downward_test_data): Likewise.
14248 (lrint_upward_test_data): Likewise.
14249 (llrint_test_data): Likewise.
14250 (llrint_tonearest_test_data): Likewise.
14251 (llrint_towardzero_test_data): Likewise.
14252 (llrint_downward_test_data): Likewise.
14253 (llrint_upward_test_data): Likewise.
14254 (log_test_data): Likewise.
14255 (log10_test_data): Likewise.
14256 (log1p_test_data): Likewise.
14257 (log2_test_data): Likewise.
14258 (logb_test_data): Likewise.
14259 (logb_downward_test_data): Likewise.
14260 (lround_test_data): Likewise.
14261 (llround_test_data): Likewise.
14262 (modf_test_data): Likewise.
14263 (nearbyint_test_data): Likewise.
14264 (nextafter_test_data): Likewise.
14265 (nexttoward_test_data): Likewise.
14266 (pow_test_data): Likewise.
14267 (pow_tonearest_test_data): Likewise.
14268 (pow_towardzero_test_data): Likewise.
14269 (pow_downward_test_data): Likewise.
14270 (pow_upward_test_data): Likewise.
14271 (remainder_test_data): Likewise.
14272 (remainder_tonearest_test_data): Likewise.
14273 (remainder_towardzero_test_data): Likewise.
14274 (remainder_downward_test_data): Likewise.
14275 (remainder_upward_test_data): Likewise.
14276 (remquo_test_data): Likewise.
14277 (rint_test_data): Likewise.
14278 (rint_tonearest_test_data): Likewise.
14279 (rint_towardzero_test_data): Likewise.
14280 (rint_downward_test_data): Likewise.
14281 (rint_upward_test_data): Likewise.
14282 (round_test_data): Likewise.
14283 (scalb_test_data): Likewise.
14284 (scalbn_test_data): Likewise.
14285 (scalbln_test_data): Likewise.
14286 (signbit_test_data): Likewise.
14287 (sin_test_data): Likewise.
14288 (sin_tonearest_test_data): Likewise.
14289 (sin_towardzero_test_data): Likewise.
14290 (sin_downward_test_data): Likewise.
14291 (sin_upward_test_data): Likewise.
14292 (sincos_test_data): Likewise.
14293 (sinh_test_data): Likewise.
14294 (sinh_tonearest_test_data): Likewise.
14295 (sinh_towardzero_test_data): Likewise.
14296 (sinh_downward_test_data): Likewise.
14297 (sinh_upward_test_data): Likewise.
14298 (sqrt_test_data): Likewise.
14299 (tan_test_data): Likewise.
14300 (tan_tonearest_test_data): Likewise.
14301 (tan_towardzero_test_data): Likewise.
14302 (tan_downward_test_data): Likewise.
14303 (tan_upward_test_data): Likewise.
14304 (tanh_test_data): Likewise.
14305 (tgamma_test_data): Likewise.
14306 (trunc_test_data): Likewise.
14307 (y0_test_data): Likewise.
14308 (y1_test_data): Likewise.
14309 (yn_test_data): Likewise.
14310 (significand_test_data): Likewise.
14312 * math/gen-libm-test.pl (@functions): Remove variable.
14313 (generate_testfile): Don't handle START and END lines.
14314 * math/libm-test.inc (START): New macro.
14316 (END_COMPLEX): Likewise.
14317 (acos_test): Use END macro without arguments.
14318 (acos_test_tonearest): Likewise.
14319 (acos_test_towardzero): Likewise.
14320 (acos_test_downward): Likewise.
14321 (acos_test_upward): Likewise.
14322 (acosh_test): Likewise.
14323 (asin_test): Likewise.
14324 (asin_test_tonearest): Likewise.
14325 (asin_test_towardzero): Likewise.
14326 (asin_test_downward): Likewise.
14327 (asin_test_upward): Likewise.
14328 (asinh_test): Likewise.
14329 (atan_test): Likewise.
14330 (atanh_test): Likewise.
14331 (atan2_test): Likewise.
14332 (cabs_test): Likewise.
14333 (cacos_test): Use END_COMPLEX macro without arguments.
14334 (cacosh_test): Likewise.
14335 (carg_test): Use END macro without arguments.
14336 (casin_test): Use END_COMPLEX macro without arguments.
14337 (casinh_test): Likewise.
14338 (catan_test): Likewise.
14339 (catanh_test): Likewise.
14340 (cbrt_test): Use END macro without arguments.
14341 (ccos_test): Use END_COMPLEX macro without arguments.
14342 (ccosh_test): Likewise.
14343 (ceil_test): Use END macro without arguments.
14344 (cexp_test): Use END_COMPLEX macro without arguments.
14345 (cimag_test): Use END macro without arguments.
14346 (clog_test): Use END_COMPLEX macro without arguments.
14347 (clog10_test): Likewise.
14348 (conj_test): Likewise.
14349 (copysign_test): Use END macro without arguments.
14350 (cos_test): Likewise.
14351 (cos_test_tonearest): Likewise.
14352 (cos_test_towardzero): Likewise.
14353 (cos_test_downward): Likewise.
14354 (cos_test_upward): Likewise.
14355 (cosh_test): Likewise.
14356 (cosh_test_tonearest): Likewise.
14357 (cosh_test_towardzero): Likewise.
14358 (cosh_test_downward): Likewise.
14359 (cosh_test_upward): Likewise.
14360 (cpow_test): Use END_COMPLEX macro without arguments.
14361 (cproj_test): Likewise.
14362 (creal_test): Use END macro without arguments.
14363 (csin_test): Use END_COMPLEX macro without arguments.
14364 (csinh_test): Likewise.
14365 (csqrt_test): Likewise.
14366 (ctan_test): Likewise.
14367 (ctan_test_tonearest): Likewise.
14368 (ctan_test_towardzero): Likewise.
14369 (ctan_test_downward): Likewise.
14370 (ctan_test_upward): Likewise.
14371 (ctanh_test): Likewise.
14372 (ctanh_test_tonearest): Likewise.
14373 (ctanh_test_towardzero): Likewise.
14374 (ctanh_test_downward): Likewise.
14375 (ctanh_test_upward): Likewise.
14376 (erf_test): Use END macro without arguments.
14377 (erfc_test): Likewise.
14378 (exp_test): Likewise.
14379 (exp_test_tonearest): Likewise.
14380 (exp_test_towardzero): Likewise.
14381 (exp_test_downward): Likewise.
14382 (exp_test_upward): Likewise.
14383 (exp10_test): Likewise.
14384 (exp2_test): Likewise.
14385 (expm1_test): Likewise.
14386 (fabs_test): Likewise.
14387 (fdim_test): Likewise.
14388 (finite_test): Likewise.
14389 (floor_test): Likewise.
14390 (fma_test): Likewise.
14391 (fma_test_towardzero): Likewise.
14392 (fma_test_downward): Likewise.
14393 (fma_test_upward): Likewise.
14394 (fmax_test): Likewise.
14395 (fmin_test): Likewise.
14396 (fmod_test): Likewise.
14397 (fpclassify_test): Likewise.
14398 (frexp_test): Likewise.
14399 (gamma_test): Likewise.
14400 (hypot_test): Likewise.
14401 (ilogb_test): Likewise.
14402 (isfinite_test): Likewise.
14403 (isgreater_test): Likewise.
14404 (isgreaterequal_test): Likewise.
14405 (isinf_test): Likewise.
14406 (isless_test): Likewise.
14407 (islessequal_test): Likewise.
14408 (islessgreater_test): Likewise.
14409 (isnan_test): Likewise.
14410 (isnormal_test): Likewise.
14411 (issignaling_test): Likewise.
14412 (isunordered_test): Likewise.
14413 (j0_test): Likewise.
14414 (j1_test): Likewise.
14415 (jn_test): Likewise.
14416 (ldexp_test): Likewise.
14417 (lgamma_test): Likewise.
14418 (lrint_test): Likewise.
14419 (lrint_test_tonearest): Likewise.
14420 (lrint_test_towardzero): Likewise.
14421 (lrint_test_downward): Likewise.
14422 (lrint_test_upward): Likewise.
14423 (llrint_test): Likewise.
14424 (llrint_test_tonearest): Likewise.
14425 (llrint_test_towardzero): Likewise.
14426 (llrint_test_downward): Likewise.
14427 (llrint_test_upward): Likewise.
14428 (log_test): Likewise.
14429 (log10_test): Likewise.
14430 (log1p_test): Likewise.
14431 (log2_test): Likewise.
14432 (logb_test): Likewise.
14433 (logb_test_downward): Likewise.
14434 (lround_test): Likewise.
14435 (llround_test): Likewise.
14436 (modf_test): Likewise.
14437 (nearbyint_test): Likewise.
14438 (nextafter_test): Likewise.
14439 (nexttoward_test): Likewise.
14440 (pow_test): Likewise.
14441 (pow_test_tonearest): Likewise.
14442 (pow_test_towardzero): Likewise.
14443 (pow_test_downward): Likewise.
14444 (pow_test_upward): Likewise.
14445 (remainder_test): Likewise.
14446 (remainder_test_tonearest): Likewise.
14447 (remainder_test_towardzero): Likewise.
14448 (remainder_test_downward): Likewise.
14449 (remainder_test_upward): Likewise.
14450 (remquo_test): Likewise.
14451 (rint_test): Likewise.
14452 (rint_test_tonearest): Likewise.
14453 (rint_test_towardzero): Likewise.
14454 (rint_test_downward): Likewise.
14455 (rint_test_upward): Likewise.
14456 (round_test): Likewise.
14457 (scalb_test): Likewise.
14458 (scalbn_test): Likewise.
14459 (scalbln_test): Likewise.
14460 (signbit_test): Likewise.
14461 (sin_test): Likewise.
14462 (sin_test_tonearest): Likewise.
14463 (sin_test_towardzero): Likewise.
14464 (sin_test_downward): Likewise.
14465 (sin_test_upward): Likewise.
14466 (sincos_test): Likewise.
14467 (sinh_test): Likewise.
14468 (sinh_test_tonearest): Likewise.
14469 (sinh_test_towardzero): Likewise.
14470 (sinh_test_downward): Likewise.
14471 (sinh_test_upward): Likewise.
14472 (sqrt_test): Likewise.
14473 (tan_test): Likewise.
14474 (tan_test_tonearest): Likewise.
14475 (tan_test_towardzero): Likewise.
14476 (tan_test_downward): Likewise.
14477 (tan_test_upward): Likewise.
14478 (tanh_test): Likewise.
14479 (tgamma_test): Likewise.
14480 (trunc_test): Likewise.
14481 (y0_test): Likewise.
14482 (y1_test): Likewise.
14483 (yn_test): Likewise.
14484 (significand_test): Likewise.
14486 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14489 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14491 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14494 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14495 __ppc_mdoio and __ppc_mdoom.
14496 * manual/platform.texi: Document new functions __ppc_yield,
14497 __ppc_mdoio and __ppc_mdoom.
14499 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14501 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14502 (main): Mention "tls" pseudo-hwcap is legacy.
14503 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14505 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14507 * math/gen-libm-test.pl (parse_args): Output only string of
14508 arguments as text for test name, not full call or descriptions of
14509 tests for extra outputs.
14510 (generate_testfile): Do not pass function name to parse_args.
14511 Generate this_func variable from START.
14512 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14514 (struct test_ff_f_data): Likewise.
14515 (test_ff_f_data_nexttoward): Likewise.
14516 (struct test_fi_f_data): Likewise.
14517 (struct test_fl_f_data): Likewise.
14518 (struct test_if_f_data): Likewise.
14519 (struct test_fff_f_data): Likewise.
14520 (struct test_c_f_data): Likewise.
14521 (struct test_f_f1_data): Likewise. Remove field extra_name.
14522 (struct test_fF_f1_data): Likewise.
14523 (struct test_ffI_f1_data): Likewise.
14524 (struct test_c_c_data): Rename test_name field to arg_str.
14525 (struct test_cc_c_data): Likewise.
14526 (struct test_f_i_data): Likewise.
14527 (struct test_ff_i_data): Likewise.
14528 (struct test_f_l_data): Likewise.
14529 (struct test_f_L_data): Likewise.
14530 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14532 (COMMON_TEST_SETUP): New macro.
14533 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14534 (COMMON_TEST_CLEANUP): Likewise.
14535 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14536 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14538 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14539 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14541 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14542 (RUN_TEST_fff_f): Take argument string. Call new setup and
14544 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14545 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14547 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14548 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14550 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14551 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14553 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14554 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14556 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14557 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14559 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14560 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14562 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14563 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14565 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14566 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14568 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14569 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14571 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14572 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14574 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14575 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14577 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14578 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14580 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14581 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14583 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14584 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14586 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14587 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14589 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14591 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14593 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14594 to _sifields.sigfault.
14595 (si_addr_lsb): Define new macro.
14596 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14597 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14598 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14600 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14603 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14605 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14607 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14608 loading the domain.
14610 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14612 * math/gen-libm-test.pl (parse_args): Do not include expected
14613 result in test name.
14614 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14615 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14616 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14617 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14618 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14621 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14623 * benchtests/Makefile: Sort function entries.
14625 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14626 tanh, asinh, acosh, atanh.
14627 * benchtests/acos-inputs: New file.
14628 * benchtests/acosh-inputs: New file.
14629 * benchtests/asin-inputs: New file.
14630 * benchtests/asinh-inputs: New file.
14631 * benchtests/atanh-inputs: New file.
14632 * benchtests/cosh-inputs: New file.
14633 * benchtests/log-inputs: New file.
14634 * benchtests/sinh-inputs: New file.
14635 * benchtests/tanh-inputs: New file.
14637 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14640 * posix/tst-getaddrinfo4.c: New test.
14641 * posix/Makefile (tests): Add it.
14643 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14646 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14647 when no services were used.
14648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14649 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14651 2013-05-21 Andreas Schwab <schwab@suse.de>
14654 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14655 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14657 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14658 redundant variable declarations and reallocation of buffer when
14659 parsing as IPv6 address. Always set NSS status when called from
14660 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14661 buffer too small. Correct computation of needed size.
14662 * nss/Makefile (tests): Add test-digits-dots.
14663 * nss/test-digits-dots.c: New test.
14665 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14667 * benchtests/Makefile: Remove instructions for adding
14669 * benchtests/README: New file to explain how to execute and
14670 enhance the benchmark tests.
14672 2013-05-21 Andreas Schwab <schwab@suse.de>
14675 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14676 * setjmp/tst-sigsetjmp.c: New test.
14678 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14680 * sysdeps/x86_64/memset.S (memset): New implementation.
14681 (__bzero): Likewise.
14682 (__memset_tail): New function.
14684 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14686 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14687 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14688 __memcpy_sse2_unaligned ifunc selection.
14689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14690 Add memcpy-sse2-unaligned.S.
14691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14692 Add: __memcpy_sse2_unaligned.
14694 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14697 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14698 math_force_eval before restoring floating-point envrionment.
14699 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14702 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14704 (__nearbyintl): Use math_force_eval before restoring
14705 floating-point environment.
14706 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14708 * math/gen-libm-test.pl (special_functions): Remove.
14709 (parse_args): Don't handle TEST_extra. Handle functions with no
14711 * math/libm-test.inc (struct test_sincos_data): Replace with
14712 struct test_fFF_11_data.
14713 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14714 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14715 (sincos_test_data): Change element type to struct
14716 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14717 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14718 RUN_TEST_LOOP_sincos.
14719 * math/README.libm-test: Don't mention special handling of
14720 individual functions.
14721 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14722 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14723 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14724 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14725 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14728 * math/gen-libm-test.pl (get_variable): Remove function.
14729 (parse_args): Don't show pointer parameters to call in test
14730 names. Use "extra output N" in test names for extra outputs
14731 rather than naming variables.
14733 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14736 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14737 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14738 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14740 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14742 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14745 * math/gen-libm-test.pl (@tests): Remove variable.
14746 ($count): Likewise.
14747 (new_test): Remove function.
14748 (show_exceptions): New function.
14749 (special_functions): Use show_exceptions instead of new_test.
14750 (parse_args): Likewise.
14751 (generate_testfile): Pass only function name in generated call to
14752 print_max_error or print_complex_max_error.
14753 (get_ulps): Do not handle complex tests specially.
14754 (output_test): Rename to ...
14755 (get_all_ulps_for_test): ... this. Return a string rather than
14756 printing to a file. Require ulps to be present.
14757 (output_ulps): Generate arrays rather than #defines.
14758 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14759 (struct ulp_data): New type.
14760 (BUILD_COMPLEX_ULP): Remove macro.
14761 (compare_ulp_data): New function.
14762 (find_ulps): Likewise.
14763 (find_test_ulps): Likewise.
14764 (find_function_ulps): Likewise.
14765 (find_complex_function_ulps): Likewise.
14766 (print_max_error): Determine allowed ulps using
14767 find_function_ulps.
14768 (print_complex_max_error): Determine allowed ulps using
14769 find_complex_function_ulps.
14770 (check_float_internal): Determine max ulps using find_test_ulps.
14771 (check_float): Do not take max_ulp parameter. Update call to
14772 check_float_internal.
14773 (check_complex): Likewise.
14774 (check_int): Do not take max_ulp parameter.
14775 (check_long): Likewise.
14776 (check_bool): Likewise.
14777 (check_longlong): Likewise.
14778 (struct test_f_f_data): Remove max_ulp field.
14779 (struct test_ff_f_data): Likewise.
14780 (struct test_ff_f_data_nexttoward): Likewise.
14781 (struct test_fi_f_data): Likewise.
14782 (struct test_fl_f_data): Likewise.
14783 (struct test_if_f_data): Likewise.
14784 (struct test_fff_f_data): Likewise.
14785 (struct test_c_f_data): Likewise.
14786 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14787 (struct test_fF_f1_data): Likewise.
14788 (struct test_ffI_f1_data): Likewise.
14789 (struct test_c_c_data): Remove max_ulp field.
14790 (struct test_cc_c_data): Likewise.
14791 (struct test_f_i_data): Likewise.
14792 (struct test_ff_i_data): Likewise.
14793 (struct test_f_l_data): Likewise.
14794 (struct test_f_L_data): Likewise.
14795 (struct test_sincos_data): Likewise.
14796 (RUN_TEST_f_f): Do not handle ulps.
14797 (RUN_TEST_LOOP_f_f): Likewise.
14798 (RUN_TEST_2_f): Likewise.
14799 (RUN_TEST_LOOP_2_f): Likewise.
14800 (RUN_TEST_fff_f): Likewise.
14801 (RUN_TEST_LOOP_fff_f): Likewise.
14802 (RUN_TEST_c_f): Likewise.
14803 (RUN_TEST_LOOP_c_f): Likewise.
14804 (RUN_TEST_f_f1): Likewise.
14805 (RUN_TEST_LOOP_f_f1): Likewise.
14806 (RUN_TEST_fF_f1): Likewise.
14807 (RUN_TEST_LOOP_fF_f1): Likewise.
14808 (RUN_TEST_fI_f1): Likewise.
14809 (RUN_TEST_LOOP_fI_f1): Likewise.
14810 (RUN_TEST_ffI_f1): Likewise.
14811 (RUN_TEST_LOOP_ffI_f1): Likewise.
14812 (RUN_TEST_c_c): Likewise.
14813 (RUN_TEST_LOOP_c_c): Likewise.
14814 (RUN_TEST_cc_c): Likewise.
14815 (RUN_TEST_LOOP_cc_c): Likewise.
14816 (RUN_TEST_f_i): Likewise.
14817 (RUN_TEST_LOOP_f_i): Likewise.
14818 (RUN_TEST_f_i_tg): Likewise.
14819 (RUN_TEST_LOOP_f_i_tg): Likewise.
14820 (RUN_TEST_ff_i_tg): Likewise.
14821 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14822 (RUN_TEST_f_b): Likewise.
14823 (RUN_TEST_LOOP_f_b): Likewise.
14824 (RUN_TEST_f_b_tg): Likewise.
14825 (RUN_TEST_LOOP_f_b_tg): Likewise.
14826 (RUN_TEST_f_l): Likewise.
14827 (RUN_TEST_LOOP_f_l): Likewise.
14828 (RUN_TEST_f_L): Likewise.
14829 (RUN_TEST_LOOP_f_L): Likewise.
14830 (RUN_TEST_sincos): Likewise.
14831 (RUN_TEST_LOOP_sincos): Likewise.
14833 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14837 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14838 main case of finite arguments, set rounding mode to FE_TONEAREST
14839 and discard exceptions.
14840 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14842 (remainder_tonearest_test_data): New variable.
14843 (remainder_test_tonearest): New function.
14844 (remainder_towardzero_test_data): New variable.
14845 (remainder_test_towardzero): New function.
14846 (remainder_downward_test_data): New variable.
14847 (remainder_test_downward): New function.
14848 (remainder_upward_test_data): New variable.
14849 (remainder_test_upward): New function.
14850 (main): Call the new test functions.
14852 * math/libm-test.inc (struct test_f_f1_data): Remove field
14854 (struct test_fF_f1_data): Likewise.
14855 (struct test_ffI_f1_data): Likewise.
14856 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14857 based on value of EXTRA_EXPECTED.
14858 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14859 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14860 EXTRA_VAR based on value of EXTRA_EXPECTED.
14861 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14862 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14863 EXTRA_VAR based on value of EXTRA_EXPECTED.
14864 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14865 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14866 EXTRA_VAR based on value of EXTRA_EXPECTED.
14867 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14868 * math/gen-libm-test.pl (parse_args): Don't output initializers
14869 for extra output values.
14871 * math/libm-test.inc (check_int): Expect result to be exactly
14872 equal to expected value and do not handle ulps.
14873 (check_long): Likewise.
14874 (check_longlong): Likewise.
14876 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14878 (cimag_test_data): Likewise.
14879 (conj_test_data): Likewise.
14880 (copysign_test_data): Likewise.
14881 (cproj_test_data): Likewise.
14882 (creal_test_data): Likewise.
14883 (fabs_test_data): Likewise.
14884 (fdim_test_data): Likewise.
14885 (finite_test_data): Likewise.
14886 (floor_test_data): Likewise.
14887 (fmax_test_data): Likewise.
14888 (fmin_test_data): Likewise.
14889 (fmod_test_data): Likewise.
14890 (fpclassify_test_data): Likewise.
14891 (frexp_test_data): Likewise.
14892 (ilogb_test_data): Likewise.
14893 (isfinite_test_data): Likewise.
14894 (isgreater_test_data): Likewise.
14895 (isgreaterequal_test_data): Likewise.
14896 (isinf_test_data): Likewise.
14897 (isless_test_data): Likewise.
14898 (islessequal_test_data): Likewise.
14899 (islessgreater_test_data): Likewise.
14900 (isnan_test_data): Likewise.
14901 (isnormal_test_data): Likewise.
14902 (issignaling_test_data): Likewise.
14903 (isunordered_test_data): Likewise.
14904 (ldexp_test_data): Likewise.
14905 (lrint_test_data): Likewise.
14906 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14907 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14908 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14909 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14910 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14911 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14913 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14914 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14915 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14916 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14918 (lrint_downward_test_data): Test for "inexact" exceptions.
14919 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14920 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14921 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14923 (lrint_upward_test_data): Test for "inexact" exceptions.
14924 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14926 (llrint_test_data): Test for "inexact" exceptions.
14927 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14928 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14929 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14930 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14931 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14932 (llrint_downward_test_data): Test for "inexact" exceptions.
14933 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14934 (llrint_upward_test_data): Test for "inexact" exceptions.
14935 (logb_test_data): Likewise.
14936 (logb_downward_test_data): Likewise.
14937 (nextafter_test_data): Likewise.
14938 (nexttoward_test_data): Likewise.
14939 (remainder_test_data): Likewise.
14940 (remquo_test_data): Likewise.
14941 (scalbn_test_data): Likewise.
14942 (scalbln_test_data): Likewise.
14943 (signbit_test_data): Likewise.
14944 (sqrt_test_data): Likewise.
14945 (significand_test_data): Likewise.
14947 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14950 * benchtests/bench-modf.c (struct args): Mark arg0 as
14952 * scripts/bench.pl: Mark members of struct args as volatile.
14954 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14957 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14958 negative infinity on POWER6 or lower.
14959 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14961 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14964 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14965 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14966 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14967 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14968 (_FP_SETQNAN): New macro.
14969 (_FP_SETQNAN_SEMIRAW): Likewise.
14970 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14971 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14972 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14973 (FP_EXTEND): Use _FP_FRAC_SNANP.
14974 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14975 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14977 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14979 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14982 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14984 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14985 with DIVIDE_BY_ZERO_EXCEPTION.
14986 (gamma_test_data): Likewise.
14987 (lgamma_test_data): Likewise.
14988 (log_test_data): Likewise.
14989 (log10_test_data): Likewise.
14990 (log2_test_data): Likewise.
14991 (tgamma_test_data): Likewise.
14993 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14994 (acos_test_tonearest): Likewise.
14995 (acos_test_towardzero): Likewise.
14996 (acos_test_downward): Likewise.
14997 (acos_test_upward): Likewise.
14998 (acosh_test): Likewise.
14999 (asin_test): Likewise.
15000 (asin_test_tonearest): Likewise.
15001 (asin_test_towardzero): Likewise.
15002 (asin_test_downward): Likewise.
15003 (asin_test_upward): Likewise.
15004 (asinh_test): Likewise.
15005 (atan_test): Likewise.
15006 (atanh_test): Likewise.
15007 (atan2_test): Likewise.
15008 (cabs_test): Likewise.
15009 (cacos_test): Likewise.
15010 (cacosh_test): Likewise.
15011 (casin_test): Likewise.
15012 (casinh_test): Likewise.
15013 (catan_test): Likewise.
15014 (catanh_test): Likewise.
15015 (cbrt_test): Likewise.
15016 (ccos_test): Likewise.
15017 (ccosh_test): Likewise.
15018 (cexp_test): Likewise.
15019 (clog_test): Likewise.
15020 (clog10_test): Likewise.
15021 (cos_test): Likewise.
15022 (cos_test_tonearest): Likewise.
15023 (cos_test_towardzero): Likewise.
15024 (cos_test_downward): Likewise.
15025 (cos_test_upward): Likewise.
15026 (cosh_test): Likewise.
15027 (cosh_test_tonearest): Likewise.
15028 (cosh_test_towardzero): Likewise.
15029 (cosh_test_downward): Likewise.
15030 (cosh_test_upward): Likewise.
15031 (cpow_test): Likewise.
15032 (csin_test): Likewise.
15033 (csinh_test): Likewise.
15034 (csqrt_test): Likewise.
15035 (ctan_test): Likewise.
15036 (ctan_test_tonearest): Likewise.
15037 (ctan_test_towardzero): Likewise.
15038 (ctan_test_downward): Likewise.
15039 (ctan_test_upward): Likewise.
15040 (ctanh_test): Likewise.
15041 (ctanh_test_tonearest): Likewise.
15042 (ctanh_test_towardzero): Likewise.
15043 (ctanh_test_downward): Likewise.
15044 (ctanh_test_upward): Likewise.
15045 (erf_test): Likewise.
15046 (erfc_test): Likewise.
15047 (exp_test): Likewise.
15048 (exp_test_tonearest): Likewise.
15049 (exp_test_towardzero): Likewise.
15050 (exp_test_downward): Likewise.
15051 (exp_test_upward): Likewise.
15052 (exp10_test): Likewise.
15053 (exp2_test): Likewise.
15054 (expm1_test): Likewise.
15055 (fmod_test): Likewise.
15056 (gamma_test): Likewise.
15057 (hypot_test): Likewise.
15058 (j0_test): Likewise.
15059 (j1_test): Likewise.
15060 (jn_test): Likewise.
15061 (lgamma_test): Likewise.
15062 (log_test): Likewise.
15063 (log10_test): Likewise.
15064 (log1p_test): Likewise.
15065 (log2_test): Likewise.
15066 (logb_test_downward): Likewise.
15067 (pow_test): Likewise.
15068 (pow_test_tonearest): Likewise.
15069 (pow_test_towardzero): Likewise.
15070 (pow_test_downward): Likewise.
15071 (pow_test_upward): Likewise.
15072 (remainder_test): Likewise.
15073 (remquo_test): Likewise.
15074 (sin_test): Likewise.
15075 (sin_test_tonearest): Likewise.
15076 (sin_test_towardzero): Likewise.
15077 (sin_test_downward): Likewise.
15078 (sin_test_upward): Likewise.
15079 (sincos_test): Likewise.
15080 (sinh_test): Likewise.
15081 (sinh_test_tonearest): Likewise.
15082 (sinh_test_towardzero): Likewise.
15083 (sinh_test_downward): Likewise.
15084 (sinh_test_upward): Likewise.
15085 (sqrt_test): Likewise.
15086 (tan_test): Likewise.
15087 (tan_test_tonearest): Likewise.
15088 (tan_test_towardzero): Likewise.
15089 (tan_test_downward): Likewise.
15090 (tan_test_upward): Likewise.
15091 (tanh_test): Likewise.
15092 (tgamma_test): Likewise.
15093 (y0_test): Likewise.
15094 (y1_test): Likewise.
15095 (yn_test): Likewise.
15097 * math/gen-libm-test.pl (adjust_arg): Remove function.
15098 (special_function): Remove argument $in_func. Only handle
15099 generating output for tables of tests, not inside functions.
15100 (parse_args): Likewise.
15101 (generate_testfile): Remove variable $in_func. Update call to
15103 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15104 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15105 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15106 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15107 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15108 (MAX_VALUE_INIT): Rename macro to max_value.
15109 (MIN_VALUE_INIT): Rename macro to min_value.
15110 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15111 (plus_zero): Remove variable.
15112 (minus_zero): Likewise.
15113 (plus_infty): Likewise.
15114 (minus_infty): Likewise.
15115 (qnan_value): Likewise.
15116 (max_value): Likewise.
15117 (min_value): Likewise.
15118 (min_subnorm_value): Likewise.
15120 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15122 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15123 uint64_t or uint32_t usage.
15124 * crypt/sha256-block.c: Likewise.
15125 * crypt/sha256-crypt.c: Likewise.
15126 * crypt/sha256.c: Likewise.
15127 * crypt/sha512-block.c: Likewise.
15128 * crypt/sha512-crypt.c: Likewise.
15129 * crypt/sha512.c: Likewise.
15130 * debug/backtrace-tst.c: Likewise.
15131 * debug/pcprofiledump.c: Likewise.
15132 * elf/cache.c: Likewise.
15133 * elf/dl-cache.c: Likewise.
15134 * elf/dl-misc.c: Likewise.
15135 * elf/dl-profile.c: Likewise.
15136 * elf/dl-support.c: Likewise.
15137 * elf/ldconfig.c: Likewise.
15138 * elf/sprof.c: Likewise.
15139 * iconv/dummy-repertoire.c: Likewise.
15140 * iconv/iconv_charmap.c: Likewise.
15141 * iconv/skeleton.c: Likewise.
15142 * iconvdata/8bit-generic.c: Likewise.
15143 * iconvdata/cp737.h: Likewise.
15144 * iconvdata/cp775.h: Likewise.
15145 * iconvdata/ibm1008.h: Likewise.
15146 * iconvdata/ibm1025.h: Likewise.
15147 * iconvdata/ibm1046.h: Likewise.
15148 * iconvdata/ibm1097.h: Likewise.
15149 * iconvdata/ibm1112.h: Likewise.
15150 * iconvdata/ibm1122.h: Likewise.
15151 * iconvdata/ibm1123.h: Likewise.
15152 * iconvdata/ibm1124.h: Likewise.
15153 * iconvdata/ibm1129.h: Likewise.
15154 * iconvdata/ibm1130.h: Likewise.
15155 * iconvdata/ibm1132.h: Likewise.
15156 * iconvdata/ibm1133.h: Likewise.
15157 * iconvdata/ibm1137.h: Likewise.
15158 * iconvdata/ibm1140.h: Likewise.
15159 * iconvdata/ibm1141.h: Likewise.
15160 * iconvdata/ibm1142.h: Likewise.
15161 * iconvdata/ibm1143.h: Likewise.
15162 * iconvdata/ibm1144.h: Likewise.
15163 * iconvdata/ibm1145.h: Likewise.
15164 * iconvdata/ibm1146.h: Likewise.
15165 * iconvdata/ibm1147.h: Likewise.
15166 * iconvdata/ibm1148.h: Likewise.
15167 * iconvdata/ibm1149.h: Likewise.
15168 * iconvdata/ibm1153.h: Likewise.
15169 * iconvdata/ibm1154.h: Likewise.
15170 * iconvdata/ibm1155.h: Likewise.
15171 * iconvdata/ibm1156.h: Likewise.
15172 * iconvdata/ibm1157.h: Likewise.
15173 * iconvdata/ibm1158.h: Likewise.
15174 * iconvdata/ibm1160.h: Likewise.
15175 * iconvdata/ibm1161.h: Likewise.
15176 * iconvdata/ibm1162.h: Likewise.
15177 * iconvdata/ibm1163.h: Likewise.
15178 * iconvdata/ibm1164.h: Likewise.
15179 * iconvdata/ibm1166.h: Likewise.
15180 * iconvdata/ibm1167.h: Likewise.
15181 * iconvdata/ibm12712.h: Likewise.
15182 * iconvdata/ibm1390.h: Likewise.
15183 * iconvdata/ibm1399.h: Likewise.
15184 * iconvdata/ibm16804.h: Likewise.
15185 * iconvdata/ibm4517.h: Likewise.
15186 * iconvdata/ibm4899.h: Likewise.
15187 * iconvdata/ibm4909.h: Likewise.
15188 * iconvdata/ibm4971.h: Likewise.
15189 * iconvdata/ibm5347.h: Likewise.
15190 * iconvdata/ibm803.h: Likewise.
15191 * iconvdata/ibm856.h: Likewise.
15192 * iconvdata/ibm901.h: Likewise.
15193 * iconvdata/ibm902.h: Likewise.
15194 * iconvdata/ibm9030.h: Likewise.
15195 * iconvdata/ibm9066.h: Likewise.
15196 * iconvdata/ibm921.h: Likewise.
15197 * iconvdata/ibm922.h: Likewise.
15198 * iconvdata/ibm9448.h: Likewise.
15199 * iconvdata/isiri-3342.h: Likewise.
15200 * iconvdata/jis0201.h: Likewise.
15201 * include/link.h: Likewise.
15202 * include/netdb.h: Likewise.
15203 * inet/check_native.c: Likewise.
15204 * inet/check_pf.c: Likewise.
15205 * inet/getipv4sourcefilter.c: Likewise.
15206 * inet/getnameinfo.c: Likewise.
15207 * inet/getsourcefilter.c: Likewise.
15208 * inet/htonl.c: Likewise.
15209 * inet/setipv4sourcefilter.c: Likewise.
15210 * inet/setsourcefilter.c: Likewise.
15211 * inet/test-inet6_opt.c: Likewise.
15212 * inet/tst-network.c: Likewise.
15213 * locale/C-collate.c: Likewise.
15214 * locale/C-ctype.c: Likewise.
15215 * locale/C-time.c: Likewise.
15216 * locale/C-translit.h: Likewise.
15217 * locale/loadarchive.c: Likewise.
15218 * locale/programs/3level.h: Likewise.
15219 * locale/programs/charmap.c: Likewise.
15220 * locale/programs/charmap.h: Likewise.
15221 * locale/programs/ld-address.c: Likewise.
15222 * locale/programs/ld-collate.c: Likewise.
15223 * locale/programs/ld-ctype.c: Likewise.
15224 * locale/programs/ld-identification.c: Likewise.
15225 * locale/programs/ld-measurement.c: Likewise.
15226 * locale/programs/ld-messages.c: Likewise.
15227 * locale/programs/ld-monetary.c: Likewise.
15228 * locale/programs/ld-name.c: Likewise.
15229 * locale/programs/ld-numeric.c: Likewise.
15230 * locale/programs/ld-paper.c: Likewise.
15231 * locale/programs/ld-telephone.c: Likewise.
15232 * locale/programs/ld-time.c: Likewise.
15233 * locale/programs/linereader.c: Likewise.
15234 * locale/programs/locale.c: Likewise.
15235 * locale/programs/locarchive.c: Likewise.
15236 * locale/programs/locfile.h: Likewise.
15237 * locale/programs/repertoire.c: Likewise.
15238 * locale/programs/simple-hash.c: Likewise.
15239 * locale/programs/simple-hash.h: Likewise.
15240 * malloc/memusage.c: Likewise.
15241 * malloc/memusagestat.c: Likewise.
15242 * nis/nis_defaults.c: Likewise.
15243 * nis/nis_hash.c: Likewise.
15244 * nis/nis_print.c: Likewise.
15245 * nis/nis_xdr.c: Likewise.
15246 * nscd/connections.c: Likewise.
15247 * nscd/hstcache.c: Likewise.
15248 * nscd/nscd_gethst_r.c: Likewise.
15249 * nscd/nscd_getserv_r.c: Likewise.
15250 * nscd/nscd_helper.c: Likewise.
15251 * nscd/servicescache.c: Likewise.
15252 * nss/makedb.c: Likewise.
15253 * nss/nss_db/db-XXX.c: Likewise.
15254 * nss/nss_db/db-initgroups.c: Likewise.
15255 * nss/nss_db/db-netgrp.c: Likewise.
15256 * nss/nss_files/files-network.c: Likewise.
15257 * nss/nss_files/files-parse.c: Likewise.
15258 * posix/bug-regex5.c: Likewise.
15259 * posix/fnmatch_loop.c: Likewise.
15260 * posix/regcomp.c: Likewise.
15261 * posix/regexec.c: Likewise.
15262 * posix/tst-rfc3484-2.c: Likewise.
15263 * posix/tst-rfc3484-3.c: Likewise.
15264 * posix/tst-rfc3484.c: Likewise.
15265 * resolv/nss_dns/dns-canon.c: Likewise.
15266 * resolv/nss_dns/dns-network.c: Likewise.
15267 * resolv/res_init.c: Likewise.
15268 * resolv/res_mkquery.c: Likewise.
15269 * resolv/tst-aton.c: Likewise.
15270 * stdlib/cxa_atexit.c: Likewise.
15271 * stdlib/cxa_finalize.c: Likewise.
15272 * stdlib/gen-fpioconst.c: Likewise.
15273 * stdlib/strtol_l.c: Likewise.
15274 * string/tst-endian.c: Likewise.
15275 * sunrpc/auth_des.c: Likewise.
15276 * sunrpc/clnt_udp.c: Likewise.
15277 * sunrpc/rtime.c: Likewise.
15278 * sunrpc/svcauth_des.c: Likewise.
15279 * sunrpc/xdr.c: Likewise.
15280 * sunrpc/xdr_intXX_t.c: Likewise.
15281 * sunrpc/xdr_rec.c: Likewise.
15282 * sysdeps/generic/ldconfig.h: Likewise.
15283 * sysdeps/generic/ldsodefs.h: Likewise.
15284 * sysdeps/generic/memusage.h: Likewise.
15285 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15295 * sysdeps/posix/getaddrinfo.c: Likewise.
15296 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15298 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15299 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15300 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15301 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15302 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15303 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15304 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15305 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15306 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15307 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15308 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15309 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15310 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15311 * sysdeps/x86_64/dl-tls.h: Likewise.
15312 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15313 * time/alt_digit.c: Likewise.
15314 * time/era.c: Likewise.
15315 * wcsmbs/tst-c16c32-1.c: Likewise.
15317 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15319 * math/libm-test.inc (struct test_sincos_data): New type.
15320 (RUN_TEST_LOOP_sincos): New macro.
15321 (sincos_test_data): New variable.
15322 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15324 2013-05-16 Richard Henderson <rth@redhat.com>
15326 * math/atest-exp2.c (LIMB64): New macro.
15327 (CONSTSZ): New macro.
15328 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15330 (print_mpn_fp): ... to function scope.
15331 (read_mpn_hex): Remove.
15332 (get_log2): Remove.
15333 (exp2_mpn): Use mp_log2.
15334 (main): Use mp_exp1.
15336 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15338 * math/libm-test.inc: Remove comment about not testing "inexact"
15340 (INEXACT_EXCEPTION): New macro.
15341 (NO_INEXACT_EXCEPTION): Likewise.
15342 (INVALID_EXCEPTION_OK): Update value.
15343 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15344 (OVERFLOW_EXCEPTION_OK): Likewise.
15345 (UNDERFLOW_EXCEPTION_OK): Likewise.
15346 (IGNORE_ZERO_INF_SIGN): Likewise.
15347 (ERRNO_UNCHANGED): Likewise.
15348 (ERRNO_EDOM): Likewise.
15349 (ERRNO_ERANGE): Likewise.
15350 (test_exceptions): Handle testing "inexact" exceptions.
15351 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15352 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15353 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15354 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15356 (rint_towardzero_test_data): Likewise.
15357 (rint_downward_test_data): Likewise.
15358 (rint_upward_test_data): Likewise.
15360 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15361 with OVERFLOW_EXCEPTION.
15362 (exp10_test_data): Likewise.
15363 (exp2_test_data): Likewise.
15364 (expm1_test_data): Likewise.
15365 (lgamma_test_data): Likewise.
15366 (pow_test_data): Likewise.
15367 (tgamma_test_data): Likewise.
15368 (yn_test_data): Remove duplicate test of overflow.
15370 * math/libm-test.inc (struct test_cc_c_data): New type.
15371 (RUN_TEST_LOOP_cc_c): New macro.
15372 (cpow_test_data): New variable.
15373 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15375 * math/libm-test.inc (struct test_f_L_data): New type.
15376 (RUN_TEST_LOOP_f_L): New macro.
15377 (llrint_test_data): New variable.
15378 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15379 (llrint_tonearest_test_data): New variable.
15380 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15381 (llrint_towardzero_test_data): New variable.
15382 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15383 (llrint_downward_test_data): New variable.
15384 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15385 (llrint_upward_test_data): New variable.
15386 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15387 (llround_test_data): New variable.
15388 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15390 2013-05-13 Peter Collingbourne <pcc@google.com>
15392 * math/atest-exp2.c (get_log2): Remove const attribute.
15394 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15396 * math/libm-test.inc (struct test_f_l_data): New type.
15397 (RUN_TEST_LOOP_f_l): New macro.
15398 (lrint_test_data): New variable.
15399 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15400 (lrint_tonearest_test_data): New variable.
15401 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15402 (lrint_towardzero_test_data): New variable.
15403 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15404 (lrint_downward_test_data): New variable.
15405 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15406 (lrint_upward_test_data): New variable.
15407 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15408 (lround_test_data): New variable.
15409 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15411 2013-05-15 Peter Collingbourne <pcc@google.com>
15413 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15414 (EXTRACT_WORDS64) Use where appropriate.
15415 (INSERT_WORDS64) Likewise.
15417 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15418 constraints with x constraints.
15419 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15421 * malloc/obstack.c (_obstack_compat): Add initializer.
15423 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15425 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15426 si_trapno and add si_addr_lsb to _sifields.sigfault.
15427 (si_trapno): Remove macro.
15428 (si_addr_lsb): Define new macro.
15429 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15431 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15433 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15434 instead of TEST_f_l.
15435 (llrint_test_tonearest): Likewise.
15436 (llrint_test_towardzero): Likewise.
15437 (llrint_test_downward): Likewise.
15438 (llrint_test_upward): Likewise.
15439 (llround_test): Likewise.
15441 * math/libm-test.inc (struct test_f_i_data): Add comment.
15442 (RUN_TEST_LOOP_f_b): New macro.
15443 (RUN_TEST_LOOP_f_b_tg): Likewise.
15444 (finite_test_data): New variable.
15445 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15446 (isfinite_test_data): New variable.
15447 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15448 (isinf_test_data): New variable.
15449 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15450 (isnan_test_data): New variable.
15451 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15452 (isnormal_test_data): New variable.
15453 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15454 (issignaling_test_data): New variable.
15455 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15456 (signbit_test_data): New variable.
15457 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15459 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15460 with INVALID_EXCEPTION.
15461 (acosh_test_data): Likewise.
15462 (asin_test_data): Likewise.
15463 (atanh_test_data): Likewise.
15464 (fmod_test_data): Likewise.
15465 (log_test_data): Likewise.
15466 (log10_test_data): Likewise.
15467 (log2_test_data): Likewise.
15468 (pow_test_data): Likewise.
15469 (sqrt_test_data): Likewise.
15470 (y0_test_data): Likewise.
15471 (y1_test_data): Likewise.
15472 (yn_test_data): Likewise.
15474 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15477 * math/libm-test.inc (struct test_ff_i_data): New type.
15478 (RUN_TEST_LOOP_ff_i_tg): New macro.
15479 (isgreater_test_data): New variable.
15480 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15481 (isgreaterequal_test_data): New variable.
15482 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15483 (isless_test_data): New variable.
15484 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15485 (islessequal_test_data): New variable.
15486 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15487 (islessgreater_test_data): New variable.
15488 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15489 (isunordered_test_data): New variable.
15490 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15492 2013-05-14 David S. Miller <davem@davemloft.net>
15494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15496 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15498 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15500 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15502 (struct test_f_i_data): Change type of max_ulp to int.
15504 * math/libm-test.inc (test_ffI_f1_data): New type.
15505 (RUN_TEST_LOOP_ffI_f1): New macro.
15506 (remquo_test_data): New variable.
15507 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15509 * setjmp/tst-setjmp-fp.c: New file.
15510 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15511 (link-libm): New variable.
15512 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15514 * math/libm-test.inc (struct test_f_i_data): New type.
15515 (RUN_TEST_LOOP_f_i): New macro.
15516 (RUN_TEST_LOOP_f_i_tg): Likewise.
15517 (fpclassify_test_data): New variable.
15518 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15519 (ilogb_test_data): New variable.
15520 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15522 * math/libm-test.inc (scalbln_test): Correct function name in END
15525 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15526 (RUN_TEST_LOOP_fI_f1): New macro.
15527 (frexp_test_data): New variable.
15528 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15530 * math/libm-test.inc (struct test_fF_f1_data): New type.
15531 (RUN_TEST_LOOP_fF_f1): New macro.
15532 (modf_test_data): New variable.
15533 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15535 * math/libm-test.inc (struct test_f_f1_data): New type.
15536 (RUN_TEST_LOOP_f_f1): New macro.
15537 (gamma_test_data): New variable.
15538 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15539 (lgamma_test_data): New variable.
15540 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15542 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15544 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15545 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15546 (main): Comment "tls" pseudo-hwcap.
15548 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15550 * math/libm-test.inc (struct test_fl_f_data): New type.
15551 (RUN_TEST_LOOP_fl_f): New variable.
15552 (scalbln_test_data): New variable.
15553 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15555 * math/libm-test.inc (struct test_fi_f_data): New type.
15556 (RUN_TEST_LOOP_fi_f): New macro.
15557 (ldexp_test_data): New variable.
15558 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15559 (scalbn_test_data): New variable.
15560 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15562 * math/libm-test.inc (struct test_c_f_data): New type.
15563 (RUN_TEST_LOOP_c_f): New macro.
15564 (cabs_test_data): New variable.
15565 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15566 (carg_test_data): New variable.
15567 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15568 (cimag_test_data): New variable.
15569 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15570 (creal_test_data): New variable.
15571 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15573 * math/libm-test.inc (struct test_if_f_data): New type.
15574 (RUN_TEST_LOOP_if_f): New macro.
15575 (jn_test_data): New variable.
15576 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15577 (yn_test_data): New variable.
15578 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15580 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15582 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15584 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15585 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15587 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15589 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15590 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15591 (bench-deps): Add bench-timing.h.
15592 * benchtests-bench-skeleton.c: Include bench-timing.h.
15593 (main): Use TIMING_* macros instead of clock_gettime.
15594 * benchtests/bench-timing.h: New file.
15597 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15598 Renamed from _LIB_VERSION.
15599 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15601 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15603 * math/libm-test.inc (struct test_fff_f_data): New type.
15604 (RUN_TEST_LOOP_fff_f): New macro.
15605 (fma_test_data): New variable.
15606 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15607 (fma_towardzero_test_data): New variable.
15608 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15609 (fma_downward_test_data): New variable.
15610 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15611 (fma_upward_test_data): New variable.
15612 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15614 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15615 (struct test_c_c_data): New type.
15616 (RUN_TEST_LOOP_c_c): New macro.
15617 (cacos_test_data): New variable.
15618 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15619 (cacosh_test_data): New variable.
15620 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15621 (casin_test_data): New variable.
15622 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15623 (casinh_test_data): New variable.
15624 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15625 (catan_test_data): New variable.
15626 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15627 (catanh_test_data): New variable.
15628 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15629 (ccos_test_data): New variable.
15630 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15631 (ccosh_test_data): New variable.
15632 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15633 (cexp_test_data): New variable.
15634 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15635 (clog_test_data): New variable.
15636 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15637 (clog10_test_data): New variable.
15638 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15639 (conj_test_data): New variable.
15640 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15641 (cproj_test_data): New variable.
15642 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15643 (csin_test_data): New variable.
15644 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15645 (csinh_test_data): New variable.
15646 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15647 (csqrt_test_data): New variable.
15648 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15649 (ctan_test_data): New variable.
15650 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15651 (ctan_tonearest_test_data): New variable.
15652 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15653 (ctan_towardzero_test_data): New variable.
15654 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15655 (ctan_downward_test_data): New variable.
15656 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15657 (ctan_upward_test_data): New variable.
15658 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15659 (ctanh_test_data): New variable.
15660 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15661 (ctanh_tonearest_test_data): New variable.
15662 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15663 (ctanh_towardzero_test_data): New variable.
15664 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15665 (ctanh_downward_test_data): New variable.
15666 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15667 (ctanh_upward_test_data): New variable.
15668 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15669 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15672 * math/libm-test.inc (struct test_ff_f_data): New type.
15673 (struct test_ff_f_data_nexttoward): Likewise.
15674 (RUN_TEST_LOOP_2_f): New macro.
15675 (RUN_TEST_LOOP_ff_f): Likewise.
15676 (atan2_test_data): New variable.
15677 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15678 (copysign_test_data): New variable.
15679 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15680 (fdim_test_data): New variable.
15681 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15682 (fmax_test_data): New variable.
15683 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15684 (fmin_test_data): New variable.
15685 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15686 (fmod_test_data): New variable.
15687 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15688 (hypot_test_data): New variable.
15689 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15690 (nextafter_test_data): New variable.
15691 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15692 (nexttoward_test_data): New variable.
15693 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15694 (pow_test_data): New variable.
15695 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15696 (pow_tonearest_test_data): New variable.
15697 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15698 (pow_towardzero_test_data): New variable.
15699 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15700 (pow_downward_test_data): New variable.
15701 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15702 (pow_upward_test_data): New variable.
15703 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15704 (remainder_test_data): New variable.
15705 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15706 (scalb_test_data): New variable.
15707 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15708 * sysdeps/i386/fpu/libm-test-ulps: Update.
15710 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15712 * math/libm-test.inc (fma_test): Use max_value instead of local
15714 (nextafter_test): Likewise.
15716 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15717 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15718 (acos_downward_test_data): New variable.
15719 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15720 (acos_upward_test_data): New variable.
15721 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15722 (acosh_test_data): New variable.
15723 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15724 (asin_test_data): New variable.
15725 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15726 (asin_tonearest_test_data): New variable.
15727 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15728 (asin_towardzero_test_data): New variable.
15729 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15730 (asin_downward_test_data): New variable.
15731 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15732 (asin_upward_test_data): New variable.
15733 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15734 (asinh_test_data): New variable.
15735 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15736 (atan_test_data): New variable.
15737 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15738 (atanh_test_data): New variable.
15739 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15740 (cbrt_test_data): New variable.
15741 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15742 (ceil_test_data): New variable.
15743 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15744 (cos_test_data): New variable.
15745 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15746 (cos_tonearest_test_data): New variable.
15747 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15748 (cos_towardzero_test_data): New variable.
15749 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15750 (cos_downward_test_data): New variable.
15751 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15752 (cos_upward_test_data): New variable.
15753 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15754 (cosh_test_data): New variable.
15755 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15756 (cosh_tonearest_test_data): New variable.
15757 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15758 (cosh_towardzero_test_data): New variable.
15759 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15760 (cosh_downward_test_data): New variable.
15761 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15762 (cosh_upward_test_data): New variable.
15763 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15764 (erf_test_data): New variable.
15765 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15766 (erfc_test_data): New variable.
15767 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15768 (exp_test_data): New variable.
15769 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15770 (exp_tonearest_test_data): New variable.
15771 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15772 (exp_towardzero_test_data): New variable.
15773 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15774 (exp_downward_test_data): New variable.
15775 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15776 (exp_upward_test_data): New variable.
15777 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15778 (exp10_test_data): New variable.
15779 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15780 (exp2_test_data): New variable.
15781 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15782 (expm1_test_data): New variable.
15783 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15784 (fabs_test_data): New variable.
15785 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15786 (floor_test_data): New variable.
15787 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15788 (j0_test_data): New variable.
15789 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15790 (j1_test_data): New variable.
15791 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15792 (log_test_data): New variable.
15793 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15794 (log10_test_data): New variable.
15795 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15796 (log1p_test_data): New variable.
15797 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15798 (log2_test_data): New variable.
15799 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15800 (logb_test_data): New variable.
15801 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15802 (logb_downward_test_data): New variable.
15803 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15804 (nearbyint_test_data): New variable.
15805 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15806 (rint_test_data): New variable.
15807 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15808 (rint_tonearest_test_data): New variable.
15809 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15810 (rint_towardzero_test_data): New variable.
15811 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15812 (rint_downward_test_data): New variable.
15813 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15814 (rint_upward_test_data): New variable.
15815 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15816 (round_test_data): New variable.
15817 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15818 (sin_test_data): New variable.
15819 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15820 (sin_tonearest_test_data): New variable.
15821 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15822 (sin_towardzero_test_data): New variable.
15823 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15824 (sin_downward_test_data): New variable.
15825 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15826 (sin_upward_test_data): New variable.
15827 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15828 (sinh_test_data): New variable.
15829 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15830 (sinh_tonearest_test_data): New variable.
15831 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15832 (sinh_towardzero_test_data): New variable.
15833 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15834 (sinh_downward_test_data): New variable.
15835 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15836 (sinh_upward_test_data): New variable.
15837 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15838 (sqrt_test_data): New variable.
15839 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15840 (tan_test_data): New variable.
15841 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15842 (tan_tonearest_test_data): New variable.
15843 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15844 (tan_towardzero_test_data): New variable.
15845 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15846 (tan_downward_test_data): New variable.
15847 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15848 (tan_upward_test_data): New variable.
15849 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15850 (tanh_test_data): New variable.
15851 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15852 (tgamma_test_data): New variable.
15853 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15854 (trunc_test_data): New variable.
15855 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15856 (y0_test_data): New variable.
15857 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15858 (y1_test_data): New variable.
15859 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15860 (significand_test_data): New variable.
15861 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15863 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15866 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15868 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15870 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15872 2013-05-10 Andreas Jaeger <aj@suse.de>
15875 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15876 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15878 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15880 * math/gen-libm-test.pl (adjust_arg): New function.
15881 (special_functions): Handle generating output in both functions
15883 (parse_args): Likewise.
15884 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15885 $in_func argument to parse_args.
15886 * math/libm-test.inc (struct test_f_f_data): New type.
15887 (IF_ROUND_INIT_): New macro.
15888 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15889 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15890 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15891 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15892 (ROUND_RESTORE_): Likewise.
15893 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15894 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15895 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15896 (ROUND_RESTORE_FE_UPWARD): Likewise.
15897 (RUN_TEST_LOOP_f_f): New macro.
15898 (acos_test_data): New variable.
15899 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15900 (acos_tonearest_test_data): New variable.
15901 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15903 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15905 * benchtests/bench-skeleton.c (startup): Fix coding style.
15907 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15910 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15911 negative infinity argument.
15912 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15913 negative infinity argument.
15914 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15915 negative infinity argument.
15916 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15919 2013-05-10 Florian Weimer <fweimer@redhat.com>
15921 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15922 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15923 * iconv/iconv_prog.c (main): Likewise.
15924 * locale/programs/charmap-dir.c (charmap_readdir)
15925 (fopen_uncompressed): Likewise.
15926 * locale/programs/locfile.c (siblings_uncached)
15927 (write_locale_data): Use lstat64 instead of lstat.
15928 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15931 2013-05-10 Andreas Jaeger <aj@suse.de>
15934 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15936 Include <locale.h>.
15938 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15940 * elf/dl-close.c (_dl_close_worker): Add comments.
15942 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15945 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15947 (__ieee754_rem_pio2l): Update comments.
15950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15952 (__ieee754_rem_pio2l): Update comments.
15954 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15955 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15957 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15960 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15961 (M_PI_34_LOG10El): Likewise.
15962 (M_PI2_LOG10El): Likewise.
15963 (M_PI4_LOG10El): Likewise.
15964 (M_PI_LOG10El): Likewise.
15966 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15970 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15972 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15973 (MINUS_ZERO_INIT): Likewise.
15974 (PLUS_INFTY_INIT): Likewise.
15975 (MINUS_INFTY_INIT): Likewise.
15976 (QNAN_VALUE_INIT): Likewise.
15977 (MAX_VALUE_INIT): Likewise.
15978 (MIN_VALUE_INIT): Likewise.
15979 (MIN_SUBNORM_VALUE_INIT): Likewise.
15980 (plus_zero): Initialize with PLUS_ZERO_INIT.
15981 (minus_zero): Initialize with MINUS_ZERO_INIT.
15982 (plus_infty): Initialize with PLUS_INFTY_INIT.
15983 (minus_infty): Initialize with MINUS_INFTY_INIT.
15984 (qnan_value): Initialize with QNAN_VALUE_INIT.
15985 (max_value): Initialize with MAX_VALUE_INIT.
15986 (min_value): Initialize with MIN_VALUE_INIT.
15987 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15989 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15990 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15991 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15992 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15994 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15995 (RUN_TEST_2_f): Likewise.
15996 (RUN_TEST_ff_f): Likewise.
15997 (RUN_TEST_fi_f): Likewise.
15998 (RUN_TEST_fl_f): Likewise.
15999 (RUN_TEST_fff_f): Likewise.
16000 (RUN_TEST_c_f): Likewise.
16001 (RUN_TEST_f_f1): Likewise.
16002 (RUN_TEST_fF_f1): Likewise.
16003 (RUN_TEST_fI_f1): Likewise.
16004 (RUN_TEST_ffI_f1): Likewise.
16005 (RUN_TEST_c_c): Likewise.
16006 (RUN_TEST_cc_c): Likewise.
16007 (RUN_TEST_f_i): Likewise.
16008 (RUN_TEST_f_i_tg): Likewise.
16009 (RUN_TEST_ff_i_tg): Likewise.
16010 (RUN_TEST_f_b): Likewise.
16011 (RUN_TEST_f_b_tg): Likewise.
16012 (RUN_TEST_f_l): Likewise.
16013 (RUN_TEST_f_L): Likewise.
16014 (RUN_TEST_sincos): Likewise.
16015 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16016 whether to show exceptions. Do not include ");\n" in return
16018 (special_functions): Output call to RUN_TEST_sincos instead of
16019 check_float calls. Update calls to new_test.
16020 (parse_args): Output call to single RUN_TEST_* macro instead of
16021 check_* calls and other assignments. Update calls to new_test.
16027 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16028 input to result for tgamma overflow.
16029 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16030 (gamma_coeff): New variable.
16031 (NCOEFF): New macro.
16032 (gamma_positive): New function.
16033 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16034 underflow here. Use gamma_positive instead of exp (lgamma) for
16036 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16037 (gamma_coeff): New variable.
16038 (NCOEFF): New macro.
16039 (gammaf_positive): New function.
16040 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16041 underflow here. Use gamma_positive instead of exp (lgamma) for
16043 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16044 (gamma_coeff): New variable.
16045 (NCOEFF): New macro.
16046 (gammal_positive): New function.
16047 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16048 underflow here. Use gamma_positive instead of exp (lgamma) for
16050 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16051 (gamma_coeff): New variable.
16052 (NCOEFF): New macro.
16053 (gammal_positive): New function.
16054 (__ieee754_gammal_r): Handle positive infinity, overflow and
16055 underflow here. Handle NaN the same as positive infinity. Remove
16056 check x < 0xffffffff for negative integers. Use gamma_positive
16057 instead of exp (lgamma) for other arguments.
16058 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16059 (gamma_coeff): New variable.
16060 (NCOEFF): New macro.
16061 (gammal_positive): New function.
16062 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16063 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16067 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16068 * sysdeps/generic/math_private.h (__gamma_productf): New
16070 (__gamma_product): Likewise.
16071 (__gamma_productl): Likewise.
16072 * math/Makefile (libm-calls): Add gamma_product.
16073 * math/libm-test.inc (tgamma_test): Add more tests.
16074 * sysdeps/i386/fpu/libm-test-ulps: Update.
16075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16077 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16079 * benchtests/bench-skeleton.c (main): Preheat CPU.
16081 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16083 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16085 2013-05-07 Roland McGrath <roland@hack.frob.com>
16087 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16088 and _dl_skip_args_internal.
16090 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16092 * manual/message.texi (Message Translation): Talk about users.
16093 Message to key mapping impacts design.
16095 2013-05-06 Roland McGrath <roland@hack.frob.com>
16097 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16099 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16101 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16102 * sysdeps/wordsize-64/glob64.c: ... here.
16104 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16105 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16108 * debug/getlogin_r_chk.c: Moved to ...
16109 * login/getlogin_r_chk.c: ... here.
16110 * debug/Makefile (routines): Move getlogin_r_chk to ...
16111 * login/Makefile (routines): ... here.
16112 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16113 * login/Versions (libc: GLIBC_2.4): ... here.
16115 * io/poll.c (__poll): Renamed from poll.
16116 Add libc_hidden_def.
16117 (poll): Define as weak alias.
16119 * debug/ptsname_r_chk.c: Moved to ...
16120 * login/ptsname_r_chk.c: ... here.
16121 * debug/Makefile (routines): Move ptsname_r_chk to ...
16122 * login/Makefile (routines): ... here.
16123 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16124 * login/Versions (libc: GLIBC_2.4): ... here.
16126 * posix/getlogin.c: Moved to ...
16127 * login/getlogin.c: ... here.
16128 * posix/getlogin_r.c: Moved to ...
16129 * login/getlogin_r.c: ... here.
16130 * posix/getlogin_r.c: Moved to ...
16131 * login/getlogin_r.c: ... here.
16132 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16133 * login/Makefile (routines): ... here.
16134 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16135 * login/Versions (libc: GLIBC_2.0): ... here.
16137 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16138 (setrlimit): Define as weak alias.
16140 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16141 Call __ names for open, ftruncate, and close.
16142 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16143 (truncate): Define as weak alias.
16145 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16147 * math/gen-libm-test.pl (parse_args): Initialize x before each
16148 test of frexp, modf and remquo.
16150 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16151 test signgam value.
16153 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16157 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16159 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16161 2013-05-06 Roland McGrath <roland@hack.frob.com>
16163 * elf/dl-writev.h: New file.
16164 * elf/dl-misc.c: Include it.
16165 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16166 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16168 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16170 * math/libm-test.inc (noXFails): Remove variable.
16171 (noXPasses): Likewise.
16172 (BUILD_COMPLEX_INT): Remove macro.
16173 (print_screen): Remove xfail argument.
16174 (print_screen_max_error): Likewise.
16175 (update_stats): Likewise.
16176 (print_max_error): Likewise. Update calls to other affected
16178 (print_complex_max_error): Likewise.
16179 (test_single_exception): Update calls to print_screen.
16180 (test_single_errno): Likewise.
16181 (check_float_internal): Remove xfail argument. Update calls to
16182 other affected functions.
16183 (check_float): Likewise.
16184 (check_complex): Likewise.
16185 (check_int): Likewise.
16186 (check_long): Likewise.
16187 (check_bool): Likewise.
16188 (check_longlong): Likewise.
16189 (main): Don't print noXFails and noXPasses.
16190 * math/gen-libm-test.pl (top level): Don't mention expected
16191 failure handling in comment.
16192 (new_test): Don't handle expected failures.
16193 (parse_args): Don't mention expected failure handling in comment.
16194 (generate_testfile): Don't handle expected failures.
16195 (parse_ulps): Likewise.
16196 (print_ulps_file): Likewise.
16197 (get_failure): Remove function.
16198 (output_test): Don't handle expected failures.
16199 * make/README.libm-test: Don't mention expected failure handling.
16201 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16202 (minus_zero): Likewise.
16203 (plus_infty): Likewise.
16204 (minus_infty): Likewise.
16205 (qnan_value): Likewise.
16206 (max_value): Likewise.
16207 (min_value): Likewise.
16208 (min_subnorm_value): Likewise.
16209 (initialize): Do not initialize those variables dynamically.
16211 2013-05-03 Roland McGrath <roland@hack.frob.com>
16213 * io/open.c (__open_2): Moved to ...
16214 * io/open_2.c: ... this new file.
16215 * io/open64.c (__open64_2): Moved to ...
16216 * io/open64_2.c: ... this new file.
16217 * io/openat.c (__openat_2): Moved to ...
16218 * io/openat_2.c: ... this new file.
16219 * io/openat64.c (__openat64_2): Moved to ...
16220 * io/openat64_2.c: ... this new file.
16221 * io/Makefile (routines): Add them.
16222 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16223 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16224 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16225 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16226 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16227 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16228 (__openat64): Add hidden_ver.
16229 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16230 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16232 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16233 Separately conditionalize setting of GLRO(dl_sysinfo) so
16234 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16235 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16237 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16239 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16240 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16242 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16243 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16244 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16245 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16246 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16248 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16250 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16251 test signgam value.
16253 * math/libm-test.inc (hypot_test): Do not use
16254 IGNORE_ZERO_INF_SIGN.
16256 2013-05-03 Andreas Jaeger <aj@suse.de>
16258 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16260 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16261 (PF_MAX): Adjust for VSOCK change.
16263 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16267 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16270 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16271 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16272 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16274 2013-05-02 David S. Miller <davem@davemloft.net>
16276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16278 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16280 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16282 2013-05-01 Roland McGrath <roland@hack.frob.com>
16284 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16286 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16289 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16290 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16291 Use __attribute__ ((__gnu_inline__)).
16292 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16293 Don't use __attribute__ ((__gnu_inline__)).
16295 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16298 * math/s_catan.c (__catan): Handle small real or imaginary part of
16299 input specially to avoid spurious underflow.
16300 * math/s_catanf.c (__catanf): Likewise.
16301 * math/s_catanh.c (__catanh): Likewise.
16302 * math/s_catanhf.c (__catanhf): Likewise.
16303 * math/s_catanhl.c (__catanhl): Likewise.
16304 * math/s_catanl.c (__catanl): Likewise.
16305 * math/libm-test.inc (catan_test): Add more tests.
16306 (catanh_test): Likewise.
16307 * sysdeps/i386/fpu/libm-test-ulps: Update.
16308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16310 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16314 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16317 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16318 accurately for denominator in atan2.
16319 * math/s_catanf.c (__catanf): Likewise.
16320 * math/s_catanh.c (__catanh): Likewise.
16321 * math/s_catanhf.c (__catanhf): Likewise.
16322 * math/s_catanhl.c (__catanhl): Likewise.
16323 * math/s_catanl.c (__catanl): Likewise.
16324 * math/libm-test.inc (catan_test): Add more tests.
16325 (catanh_test): Likewise.
16326 * sysdeps/i386/fpu/libm-test-ulps: Update.
16327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16329 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16331 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16333 * benchtests/Makefile (bench): Remove slow benchmarks.
16334 * benchtests/atan-inputs: Add slow benchmark inputs.
16335 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16336 (BENCH_FUNC): Accept variant offset.
16338 * benchtests/bench-skeleton.c (main): Run benchmark for each
16340 * benchtests/cos-inputs: Add slow benchmark inputs.
16341 * benchtests/exp-inputs: Likewise.
16342 * benchtests/pow-inputs: Likewise.
16343 * benchtests/sin-inputs: Likewise.
16344 * benchtests/slowatan-inputs: Remove.
16345 * benchtests/slowatan.c: Remove.
16346 * benchtests/slowcos-inputs: Remove.
16347 * benchtests/slowcos.c: Remove.
16348 * benchtests/slowexp-inputs: Remove.
16349 * benchtests/slowexp.c: Remove.
16350 * benchtests/slowpow-inputs: Remove.
16351 * benchtests/slowpow.c: Remove.
16352 * benchtests/slowsin-inputs: Remove.
16353 * benchtests/slowsin.c: Remove.
16354 * benchtests/slowtan-inputs: Remove.
16355 * benchtests/slowtan.c: Remove.
16356 * benchtests/tan-inputs: Add slow benchmark inputs.
16357 * scripts/bench.pl: Parse comments and directives.
16359 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16361 ($(objpfx)bench-%.c): Remove *-ITER.
16362 * benchtests/bench-modf.c: Remove definition of ITER.
16363 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16364 (main): Loop for DURATION seconds instead of fixed number of
16366 * scripts/bench.pl: Don't expect iterations in parameters.
16368 2013-04-29 Roland McGrath <roland@hack.frob.com>
16370 * io/fchdir.c (__fchdir): Renamed from fchdir.
16371 (fchdir): Define as weak alias.
16373 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16375 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16376 (ERRNO_EDOM): Likewise.
16377 (ERRNO_ERANGE): Likewise.
16378 (noErrnoTests): New variable.
16379 (init_max_error): Set errno to 0.
16380 (test_single_errno): New function.
16381 (test_errno): Likewise.
16382 (check_float_internal): Call test_errno. Set errno to 0.
16383 (check_complex): Refer to errno tests in comment.
16384 (check_int): Call test_errno. Set errno to 0.
16385 (check_long): Likewise.
16386 (check_bool): Likewise.
16387 (check_longlong): Likewise.
16388 (cos_test): Use ERRNO_* flags for errno tests instead of
16390 (expm1_test): Likewise.
16391 (fmod_test): Likewise.
16392 (ilogb_test): Likewise.
16393 (lgamma_test): Likewise.
16394 (pow_test): Likewise.
16395 (remainder_test): Likewise.
16396 (sin_test): Likewise.
16397 (tan_test): Likewise.
16398 (yn_test): Likewise.
16399 (initialize): Set errno to 0.
16400 (main): Print number of errno tests.
16401 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16403 2013-04-29 Andreas Jaeger <aj@suse.de>
16406 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16410 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16411 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16415 * stdlib/random.c (__initstate): Return NULL if
16419 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16420 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16423 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16427 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16429 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16430 of individual tests.
16431 (casin_test): Likewise.
16432 (casinh_test): Likewise.
16434 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16437 * math/s_catan.c (__catan): Handle arguments with large real or
16438 imaginary part separately without squaring.
16439 * math/s_catanf.c (__catanf): Likewise.
16440 * math/s_catanh.c (__catanh): Likewise.
16441 * math/s_catanhf.c (__catanhf): Likewise.
16442 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16444 (__catanhl): Handle arguments with large real or imaginary part
16445 separately without squaring.
16446 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16448 (__catanl): Handle arguments with large real or imaginary part
16449 separately without squaring.
16450 * math/libm-test.inc (catan_test): Add more tests.
16451 (catanh_test): Likewise.
16452 * sysdeps/i386/fpu/libm-test-ulps: Update.
16453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16455 2013-04-27 Andreas Jaeger <aj@suse.de>
16458 * stdlib/stdlib.h: Update guards for qecvt.
16459 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16462 2013-04-27 Allan McRae <allan@archlinux.org>
16464 * sysdeps/i386/fpu/libm-test-ulps: Update.
16466 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16469 * math/s_catan.c: Include <float.h>.
16470 (__catan): Ensure underflow exception occurs for underflowed
16472 * math/s_catanf.c: Include <float.h>.
16473 (__catanf): Ensure underflow exception occurs for underflowed
16475 * math/s_catanh.c: Include <float.h>.
16476 (__catanh): Ensure underflow exception occurs for underflowed
16478 * math/s_catanhf.c: Include <float.h>.
16479 (__catanhf): Ensure underflow exception occurs for underflowed
16481 * math/s_catanhl.c: Include <float.h>.
16482 (__catanhl): Ensure underflow exception occurs for underflowed
16484 * math/s_catanl.c: Include <float.h>.
16485 (__catanl): Ensure underflow exception occurs for underflowed
16487 * math/libm-test.inc (catan_test): Add more tests.
16488 (catanh_test): Likewise.
16491 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16492 underflowed result.
16493 * math/s_ccoshf.c (__ccoshf): Likewise.
16494 * math/s_ccoshl.c (__ccoshl): Likewise.
16495 * math/s_csin.c (__csin): Likewise.
16496 * math/s_csinf.c (__csinf): Likewise.
16497 * math/s_csinh.c (__csinh): Likewise.
16498 * math/s_csinhf.c (__csinhf): Likewise.
16499 * math/s_csinhl.c (__csinhl): Likewise.
16500 * math/s_csinl.c (__csinl): Likewise.
16501 * math/libm-test.inc (ccos_test): Add more tests.
16502 (ccosh_test): Likewise.
16503 (csin_test): Likewise.
16504 (csinh_test): Likewise.
16506 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16508 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16509 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16510 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16511 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16512 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16513 powerpc/power5+/fpu folders.
16514 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16517 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16521 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16523 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16524 additions to variable.
16525 [$(config-machine) = x86_64] (modules-names): Likewise.
16526 ($(objpfx)tst-audit3): Remove dependency.
16527 ($(objpfx)tst-audit3.out): Likewise.
16528 ($(objpfx)tst-audit4): Likewise.
16529 ($(objpfx)tst-audit4.out): Likewise.
16530 ($(objpfx)tst-audit5): Likewise.
16531 ($(objpfx)tst-audit5.out): Likewise.
16532 ($(objpfx)tst-audit6): Likewise.
16533 ($(objpfx)tst-audit6.out): Likewise.
16534 ($(objpfx)tst-audit7): Likewise.
16535 ($(objpfx)tst-audit7.out): Likewise.
16536 (tst-audit3-ENV): Remove variable.
16537 (tst-audit4-ENV): Likewise.
16538 (tst-audit5-ENV): Likewise.
16539 (tst-audit6-ENV): Likewise.
16540 (tst-audit7-ENV): Likewise.
16541 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16542 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16543 addition to variable.
16544 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16545 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16546 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16547 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16548 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16549 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16550 tst-audit3, tst-audit4 and tst-audit5.
16551 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16552 tst-audit6 and tst-audit7.
16553 [$(subdir) = elf] (modules-names): Add audit modules for those
16555 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16556 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16557 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16558 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16559 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16560 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16561 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16562 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16563 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16564 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16565 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16566 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16567 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16568 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16569 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16570 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16572 [$(subdir) = elf && $(config-cflags-avx) = yes]
16573 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16574 [$(subdir) = elf && $(config-cflags-avx) = yes]
16575 (CFLAGS-tst-auditmod4a.c): Likewise.
16576 [$(subdir) = elf && $(config-cflags-avx) = yes]
16577 (CFLAGS-tst-auditmod4b.c): Likewise.
16578 [$(subdir) = elf && $(config-cflags-avx) = yes]
16579 (CFLAGS-tst-auditmod6b.c): Likewise.
16580 [$(subdir) = elf && $(config-cflags-avx) = yes]
16581 (CFLAGS-tst-auditmod6c.c): Likewise.
16582 [$(subdir) = elf && $(config-cflags-avx) = yes]
16583 (CFLAGS-tst-auditmod7b.c): Likewise.
16584 * elf/tst-audit3.c: Move to ...
16585 * sysdeps/x86_64/tst-audit3.c: ... here.
16586 * elf/tst-audit4.c: Move to ...
16587 * sysdeps/x86_64/tst-audit4.c: ... here.
16588 * elf/tst-audit5.c: Move to ...
16589 * sysdeps/x86_64/tst-audit5.c: ... here.
16590 * elf/tst-audit6.c: Move to ...
16591 * sysdeps/x86_64/tst-audit6.c: ... here.
16592 * elf/tst-audit7.c: Move to ...
16593 * sysdeps/x86_64/tst-audit7.c: ... here.
16594 * elf/tst-auditmod3a.c: Move to ...
16595 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16596 * elf/tst-auditmod3b.c: Move to ...
16597 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16598 * elf/tst-auditmod4a.c: Move to ...
16599 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16600 * elf/tst-auditmod4b.c: Move to ...
16601 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16602 * elf/tst-auditmod5a.c: Move to ...
16603 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16604 * elf/tst-auditmod5b.c: Move to ...
16605 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16606 * elf/tst-auditmod6a.c: Move to ...
16607 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16608 * elf/tst-auditmod6b.c: Move to ...
16609 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16610 * elf/tst-auditmod6c.c: Move to ...
16611 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16612 * elf/tst-auditmod7a.c: Move to ...
16613 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16614 * elf/tst-auditmod7b.c: Move to ...
16615 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16617 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16620 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16621 define unconditionally.
16622 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16623 define unconditionally.
16624 (INT8_C, INT16_C, etc.): Likewise.
16626 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16628 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16629 __ehdr_start with hidden visibility.
16631 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16633 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16635 * math/libm-test.inc (cos_test): Use accurate hex constants.
16636 (sincost_test): Likewise.
16638 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16640 * math/libm-test.inc (catan_test): Add more tests.
16641 (catanh_test): Likewise.
16643 * math/s_catanf.c (__catanf): Use suffixed floating-point
16645 * math/s_catanhf.c (__catanhf): Likewise.
16646 * math/s_catanhl.c (__catanhl): Likewise.
16647 * math/s_catanl.c (__catanl): Likewise.
16650 * math/s_catan.c (__catan): Calculate imaginary part of result
16651 with log1p not log unless computing log of number close to 0.
16652 * math/s_catanf.c (__catanf): Likewise.
16653 * math/s_catanl.c (__catanl): Likewise.
16654 * math/s_catanh.c (__catanh): Calculate real part of result with
16655 log1p not log unless computing log of number close to 0.
16656 * math/s_catanhf.c (__catanhf): Likewise.
16657 * math/s_catanhl.c (__catanhl): Likewise.
16658 * math/libm-test.inc (catan_test): Add more tests.
16659 (catanh_test): Likewise.
16660 * sysdeps/i386/fpu/libm-test-ulps: Update.
16661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16663 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16665 * benchtests/Makefile: Mention files in which fast and slow
16666 paths of math functions are implemented.
16668 2013-04-23 Roland McGrath <roland@hack.frob.com>
16670 * sysdeps/posix/timespec_get.c: New file.
16672 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16674 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16676 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16678 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16679 powerpc/power5/fpu folders.
16680 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16681 * benchtests/Makefile: Add modf testcase.
16682 * benchtests/bench-modf.c: New file: Benchmark test for mo
16684 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16687 * time/Makefile (tests): Add tst-strptime-whitespace.
16688 * time/strptime_l.c (get_number): Use ISSPACE.
16689 (__strptime_internal): Likewise.
16690 * time/tst-strptime-whitespace.c: New test case.
16692 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16694 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16696 (_nss_files_init): Set it here.
16698 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16700 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16701 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16704 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16706 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16708 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16710 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16713 2013-04-21 David S. Miller <davem@davemloft.net>
16715 * po/ru.po: Update Russion translation from translation project.
16717 2013-04-17 Adam Conrad <adconrad@0c3.net>
16719 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16722 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16724 * configure.in: Remove i386 configure warning. Remove i386 case.
16725 * configure: Regenerate.
16726 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16727 Add example to error message.
16728 * sysdeps/i386/configure: Regenerate.
16730 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16732 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16734 * benchtests/cos-inputs: New file.
16735 * benchtests/slowcos-inputs: New file.
16736 * benchtests/slowcos.c: New file.
16737 * benchtests/slowtan-inputs: New file.
16738 * benchtests/slowtan.c: New file.
16739 * benchtests/tan-inputs: New file.
16741 2013-04-16 Roland McGrath <roland@hack.frob.com>
16743 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16746 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16748 * benchtests/Makefile: Include cppflags-iterator.mk to add
16749 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16751 * Makefile.in (bench-clean): New target.
16752 * benchtests/Makefile (bench-clean): Likewise.
16754 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16756 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16758 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16760 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16762 2013-04-15 Andreas Schwab <schwab@suse.de>
16764 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16765 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16766 * nscd/pwdcache.c (cache_addpw): Likewise.
16767 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16770 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16772 * benchtests/Makefile (bench): Write all output to
16773 bench-out.tmp together.
16775 2013-04-15 Andreas Schwab <schwab@suse.de>
16777 * nscd/nscd.c (main): Don't fork again after closing files.
16779 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16781 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16783 * benchtests/Rules (bench-deps): Collect dependencies into a
16784 single variable. Add Makefile to dependencies.
16785 ($(objpfx)bench-%.c): Depend on bench-deps.
16787 2013-04-12 Roland McGrath <roland@hack.frob.com>
16788 Xavier Roche <roche+kml2@exalead.com>
16791 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16792 just that it's a file descriptor.
16793 * manual/llio.texi (Synchronizing AIO Operations): Update description
16794 for EBADF error from aio_fsync.
16796 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16798 * Rules (bench): Move target definition...
16799 * benchtests/Makefile: ... here.
16801 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16803 * math/libm-test.inc (cos_test): Fix PI/2 test.
16804 (sincos_test): Likewise.
16805 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16806 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16808 2013-04-11 Andreas Schwab <schwab@suse.de>
16811 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16812 accept exponent character only when digits were seen.
16813 * stdio-common/Makefile (tests): Add bug26.
16814 * stdio-common/bug26.c: New file.
16817 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16820 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16822 * Makeconfig (rtld-prefix): Define built linker prefix.
16823 * Rules (run-bench): Use it.
16824 * math/Makefile (run-regen-ulps): Likewise.
16826 * Rules (bench): Remove eval.
16828 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16829 Roland McGrath <roland@hack.frob.com>
16830 Ondrej Bilka <neleai@seznam.cz>
16833 * time/getdate.c: Include ctype.h and alloca.h.
16834 (__getdate_r): Trim leading and trailing spaces of input.
16835 * time/tst-getdate.c (tests): Add tests with leading and
16838 2013-04-08 Roland McGrath <roland@hack.frob.com>
16841 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16842 when computing value.
16844 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16846 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16847 Use testrun.sh to run libm tests.
16850 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16852 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16855 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16857 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16859 * Makefile.in (regen-ulps): New target.
16860 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16861 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16862 [ifneq (no,$(PERL)] (regen-ulps): New target.
16863 [ifeq (no,$(PERL)] (regen-ulps): New target.
16864 * math/libm-test.inc (ulps_file_name): Define.
16865 (output_dir): New variable.
16866 (options): Add "output-dir" option.
16867 (parse_opt): Handle 'o' case.
16868 (main): If output_dir is non-NULL use it as a prefix
16870 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16872 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16874 [BZ #10060, #10062]
16875 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16876 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16877 fail configure if __sync_val_compare_and_swap is not inlined.
16878 * sysdeps/i386/configure: Regenerate.
16879 * configure.in: Build for i686 when configured for i386.
16880 * configure: Regenerate.
16881 * README: Remove i386 reference.
16883 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16885 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16888 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16890 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16891 (lmsnanval): New variables.
16892 (F): Add conversion tests.
16893 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16894 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16896 * stdio-common/tstdiomisc.c (F): Properly collect individual
16899 [BZ #14686, #15336]
16900 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16901 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16902 Instead, use input NaN values or generate a qNaN by arithmetic
16903 operation. Also fix bugs to comply with the standard.
16904 * math/libm-test.inc (remainder_test): Add more tests.
16906 [BZ #15335, #15342]
16907 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16909 input NaN values or generate a qNaN by arithmetic operation.
16911 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16914 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16917 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16920 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16921 underflowed result.
16922 * math/s_cexpf.c (__cexpf): Likewise.
16923 * math/s_cexpl.c (__cexpl): Likewise.
16924 * math/libm-test.inc (cexp_test): Add more tests.
16926 2013-04-03 Andreas Schwab <schwab@suse.de>
16929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16930 order arrays from heap if bigger than alloca cutoff.
16932 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16934 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16935 (SNAN_TESTS_double): Refer to GCC PR56831.
16936 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16939 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16941 * Rules (bench): Move bench.out after the run is complete.
16943 * Rules (bench): Echo currently running benchmark.
16945 * benchtests/Makefile (bench): Add atan and slowatan.
16946 * benchtests/atan-inputs: New file.
16947 * benchtests/slowatan-inputs: New file.
16948 * benchtests/slowatan.c: New file.
16950 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16951 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16955 * sysdeps/unix/sysv/linux/kernel-features.h
16956 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16957 __ASSUME_XFS_RESTRICTED_CHOWN.
16958 * sysdeps/unix/sysv/linux/pathconf.c
16959 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16960 Save and restore errno.
16962 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16965 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16966 arguments using __kernel_casinh.
16967 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16968 arguments using __kernel_casinhf.
16969 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16970 arguments using __kernel_casinhl.
16971 * math/libm-test.inc (cacosh_test): Add more tests.
16972 * sysdeps/i386/fpu/libm-test-ulps: Update.
16973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16975 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16977 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16980 * bench/Makefile (bench): Add sin and slowsin.
16981 * benchtests/sin-inputs: New file.
16982 * benchtests/slowsin-inputs: New file.
16983 * benchtests/slowsin.c: New file.
16985 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16986 (bench): Add slowexp and slowpow.
16987 (exp-ITER): Increase iterations.
16988 (pow-ITER): Likewise.
16989 * benchtests/exp-inputs: Change input.
16990 * benchtests/pow-inputs: Likewise.
16991 * benchtests/slowexp-inputs: New file.
16992 * benchtests/slowexp.c: New file.
16993 * benchtests/slowpow-inputs: New file.
16994 * benchtests/slowpow.c: New file.
16996 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16998 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17000 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17001 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17002 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17003 * benchtests/Makefile: Add rint benchtest.
17004 * benchtests/rint-inputs: Input for rint benchtest.
17006 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17008 * Versions.def (libm): Add GLIBC_2.18.
17009 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17010 hidden libm prototypes.
17011 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17012 * math/Makefile (libm-calls): Add s_issignaling.
17013 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17014 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17015 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17017 * math/math.h [__USE_GNU] (issignaling): New macro.
17018 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17019 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17020 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17021 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17024 * manual/arith.texi (issignaling): New section.
17025 * manual/libm-err-tab.pl (@all_functions): Update comment.
17026 * math/gen-libm-test.pl (parse_args): Apply special handling for
17028 * math/libm-test.inc (print_float, issignaling_test): New
17030 (check_float_internal): Add issignaling checks.
17031 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17032 default definition.
17033 * sysdeps/powerpc/math-tests.h: New file.
17034 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17036 * math/test-snan.c (TEST_FUNC): Likewise.
17038 2013-03-30 David S. Miller <davem@davemloft.net>
17040 * po/de.po: Update from translation team.
17042 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17045 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17046 imaginary part less than 1.0 and real part less than 0.5
17048 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17049 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17050 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17051 (cacos_test): Add more tests.
17052 (casin_test): Likewise.
17053 (casinh_test): Likewise.
17054 * sysdeps/i386/fpu/libm-test-ulps: Update.
17055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17057 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17059 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17060 ONE with its value.
17062 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17063 (__pow_mp): Replace ONE and MONE with their values.
17064 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17065 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17066 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17067 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17068 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17069 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17071 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17073 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17074 (__pow_mp): Replace ZERO and MZERO with their values.
17075 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17076 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17077 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17078 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17079 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17080 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17083 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17085 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17087 2013-03-28 Roland McGrath <roland@hack.frob.com>
17089 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17090 Declare with __attribute__ ((weak)).
17091 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17092 Call __call_tls_dtors only if it's not NULL.
17094 2013-03-28 Roland McGrath <roland@hack.frob.com>
17096 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17097 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17098 magic __ehdr_start linker symbol if it's defined.
17099 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17100 them up here if it was already done.
17102 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17103 (_dl_aux_init): Use const in cast when setting it.
17104 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17105 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17106 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17108 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17110 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17111 * csu/libc-tls.c: Nor here.
17112 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17114 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17115 (__libc_message): Never call vsyslog.
17117 2013-03-28 Alan Modra <amodra@gmail.com>
17119 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17121 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17124 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17127 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17131 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17134 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17135 Don't add gid passed as argument.
17137 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17139 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17142 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17143 imaginary part between 1.0 and 1.5 and real part less than 0.5
17145 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17146 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17147 * math/libm-test.inc (cacos_test): Add more tests.
17148 (casin_test): Likewise.
17149 (casinh_test): Likewise.
17150 * sysdeps/i386/fpu/libm-test-ulps: Update.
17151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17153 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17155 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17158 (denorm): Likewise.
17159 (__dbl_mp): Likewise.
17160 (add_magnitudes): Likewise.
17161 (sub_magnitudes): Likewise.
17169 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17171 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17172 (__dubcos): Likewise.
17173 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17174 (__ieee754_acos): Likewise.
17175 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17176 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17177 (__exp1): Likewise.
17178 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17181 (my_log2): Likewise.
17182 (checkint): Likewise.
17183 * sysdeps/ieee754/dbl-64/e_remainder.c
17184 (__ieee754_remainder): Likewise.
17185 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17186 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17187 (bsloww): Likewise.
17188 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17190 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17191 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17192 MANTISSA_STORE_T to store computations on mantissa. Use
17193 macros for rounding and division.
17194 (denorm): Likewise.
17195 (__dbl_mp): Likewise.
17196 (add_magnitudes): Likewise.
17197 (sub_magnitudes): Likewise.
17200 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17201 powers of two in terms of TWOPOW macro.
17202 (mp_no): Make type of mantissa as MANTISSA_T.
17203 [!RADIXI]: Define RADIXI.
17204 [!TWO52]: Define TWO52.
17205 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17207 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17209 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17210 llroundl symbol when building for PPC32.
17212 2013-03-24 Mark H Weaver <mhw@netris.org>
17214 * manual/arith.texi (Normalization Functions): Fix prototypes for
17215 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17217 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17221 high value to check if expl overflow.
17222 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17223 to check for underflow and overflow.
17224 * math/libm-test.inc: Add exp test.
17226 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17229 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17232 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17234 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17237 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17239 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17240 wrap blocks consisting of several statements.
17242 * sysdeps/generic/math-tests.h: New file.
17243 * sysdeps/i386/fpu/math-tests.h: Likewise.
17244 * math/test-snan.c: Include it.
17245 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17247 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17250 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17251 (__ieee754_j0l): Do not improve calculations using cos of twice
17252 input for inputs above LDBL_MAX / 2.0L.
17253 (__ieee754_y0l): Likewise.
17254 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17255 (__ieee754_j1l): Do not improve calculations using cos of twice
17256 input for inputs above LDBL_MAX / 2.0L.
17257 (__ieee754_y1l): Likewise.
17258 * math/libm-test.inc (j0_test): Add another test.
17259 (j1_test): Likewise.
17260 (y0_test): Likewise.
17261 (y1_test): Likewise.
17262 * sysdeps/i386/fpu/libm-test-ulps: Update.
17264 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17266 * Rules ($(objpfx)bench-%.c): Include code from a C source
17269 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17272 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17273 imaginary part 1.0 and real part less than 0.5 specially.
17274 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17275 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17276 * math/libm-test.inc (cacos_test): Add more tests.
17277 (casin_test): Likewise.
17278 (casinh_test): Likewise.
17279 * sysdeps/i386/fpu/libm-test-ulps: Update.
17280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17282 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17284 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17285 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17287 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17289 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17290 * config.make.in (config-cflags-sse4): Remove variable.
17291 (config-cflags-avx): Likewise.
17292 (config-cflags-sse2avx): Likewise.
17293 (config-cflags-novzeroupper): Likewise.
17294 (config-asflags-i686): Likewise.
17295 (have-mfma4): Likewise.
17296 (have-as-vis3): Likewise.
17298 * configure.in (MIG): Do not AC_SUBST.
17299 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17300 (libc_cv_cc_sse4): Do not AC_SUBST.
17301 (libc_cv_cc_avx): Likewise.
17302 (libc_cv_cc_sse2avx): Likewise.
17303 (libc_cv_cc_novzeroupper): Likewise.
17304 (libc_cv_cc_fma4): Likewise.
17305 (libc_cv_as_i686): Likewise.
17306 (libc_cv_sparc_as_vis3): Likewise.
17307 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17309 (config-asflags-i686): Likewise.
17310 (config-cflags-avx): Likewise.
17311 (config-cflags-sse2avx): Likewise.
17312 (have-mfma4): Likewise.
17313 (config-cflags-novzeroupper): Likewise.
17314 * sysdeps/mach/configure.in (MIG): Likewise.
17315 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17316 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17318 (config-cflags-avx): Likewise.
17319 (config-cflags-sse2avx): Likewise.
17320 (have-mfma4): Likewise.
17321 (config-cflags-novzeroupper): Likewise.
17322 * configure: Regenerated.
17323 * sysdeps/i386/configure: Likewise.
17324 * sysdeps/mach/configure: Likewise.
17325 * sysdeps/sparc/configure: Likewise.
17326 * sysdeps/x86_64/configure: Likewise.
17328 2013-03-20 Roland McGrath <roland@hack.frob.com>
17331 * locale/programs/localedef.c (options): Put N_ translation marker
17332 on argument names, not just descriptions.
17334 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17336 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17338 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17341 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17343 2013-03-19 Roland McGrath <roland@hack.frob.com>
17345 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17346 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17347 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17348 [!BEFORE_ABORT] (before_abort): New function.
17349 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17350 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17351 (writev_for_fatal): New function.
17352 (WRITEV_FOR_FATAL): New macro; call that.
17353 (backtrace_and_maps): New function.
17354 (BEFORE_ABORT): New macro; call that.
17355 (struct str_list): Type removed.
17356 (__libc_message, __libc_fatal): Functions removed.
17357 Include <sysdeps/posix/libc_fatal.c> instead.
17359 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17361 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17363 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17366 2013-03-19 Andreas Schwab <schwab@suse.de>
17368 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17369 * sysdeps/gnu/configure: Regenerate.
17371 * configure.in: Substitute libc_cv_rtlddir.
17372 * configure: Regenerate.
17373 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17374 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17375 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17376 * elf/Makefile (install-others, CFLAGS-interp.c)
17377 (ldso_install, common-ldd-rewrite): Likewise.
17378 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17379 $(inst_slibdir)/$(rtld-installed-name).
17380 * scripts/rellns-sh: Add -p option.
17381 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17384 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17386 * manual/nptl.texi: Renamed to ...
17387 * manual/threads.texi: ... this.
17388 * manual/Makefile (chapters): Update.
17390 2013-03-18 Roland McGrath <roland@hack.frob.com>
17393 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17394 on argument names, not just descriptions.
17395 * malloc/memusagestat.c (options): Likewise.
17396 * nss/getent.c (options): Likewise.
17398 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17401 * iconv/iconv_prog.c (options): Put N_ translation marker
17402 on argument names, not just descriptions.
17403 * iconv/iconvconfig.c (options): Likewise.
17405 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17407 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17408 implementation which is faster on all x86_64 architectures.
17409 Tested on AMD, Intel Nehalem, SNB, IVB.
17410 * sysdeps/x86_64/strnlen.S: Likewise.
17412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17413 Remove all multiarch strlen and strnlen versions.
17414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17415 Remove strlen and strnlen related parts.
17417 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17418 Inline strlen part.
17419 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17421 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17422 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17423 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17424 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17425 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17426 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17428 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17430 * manual/memory.texi (Malloc Tunable Parameters):
17431 Sort parameters alphabetically. Add comments for missing entries.
17433 2013-03-17 David S. Miller <davem@davemloft.net>
17435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17437 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17440 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17441 for arguments at most half maximum finite value.
17442 * math/libm-test.inc (j0_test): Add more tests.
17443 (j1_test): Likewise.
17444 (y0_test): Likewise.
17445 (y1_test): Likewise.
17446 * sysdeps/i386/fpu/libm-test-ulps: Update.
17447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17450 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17451 1 / x and functions P and Q for arguments above 0x1p256L.
17452 (__ieee754_y0l): Likewise.
17453 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17454 (__ieee754_y1l): Likewise.
17455 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17456 (j1_test): Likewise.
17457 (y0_test): Likewise.
17458 (y1_test): Likewise.
17460 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17462 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17465 2013-03-15 Roland McGrath <roland@hack.frob.com>
17467 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17468 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17469 zero since it's initialized to EXEC_PAGESIZE.
17471 * sysdeps/unix/sysv/linux/ldsodefs.h
17472 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17473 * sysdeps/generic/ldsodefs.h: ... here.
17475 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17477 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17479 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17481 * math/test-snan.c: Renamed from
17482 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17483 * math/Makefile (tests): Add test-snan.
17484 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17487 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17488 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17490 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17491 __builtin_nan family of functions.
17492 * math/libm-test.inc (initialize): Initialize qnan_value with
17493 __builtin_nan family of functions.
17494 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17496 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17498 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17499 storage class. Initialize qNaN_var and sNaN_var with
17500 __builtin_nan and __builtin_nans families of functions,
17503 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17504 (sqrt_test): Remove duplicate test with qNaN input.
17505 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17506 (round_test, signbit_test, significand_test): Note missing +/-Inf
17507 as well as qNaN tests.
17509 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17510 qNaN_var. Fix a few strings, too.
17511 * math/libm-test.inc (nan_value): Rename to qnan_value.
17512 * math/gen-libm-test.pl (%beautify): Adjust to that.
17513 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17514 * math/test-misc.c (main): Likewise.
17515 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17516 to __qnan_bytes, and __qnan_union, respectively.
17517 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17519 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17520 and lqnanval, respectively.
17521 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17522 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17523 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17524 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17526 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17527 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17530 * math/test-misc.c (main): Fix copy'n'pastos.
17531 * misc/tst-efgcvt.c (special): Likewise.
17533 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17534 Remove declarations.
17536 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17538 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17539 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17540 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17541 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17543 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17545 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17546 macro to return vdso values correctly in IFUNC implementations.
17547 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17548 Optimization by using IFUNC.
17550 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17551 Richard Henderson <rth@redhat.com>
17552 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17554 * Makefile.in (bench): New target.
17555 * NEWS: Mention the benchmark framework.
17556 * Rules (bench): Likewise.
17557 (binaries-bench): Generate binaries for functions to
17559 * benchtests/Makefile: New makefile for benchmark tests.
17560 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17562 * benchtests/exp-inputs: New input file for EXP function.
17563 * benchtests/pow-inputs: New input file for POW function.
17564 * scripts/bench.pl: New script to generate source files for
17565 benchmark programs.
17567 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17569 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17570 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17571 computations on mantissa. Use macros for rounding and
17573 (denorm): Likewise.
17574 (__dbl_mp): Likewise.
17575 (add_magnitudes): Likewise.
17576 (sub_magnitudes): Likewise.
17579 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17580 powers of two in terms of TWOPOW macro.
17581 (mp_no): Make type of mantissa as MANTISSA_T.
17582 [!RADIXI]: Define RADIXI.
17583 [!TWO52]: Define TWO52.
17584 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17586 * manual/nptl.texi (cindex): Modify threads to pthreads.
17588 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17590 * sysdeps/x86_64/preconfigure: Regenerated.
17592 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17595 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17597 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17598 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17600 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17601 * math/libm-test.inc (j0_test): Do not allow one spurious
17602 underflow exception.
17603 (y1_test): Likewise.
17605 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17607 * manual/Makefile (chapters): Add nptl.
17608 * manual/debug.texi (Debugging Support): Add link to Threads
17610 * manual/nptl.texi: New file.
17612 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17614 2013-03-14 Petr Baudis <pasky@ucw.cz>
17616 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17617 for non-NULL pointer before the memory validity test. Pointed
17618 out by Holger Brunck <holger.brunck@keymile.com>.
17620 2013-03-13 Andreas Schwab <schwab@suse.de>
17622 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17625 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17627 * timezone/zic.c: Update from tzcode 2013b.
17629 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17631 * manual/install.texi (Configuring and compiling):
17632 Mention i686 and i586.
17633 * INSTALL: Regenerate.
17635 2013-03-12 Roland McGrath <roland@hack.frob.com>
17637 * sysdeps/init_array/elf-init.c: New file.
17639 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17640 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17642 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17643 __gmon_start__ as global, but as static with a .preinit_array pointer.
17644 * sysdeps/init_array/gmon-start.c: New file. Use that.
17645 * sysdeps/init_array/crti.S: New file, empty except for comments.
17646 * sysdeps/init_array/crtn.S: Likewise.
17648 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17650 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17653 Remove Prefer_SSE_for_memop.
17654 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17655 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17656 HAS_PREFER_SSE_FOR_MEMOP.
17657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17660 Remove bzero, memset ifunc support.
17661 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17662 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17663 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17664 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17666 2013-03-11 Andreas Schwab <schwab@suse.de>
17669 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17672 (GLIBC_2.16): Remove pthread_atfork.
17674 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17676 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17677 (ptestcases.h): Likewise.
17679 2013-03-08 Roland McGrath <roland@hack.frob.com>
17681 * Makeconfig ($(common-objpfx)config.status): Depend on
17682 sysdeps/*/preconfigure{,.in} too.
17684 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17686 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17687 (__free_hook): Use void * instead of __malloc_ptr_t.
17688 (__malloc_hook): Likewise.
17689 (__realloc_hook): Likewise.
17690 (__memalign_hook): Likewise.
17691 (__after_morecore_hook): Likewise.
17692 * malloc/arena.c (save_malloc_hook): Likewise.
17693 (save_free_hook): Likewise.
17694 * malloc/hooks.c (malloc_hook_ini): Likewise.
17695 (realloc_hook_ini): Likewise.
17696 (memalign_hook_ini): Likewise.
17697 * malloc/malloc.c (malloc_hook_ini): Likewise.
17698 (realloc_hook_ini): Likewise.
17699 (memalign_hook_ini): Likewise.
17700 (__free_hook): Likewise.
17701 (__malloc_hook): Likewise.
17702 (__realloc_hook): Likewise.
17703 (__memalign_hook): Likewise.
17704 (__libc_malloc): Likewise.
17705 (__libc_free): Likewise.
17706 (__libc_realloc): Likewise.
17707 (__libc_memalign): Likewise.
17708 (__libc_valloc): Likewise.
17709 (__libc_pvalloc): Likewise.
17710 (__libc_calloc): Likewise.
17711 (__posix_memalign): Likewise.
17712 * malloc/morecore.c (__sbrk): Likewise.
17713 (__default_morecore): Likewise.
17715 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17717 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17718 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17719 __malloc_ptrdiff_t.
17721 * malloc/malloc.h (__malloc_size_t): Remove macro.
17722 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17724 (old_memalign_hook): Likewise.
17725 (old_realloc_hook): Likewise.
17726 (struct hdr): Likewise.
17728 (mallochook): Likewise.
17729 (memalignhook): Likewise.
17730 (reallochook): Likewise.
17731 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17732 (tr_old_realloc_hook): Likewise.
17733 (tr_old_memalign_hook): Likewise.
17734 (tr_mallochook): Likewise.
17735 (tr_reallochook): Likewise.
17736 (tr_memalignhook): Likewise.
17738 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17740 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17741 default_ldbl_pack and using as default implementation.
17742 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17744 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17745 redundant definition.
17746 (ldbl_insert_mantissa): Likewise.
17747 (ldbl_canonicalize): Likewise.
17748 (ldbl_nearbyint): Likewise.
17749 (ldbl_pack): Rename to ldbl_pack_ppc.
17750 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17751 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17752 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17754 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17757 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17758 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17759 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17761 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17762 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17763 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17765 2013-03-07 Andreas Jaeger <aj@suse.de>
17767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17770 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17772 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17773 Include mpa.h and declare __MPEXP.
17774 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17775 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17776 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17777 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17778 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17779 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17780 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17782 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17783 (__slowpow): Use long double EXPL and LOGL functions to
17785 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17786 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17787 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17788 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17789 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17790 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17793 intermediate variable to calculate exponent.
17795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17799 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17800 [!NO__SQR]: Define __sqr.
17801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17802 and NO__SQR. Remove all code except __mul and __sqr. Include
17803 sysdeps/ieee754/dbl-64/mpa.c.
17804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17807 * posix/Makefile (tests): Add tst-pathconf.
17808 * posix/tst-pathconf.c: New test case.
17809 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17811 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17813 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17815 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17817 2013-03-06 Andreas Jaeger <aj@suse.de>
17819 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17820 definition via __MAP_ANONYMOUS.
17822 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17823 it's not part of Linux headers.
17825 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17826 (MAP_HUGE_MASK): Define.
17828 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17830 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17831 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17833 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17834 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17836 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17837 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17839 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17841 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17842 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17843 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17844 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17845 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17846 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17848 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17851 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17852 Handle f2fs and efivarfs.
17854 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17857 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17858 (EFIVARFS_MAGIC): Add.
17859 (F2FS_LINK_MAX): Add.
17861 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17863 * stdio-common/vfprintf.c: Replace __builtin_expect with
17866 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17869 * sysdeps/generic/bp-sym.h: Remove file.
17870 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17871 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17872 <bp-sym.h> and <bp-asm.h>.
17873 (__longjmp): Don't use BP_SYM.
17874 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17876 (memcpy): Don't use BP_SYM.
17877 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17878 <bp-sym.h> and <bp-asm.h>.
17879 (memcpy): Don't use BP_SYM.
17880 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17882 (memcpy): Don't use BP_SYM.
17883 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17885 (memset): Don't use BP_SYM.
17886 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17887 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17888 (__bzero): Don't use BP_SYM.
17889 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17890 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17891 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17892 <bp-sym.h> and <bp-asm.h>.
17893 (memcmp): Don't use BP_SYM. Remove comment about bounded
17895 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17896 <bp-sym.h> and <bp-asm.h>.
17897 (memcpy): Don't use BP_SYM.
17898 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17899 <bp-sym.h> and <bp-asm.h>.
17900 (memset): Don't use BP_SYM.
17901 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17902 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17903 (__bzero): Don't use BP_SYM.
17904 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17905 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17907 <bp-sym.h> and <bp-asm.h>.
17908 (strncmp): Don't use BP_SYM. Remove comment about bounded
17910 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17911 <bp-sym.h> and <bp-asm.h>.
17912 (memcpy): Don't use BP_SYM.
17913 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17914 <bp-sym.h> and <bp-asm.h>.
17915 (memset): Don't use BP_SYM.
17916 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17917 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17918 (__bzero): Don't use BP_SYM.
17919 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17920 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17922 <bp-sym.h> and <bp-asm.h>.
17923 (__memchr): Don't use BP_SYM.
17924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17925 <bp-sym.h> and <bp-asm.h>.
17926 (memcmp): Don't use BP_SYM. Remove comment about bounded
17928 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17929 <bp-sym.h> and <bp-asm.h>.
17930 (memcpy): Don't use BP_SYM.
17931 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17932 <bp-sym.h> and <bp-asm.h>.
17933 (__mempcpy): Don't use BP_SYM.
17934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17935 <bp-sym.h> and <bp-asm.h>.
17936 (__memrchr): Don't use BP_SYM.
17937 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17938 <bp-sym.h> and <bp-asm.h>.
17939 (memset): Don't use BP_SYM.
17940 (__bzero): Likewise.
17941 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17942 <bp-sym.h> and <bp-asm.h>.
17943 (__rawmemchr): Don't use BP_SYM.
17944 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17945 <bp-sym.h> and <bp-asm.h>.
17946 (__STRCMP): Don't use BP_SYM.
17947 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17948 <bp-sym.h> and <bp-asm.h>.
17949 (strchr): Don't use BP_SYM.
17950 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17951 <bp-sym.h> and <bp-asm.h>.
17952 (__strchrnul): Don't use BP_SYM.
17953 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17954 <bp-sym.h> and <bp-asm.h>.
17955 (strlen): Don't use BP_SYM.
17956 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17957 <bp-sym.h> and <bp-asm.h>.
17958 (strncmp): Don't use BP_SYM. Remove comment about bounded
17960 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17961 <bp-sym.h> and <bp-asm.h>.
17962 (__strnlen): Don't use BP_SYM.
17963 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17964 <bp-sym.h> and <bp-asm.h>.
17965 (__GI__setjmp): Don't use BP_SYM.
17966 (_setjmp): Likewise.
17967 (__sigsetjmp): Likewise.
17968 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17969 (L(start_addresses)): Don't use BP_SYM.
17970 (_start): Likewise.
17971 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17973 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17974 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17975 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17976 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17977 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17979 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17980 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17981 about bounded pointers.
17982 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17983 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17984 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17986 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17987 about bounded pointers. Remove GKM FIXME comments.
17988 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17989 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17991 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17992 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17993 Remove GKM FIXME comments.
17994 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17995 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17996 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17998 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17999 about bounded pointers. Remove GKM FIXME comment.
18000 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18002 (strncmp): Don't use BP_SYM. Remove comment about bounded
18004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18005 <bp-sym.h> and <bp-asm.h>.
18006 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18008 <bp-sym.h> and <bp-asm.h>.
18009 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18012 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18014 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18017 2013-03-05 David S. Miller <davem@davemloft.net>
18019 * po/es.po: Update from translation team.
18021 2013-03-05 Andreas Jaeger <aj@suse.de>
18023 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18024 <bits/mman-linux.h>.
18025 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18027 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18028 <bits/mman-linux.h> to end of file.
18029 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18031 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18032 <bits/mman-linux.h> to end of file.
18033 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18035 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18036 <bits/mman-linux.h> to end of file.
18038 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18039 (MCL_CURRENT, MCL_FUTURE): Define here.
18041 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18044 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18046 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18048 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18050 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18051 fourth parameter needed for rt_sigprocmask syscall.
18052 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18053 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18054 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18055 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18056 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18057 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18059 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18062 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18063 comment about bounded pointers.
18064 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18065 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18067 2013-03-04 Andreas Jaeger <aj@suse.de>
18069 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18070 common definitions.
18072 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18073 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18074 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18075 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18076 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18077 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18079 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18082 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18083 __ieee754_sqrl instead of __sqrl.
18085 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18087 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18088 * sysdeps/powerpc/fpu_control.h: ... here.
18089 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18090 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18091 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18092 * sysdeps/powerpc/bits/mathinline.h: ... here.
18094 2013-03-01 Roland McGrath <roland@hack.frob.com>
18096 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18097 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18098 to just [NEED_DL_SYSINFO_DSO].
18099 * elf/dl-support.c: Likewise.
18100 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18101 * elf/rtld.c (dl_main): Likewise.
18102 * elf/setup-vdso.h (setup_vdso): Likewise.
18103 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18104 * sysdeps/unix/sysv/linux/dl-sysdep.c
18105 (_dl_discover_osversion): Likewise.
18107 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18109 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18110 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18112 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18114 * NEWS: Mention libm performance improvements and non-x86 PI
18117 * csu/libc-start.c (__pthread_initialize_minimal): Change
18118 function arguments.
18119 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18121 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18124 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18125 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18126 <bp-sym.h> and <bp-asm.h>.
18127 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18128 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18130 (memcpy): Don't use BP_SYM.
18131 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18133 (__mpn_add_n): Don't use BP_SYM.
18134 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18135 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18137 (__mpn_addmul_1): Don't use BP_SYM.
18138 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18139 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18141 (_setjmp): Don't use BP_SYM.
18142 (__novmx_setjmp): Likewise.
18143 (__GI__setjmp): Likewise.
18144 (__vmx_setjmp): Likewise.
18145 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18147 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18148 (__bzero): Don't use BP_SYM.
18149 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18150 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18151 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18152 <bp-sym.h> and <bp-asm.h>.
18153 (memcpy): Don't use BP_SYM.
18154 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18155 <bp-sym.h> and <bp-asm.h>.
18156 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18157 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18158 <bp-sym.h> and <bp-asm.h>.
18159 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18160 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18162 (__mpn_lshift): Don't use BP_SYM.
18163 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18164 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18166 (memset): Don't use BP_SYM.
18167 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18168 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18169 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18171 (__mpn_mul_1): Don't use BP_SYM.
18172 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18174 <bp-sym.h> and <bp-asm.h>.
18175 (memcmp): Don't use BP_SYM.
18176 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18177 <bp-sym.h> and <bp-asm.h>.
18178 (memcpy): Don't use BP_SYM.
18179 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18180 <bp-sym.h> and <bp-asm.h>.
18181 (memset): Don't use BP_SYM.
18182 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18183 <bp-sym.h> and <bp-asm.h>.
18184 (strncmp): Don't use BP_SYM.
18185 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18186 <bp-sym.h> and <bp-asm.h>.
18187 (memcpy): Don't use BP_SYM.
18188 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18189 <bp-sym.h> and <bp-asm.h>.
18190 (memset): Don't use BP_SYM.
18191 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18192 <bp-sym.h> and <bp-asm.h>.
18193 (__memchr): Don't use BP_SYM.
18194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18195 <bp-sym.h> and <bp-asm.h>.
18196 (memcmp): Don't use BP_SYM.
18197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18198 <bp-sym.h> and <bp-asm.h>.
18199 (memcpy): Don't use BP_SYM.
18200 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18201 <bp-sym.h> and <bp-asm.h>.
18202 (__mempcpy): Don't use BP_SYM.
18203 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18204 <bp-sym.h> and <bp-asm.h>.
18205 (__memrchr): Don't use BP_SYM.
18206 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18207 <bp-sym.h> and <bp-asm.h>.
18208 (memset): Don't use BP_SYM.
18209 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18210 <bp-sym.h> and <bp-asm.h>.
18211 (__rawmemchr): Don't use BP_SYM.
18212 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18213 <bp-sym.h> and <bp-asm.h>.
18214 (__STRCMP): Don't use BP_SYM.
18215 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18216 <bp-sym.h> and <bp-asm.h>.
18217 (strchr): Don't use BP_SYM.
18218 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18219 <bp-sym.h> and <bp-asm.h>.
18220 (__strchrnul): Don't use BP_SYM.
18221 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18222 <bp-sym.h> and <bp-asm.h>.
18223 (strlen): Don't use BP_SYM.
18224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18225 <bp-sym.h> and <bp-asm.h>.
18226 (strncmp): Don't use BP_SYM.
18227 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18228 <bp-sym.h> and <bp-asm.h>.
18229 (__strnlen): Don't use BP_SYM.
18230 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18232 (__mpn_rshift): Don't use BP_SYM.
18233 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18234 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18235 <bp-sym.h> and <bp-asm.h>.
18236 (__sigsetjmp): Don't use BP_SYM.
18237 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18238 (L(start_addresses)): Don't use BP_SYM.
18239 (_start): Likewise.
18240 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18242 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18243 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18244 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18245 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18247 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18248 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18249 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18250 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18252 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18254 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18255 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18257 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18259 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18260 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18261 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18263 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18265 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18267 (strncmp): Don't use BP_SYM,
18268 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18270 (__mpn_sub_n): Don't use BP_SYM.
18271 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18272 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18274 (__mpn_submul_1): Don't use BP_SYM.
18275 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18277 <bp-sym.h> and <bp-asm.h>.
18278 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18280 <bp-sym.h> and <bp-asm.h>.
18281 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18284 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18287 Use ZK to minimize writes to Z.
18288 (sub_magnitudes): Simplify code a bit.
18289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18290 Use ZK to minimize writes to Z.
18291 (sub_magnitudes): Simplify code a bit.
18293 2013-02-27 Roland McGrath <roland@hack.frob.com>
18295 * csu/gmon-start.c: Add special exception to license text.
18297 2013-02-27 Richard Henderson <rth@redhat.com>
18299 * scripts/config.guess: Update from config.git.
18300 * scripts/config.sub: Likewise.
18302 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18304 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18306 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18308 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18310 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18312 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18314 2013-02-26 Roland McGrath <roland@hack.frob.com>
18316 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18317 [$(build-shared = yes].
18319 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18321 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18322 (__mul): Reduce iterations for calculating mantissa.
18324 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18326 (__mpranred): Likewise.
18329 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18330 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18332 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18334 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18335 Define __attribute__.
18337 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18339 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18341 * posix/regex_internal.h (__attribute): Remove.
18342 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18343 (re_string_context_at): Likewise.
18344 (bitset_not): Use __attribute__ and mark function as possibly
18346 (bitset_merge): Likewise.
18347 (bitset_mask): Likewise.
18348 (re_string_char_size_at): Likewise.
18349 (re_string_wchar_at): Likewise.
18350 (re_string_elem_size_at): Likewise.
18352 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18354 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18358 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18362 (denorm): Likewise.
18363 (__dbl_mp): Likewise.
18364 (add_magnitudes): Likewise.
18365 (sub_magnitudes): Likewise.
18369 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18372 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18375 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18379 up changes with default code.
18380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18383 2013-02-24 Allan McRae <allan@archlinux.org>
18385 * manual/socket.texi (The Internet Namespace): Order menu items
18386 to match that in the file.
18388 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18389 node listing of the info page menu.
18391 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18394 * sysdeps/i386/bp-asm.h: Remove file.
18395 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18396 (PARMS): Do not use macros from bp-asm.h.
18400 (__mpn_add_n): Do not use BP_SYM
18401 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18403 (PARMS): Do not use macros from bp-asm.h.
18406 (__mpn_addmul_1): Do not use BP_SYM
18407 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18409 (PARMS): Do not use macros from bp-asm.h.
18410 (SIGMSK): Likewise.
18411 (_setjmp): Likewise. Do not use BP_SYM.
18412 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18414 (PARMS): Do not use macros from bp-asm.h.
18415 (SIGMSK): Likewise.
18416 (setjmp): Likewise. Do not use BP_SYM.
18417 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18419 (PARMS): Do not use macros from bp-asm.h.
18420 (__frexp): Do not use BP_SYM.
18422 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18424 (PARMS): Do not use macros from bp-asm.h.
18425 (__frexpf): Do not use BP_SYM.
18426 (frexpf): Likewise.
18427 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18429 (PARMS): Do not use macros from bp-asm.h.
18430 (__frexpl): Do not use BP_SYM.
18431 (frexpl): Likewise.
18432 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18434 (PARMS): Do not use macros from bp-asm.h.
18435 (__remquo): Do not use BP_SYM.
18436 (remquo): Likewise.
18437 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18439 (PARMS): Do not use macros from bp-asm.h.
18440 (__remquof): Do not use BP_SYM.
18441 (remquof): Likewise.
18442 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18444 (PARMS): Do not use macros from bp-asm.h.
18445 (__remquol): Do not use BP_SYM.
18446 (remquol): Likewise.
18447 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18449 (PARMS): Do not use macros from bp-asm.h.
18452 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18453 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18455 (PARMS): Do not use macros from bp-asm.h.
18456 (strlen): Do not use BP_SYM.
18457 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18459 (PARMS): Do not use macros from bp-asm.h.
18463 (__mpn_add_n): Do not use BP_SYM.
18464 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18466 (PARMS): Do not use macros from bp-asm.h.
18469 (__mpn_addmul_1): Do not use BP_SYM.
18470 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18473 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18475 (PARMS): Do not use macros from bp-asm.h.
18478 (__mpn_lshift): Do not use BP_SYM.
18479 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18481 (PARMS): Do not use macros from bp-asm.h.
18485 (memcpy): Likewise. Do not use BP_SYM.
18486 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18487 libc_hidden_def and weak_alias.
18488 (mempcpy): Do not use BP_SYM in weak_alias.
18489 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18491 (PARMS): Do not use macros from bp-asm.h.
18494 [!BZERO_P] (CHR): Likewise.
18495 (memset): Likewise. Do not use BP_SYM.
18496 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18498 (PARMS): Do not use macros from bp-asm.h.
18501 (__mpn_mul_1): Do not use BP_SYM.
18502 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18504 (PARMS): Do not use macros from bp-asm.h.
18507 (__mpn_rshift): Do not use BP_SYM.
18508 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18510 (PARMS): Do not use macros from bp-asm.h.
18513 (strchr): Likewise. Do not use BP_SYM.
18514 (index): Do not use BP_SYM in weak_alias.
18515 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18517 (PARMS): Do not use macros from bp-asm.h.
18520 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18521 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18523 (PARMS): Do not use macros from bp-asm.h.
18524 (strlen): Do not use BP_SYM.
18525 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18527 (PARMS): Do not use macros from bp-asm.h.
18531 (__mpn_sub_n): Do not use BP_SYM.
18532 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18534 (PARMS): Do not use macros from bp-asm.h.
18537 (__mpn_submul_1): Do not use BP_SYM.
18538 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18540 (PARMS): Do not use macros from bp-asm.h.
18544 (__mpn_add_n): Do not use BP_SYM.
18545 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18548 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18550 (PARMS): Do not use macros from bp-asm.h.
18553 (memcmp): Do not use BP_SYM.
18554 (bcmp): Do not use BP_SYM in weak_alias.
18555 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18557 (PARMS): Do not use macros from bp-asm.h.
18561 (memcpy): Likewise. Do not use BP_SYM.
18562 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18564 (PARMS): Do not use macros from bp-asm.h.
18568 (memmove): Likewise. Do not use BP_SYM.
18569 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18571 (PARMS): Do not use macros from bp-asm.h.
18575 (__mempcpy): Likewise. Do not use BP_SYM.
18576 (mempcpy): Do not use BP_SYM in weak_alias.
18577 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18579 (PARMS): Do not use macros from bp-asm.h.
18582 [!BZERO_P] (CHR): Likewise.
18583 (memset): Likewise. Do not use BP_SYM.
18584 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18586 (PARMS): Do not use macros from bp-asm.h.
18588 (strcmp): Do not use BP_SYM.
18589 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18591 (PARMS): Do not use macros from bp-asm.h.
18594 [USE_AS_STRTOK_R] (SAVE): Likewise.
18595 (FUNCTION): Likewise. Do not use BP_SYM.
18596 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18598 (strtok_r): Likewise.
18599 (__GI___strtok_r): Likewise.
18600 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18601 (PARMS): Do not use macros from bp-asm.h.
18604 (__mpn_lshift): Do not use BP_SYM.
18605 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18606 (PARMS): Do not use macros from bp-asm.h.
18609 (__memchr): Do not use BP_SYM.
18610 (memchr): Do not use BP_SYM in weak_alias.
18611 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18612 (PARMS): Do not use macros from bp-asm.h.
18615 (memcmp): Do not use BP_SYM.
18616 (bcmp): Do not use BP_SYM in weak_alias.
18617 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18618 (PARMS): Do not use macros from bp-asm.h.
18621 (__mpn_mul_1): Do not use BP_SYM.
18622 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18624 (PARMS): Do not use macros from bp-asm.h.
18627 (__rawmemchr): Do not use BP_SYM.
18628 (rawmemchr): Do not use BP_SYM in weak_alias.
18629 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18630 (PARMS): Do not use macros from bp-asm.h.
18633 (__mpn_rshift): Do not use BP_SYM.
18634 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18635 (PARMS): Do not use macros from bp-asm.h.
18636 (SIGMSK): Likewise.
18637 (__sigsetjmp): Likewise. Do not use BP_SYM.
18638 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18639 (_start): Do not use BP_SYM.
18640 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18641 (PARMS): Do not use macros from bp-asm.h.
18644 (__stpcpy): Likewise. Do not use BP_SYM.
18645 (stpcpy): Do not use BP_SYM in weak_alias.
18646 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18648 (PARMS): Do not use macros from bp-asm.h.
18652 (__stpncpy): Likewise. Do not use BP_SYM.
18653 (stpncpy): Do not use BP_SYM in weak_alias.
18654 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18655 (PARMS): Do not use macros from bp-asm.h.
18658 (strchr): Likewise. Do not use BP_SYM.
18659 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18661 (PARMS): Do not use macros from bp-asm.h.
18664 (__strchrnul): Likewise. Do not use BP_SYM.
18665 (strchrnul): Do not use BP_SYM in weak_alias.
18666 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18668 (PARMS): Do not use macros from bp-asm.h.
18670 (strcspn): Do not use BP_SYM.
18671 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18673 (PARMS): Do not use macros from bp-asm.h.
18676 (strpbrk): Likewise. Do not use BP_SYM.
18677 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18679 (PARMS): Do not use macros from bp-asm.h.
18682 (strrchr): Likewise. Do not use BP_SYM.
18683 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18684 (PARMS): Do not use macros from bp-asm.h.
18686 (strspn): Do not use BP_SYM.
18687 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18688 (PARMS): Do not use macros from bp-asm.h.
18692 (FUNCTION): Likewise. Do not use BP_SYM.
18693 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18695 (strtok_r): Likewise.
18696 (__GI___strtok_r): Likewise.
18697 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18698 (PARMS): Do not use macros from bp-asm.h.
18702 (__mpn_sub_n): Do not use BP_SYM.
18703 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18705 (PARMS): Do not use macros from bp-asm.h.
18708 (__mpn_submul_1): Do not use BP_SYM.
18709 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18711 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18713 (PARMS): Do not use macros from bp-asm.h.
18718 (__clone): Do not use BP_SYM.
18719 (clone): Do not use BP_SYM in weak_alias.
18720 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18722 (PARMS): Do not use macros from bp-asm.h.
18724 (__mmap64): Do not use BP_SYM.
18725 (mmap64): Do not use BP_SYM in weak_alias.
18726 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18727 <bp-sym.h> and <bp-asm.h>.
18728 (PARMS): Do not use macros from bp-asm.h.
18729 (__posix_fadvise64_l64): Do not use BP_SYM.
18730 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18731 (PARMS): Do not use macros from bp-asm.h.
18733 (semtimedop): Do not use BP_SYM.
18734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18737 2013-02-21 Allan McRae <allan@archlinux.org>
18739 * manual/message.texi (Charset conversion in gettext):
18740 Move @end statement to beginning of line.
18742 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18749 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18750 (denorm): Likewise.
18751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18754 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18756 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18757 tail-call to the resolved function if pltexit isn't needed.
18759 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18762 or Y being zero as being unlikely.
18763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18766 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18768 * manual/nss.texi (System Databases and Name Service Switch):
18769 Remove frobnicate @pxref.
18771 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18773 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18774 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18776 2013-02-20 Petr Machata <pmachata@redhat.com>
18778 * elf/elf.h (R_ARM_TARGET1): New macro.
18779 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18780 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18781 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18782 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18783 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18784 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18785 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18786 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18787 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18788 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18789 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18790 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18791 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18792 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18793 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18794 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18795 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18796 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18797 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18798 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18799 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18800 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18801 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18802 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18803 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18804 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18805 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18806 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18807 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18808 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18809 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18810 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18811 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18812 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18813 (R_ARM_THM_GOT_BREL12): Likewise.
18814 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18815 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18816 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18817 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18818 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18819 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18820 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18821 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18822 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18824 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18826 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18827 __attribute_used__ to __attribute__ ((unused)).
18829 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18831 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18834 comment formatting.
18835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18837 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18840 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18842 (ENTER): Remove both macro definitions.
18844 (CHECK_BOUNDS_LOW): Likewise.
18845 (CHECK_BOUNDS_HIGH): Likewise.
18846 (CHECK_BOUNDS_BOTH): Likewise.
18847 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18848 (RETURN_BOUNDED_POINTER): Likewise.
18849 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18850 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18851 (POP_ERRNO_LOCATION_RETURN): Likewise.
18852 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18853 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18854 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18856 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18857 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18858 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18859 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18860 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18861 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18862 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18863 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18864 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18865 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18866 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18867 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18868 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18869 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18871 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18872 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18874 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18875 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18876 * sysdeps/i386/i586/memset.S (memset): Likewise.
18877 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18878 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18879 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18881 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18882 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18883 Change uses of L(2) to L(out).
18884 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18885 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18886 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18887 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18888 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18890 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18891 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18893 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18894 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18895 (RETURN): Do not use macro LEAVE.
18896 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18897 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18898 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18899 * sysdeps/i386/i686/memset.S (memset): Likewise.
18900 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18901 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18902 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18903 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18905 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18906 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18907 L(1_2) and L(1_3) into L(1).
18908 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18909 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18910 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18911 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18912 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18913 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18914 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18915 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18916 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18918 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18919 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18920 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18921 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18922 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18923 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18924 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18925 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18926 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18927 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18928 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18929 * sysdeps/i386/strspn.S (strspn): Likewise.
18930 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18932 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18933 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18934 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18935 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18936 L(1_3) into L(1_1).
18937 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18938 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18939 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18941 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18943 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18945 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18948 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18950 * math/atest-exp.c (exp_mpn): Remove ROUND.
18951 * math/atest-exp2.c (exp_mpn): Likewise.
18952 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18954 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18955 * stdlib/tst-tls-atexit-lib.c: Likewise.
18956 * stdlib/tst-tls-atexit.c: Likewise.
18958 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18960 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18961 and __attribute_alloc_size__.
18963 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18965 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18966 __attribute_alloc_size__.
18967 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18968 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18970 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18972 * include/programs/xmalloc.h: New file.
18973 * catgets/gencat.c: Include it.
18974 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18975 * elf/pldd.c: Likewise.
18976 * iconv/iconv_charmap.c: Likewise.
18977 * iconv/iconvconfig.c: Likewise.
18978 * iconv/strtab.c: Likewise.
18979 * locale/programs/locale.c: Likewise.
18980 * locale/programs/localedef.h: Likewise.
18981 * locale/programs/simple-hash.c: Likewise.
18982 * nscd/nscd.h: Likewise.
18983 * nss/makedb.c: Likewise.
18984 * sysdeps/generic/ldconfig.h: Likewise.
18986 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18988 * Versions.def: Add GLIBC_2.18.
18989 * include/link.h (struct link_map): New member l_tls_dtor_count.
18990 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18991 (__call_tls_dtors): Likewise.
18992 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18993 __cxa_thread_atexit_impl.
18994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19010 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19011 (tests): Add test case tst-tls-atexit.
19012 (modules-names): Add shared library for tst-tls-atexit.
19013 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19014 (GLIBC_PRIVATE): Add __call_tls_dtors.
19015 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19017 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19018 * stdlib/tst-tls-atexit.c: New test case.
19019 * stdlib/tst-tls-atexit-lib.c: New test case.
19021 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19023 * elf/Versions (ld): Add _dl_find_dso_for_object.
19024 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19025 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19026 (dl_open_worker): Use _dl_find_dso_for_object.
19027 * elf/dl-sym.c (do_sym): Likewise.
19028 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19030 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19032 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19033 Syntactic changes only.
19034 (_dl_runtime_profile): Do a tail-call to the resolved function.
19036 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19039 * sysdeps/x86_64/bp-asm.h: Remove file.
19040 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19041 <bp-sym.h> and <bp-asm.h>.
19042 (__clone): Do not use BP_SYM.
19043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19044 <bp-sym.h> and <bp-asm.h>.
19045 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19046 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19048 (_setjmp): Do not use BP_SYM.
19049 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19051 (setjmp): Do not use BP_SYM.
19052 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19054 (mempcpy): Do not use BP_SYM in weak_alias.
19055 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19057 (strchr): Do not use BP_SYM.
19058 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19060 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19061 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19062 (_start): Do not use BP_SYM.
19063 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19065 (strcat): Do not use BP_SYM.
19066 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19068 (STRCMP): Do not use BP_SYM.
19069 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19071 (STRCPY): Do not use BP_SYM.
19072 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19074 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19076 (FUNCTION): Do not use BP_SYM.
19077 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19079 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19081 2013-02-17 Andreas Jaeger <aj@suse.de>
19083 * time/Versions: Sort entries.
19084 * string/Versions: Likewise.
19085 * resolv/Versions: Likewise.
19086 * posix/Versions: Likewise.
19087 * iconv/Versions: Likewise.
19088 * elf/Versions: Likewise.
19089 * wcsmbs/Versions: Likewise.
19091 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19093 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19094 loop termination condition.
19096 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19097 variable to calculate EZ.
19100 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19101 the lower precision input.
19103 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19106 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19107 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19108 (run-via-rtld-prefix): Do not handle %-bp tests.
19109 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19110 (all-object-suffixes): Remove .ob.
19111 (bppfx): Remove variable.
19112 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19113 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19114 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19115 [$(build-bounded) = yes] (libtype.ob): Likewise.
19116 * Makerules (elide-routines.ob): Remove variable.
19117 (do-tests-clean): Do not handle *-bp.out.
19118 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19119 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19120 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19121 (tests): Do not include $(tests-bp.out).
19122 (xtests): Do not include $(xtests-bp.out).
19123 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19124 [$(build-bounded) = yes] ($(addprefix
19125 $(objpfx),$(binaries-bounded))): Remove rule.
19126 ($(objpfx)%-bp.out): Remove rule.
19127 * config.make.in (build-bounded): Remove variable.
19128 * crypt/Makefile [$(build-bounded) = yes]
19129 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19130 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19131 append to variable.
19132 [$(build-bounded) = yes] (install-lib): Likewise.
19133 [$(build-bounded) = yes] (generated): Likewise.
19134 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19136 * intl/Makefile [$(build-bounded) = yes]
19137 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19138 * math/Makefile [$(build-bounded) = yes]
19139 ($(tests:%=$(objpfx)%-bp): Likewise.
19140 * misc/Makefile [$(build-bounded) = yes]
19141 ($(objpfx)tst-tsearch-bp): Likewise.
19142 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19143 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19145 * string/Makefile (o-objects.ob): Remove variable.
19146 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19147 (CFLAGS-.ob): Remove variable.
19148 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19149 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19150 both definitions of variable.
19151 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19152 (ASFLAGS-.ob): Remove variable.
19154 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19157 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19158 Remove __BOUNDED_POINTERS__ from condition.
19159 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19160 * string/bits/string2.h [!__NO_STRING_INLINES &&
19161 !__BOUNDED_POINTERS__]: Likewise.
19162 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19164 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19165 Remove conditional code.
19166 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19167 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19168 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19172 * csu/libc-start.c: Do not include <bp-sym.h>.
19173 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19174 * elf/dl-open.c: Do not include <bp-sym.h>.
19175 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19176 * math/fegetenv.c: Do not include <bp-sym.h>.
19177 (fegetenv): Do not use BP_SYM in versioned symbols.
19178 * nptl/sysdeps/pthread/bits/libc-lockP.h
19179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19182 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19184 (__pthread_mutex_destroy): Likewise.
19185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19186 (__pthread_mutex_lock): Likewise.
19187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19188 (__pthread_mutex_trylock): Likewise.
19189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19190 (__pthread_mutex_unlock): Likewise.
19191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19192 (__pthread_mutexattr_init): Likewise.
19193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19194 (__pthread_mutexattr_destroy): Likewise.
19195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19196 (__pthread_mutexattr_settype): Likewise.
19197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19198 (__pthread_rwlock_init): Likewise.
19199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19200 (__pthread_rwlock_destroy): Likewise.
19201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19202 (__pthread_rwlock_rdlock): Likewise.
19203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19204 (__pthread_rwlock_tryrdlock): Likewise.
19205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19206 (__pthread_rwlock_wrlock): Likewise.
19207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19208 (__pthread_rwlock_trywrlock): Likewise.
19209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19210 (__pthread_rwlock_unlock): Likewise.
19211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19212 (__pthread_key_create): Likewise.
19213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19214 (__pthread_setspecific): Likewise.
19215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19216 (__pthread_getspecific): Likewise.
19217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19220 (_pthread_cleanup_push_defer): Likewise.
19221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19222 (_pthread_cleanup_pop_restore): Likewise.
19223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19224 (pthread_setcancelstate): Likewise.
19225 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19227 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19228 (memchr): Do not use BP_SYM in weak_alias.
19229 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19230 (fegetenv): Do not use BP_SYM in versioned symbols.
19231 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19232 (fesetenv): Do not use BP_SYM in versioned symbols.
19233 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19234 (feupdateenv): Do not use BP_SYM in versioned symbols.
19235 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19236 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19237 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19238 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19239 (open64): Do not use BP_SYM in weak_alias.
19240 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19241 (fegetenv): Do not use BP_SYM in versioned symbols.
19242 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19243 (fesetenv): Do not use BP_SYM in versioned symbols.
19244 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19245 (feupdateenv): Do not use BP_SYM in versioned symbols.
19246 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19247 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19248 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19249 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19250 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19251 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19252 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19254 (__libc_start_main): Do not use BP_SYM.
19256 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19259 redundant return line.
19261 (denorm): Likewise.
19262 (dbl_mp): Likewise.
19263 (sub_magnitudes): Likewise.
19269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19271 (denorm): Likewise.
19272 (dbl_mp): Likewise.
19273 (sub_magnitudes): Likewise.
19280 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19282 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19283 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19286 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19287 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19288 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19289 of __mul for squares.
19290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19294 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19295 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19297 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19300 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19302 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19303 prototype or function definition. Rename ubp_* variables and
19304 parameters. Remove argv definitions conditional on
19305 [__BOUNDED_POINTERS__].
19306 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19307 * elf/dl-runtime.c (_dl_fixup): Likewise.
19308 * include/set-hooks.h (RUN_HOOK): Likewise.
19309 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19311 * string/strcpy.c (strcpy): Do not use __unbounded.
19312 * sysdeps/generic/frame.h (struct layout): Likewise.
19313 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19314 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19315 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19316 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19317 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19318 (__backtrace): Likewise.
19319 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19321 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19322 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19323 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19325 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19326 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19327 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19328 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19329 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19330 Do not use __unbounded.
19331 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19332 Rename __unboundedrlimits parameter to rlimits in prototype.
19333 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19334 Do not use __unbounded.
19335 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19336 not use __ptrvalue.
19337 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19338 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19339 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19340 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19341 __ptrvalue or __unbounded.
19342 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19343 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19345 (__new_msgctl): Do not use __ptrvalue.
19346 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19348 (__libc_msgrcv): Do not use __ptrvalue.
19349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19350 startup_info): Do not use __unbounded.
19351 (__libc_start_main): Likewise. Rename ubp_* variables and
19352 parameters. Remove argv definitions conditional on
19353 [__BOUNDED_POINTERS__].
19354 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19356 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19360 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19362 (__new_shmctl): Do not use __ptrvalue.
19363 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19364 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19366 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19367 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19368 (__libc_sigaction): Likewise.
19369 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19370 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19372 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19374 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19376 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19378 * string/mempcpy.c: Implement by calling memcpy.
19380 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19388 values in the mantissa.
19390 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19391 minimize writes to Z.
19392 (sub_magnitudes): Simplify code a bit.
19394 2013-02-12 Roland McGrath <roland@hack.frob.com>
19396 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19397 from the message. The linker prefixes all warnings with that already.
19399 2013-02-12 Andreas Schwab <schwab@suse.de>
19402 * posix/regexec.c (extend_buffers): Add parameter min_len.
19403 (check_matching): Pass minimum needed length.
19404 (clean_state_log_if_needed): Likewise.
19405 (get_subexp): Likewise.
19406 * posix/Makefile (tests): Add bug-regex34.
19407 (bug-regex34-ENV): Define.
19408 * posix/bug-regex34.c: New file.
19411 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19412 elements compare against the byte sequence of it, not its name.
19413 * posix/Makefile (tests): Add bug-regex35.
19414 (bug-regex35-ENV): Define.
19415 * posix/bug-regex35.c: New file.
19417 2013-02-11 Tom de Vries <tom@codesourcery.com>
19419 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19421 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19422 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19423 (CHECK_EOL): Add undef.
19425 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19427 * bits/stdlib-bsearch.h: New file.
19428 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19429 * stdlib/stdlib.h: Likewise.
19431 2013-02-11 Roland McGrath <roland@hack.frob.com>
19433 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19434 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19436 * manual/search.texi (Array Search Function): Add missing const in
19438 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19439 declaration to use rlim_t.
19440 (Basic Scheduling Functions): Remove erroneous const from
19441 sched_getparam prototype. Remove erroneous * from
19442 sched_get_priority_max and sched_get_priority_min prototypes.
19443 (Resource Usage): Fix summary @comment on vtimes to refer to
19444 sys/vtimes.h rather than vtimes.h.
19445 Add missing *s in vtimes prototype.
19446 (Limits on Resources): Fix ulimit prototype to return long int.
19447 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19448 prototypes to use long int rather than double.
19449 (BSD Random): Fix initstate and setstate to use char *, not void *.
19450 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19451 prototype to make second argument 'struct aiocb64 *const[]'.
19452 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19453 (Status of AIO Operations): Remove erroneous const in aio_return and
19454 aio_return64 prototypes.
19455 (Synchronizing I/O): Fix sync prototype to return void.
19456 * manual/startup.texi (Suboptions): Remove an erroneous const in
19457 getsubopt prototype.
19458 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19459 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19460 use size_t rather than int.
19461 (Scanning All Users): Likewise for getpwent_r.
19462 (Setting Groups): Add missing const to setgroups prototype.
19463 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19464 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19465 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19466 'const void *' rather than 'const char *'.
19467 (Host Address Functions): Likewise for inet_ntop.
19468 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19469 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19470 ssize_t for return value.
19471 (Sending Data): Likewise for send, sendto, sendmsg.
19472 (Socket Option Functions): Add a missing const in setsockopt prototype.
19473 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19474 use wchar_t for the argument.
19475 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19476 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19478 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19479 double/float/long double for second argument.
19480 Fix return types of significand, significandf, significandl.
19481 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19482 argument in fchmod prototype.
19483 (File Owner): Use uid_t and gid_t in fchown prototype.
19484 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19485 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19486 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19487 use 'const struct dirent **' as argument types to CMP function pointer
19489 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19490 (File Times): Fix summary magic @comment for struct utimbuf and utime
19491 to refer to utime.h, not time.h.
19492 * manual/string.texi (Argz Functions): Add missing const in
19493 argz_extract and argz_next prototypes.
19494 (Finding Tokens in a String): Likewise for basename.
19495 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19496 (Copying and Concatenation): Fix typo in wmemmove prototype.
19497 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19498 (Signal Stack): Remove erroneous const in sigstack prototype.
19499 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19501 (Simple Calendar Time): Likewise for stime.
19502 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19504 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19505 say sys/sysctl.h instead.
19506 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19507 and vsyslog prototypes.
19509 2013-02-11 Tom de Vries <tom@codesourcery.com>
19511 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19514 2013-02-11 Roland McGrath <roland@hack.frob.com>
19516 * misc/sys/mman.h: Fix typo in mremap comment.
19518 2013-02-08 Roland McGrath <roland@hack.frob.com>
19520 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19521 the '\0' terminator.
19523 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19526 * debug/segfault.c: Don't include <bp-checks.h>.
19527 * sysdeps/generic/bp-checks.h: Remove file.
19528 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19529 (__GETDENTS): Don't use CHECK_N.
19530 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19531 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19532 (__getgroups): Don't use CHECK_N.
19533 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19534 (setgroups): Don't use CHECK_N.
19535 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19536 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19537 (__libc_msgrcv): Don't use CHECK_N.
19538 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19539 (__libc_msgsnd): Don't use CHECK_N.
19540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19542 (__libc_pread): Don't use CHECK_N.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19544 include <bp-checks.h>.
19545 (__libc_pread64): Don't use CHECK_N.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19547 include <bp-checks.h>.
19548 (__libc_pwrite): Don't use CHECK_N.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19550 include <bp-checks.h>.
19551 (__libc_pwrite64): Don't use CHECK_N.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19554 (__libc_pread): Don't use CHECK_N.
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19556 include <bp-checks.h>.
19557 (__libc_pread64): Don't use CHECK_N.
19558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19559 include <bp-checks.h>.
19560 (__libc_pwrite): Don't use CHECK_N.
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19562 include <bp-checks.h>.
19563 (__libc_pwrite64): Don't use CHECK_N.
19564 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19565 (do_pread): Don't use CHECK_N.
19566 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19567 (do_pread64): Don't use CHECK_N.
19568 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19569 (do_pwrite): Don't use CHECK_N.
19570 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19571 (do_pwrite64): Don't use CHECK_N.
19572 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19573 (__libc_readv): Don't use CHECK_N.
19574 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19575 (semop): Don't use CHECK_N.
19576 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19578 (semtimedop): Don't use CHECK_N.
19579 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19580 (__libc_pread): Don't use CHECK_N.
19581 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19583 (__libc_pread64): Don't use CHECK_N.
19584 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19586 (__libc_pwrite): Don't use CHECK_N.
19587 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19589 (__libc_pwrite64): Don't use CHECK_N.
19590 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19592 (__libc_msgrcv): Don't use CHECK_N.
19593 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19594 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19595 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19596 (__libc_writev): Don't use CHECK_N.
19598 2013-02-08 Roland McGrath <roland@hack.frob.com>
19600 * string/strcpy.c: Removed unused variable.
19602 * Makeconfig (+sysdep-includes): Define with := rather than =.
19603 Use an existing include/ subdir of each sysdeps dir before it.
19605 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19607 * nscd/connection.c (register_traced_file): Comment function.
19608 [HAVE_INOTIFY] (union __inev): Define.
19609 [HAVE_INOTIFY] (inotify_check_files): New function.
19610 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19611 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19613 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19615 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19617 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19618 loaded if not already and that a failure is permanent.
19620 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19623 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19624 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19626 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19629 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19630 (CHECK_1_NULL_OK): Likewise.
19631 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19632 (__fxstat): Do not use CHECK_1.
19633 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19635 (___fxstat64): Do not use CHECK_1.
19636 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19638 (__fxstatat): Do not use CHECK_1.
19639 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19641 (__fxstatat64): Do not use CHECK_1.
19642 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19644 (__fxstat): Do not use CHECK_1.
19645 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19647 (__fxstatat): Do not use CHECK_1.
19648 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19650 (__getresgid): Do not use CHECK_1.
19651 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19653 (__getresuid): Do not use CHECK_1.
19654 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19656 (__lxstat): Do not use CHECK_1.
19657 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19659 (__old_msgctl): Do not use CHECK_1.
19660 (__new_msgctl): Likewise.
19661 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19663 (__new_setrlimit): Do not use CHECK_1.
19664 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19666 (__old_shmctl): Do not use CHECK_1.
19667 (__new_shmctl): Likewise.
19668 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19670 (__xstat): Do not use CHECK_1.
19671 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19672 (__lxstat): Do not use CHECK_1.
19673 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19675 (___lxstat64): Do not use CHECK_1.
19676 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19677 (__old_msgctl): Do not use CHECK_1.
19678 (__new_msgctl): Likewise.
19679 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19681 (__gettimeofday): Do not use CHECK_1.
19682 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19683 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19684 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19686 (__gettimeofday): Do not use CHECK_1.
19687 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19688 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19689 (__new_shmctl): Do not use CHECK_1.
19690 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19692 (do_sigtimedwait): Do not use CHECK_1.
19693 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19695 (do_sigwaitinfo): Do not use CHECK_1.
19696 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19698 (msgctl): Do not use CHECK_1.
19699 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19701 (shmctl): Do not use CHECK_1.
19702 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19703 (ustat): Do not use CHECK_1.
19704 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19706 (__fxstat): Do not use CHECK_1.
19707 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19709 (__fxstatat): Do not use CHECK_1.
19710 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19712 (__lxstat): Do not use CHECK_1.
19713 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19715 (__xstat): Do not use CHECK_1.
19716 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19717 (__xstat): Do not use CHECK_1.
19718 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19719 (___xstat64): Do not use CHECK_1.
19722 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19724 (CHECK_BOUNDS_HIGH): Likewise.
19725 * string/strcpy.c: Do not include <bp-checks.h>.
19726 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19728 2013-02-07 Roland McGrath <roland@hack.frob.com>
19730 * nscd/nscd-client.h (__nscd_drop_map_ref):
19731 Add __attribute__ ((unused)).
19732 * nis/nss-nisplus.h (niserr2nss): Likewise.
19734 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19735 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19737 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19738 Remove inline keyword.
19739 * include/rounding-mode.h (round_away): Likewise.
19740 * libio/wfileops.c (adjust_wide_data): Likewise.
19741 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19742 (__m128i_strloadu_tolower): Likewise.
19743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19744 (__m128i_strloadu_tolower): Likewise.
19745 * time/mktime.c (ydhms_diff): Likewise.
19746 * locale/elem-hash.h (elem_hash): Likewise.
19747 * locale/setlocale.c (setdata): Likewise.
19748 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19749 (re_string_wchar_at): Likewise.
19750 (bitset_not, bitset_merge, bitset_mask): Likewise.
19751 [!(__GNUC__ > 3)] (inline): Remove macro.
19752 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19753 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19754 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19755 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19756 * string/memcmp.c (memcmp_bytes): Likewise.
19757 * locale/programs/locarchive.c (compute_hashval): Likewise.
19758 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19759 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19760 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19761 * nss/getent.c (print_rpc, print_protocols): Likewise.
19762 (print_passwd, print_group, print_aliases): Likewise.
19763 * nis/nss-nisplus.h (niserr2nss): Likewise.
19764 * nscd/connections.c (restart_p): Likewise.
19765 Change return type to bool.
19767 2013-02-05 Roland McGrath <roland@hack.frob.com>
19769 * Makeconfig (all-Depend-files): Add existing
19770 $(sorted-subdirs:=/Depend) files.
19771 (all-subdirs): Remove nss.
19772 * sysdeps/unix/inet/Subdirs: Add it here instead.
19773 * hesiod/Depend: New file.
19775 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19776 instead of calling alloca.
19778 * io/lseek.c (__lseek): Rename to __libc_lseek.
19779 Define __lseek as an alias.
19781 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19783 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19785 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19786 else clause and remove check for non-standard endianness.
19788 2013-02-04 David S. Miller <davem@davemloft.net>
19790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19792 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19795 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19796 (__ubp_memchr): Remove prototype.
19797 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19798 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19799 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19800 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19801 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19803 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19804 (__ubp_memchr): Likewise.
19805 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19806 (__ubp_memchr): Likewise.
19807 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19808 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19809 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19810 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19812 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19813 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19814 (__getcwd): Do not use CHECK_STRING.
19815 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19817 (__real_chown): Do not use CHECK_STRING.
19818 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19820 (fchownat): Do not use CHECK_STRING.
19821 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19823 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19825 (__lchown): Do not use CHECK_STRING.
19826 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19827 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19828 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19829 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19831 include <bp-checks.h>.
19832 (truncate64): Do not use CHECK_STRING.
19833 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19835 (__real_chown): Do not use CHECK_STRING.
19836 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19838 (__lchown): Do not use CHECK_STRING.
19839 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19841 (__chown): Do not use CHECK_STRING.
19842 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19844 (truncate64): Do not use CHECK_STRING.
19845 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19847 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19848 (__xmknod): Do not use CHECK_STRING.
19849 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19851 (__xmknodat): Do not use CHECK_STRING.
19852 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19853 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19855 2013-02-04 Andreas Schwab <schwab@suse.de>
19858 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19859 * include/netdb.h: Likewise for h_errno.
19860 * elf/tst-stackguard1.c: Include <tls.h>.
19862 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19864 * elf/link.h (struct link_map): Extend the l_addr comment.
19865 * include/link.h (struct link_map): Likewise.
19867 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19870 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19871 (BOUNDED_1): Remove macro.
19872 * debug/backtrace.c: Don't include <bp-checks.h>.
19873 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19874 (__backtrace): Likewise.
19875 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19877 (__backtrace): Don't use BOUNDED_1.
19878 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19880 (__backtrace): Don't use BOUNDED_1.
19881 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19882 (__backtrace): Don't use BOUNDED_1.
19883 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19884 (shmat): Don't use BOUNDED_N.
19886 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19889 * sysdeps/generic/bp-start.h: Remove file.
19890 * csu/libc-start.c: Don't include <bp-start.h>.
19891 (LIBC_START_MAIN): Set up __environ directly instead of using
19892 INIT_ARGV_and_ENVIRON.
19893 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19897 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19899 (CHECK_FCNTL): Likewise.
19900 (CHECK_N_PAGES): Likewise.
19903 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19905 (CHECK_SIGSET_NULL_OK): Likewise.
19906 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19908 (sigpending): Don't use CHECK_SIGSET.
19909 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19911 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19912 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19914 (do_sigsuspend): Don't use CHECK_SIGSET.
19915 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19917 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19918 (do_sigwait): Don't use CHECK_SIGSET.
19919 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19921 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19922 include <bp-checks.h>.
19923 (sigpending): Don't use CHECK_SIGSET.
19924 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19925 include <bp-checks.h>.
19926 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19927 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19929 (sigpending): Don't use CHECK_SIGSET.
19930 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19932 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19935 * sysdeps/generic/bp-semctl.h: Remove file.
19936 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19937 <bp-checks.h> and <bp-semctl.h>.
19938 (__old_semctl): Don't use CHECK_SEMCTL.
19939 (__new_semctl): Likewise.
19940 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19942 (__old_semctl): Don't use CHECK_SEMCTL.
19943 (__new_semctl): Likewise.
19944 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19945 <bp-checks.h> and <bp-semctl.h>.
19946 (__old_semctl): Don't use CHECK_SEMCTL.
19947 (__new_semctl): Likewise.
19948 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19949 <bp-checks.h> and <bp-semctl.h>.
19950 (semctl): Don't use CHECK_SEMCTL.
19953 * Makerules (elide-bp-thunks): Remove variable.
19954 (elide-routines.oS): Don't use $(elide-bp-thunks).
19955 (elide-routines.os): Likewise.
19956 (elide-routines.o): Likewise.
19957 (elide-routines.op): Likewise.
19958 (elide-routines.og): Likewise.
19959 (objects): Don't use $(bp-thunks).
19960 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19962 (common-generated): Do not add s-proto-bp.d.
19963 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19966 Do not generate makefile rules for bounded-pointer thunks.
19967 * sysdeps/generic/bp-thunks.h: Remove file.
19968 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19969 * sysdeps/unix/s-proto-bp.S: Likewise.
19972 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19973 parts of result separately when argument is not close to line from
19974 -i to i and one part of argument is small.
19975 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19976 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19977 * math/libm-test.inc (cacos_test): Add more tests.
19978 (casin_test): Likewise.
19979 (casinh_test): Likewise.
19980 * sysdeps/i386/fpu/libm-test-ulps: Update.
19981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19983 2013-01-31 David S. Miller <davem@davemloft.net>
19985 * po/de.po: Update from translation team.
19987 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19989 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19991 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19993 * configure.in (_AC_PROG_CC_C89): New definition.
19994 * configure: Regenerate.
19996 * configure.in (AC_PROG_CPP): New definition.
19997 * configure: Regenerate.
19999 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20001 * debug/tst-backtrace.h: New file.
20002 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20003 (ret): Remove variable.
20005 (FAIL): Remove macro.
20006 (NO_INLINE): Likewise.
20007 (fn1): Use match function instead of strstr.
20008 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20009 (ret): Remove variable.
20011 (FAIL): Remove macro.
20012 (NO_INLINE): Likewise.
20013 (fn): Use match function instead of strstr.
20014 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20015 (ret): Remove variable.
20017 (FAIL): Remove macro.
20018 (NO_INLINE): Likewise.
20019 (handle_signal): Use match function instead of strstr.
20020 * debug/tst-backtrace5.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.
20027 2013-01-23 Roland McGrath <roland@hack.frob.com>
20029 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20031 2013-01-23 David S. Miller <davem@davemloft.net>
20033 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20034 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20035 argument of CAS if possible.
20036 * sysdeps/sparc/sparc64/bits/atomic.h
20037 (__arch_compare_and_exchange_val_32_acq): Likewise.
20038 (__arch_compare_and_exchange_val_64_acq): Likewise.
20040 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20042 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20043 * sysdeps/posix/ulimit.c: ... this.
20044 Include <limits.h>.
20045 * sysdeps/unix/bsd/ulimit.c: Remove file.
20047 2013-01-23 Adam Conrad <adconrad@0c3.net>
20049 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20050 (LDFLAGS-tst-array5): Likewise.
20052 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20055 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20056 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20057 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20058 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20060 2013-01-21 David S. Miller <davem@davemloft.net>
20062 * sysdeps/sparc/backtrace.c: New file.
20063 * sysdeps/sparc/sparc32/backtrace.h: New file.
20064 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20065 * sysdeps/sparc/sparc64/backtrace.h: New file.
20066 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20067 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20070 2013-01-21 Andreas Schwab <schwab@suse.de>
20073 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20076 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20082 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20083 Mark Mitchell <mark@codesourcery.com>
20084 Tom de Vries <tom@codesourcery.com>
20085 Paul Pluzhnikov <ppluzhnikov@google.com>
20087 * debug/tst-backtrace2.c: New file.
20088 * debug/tst-backtrace3.c: Likewise.
20089 * debug/tst-backtrace4.c: Likewise.
20090 * debug/tst-backtrace5.c: Likewise.
20091 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20092 (CFLAGS-tst-backtrace3.c): Likewise.
20093 (CFLAGS-tst-backtrace4.c): Likewise.
20094 (CFLAGS-tst-backtrace5.c): Likewise.
20095 (LDFLAGS-tst-backtrace2): Likewise.
20096 (LDFLAGS-tst-backtrace3): Likewise.
20097 (LDFLAGS-tst-backtrace4): Likewise.
20098 (LDFLAGS-tst-backtrace5): Likewise.
20099 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20100 tst-backtrace4 and tst-backtrace5.
20102 2013-01-18 Anton Blanchard <anton@samba.org>
20103 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20105 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20106 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20107 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20108 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20110 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20111 "+r" and remove output regs list as redundant. Add explicit inline
20112 asm to specify register of return val to work around compiler codegen
20113 bug. Remove (int) cast on return value. Add return type parameter to
20114 use in macro so that this macro does not truncate return value for
20116 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20117 pass to INTERNAL_VSYSCALL_NCS.
20118 (INLINE_VSYSCALL): Add 'long int' as return type to
20119 INTERNAL_VSYSCALL_NCS macro invocation.
20120 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20121 INTERNAL_VSYSCALL_NCS macro invocation.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20124 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20127 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20128 Fix application of SIMD FP exception mask.
20130 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20131 mp_no from a power of two.
20132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20133 __mpexp_twomm1. Use __pow_mp.
20135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20138 2013-01-17 David S. Miller <davem@davemloft.net>
20140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20142 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20145 * include/complex.h: Condition contents on [!_COMPLEX_H].
20146 (__kernel_casinhf): New prototype.
20147 (__kernel_casinh): Likewise.
20148 (__kernel_casinhl): Likewise.
20149 * math/Makefile (libm_calls): Add k_casinh.
20150 * math/k_casinh.c: New file.
20151 * math/k_casinhf.c: Likewise.
20152 * math/k_casinhl.c: Likewise.
20153 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20154 finite nonzero arguments.
20155 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20156 finite nonzero arguments.
20157 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20158 finite nonzero arguments.
20159 * math/s_casinh.c: Do not include <float.h>.
20160 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20161 * math/s_casinhf.c: Do not include <float.h>.
20162 (__casinhf): Move code for finite nonzero arguments to
20164 * math/s_casinhl.c: Do not include <float.h>.
20165 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20167 (__casinhl): Move code for finite nonzero arguments to
20169 * math/libm-test.inc (cacos_test): Add more tests.
20170 * sysdeps/i386/fpu/libm-test-ulps: Update.
20171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20173 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20175 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20176 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20177 [!HAVE_MREMAP]: Remove [defined linux] case.
20178 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20180 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20182 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20184 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20186 * elf/elf.h (R_386_SIZE32): New relocation.
20187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20189 (elf_machine_rela): Likewise.
20190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20191 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20193 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20195 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20196 (FP_FAST_FMA): Do not define.
20197 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20198 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20199 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20200 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20201 !_SOFT_FLOAT]: Likewise.
20202 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20203 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20205 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20206 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20207 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20208 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20209 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20210 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20213 2013-01-16 Andreas Schwab <schwab@suse.de>
20216 * include/stdlib.h (__mktemp): Add declaration.
20217 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20218 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20220 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20222 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20224 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20225 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20226 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20228 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20229 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20231 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20233 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20234 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20235 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20237 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20238 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20240 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20242 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20244 2013-01-15 David S. Miller <davem@davemloft.net>
20246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20247 trunc{,f} to libm-sysdep_routes.
20248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20258 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20259 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20260 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20261 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20262 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20263 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20266 nearbyint{,f} to libm-sysdep_routes.
20267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20278 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20280 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20281 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20283 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20284 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20285 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20287 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20288 libc_feholdexcept and libc_fesetenv.
20290 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20292 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20294 2013-01-14 David S. Miller <davem@davemloft.net>
20296 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20297 (SPARC_ASM_VIS2_IFUNC): Likewise.
20298 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20300 use of 'siam' instruction.
20301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20334 routines to libm-sysdep_routines.
20335 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20338 fdim/fdimf to libm-sysdep_routines.
20339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20347 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20348 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20349 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20350 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20352 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20354 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20355 to optimize copies.
20357 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20362 local variable MPTWO.
20363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20366 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20368 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20371 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20373 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20375 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20377 * manual/pattern.texi (glob_t): Document gl_flags.
20378 (glob64_t): Likewise.
20380 2013-01-11 David S. Miller <davem@davemloft.net>
20382 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20383 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20384 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20385 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20386 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20387 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20388 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20389 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20390 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20391 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20392 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20393 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20394 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20396 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20397 sparc V9 rather than using V8 code.
20398 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20399 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20401 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20403 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20406 2013-01-11 Roland McGrath <roland@hack.frob.com>
20408 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20409 not in the main loop.
20410 * configure: Regenerated.
20412 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20414 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20415 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20417 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20418 [!__GLIBC_HAVE_LONG_LONG] case.
20419 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20420 condition to just #else.
20421 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20422 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20423 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20424 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20426 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20427 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20428 #elif condition to just #else.
20429 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20430 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20431 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20432 #elif condition to just #else.
20434 2013-01-11 Steve Ellcey <sellcey@mips.com>
20436 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20437 (EF_MIPS_ARCH_64): Fix value.
20438 (EF_MIPS_ARCH_32R2): New.
20439 (EF_MIPS_ARCH_64R2): New.
20441 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20443 * Makeconfig (+link-pie-before-libc): New.
20444 (+link-pie-after-libc): Likewise.
20445 (+link-pie-tests): Likewise.
20446 (+link-pie): Rewritten.
20447 (link-before-libc): Remove $(config-LDFLAGS).
20448 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20449 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20450 (config-LDFLAGS): Renamed to ...
20451 (rtld-LDFLAGS): This.
20452 (rtld-tests-LDFLAGS): New macro.
20453 (link-libc-rpath-link): Likewise.
20454 (link-libc-tests-rpath-link): Likewise.
20455 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20456 (link-libc): Prepand $(link-libc-rpath-link).
20457 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20458 (test-program-prefix): New macro.
20459 (test-via-rtld-prefix): Likewise.
20460 (test-program-cmd): Likewise.
20461 (host-test-program-cmd): Likewise.
20462 * Makefile ($(common-objpfx)testrun.sh): Replace
20463 $(run-program-prefix) with $(test-program-prefix).
20464 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20466 ($(common-objpfx)shlib.lds): Likewise.
20467 (build-module-helper): Likewise.
20468 ($(common-objpfx)format.lds): Likewise.
20469 * Rules (binaries-pie-tests): New.
20470 (binaries-pie-notests): Likewise.
20471 (binaries-pie): Rewritten.
20472 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20473 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20474 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20475 (make-test-out): Replace $(host-built-program-cmd) with
20476 $(host-test-program-cmd).
20477 * config.make.in (build-hardcoded-path-in-tests): New variable.
20478 * configure.in (--enable-hardcoded-path-in-tests): New configure
20480 (hardcoded_path_in_tests): New AC_SUBST.
20481 * configure: Regenerated.
20482 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20483 $(built-program-cmd) with $(test-program-cmd).
20484 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20485 (test_program_cmd): This.
20486 * elf/Makefile ($(objpfx)order.out): Run test with
20487 $(test-program-prefix).
20488 ($(objpfx)order2.out): Likewise.
20489 ($(objpfx)tst-initorder.out): Likewise.
20490 ($(objpfx)tst-initorder2.out): Likewise.
20491 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20492 $(test-program-cmd).
20493 ($(objpfx)tst-array1-static.out): Likewise.
20494 ($(objpfx)tst-array2.out): Likewise.
20495 ($(objpfx)tst-array3.out): Likewise.
20496 ($(objpfx)tst-array4.out): Likewise.
20497 ($(objpfx)tst-array5.out): Likewise.
20498 ($(objpfx)tst-array5-static.out): Likewise.
20499 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20500 $(test-program-cmd).
20501 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20502 $(run-program-prefix) with $(test-program-prefix).
20503 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20504 (test_program_prefix): This.
20505 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20506 $(run-program-prefix) with $(test-program-prefix).
20507 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20508 (test_program_prefix): This.
20509 * iconvdata/tst-tables.sh: Likewise.
20510 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20511 $(run-program-prefix) with $(test-program-prefix).
20512 ($(objpfx)tst-translit.out): Likewise.
20513 ($(objpfx)tst-gettext2.out): Likewise.
20514 ($(objpfx)tst-gettext4.out): Likewise.
20515 ($(objpfx)tst-gettext6.out): Likewise.
20516 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20517 (test_program_prefix): This.
20518 * intl/tst-gettext2.sh: Likewise.
20519 * intl/tst-gettext4.sh Likewise.
20520 * intl/tst-gettext6.sh: Likewise.
20521 * intl/tst-translit.sh: Likewise.
20522 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20523 with $(test-program-cmd).
20524 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20525 $(run-program-prefix) with $(test-program-prefix).
20526 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20527 (test_program_prefix): This.
20528 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20529 $(run-program-prefix) with $(test-program-prefix).
20530 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20531 (test_program_prefix): This.
20532 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20533 * posix/Makefile ($(objpfx)globtest.out): Replace
20534 $(run-via-rtld-prefix) and $(test-wrapper) with
20535 $(test-program-prefix) and $(test-via-rtld-prefix).
20536 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20537 $(test-program-prefix).
20538 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20539 $(host-test-program-cmd).
20540 (tst-spawn-ARGS): Likewise.
20541 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20542 $(test-program-prefix).
20543 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20544 (test_via_rtld_prefix): This.
20545 (test_wrapper): Renamed to ...
20546 (test_program_prefix): This.
20547 (run_program_prefix): Replaced by test_program_prefix.
20548 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20549 (test_program_prefix): This.
20550 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20551 with $(host-test-program-cmd).
20552 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20553 $(run-program-prefix) with $(test-program-prefix).
20554 ($(objpfx)tst-printf.out): Likewise.
20555 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20556 $(test-program-cmd).
20557 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20558 (test_program_prefix): This.
20559 * stdio-common/tst-unbputc.sh: Likewise.
20560 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20561 $(run-program-prefix) with $(test-program-prefix).
20562 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20563 (test_program_prefix): This.
20564 * string/Makefile ($(objpfx)tst-svc.out): Replace
20565 $(built-program-cmd) with $(test-program-cmd).
20567 2013-01-11 Andreas Jaeger <aj@suse.de>
20570 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20571 value. Sync with Linux 3.7.
20573 2013-01-10 David S. Miller <davem@davemloft.net>
20575 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20579 2013-01-10 Roland McGrath <roland@hack.frob.com>
20581 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20583 * configure: Regenerated.
20585 2013-01-10 David S. Miller <davem@davemloft.net>
20587 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20588 sparc V9 rather than using V8 code.
20589 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20590 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20592 2013-01-10 Roland McGrath <roland@hack.frob.com>
20594 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20595 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20596 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20597 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20598 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20599 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20600 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20601 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20602 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20603 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20604 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20605 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20606 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20607 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20608 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20609 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20610 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20611 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20612 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20613 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20614 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20615 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20616 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20617 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20618 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20619 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20620 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20622 2013-01-10 David S. Miller <davem@davemloft.net>
20624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20626 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20628 * posix/Makefile (tests-static): New variable.
20629 (tests): Add $(tests-static).
20630 (tst-exec-static-ARGS): New variable.
20631 (tst-spawn-static-ARGS): Likewise.
20632 * posix/tst-exec-static.c: New file.
20633 * posix/tst-spawn-static.c: Likewise.
20634 * posix/tst-exec.c: Support run directly.
20635 * posix/tst-spawn.c: Likewise.
20637 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20639 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20641 * math/bits/mathcalls.h (llrint): Likewise.
20642 (llround): Likewise.
20643 * stdlib/stdlib.h (struct drand48_data): Likewise.
20644 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20645 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20646 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20648 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20650 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20651 (elf_greg_t): Likewise.
20652 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20653 (__jmp_buf): Likewise.
20654 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20656 (llrint): Likewise, for all definitions.
20657 (llrintl): Likewise.
20659 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20660 Remove [__GNUC__] condition.
20661 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20662 condition to just [__USE_ISOC99].
20663 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20665 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20668 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20669 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20671 (_POSIX_V6_ILP32_OFF32): Likewise.
20672 (_XBS5_ILP32_OFF32): Likewise.
20673 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20674 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20676 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20678 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20681 doubles __mpexp_twomm1. Adjust usage.
20682 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20685 2013-01-10 Andreas Schwab <schwab@suse.de>
20688 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20689 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20691 2013-01-09 David S. Miller <davem@davemloft.net>
20694 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20695 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20696 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20697 (TCP_FASTOPEN): Define.
20698 (tcp_repair_opt): New structure.
20699 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20701 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20702 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20703 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20704 (tcp_cookie_transactions): New structure.
20706 2013-01-09 Anton Blanchard <anton@samba.org>
20708 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20709 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20710 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20711 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20713 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20715 * include/features.h (__USE_ANSI): Remove.
20717 2013-01-09 Roland McGrath <roland@hack.frob.com>
20719 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20721 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20723 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20725 * sysdeps/s390/fpu/libm-test-ulps: Update.
20727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20729 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20733 (denorm): Likewise.
20734 (__mp_dbl): Likewise.
20735 (__dbl_mp): Likewise.
20736 (add_magnitudes): Likewise.
20737 (sub_magnitudes): Likewise.
20743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20747 (denorm): Likewise.
20748 (__mp_dbl): Likewise.
20749 (__dbl_mp): Likewise.
20750 (add_magnitudes): Likewise.
20751 (sub_magnitudes): Likewise.
20757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20761 (denorm): Likewise.
20762 (__mp_dbl): Likewise.
20763 (__dbl_mp): Likewise.
20764 (add_magnitudes): Likewise.
20765 (sub_magnitudes): Likewise.
20772 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20774 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20775 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20776 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20777 2 && __USE_EXTERN_INLINES]: Likewise.
20779 2013-01-08 Andreas Jaeger <aj@suse.de>
20782 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20784 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20785 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20787 2013-01-07 Anton Blanchard <anton@samba.org>
20789 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20790 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20791 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20792 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20793 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20794 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20795 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20796 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20798 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20799 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20800 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20801 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20802 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20803 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20804 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20805 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20806 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20807 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20809 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20810 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20812 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20813 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20814 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20815 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20816 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20817 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20818 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20819 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20821 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20822 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20823 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20824 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20825 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20826 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20827 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20828 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20829 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20830 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20831 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20833 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20835 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20836 (__MALLOC_PMT): Likewise.
20837 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20838 [__GNUC__], only on [_LIBC].
20839 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20840 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20841 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20842 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20843 forward declaration.
20844 (realloc_hook_ini): Likewise.
20845 (memalign_hook_ini): Likewise.
20846 (__libc_memalign): Do not use __MALLOC_PMT in variable
20848 (__libc_valloc): Likewise.
20849 (__libc_pvalloc): Likewise.
20850 (__libc_calloc): Likewise.
20851 (__posix_memalign): Likewise.
20854 * math/s_casinh.c: Include <float.h>.
20855 (__casinh): Do not do computation with squaring and square root
20856 for large arguments.
20857 * math/s_casinhf.c: Include <float.h>.
20858 (__casinhf): Do not do computation with squaring and square root
20859 for large arguments.
20860 * math/s_casinhl.c: Include <float.h>.
20861 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20862 (__casinhl): Do not do computation with squaring and square root
20863 for large arguments.
20864 * math/libm-test.inc (casin_test): Add more tests.
20865 (casinh_test): Likewise.
20866 * sysdeps/i386/fpu/libm-test-ulps: Update.
20867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20869 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20871 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20872 (__x86_64_raw_data_cache_size): Likewise.
20873 (__x86_64_data_cache_size_half): Likewise.
20874 (__x86_64_raw_data_cache_size_half): Likewise.
20875 (__x86_64_shared_cache_size): Likewise.
20876 (__x86_64_raw_shared_cache_size): Likewise.
20877 (__x86_64_shared_cache_size_half): Likewise.
20878 (__x86_64_raw_shared_cache_size_half): Likewise.
20879 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20881 (__x86_data_cache_size): This.
20882 (__x86_64_raw_data_cache_size): Renamed to ...
20883 (__x86_raw_data_cache_size): This.
20884 (__x86_64_data_cache_size_half): Renamed to ...
20885 (__x86_data_cache_size_half): This.
20886 (__x86_64_raw_data_cache_size_half): Renamed to ...
20887 (__x86_raw_data_cache_size_half): This.
20888 (__x86_64_shared_cache_size): Renamed to ...
20889 (__x86_shared_cache_size): This.
20890 (__x86_64_raw_shared_cache_size): Renamed to ...
20891 (__x86_raw_shared_cache_size): This.
20892 (__x86_64_shared_cache_size_half): Renamed to ...
20893 (__x86_shared_cache_size_half): This.
20894 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20895 (__x86_raw_shared_cache_size_half): This.
20896 * sysdeps/x86_64/memcpy.S: Updated.
20897 * sysdeps/x86_64/memset.S: Likewise.
20898 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20899 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20902 2013-01-04 David S. Miller <davem@davemloft.net>
20904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20906 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20908 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20909 1 to avoid redefinition warning.
20910 (__USE_GNU): Don't define.
20911 (init_signaling_nan): Protoize.
20913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20915 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20917 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20919 (__cpymn): Likewise.
20920 (norm): Remove commented code.
20921 (denorm): Likewise.
20922 (__mp_dbl): Likewise.
20924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20925 (__cpymn): Likewise.
20926 (norm): Remove commented code.
20927 (denorm): Likewise.
20928 (__mp_dbl): Likewise.
20931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20932 mp_no value for 1.0 and 2.0.
20933 (norm): Use RADIXI instead of radixi.d.
20934 (denorm): Likewise.
20935 (__mul): Use 0.0 instead of zero.d.
20936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20937 mp_no value for 1.0 and 2.0.
20938 (norm): Use RADIXI instead of radixi.d.
20939 (denorm): Likewise.
20940 (__mul): Use 0.0 instead of zero.d.
20942 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20945 * math/s_casinh.c (__casinh): Reduce finite argument to first
20946 quadrant then set signs of results at the end.
20947 * math/s_casinhf.c (__casinhf): Likewise.
20948 * math/s_casinhl.c (__casinhl): Likewise.
20949 * math/libm-test.inc (casin_test): Add more tests.
20950 (casinh_test): Likewise.
20951 * sysdeps/i386/fpu/libm-test-ulps: Update.
20952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20954 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20956 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20958 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20960 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20962 (denorm): Likewise.
20963 (__mp_dbl): Likewise.
20966 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20967 and adjust the header comment.
20969 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20970 variable name from declaration.
20972 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20975 Initialize COMMON_CPUID_INDEX_7 element.
20976 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20977 (CPUID_RTM): Likewise.
20978 (HAS_RTM): Likewise.
20979 (COMMON_CPUID_INDEX_7): New enum.
20981 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20984 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20985 size is zero, record memory as freed.
20987 2013-01-03 Andreas Jaeger <aj@suse.de>
20989 * po/ia.po: Add new Interlingua translation.
20991 2012-01-03 Allan McRae <allan@archlinux.org>
20993 * locale/programs/localedef.c: Fix description of '--posix' flag.
20995 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20997 * NEWS: Update dates in second copyright notice.
20998 * README: Update copyright dates in example.
20999 * manual/libc.texinfo: Update copyright dates.
21000 * scripts/test-installation.pl: Update copyright date in --version
21003 * hurd/ctty-input.c: Fix copyright notice formatting.
21004 * hurd/ctty-output.c: Likewise.
21005 * hurd/dtable.c: Likewise.
21006 * hurd/hurd-raise.c: Likewise.
21007 * hurd/hurdprio.c: Likewise.
21008 * hurd/msgportdemux.c: Likewise.
21009 * misc/sys/file.h: Likewise.
21010 * misc/sys/ioctl.h: Likewise.
21011 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21012 * sysdeps/mach/hurd/chdir.c: Likewise.
21013 * sysdeps/mach/hurd/fchdir.c: Likewise.
21014 * sysdeps/mach/hurd/rename.c: Likewise.
21015 * sysdeps/mach/hurd/rmdir.c: Likewise.
21016 * sysdeps/mach/hurd/seekdir.c: Likewise.
21017 * sysdeps/mach/hurd/setsid.c: Likewise.
21018 * sysdeps/posix/wait3.c: Likewise.
21020 * All files with FSF copyright notices: Update copyright dates
21021 using scripts/update-copyrights.
21022 * intl/plural.c: Regenerated.
21023 * locale/programs/charmap-kw.h: Likewise.
21024 * locale/programs/locfile-kw.h: Likewise.
21026 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21028 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21031 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21032 calculation loop and add branch prediction.
21034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21035 check access beyond bounds of m1np.
21037 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21039 (__inv): Remove local variable MPTWO to use the global
21041 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21044 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21045 MP3HALFS static const.
21047 2013-01-01 David S. Miller <davem@davemloft.net>
21049 * po/ca.po: Update from translation team.
21051 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21053 * scripts/update-copyrights: New file.
21054 * Makeconfig: Reformat copyright notice.
21055 * ctype/ctype.h: Likewise.
21056 * debug/swprintf_chk.c: Likewise.
21057 * elf/dl-cache.c: Likewise.
21058 * elf/dl-debug.c: Likewise.
21059 * elf/dl-object.c: Likewise.
21060 * grp/initgroups.c: Likewise.
21061 * hurd/Makefile: Likewise.
21062 * hurd/hurd/signal.h: Likewise.
21063 * hurd/hurdfault.c: Likewise.
21064 * hurd/hurdioctl.c: Likewise.
21065 * hurd/hurdlookup.c: Likewise.
21066 * hurd/intr-msg.c: Likewise.
21067 * iconv/gconv_open.c: Likewise.
21068 * libio/swprintf.c: Likewise.
21069 * locale/lc-ctype.c: Likewise.
21070 * locale/nl_langinfo.c: Likewise.
21071 * mach/Machrules: Likewise.
21072 * mach/Makefile: Likewise.
21073 * malloc/obstack.h: Likewise.
21074 * manual/Makefile: Likewise.
21075 * manual/tsort.awk: Likewise.
21076 * misc/bits/stab.def: Likewise.
21077 * nis/nis_print_group_entry.c: Likewise.
21078 * nis/nis_table.c: Likewise.
21079 * nis/nss_compat/compat-pwd.c: Likewise.
21080 * nis/nss_compat/compat-spwd.c: Likewise.
21081 * po/Makefile: Likewise.
21082 * posix/fnmatch.c: Likewise.
21083 * posix/regex.h: Likewise.
21084 * resolv/Makefile: Likewise.
21085 * resolv/nss_dns/dns-network.c: Likewise.
21086 * resolv/res_hconf.c: Likewise.
21087 * scripts/gen-sorted.awk: Likewise.
21088 * soft-fp/soft-fp.h: Likewise.
21089 * stdio-common/printf.h: Likewise.
21090 * stdlib/monetary.h: Likewise.
21091 * stdlib/random.c: Likewise.
21092 * stdlib/random_r.c: Likewise.
21093 * sysdeps/generic/Makefile: Likewise.
21094 * sysdeps/gnu/Makefile: Likewise.
21095 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21123 * sysdeps/mach/hurd/errnos.awk: Likewise.
21124 * sysdeps/mach/hurd/fork.c: Likewise.
21125 * sysdeps/mach/hurd/getcwd.c: Likewise.
21126 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21127 * sysdeps/mach/hurd/mmap.c: Likewise.
21128 * sysdeps/mach/hurd/utimes.c: Likewise.
21129 * sysdeps/mach/hurd/xmknod.c: Likewise.
21130 * sysdeps/posix/profil.c: Likewise.
21131 * sysdeps/posix/readdir_r.c: Likewise.
21132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21133 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21134 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21135 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21137 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21138 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21139 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21141 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21142 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21143 * sysdeps/pthread/lio_listio.c: Likewise.
21144 * sysdeps/sparc/dl-procinfo.h: Likewise.
21145 * sysdeps/unix/i386/sysdep.S: Likewise.
21146 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21147 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21148 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21149 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21151 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21152 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21153 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21154 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21155 * sysdeps/wordsize-32/divdi3.c: Likewise.
21156 * time/sys/time.h: Likewise.
21157 * wcsmbs/Makefile: Likewise.
21159 2013-01-01 David S. Miller <davem@davemloft.net>
21161 * po/fr.po: Update from translation team.
21163 * catgets/gencat.c: Update copyright year.
21164 * csu/version.c: Likewise.
21165 * debug/catchsegv.sh: Likewise.
21166 * debug/pcprofiledump.c: Likewise.
21167 * debug/xtrace.sh: Likewise.
21168 * elf/ldconfig.c: Likewise.
21169 * elf/ldd.bash.in: Likewise.
21170 * elf/pldd.c: Likewise.
21171 * elf/sotruss.ksh: Likewise.
21172 * elf/sprof.c: Likewise.
21173 * iconv/iconv_prog.c: Likewise.
21174 * iconv/iconvconfig.c: Likewise.
21175 * locale/programs/locale.c: Likewise.
21176 * locale/programs/localedef.c: Likewise.
21177 * login/programs/pt_chown.c: Likewise.
21178 * malloc/memusage.sh: Likewise.
21179 * malloc/memusagestat.c: Likewise.
21180 * malloc/mtrace.pl: Likewise.
21181 * nscd/nscd.c: Likewise.
21182 * nss/getent.c: Likewise.
21183 * nss/makedb.c: Likewise.
21184 * posix/getconf.c: Likewise.
21186 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21188 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21191 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21193 * math/bits/mathcalls.h (modf): Use __nonnull.
21195 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21197 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21198 (split): Use macro CN instead of the bare value.
21199 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21202 instead of the bare value.
21203 (power1): Likewise.
21205 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21207 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21209 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21211 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21213 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21214 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21215 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21216 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21218 2012-12-28 Andreas Jaeger <aj@suse.de>
21220 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21221 values are from Linux 3.7.
21223 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21224 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21226 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21228 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21231 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21233 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21234 variables with preprocessor constants.
21235 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21236 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21237 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21239 2012-12-27 Bruno Haible <bruno@clisp.org>
21242 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21245 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21248 and use variable directly.
21249 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21251 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21253 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21254 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21256 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21257 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21258 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21259 include directive. Remove local variable MPONE.
21260 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21261 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21262 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21264 2012-12-25 David S. Miller <davem@davemloft.net>
21266 * version.h (RELEASE): Set to "development".
21267 (VERSION): Set to "2.17.90".
21268 * NEWS: Add 2.18 section.
21270 2012-12-21 David S. Miller <davem@davemloft.net>
21272 * po/hr.po: Update from translation team.
21274 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21276 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21278 2012-12-19 Steve Ellcey <sellcey@mips.com>
21280 * NEWS: Mention new memcpy for MIPS.
21282 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21284 * manual/contrib.texi (Contributors): Spelling correction.
21286 2012-12-15 David S. Miller <davem@davemloft.net>
21288 * po/ru.po: Update from translation team.
21290 2012-12-13 David S. Miller <davem@davemloft.net>
21292 * NEWS: Mention IFUNC testsuite enhancements.
21294 * po/pl.po: Update from translation team.
21295 * po/bg.po: Likewise.
21297 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21298 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21300 2012-12-11 David S. Miller <davem@davemloft.net>
21302 * po/sv.po: Update from translation team.
21304 * po/vi.po: Update from translation team.
21306 * po/cs.po: Update from translation team.
21308 * po/de.po: Update from translation team.
21309 * po/eo.po: Likewise.
21310 * po/nl.po: Likewise.
21312 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21315 * manual/argp.texi (Argp Helper Functions): Move node to follow
21316 Argp Parsing State.
21319 * manual/conf.texi (Limits on File System Capacity): Mention if
21320 terminating null is included in the max size.
21322 2012-12-10 Andreas Jaeger <aj@suse.de>
21324 * po/cs.po: Update from translation team.
21326 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21328 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21329 void pointer and cast to uintptr_t.
21330 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21332 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21333 * sysdeps/s390/s390-64/memset.S: Likewise.
21335 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21338 * menual/message.texi (Message Translation): Fix typos.
21339 (Helper programs for gettext): Likewise.
21341 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21344 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21347 2012-12-07 David S. Miller <davem@davemloft.net>
21349 * po/libc.pot: Update.
21351 2012-12-07 Richard Henderson <rth@redhat.com>
21354 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21355 normal/normal case to before the switch.
21356 (_FP_DIV): Likewise.
21358 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21359 Mike Frysinger <vapier@gentoo.org>
21361 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21362 check for __NR_fadvise64_64.
21364 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21366 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21367 0, not just to plain "0" as a statement.
21368 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21371 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21373 * NEWS: Use sourceware.org in Bugzilla URL.
21375 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21378 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21380 * stdio-common/tst-put-error.c (do_test): Add newline to the
21381 padded test to ensure flush.
21383 2012-12-05 Jeff Law <law@redhat.com>
21385 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21387 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21389 * README: Don't refer to ports add-on as distributed separately.
21390 Mention AArch64 in list of systems supported in the ports add-on.
21392 * LICENSES: Add more non-FSF copyright and license notices.
21394 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21397 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21399 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21400 10000 as width of padded output.
21402 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21404 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21406 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21407 variable LX with __attribute__ ((unused)).
21408 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21410 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21411 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21412 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21413 with __attribute__ ((unused)).
21415 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21417 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21419 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21421 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21422 (CFLAGS-nldbl-acos.c): New variable.
21423 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21424 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21425 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21426 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21427 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21428 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21429 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21430 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21431 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21432 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21433 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21434 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21435 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21436 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21437 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21438 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21439 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21440 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21441 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21442 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21443 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21444 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21445 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21446 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21447 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21448 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21449 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21450 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21451 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21452 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21453 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21454 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21455 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21456 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21457 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21458 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21459 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21460 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21461 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21462 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21463 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21464 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21465 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21466 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21467 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21473 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21474 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21475 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21476 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21477 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21478 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21479 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21480 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21481 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21482 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21483 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21484 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21485 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21486 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21487 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21488 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21489 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21490 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21491 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21492 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21493 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21494 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21495 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21496 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21497 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21498 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21499 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21500 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21501 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21502 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21503 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21504 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21505 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21506 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21507 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21508 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21513 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21514 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21515 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21516 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21517 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21518 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21519 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21522 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21526 whole low double instead of just low 47 bits when splitting values
21529 2012-12-03 Allan McRae <allan@archlinux.org>
21531 * manual/stdio.texi (Predefined Printf Handlers): Remove
21532 @hsep and @vsep usage.
21534 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21536 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21537 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21539 2012-12-03 Jeff Law <law@redhat.com>
21541 * time/sys/time.h (settimeofday): Do not mark TV argument
21544 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21546 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21547 when currently writing and seek to current position when not.
21548 * libio/Makefile (tests): Remove bug-fclose1.
21549 * libio/bug-fclose1.c: Delete.
21551 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21553 * manual/arith.texi (feenableexcept): Fix typo.
21554 (fedisableexcept): Likewise.
21556 2012-11-30 Roland McGrath <roland@hack.frob.com>
21558 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21559 second, differently-typed declaration, rather than a cast.
21561 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21563 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21564 * include/rpc/svc.h: ... here.
21566 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21569 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21570 depending n and resplen2 to catch cases where answer
21573 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21575 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21576 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21578 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21580 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21582 2012-11-29 Roland McGrath <roland@hack.frob.com>
21584 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21586 2012-11-28 Jeff Law <law@redhat.com>
21589 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21590 dataset_temporary. Track alloca usage into alloca_used.
21591 If dataset is large allocate and release it via malloc/free.
21593 2012-06-04 Florian Weimer <fweimer@redhat.com>
21596 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21598 2012-11-28 David S. Miller <davem@davemloft.net>
21600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21602 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21605 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21606 of pi/2 rounded to nearest to 64 bits.
21607 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21608 nearest to 64 bits.
21609 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21612 2012-11-28 Jeff Law <law@redhat.com>
21613 Martin Osvald <mosvald@redhat.com>
21616 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21617 * sunrpc/svc.c: Include time.h.
21618 (__svc_accept_failed): New function.
21619 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21620 any reason other than EINTR, call __svc_accept_failed.
21621 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21622 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21624 2012-11-28 Andreas Schwab <schwab@suse.de>
21626 * scripts/abilist.awk: Also handle indirect functions in .opd
21629 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21632 * sysdeps/x86/fpu/powl_helper.c: New file.
21633 * sysdeps/x86/fpu/Makefile: Likewise.
21634 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21636 (__ieee754_powl): Use __powl_helper for finite arguments except
21637 integer exponents below 8.
21638 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21640 (__ieee754_powl): Use __powl_helper for finite arguments except
21641 integer exponents below 8.
21642 * math/libm-test.inc (pow_test): Add more tests and enable some
21643 previously disabled tests.
21644 * sysdeps/i386/fpu/libm-test-ulps: Update.
21645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21647 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21648 Carlos O'Donell <carlos_odonell@mentor.com>
21650 * nss/makedb.c (is_prime): Assert that input is odd and greater
21651 than 4. Note that fact in a comment too.
21652 (next_prime): Add 4 to input.
21654 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21657 * libio/Makefile (tests): Add test case tst-fwrite-error.
21658 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21659 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21660 * libio/tst-fwrite-error.c: New test case.
21662 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21664 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21665 before casting to void *.
21666 * include/libc-internal.h (__pointer_type): New macro.
21667 (__integer_if_pointer_type_sub): Likewise.
21668 (__integer_if_pointer_type): Likewise.
21669 (cast_to_integer): Likewise.
21670 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21671 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21672 before casting to atomic64_t.
21673 (atomic_exchange_acq): Likewise.
21674 (__arch_exchange_and_add_body): Likewise.
21675 (__arch_add_body): Likewise.
21676 (atomic_add_negative): Likewise.
21677 (atomic_add_zero): Likewise.
21679 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21681 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21682 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21683 (add_fdes): Likewise.
21684 (linear_search_fdes): Likewise.
21685 (binary_search_unencoded_fdes): Likewise.
21687 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21689 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21691 2012-11-24 Adam Conrad <adconrad@0c3.net>
21693 * configure.in: Autodetect C++ header directories.
21694 * configure: Regenerated.
21696 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21698 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21700 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21704 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21706 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21707 LDBL_MANT_DIG == 106]: Disable some tests.
21708 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21710 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21714 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21715 input for small inputs. Return +/- pi/2 for large inputs.
21716 * math/libm-test.inc (atan_test): Add more tests.
21718 * sysdeps/generic/unwind-dw2-fde-glibc.c
21719 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21720 __attribute__ ((unused)).
21723 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21724 x * y if x and y are nonzero and z is zero.
21727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21728 nonzero exponents with absolute value below 0x1p-117 to +/-
21732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21733 up arguments below 2**-450, not just those below 2**-500.
21734 * math/libm-test.inc (hypot_test): Add another test.
21737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21738 Return a+b for ratio over 2**120, not 2**60.
21739 * math/libm-test.inc (hypot_test): Add another test.
21741 * math/libm-test.inc (clog_test): Use
21742 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21743 (clog10_test): Likewise.
21746 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21748 2012-11-22 Andreas Schwab <schwab@suse.de>
21750 * sysdeps/i386/fpu/libm-test-ulps: Update.
21752 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21754 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21755 printf output with newline.
21757 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21760 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21761 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21762 -z nodlopen, -z initfirst and -z execstack support.
21763 * configure: Regenerated.
21765 * elf/elf.h (DF_1_NODIRECT): New macro.
21766 (DF_1_IGNMULDEF): Likewise.
21767 (DF_1_NOKSYMS): Likewise.
21768 (DF_1_NOHDR): Likewise.
21769 (DF_1_EDITED): Likewise.
21770 (DF_1_NORELOC): Likewise.
21771 (DF_1_SYMINTPOSE): Likewise.
21772 (DF_1_GLOBAUDIT): Likewise.
21773 (DF_1_SINGLETON): Likewise.
21774 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21775 DT_1_SUPPORTED_MASK bits.
21776 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21778 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21780 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21782 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21784 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21787 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21788 (sendmmsg): Move declarations...
21789 * socket/sys/socket.h: ... here.
21790 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21791 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21793 * socket/recvmmsg.c: ... this new file.
21794 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21795 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21796 definition of __sendmmsg hidden.
21797 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21798 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21799 Move ENOSYS stub into and include it from...
21800 * socket/sendmmsg.c: ... this new file.
21801 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21802 (sysdep_routines): Move recvmmsg and sendmmsg...
21803 * socket/Makefile (routines): ... here.
21804 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21805 (GLIBC_PRIVATE): Add __sendmmsg.
21806 * include/sys/socket.h (__sendmmsg): Add declarations.
21807 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21810 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21812 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21813 variable I1 with __attribute__ ((unused)).
21814 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21816 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21818 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21819 DUMMY variables with __attribute__ ((unused)).
21821 * bits/byteswap.h: Include <bits/types.h>.
21822 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21824 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21826 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21827 string_t. Do not manually set errno.
21828 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21829 length with __strnlen. Make sure to both set errno and return it on
21832 2012-11-19 David S. Miller <davem@davemloft.net>
21834 With help from Joseph Myers.
21835 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21836 very large arguments properly.
21837 * math/libm-test.inc (atan_test): New tests.
21838 (atan2_test): New tests.
21839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21842 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21845 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21848 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21849 [POSIX] (EADDRNOTAVAIL): Likewise.
21850 [POSIX] (EAFNOSUPPORT): Likewise.
21851 [POSIX] (EALREADY): Likewise.
21852 [POSIX] (ECONNABORTED): Likewise.
21853 [POSIX] (ECONNREFUSED): Likewise.
21854 [POSIX] (ECONNRESET): Likewise.
21855 [POSIX] (EDESTADDRREQ): Likewise.
21856 [POSIX] (EDQUOT): Likewise.
21857 [POSIX] (EHOSTUNREACH): Likewise.
21858 [POSIX] (EIDRM): Likewise.
21859 [POSIX] (EISCONN): Likewise.
21860 [POSIX] (ELOOP): Likewise.
21861 [POSIX] (EMULTIHOP): Likewise.
21862 [POSIX] (ENETDOWN): Likewise.
21863 [POSIX] (ENETUNREACH): Likewise.
21864 [POSIX] (ENOBUFS): Likewise.
21865 [POSIX] (ENODATA): Likewise.
21866 [POSIX] (ENOLINK): Likewise.
21867 [POSIX] (ENOMSG): Likewise.
21868 [POSIX] (ENOPROTOOPT): Likewise.
21869 [POSIX] (ENOSR): Likewise.
21870 [POSIX] (ENOSTR): Likewise.
21871 [POSIX] (ENOTCONN): Likewise.
21872 [POSIX] (ENOTSOCK): Likewise.
21873 [POSIX] (EOPNOTSUPP): Likewise.
21874 [POSIX] (EOVERFLOW): Likewise.
21875 [POSIX] (EPROTO): Likewise.
21876 [POSIX] (EPROTONOSUPPORT): Likewise.
21877 [POSIX] (EPROTOTYPE): Likewise.
21878 [POSIX] (ESTALE): Likewise.
21879 [POSIX] (ETIME): Likewise.
21880 [POSIX] (ETXTBSY): Likewise.
21881 [POSIX] (EWOULDBLOCK): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21883 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21884 [POSIX] (SEEK_CUR): Likewise.
21885 [POSIX] (SEEK_END): Likewise.
21886 [POSIX || UNIX98] (mode_t): Do not require.
21887 [POSIX] (off_t): Likewise.
21888 [POSIX] (pid_t): Likewise.
21889 [POSIX] (sys/stat.h): Do not allow header.
21890 [POSIX] (unistd.h): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21892 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21893 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21894 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21896 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21897 sigevent): Specify elements.
21898 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21900 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21901 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21903 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21904 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21905 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21906 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21907 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21908 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21909 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21910 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21911 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21912 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21913 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21914 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21915 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21916 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21918 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21920 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21922 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21924 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21925 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21926 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21927 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21928 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21929 Specify lower bound on value.
21930 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21931 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21932 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21933 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21934 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21935 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21936 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21937 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21939 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21941 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21942 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21943 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21944 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21945 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21946 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21947 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21948 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21949 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21950 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21951 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21952 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21953 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21954 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21955 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21956 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21958 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21960 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21961 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21962 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21963 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21964 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21965 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21967 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21968 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21969 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21970 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21971 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21972 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21973 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21975 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21976 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21977 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21978 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21979 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21980 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21981 specify as optional.
21982 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21983 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21984 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21985 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21986 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21987 [XPG3] (NL_LANGMAX): Likewise.
21988 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21989 [POSIX || XPG3] (NL_NMAX): Likewise.
21990 [POSIX || XPG3] (NL_SETMAX): Likewise.
21991 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21992 [XPG3] (NZERO): Likewise.
21993 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21994 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21995 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21996 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21997 (REG_ERANGE): Expect.
21998 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22000 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22001 Use (void) in prototype.
22002 [POSIX] (*_t): Allow.
22003 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22004 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22005 (WRDE_BADVAL): Expect.
22007 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22009 [XPG3 || XPG4] (O_RSYNC): Likewise.
22010 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22012 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22013 [XPG3 || XPG4] (sigqueue): Likewise.
22014 [XPG3 || XPG4] (sigtimedwait): Likewise.
22015 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22016 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22017 [XPG3 || XPG4] (vsnprintf): Likewise.
22018 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22020 [XPG3 || XPG4] (blksize_t): Likewise.
22021 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22023 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22024 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22025 [XPG3 || XPG4] (struct itimerspec): Likewise.
22026 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22027 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22028 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22029 [XPG3 || XPG4] (clockid_t): Likewise.
22030 [XPG3 || XPG4] (timer_t): Likewise.
22031 [XPG3 || XPG4] (clock_getres): Likewise.
22032 [XPG3 || XPG4] (clock_gettime): Likewise.
22033 [XPG3 || XPG4] (clock_settime): Likewise.
22034 [XPG3 || XPG4] (nanosleep): Likewise.
22035 [XPG3 || XPG4] (timer_create): Likewise.
22036 [XPG3 || XPG4] (timer_delete): Likewise.
22037 [XPG3 || XPG4] (timer_gettime): Likewise.
22038 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22039 [XPG3 || XPG4] (timer_settime): Likewise.
22040 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22041 [XPG3 || XPG4] (getlogin_r): Likewise.
22042 [XPG3 || XPG4] (pread): Likewise.
22043 [XPG3 || XPG4] (pthread_atfork): Likewise.
22044 [XPG3 || XPG4] (pwrite): Likewise.
22047 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22050 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22052 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22053 finalizing MALLSTREAM.
22055 * sysdeps/mach/hurd/syncfs.c: New file.
22057 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22060 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22061 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22062 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22063 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22064 (_nss_dns_gethostbyname4_r): Likewise.
22065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22066 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22068 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22071 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22073 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22075 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22076 * elf/cache.c (print_entry): Print ",AArch64" for
22079 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22080 * elf/cache.c (print_entry): Print ",hard-float" for
22083 2012-11-18 David S. Miller <davem@davemloft.net>
22085 With help from Joseph Myers.
22086 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22088 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22090 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22091 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22093 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22094 * math/libm-test.inc (y0_test): New tests.
22095 (y1_test): New tests.
22096 * sysdeps/i386/fpu/libm-test-ulps: Update.
22097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22100 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22102 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22104 * configure: Regenerated.
22106 2012-11-17 David S. Miller <davem@davemloft.net>
22109 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22110 nonzero exponents with absolute value below 0x1p-128 to +/-
22113 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22115 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22117 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22119 * posix/getconf-speclist.c: New file.
22120 * posix/posix-envs.def: Likewise.
22121 * posix/confstr.c (START_ENV_GROUP): New macro.
22122 (END_ENV_GROUP): Likewise.
22123 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22124 (KNOWN_PRESENT_ENV_STRING): Likewise.
22125 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22126 (UNKNOWN_ENVIRONMENT): Likewise.
22127 (confstr): Include posix-envs.def instead of handling
22128 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22129 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22130 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22131 (END_ENV_GROUP): Likewise.
22132 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22133 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22134 (UNKNOWN_ENVIRONMENT): Likewise.
22135 (__sysconf): Include posix-envs.def instead of handling associated
22136 cases directly here.
22137 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22138 preprocessing getconf-speclist.c rather than running getconf or
22139 generating empty file.
22141 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22143 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22145 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22148 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22150 2012-11-16 David S. Miller <davem@davemloft.net>
22152 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22153 smaller than LDBL_EPSILON/2.0L, just return xm1.
22155 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22157 * elf/tst-array1.c (init): Set constructor priority to 1000.
22158 (fini): Set destructor priority to 1000.
22159 * elf/tst-array2dep.c: Likewise.
22161 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22164 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22165 (_IO_new_file_xsputn): Also return EOF if none of the input
22166 data was written when overflow failed.
22167 * libio/iopadn.c (_IO_padn): Likewise.
22168 * libio/iowpadn.c (_IO_wpadn): Likewise.
22169 * stdio-common/tst-put-error.c: Add copyright notice.
22170 (do_test): Add case for printing padded string.
22171 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22172 _IO_padn returned error.
22173 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22174 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22177 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22179 * libio/libioP.h: Add comment note that the references to C++
22180 bits are now obsolete.
22182 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22184 * math/libm-test.inc (check_complex): Use asprintf.
22186 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22188 * debug/pcprofiledump.c (print_version): Update copyright year.
22189 * malloc/memusagestat.c (print_version): Likewise.
22191 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22194 * elf/Makefile (tests): Add tst-audit8.
22195 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22196 ($(objpfx)tst-audit8.out): New target.
22197 (tst-audit8-ENV): New variable.
22198 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22199 audit if l_reloc_result is NULL.
22200 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22201 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22202 * elf/tst-audit8.c: New file.
22204 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22206 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22207 * misc/Makefile (CFLAGS-select.c): Define.
22208 * posix/Makefile (CFLAGS-pause.c): Define.
22210 2012-11-13 David S. Miller <davem@davemloft.net>
22212 * crypt/Makefile: Move test targets after toplevel Rules
22213 inclusion. Grab any necessary sysdep routines when linking.
22214 * crypt/md5.c (md5_process_block): Remove define, we will always
22215 name it __md5_process_block.
22216 (md5_finish_ctx): Update md5_process_block call.
22217 (md5_stream): Likewise.
22218 (md5_process_bytes): Likewise.
22219 (md5_process_block): Rename to __md5_process_block and move to ...
22220 * crypt/md5-block.c: ... here.
22221 * crypt/sha256.c (sha256_process_block): Move to ...
22222 * crypt/sha256-block.c: ... here.
22223 * crypt/sha512.c (sha512_process_block): Move to ...
22224 * crypt/sha512-block.c: ... here.
22225 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22227 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22228 * sysdeps/sparc/sparc64/multiarch/Makefile
22229 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22231 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22232 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22234 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22235 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22236 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22237 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22238 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22239 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22240 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22241 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22242 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22244 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22245 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22247 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22249 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22251 * timezone/tzselect.ksh: Update from tzcode git revision
22252 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22253 * timezone/zdump.c: Likewise.
22254 * timezone/zic.c: Likewise.
22255 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22256 in TZVERSION setting, not $(PKGVERSION).
22257 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22258 REPORT_BUGS_TO settings.
22261 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22264 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22266 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22267 detection to immediately after _FP_ROUND().
22268 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22271 2012-11-11 David S. Miller <davem@davemloft.net>
22273 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22275 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22276 __close rather than their public counterparts.
22278 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22280 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22282 [UNIX98] (sem_timedwait): Do not expect.
22283 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22284 [XPG4 || UNIX98] (sockatmark): Do not expect.
22285 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22286 (clock_getcpuclockid): Do not expect.
22287 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22288 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22290 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22291 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22292 [UNIX98] (vwscanf): Likewise.
22293 [UNIX98] (vswscanf): Likewise.
22295 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22297 * timezone/version.h: Remove file.
22298 * timezone/README: Do not refer to version.h.
22299 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22300 $(objpfx)version.h.
22301 ($(objpfx)zdump.o): Likewise.
22302 ($(objpfx)version.h): New target.
22304 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22306 * timezone/README: Don't mention modification to tzselect.ksh.
22307 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22308 work on unmodified tzselect.ksh. Substitute version numbers in
22311 * Makefile (format-me): Remove.
22312 (INSTALL): Adjust indentation. Use commands directly instead of
22313 using $(format-me).
22315 * aclocal.m4 (ACX_PKGVERSION): New macro.
22316 (ACX_BUGURL): Likewise.
22317 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22318 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22319 (REPORT_BUGS_TO): Likewise.
22320 * configure: Regenerated.
22321 * config.h.in (PKGVERSION): New macro.
22322 (REPORT_BUGS_TO): Likewise.
22323 * config.make.in (PKGVERSION): New variable.
22324 (PKGVERSION_TEXI): Likewise.
22325 (REPORT_BUGS_TO): Likewise.
22326 (REPORT_BUGS_TEXI): Likewise.
22327 * Makefile (format-me): Use -I$(common-objpfx)manual.
22328 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22329 ($(common-objpfx)manual/%): New target.
22330 (manual/%): Remove target.
22331 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22332 (print_version): Use PKGVERSION.
22333 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22334 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22335 and REPORT_BUGS_TO.
22336 ($(objpfx)xtrace): Likewise.
22337 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22338 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22339 (print_version): Use PKGVERSION.
22340 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22341 (do_version): Use PKGVERSION.
22342 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22344 (common-ldd-rewrite): Likewise.
22345 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22346 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22347 (print_version): Use PKGVERSION.
22348 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22349 * elf/pldd.c (argp_program_bug_address): Remove variable.
22350 (more_help): New function.
22351 (argp): Use more_help.
22352 (print_version): Use PKGVERSION.
22353 * elf/sln.c (main): Use PKGVERSION.
22354 (usage): Use REPORT_BUGS_TO.
22355 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22356 (top level): Use PKGVERSION.
22357 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22358 (print_version): Use PKGVERSION.
22359 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22360 (print_version): Use PKGVERSION.
22361 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22362 (print_version): Use PKGVERSION.
22363 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22364 (print_version): Use PKGVERSION.
22365 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22366 (print_version): Use PKGVERSION.
22367 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22368 (print_version): Use PKGVERSION.
22369 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22371 ($(objpfx)memusage): Likewise.
22372 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22373 (do_version): Use PKGVERSION.
22374 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22375 (print_version): Use PKGVERSION.
22376 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22377 ($PKGVERSION): New variable.
22378 ($REPORT_BUGS_TO): Likewise.
22379 (usage): Use $REPORT_BUGS_TO.
22380 (top level): Use $PKGVERSION.
22381 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22382 ($(objpfx)pkgvers.texi): New rule.
22383 ($(objpfx)stamp-pkgvers): Likewise.
22384 * manual/install.texi: Include pkgvers.texi.
22385 (--with-pkgversion): Document new configure option.
22386 (--with-bugurl): Likewise.
22387 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22388 than necessarily for this particular distribution. Use
22389 REPORT_BUGS_TO for where to report bugs.
22390 * INSTALL: Regenerated.
22391 * manual/libc.texinfo: Include pkgvers.texi.
22392 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22393 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22394 (print_version): Use PKGVERSION.
22395 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22396 (print_version): Use PKGVERSION.
22397 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22398 (print_version): Use PKGVERSION.
22399 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22400 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22402 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22403 (print_version): Use PKGVERSION.
22404 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22405 (print_version): Use PKGVERSION.
22406 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22409 * timezone/checktab.awk: Update from tzcode 2012i.
22410 * timezone/ialloc.c: Likewise.
22411 * timezone/private.h: Likewise.
22412 * timezone/scheck.c: Likewise.
22413 * timezone/tzfile.h: Likewise.
22414 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22415 (TZVERSION): Hardcode tzcode version number.
22416 * timezone/zdump.c: Update from tzcode 2012i.
22417 * timezone/zic.c: Likewise.
22418 * timezone/version.h: New file.
22419 * timezone/README: Describe version.h. Update upstream location.
22422 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22423 (mktemp): Enable declaration.
22424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22429 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22431 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22433 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22435 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22437 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22441 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22442 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22443 for copies of such integer values.
22444 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22445 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22447 2012-11-09 Andreas Jaeger <aj@suse.de>
22449 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22450 definitions and declarations that are provided by
22451 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22453 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22455 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22456 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22457 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22460 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22462 * elf/elf.h: Update comment before AArch64 relocations.
22464 2012-11-07 David S. Miller <davem@davemloft.net>
22466 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22467 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22468 (__start_context): Declare.
22469 (__makecontext_ret): Delete.
22470 (__makecontext): Hook up __start_context instead of
22472 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22473 (sysdep_routines): Add __start_context when in stdlib.
22475 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22477 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22478 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22479 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22481 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22482 (READELF): New variable. Use it instead of hardcoded "readelf".
22484 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22486 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22487 * sysdeps/x86/Makefile: Here.
22488 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22489 * sysdeps/x86/tst-xmmymm.sh: This.
22491 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22493 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22495 [UNIX98] (pthread_barrier_t): Do not expect.
22496 [UNIX98] (pthread_barrierattr_t): Likewise.
22497 [UNIX98] (pthread_spinlock_t): Likewise.
22498 [UNIX98] (pthread_barrier_destroy): Likewise.
22499 [UNIX98] (pthread_barrier_init): Likewise.
22500 [UNIX98] (pthread_barrier_wait): Likewise.
22501 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22502 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22503 [UNIX98] (pthread_barrierattr_init): Likewise.
22504 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22505 [UNIX98] (pthread_getcpuclockid): Likewise.
22506 [UNIX98] (pthread_mutex_timedlock): Likewise.
22507 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22508 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22509 [UNIX98] (pthread_sigmask): Likewise.
22510 [UNIX98] (pthread_spin_destroy): Likewise.
22511 [UNIX98] (pthread_spin_init): Likewise.
22512 [UNIX98] (pthread_spin_lock): Likewise.
22513 [UNIX98] (pthread_spin_trylock): Likewise.
22514 [UNIX98] (pthread_spin_unlock): Likewise.
22515 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22517 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22518 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22519 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22520 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22521 [XPG3 || XPG4] (pthread_key_t): Likewise.
22522 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22523 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22524 [XPG3 || XPG4] (pthread_once_t): Likewise.
22525 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22526 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22527 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22528 [XPG3 || XPG4] (pthread_t): Likewise.
22530 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22532 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22534 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22535 Change function return type to int.
22537 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22538 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22539 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22540 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22541 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22542 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22543 [!POSIX] (posix_madvise): Likewise.
22544 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22546 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22547 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22548 (mode_t): Likewise.
22549 (posix_mem_offset): Likewise.
22550 (posix_typed_mem_get_info): Likewise.
22551 (posix_typed_mem_open): Likewise.
22553 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22554 Change condition to [XOPEN2K8].
22556 * conform/conformtest.pl: Preprocess allow-header data with -x c
22557 instead of from stdin.
22558 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22559 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22560 [C99-based standards] (cerfc): Likewise.
22561 [C99-based standards] (cexp2): Likewise.
22562 [C99-based standards] (cexpm1): Likewise.
22563 [C99-based standards] (clog10): Likewise.
22564 [C99-based standards] (clog1p): Likewise.
22565 [C99-based standards] (clog2): Likewise.
22566 [C99-based standards] (clgamma): Likewise.
22567 [C99-based standards] (ctgamma): Likewise.
22568 [C99-based standards] (cerff): Likewise.
22569 [C99-based standards] (cerfcf): Likewise.
22570 [C99-based standards] (cexp2f): Likewise.
22571 [C99-based standards] (cexpm1f): Likewise.
22572 [C99-based standards] (clog10f): Likewise.
22573 [C99-based standards] (clog1pf): Likewise.
22574 [C99-based standards] (clog2f): Likewise.
22575 [C99-based standards] (clgammaf): Likewise.
22576 [C99-based standards] (ctgammaf): Likewise.
22577 [C99-based standards] (cerfl): Likewise.
22578 [C99-based standards] (cerfcl): Likewise.
22579 [C99-based standards] (cexp2l): Likewise.
22580 [C99-based standards] (cexpm1l): Likewise.
22581 [C99-based standards] (clog10l): Likewise.
22582 [C99-based standards] (clog1pl): Likewise.
22583 [C99-based standards] (clog2l): Likewise.
22584 [C99-based standards] (clgammal): Likewise.
22585 [C99-based standards] (ctgammal): Likewise.
22586 * conform/data/inttypes.h-data [C99-based standards]: Include
22587 stdint.h-data. Remove all expectations for stdint.h contents.
22588 [C99-based standards] (PRI*): Do not allow.
22589 [C99-based standards] (SCN*): Likewise.
22590 [C99-based standards] (*_t): Likewise.
22591 [C99-based-standards] (PRId8): Expect macro.
22592 [C99-based-standards] (PRIi8): Likewise.
22593 [C99-based-standards] (PRIo8): Likewise.
22594 [C99-based-standards] (PRIu8): Likewise.
22595 [C99-based-standards] (PRIx8): Likewise.
22596 [C99-based-standards] (PRIX8): Likewise.
22597 [C99-based-standards] (SCNd8): Likewise.
22598 [C99-based-standards] (SCNi8): Likewise.
22599 [C99-based-standards] (SCNo8): Likewise.
22600 [C99-based-standards] (SCNu8): Likewise.
22601 [C99-based-standards] (SCNx8): Likewise.
22602 [C99-based-standards] (PRIdLEAST8): Likewise.
22603 [C99-based-standards] (PRIiLEAST8): Likewise.
22604 [C99-based-standards] (PRIoLEAST8): Likewise.
22605 [C99-based-standards] (PRIuLEAST8): Likewise.
22606 [C99-based-standards] (PRIxLEAST8): Likewise.
22607 [C99-based-standards] (PRIXLEAST8): Likewise.
22608 [C99-based-standards] (SCNdLEAST8): Likewise.
22609 [C99-based-standards] (SCNiLEAST8): Likewise.
22610 [C99-based-standards] (SCNoLEAST8): Likewise.
22611 [C99-based-standards] (SCNuLEAST8): Likewise.
22612 [C99-based-standards] (SCNxLEAST8): Likewise.
22613 [C99-based-standards] (PRIdFAST8): Likewise.
22614 [C99-based-standards] (PRIiFAST8): Likewise.
22615 [C99-based-standards] (PRIoFAST8): Likewise.
22616 [C99-based-standards] (PRIuFAST8): Likewise.
22617 [C99-based-standards] (PRIxFAST8): Likewise.
22618 [C99-based-standards] (PRIXFAST8): Likewise.
22619 [C99-based-standards] (SCNdFAST8): Likewise.
22620 [C99-based-standards] (SCNiFAST8): Likewise.
22621 [C99-based-standards] (SCNoFAST8): Likewise.
22622 [C99-based-standards] (SCNuFAST8): Likewise.
22623 [C99-based-standards] (SCNxFAST8): Likewise.
22624 [C99-based-standards] (PRId16): Likewise.
22625 [C99-based-standards] (PRIi16): Likewise.
22626 [C99-based-standards] (PRIo16): Likewise.
22627 [C99-based-standards] (PRIu16): Likewise.
22628 [C99-based-standards] (PRIx16): Likewise.
22629 [C99-based-standards] (PRIX16): Likewise.
22630 [C99-based-standards] (SCNd16): Likewise.
22631 [C99-based-standards] (SCNi16): Likewise.
22632 [C99-based-standards] (SCNo16): Likewise.
22633 [C99-based-standards] (SCNu16): Likewise.
22634 [C99-based-standards] (SCNx16): Likewise.
22635 [C99-based-standards] (PRIdLEAST16): Likewise.
22636 [C99-based-standards] (PRIiLEAST16): Likewise.
22637 [C99-based-standards] (PRIoLEAST16): Likewise.
22638 [C99-based-standards] (PRIuLEAST16): Likewise.
22639 [C99-based-standards] (PRIxLEAST16): Likewise.
22640 [C99-based-standards] (PRIXLEAST16): Likewise.
22641 [C99-based-standards] (SCNdLEAST16): Likewise.
22642 [C99-based-standards] (SCNiLEAST16): Likewise.
22643 [C99-based-standards] (SCNoLEAST16): Likewise.
22644 [C99-based-standards] (SCNuLEAST16): Likewise.
22645 [C99-based-standards] (SCNxLEAST16): Likewise.
22646 [C99-based-standards] (PRIdFAST16): Likewise.
22647 [C99-based-standards] (PRIiFAST16): Likewise.
22648 [C99-based-standards] (PRIoFAST16): Likewise.
22649 [C99-based-standards] (PRIuFAST16): Likewise.
22650 [C99-based-standards] (PRIxFAST16): Likewise.
22651 [C99-based-standards] (PRIXFAST16): Likewise.
22652 [C99-based-standards] (SCNdFAST16): Likewise.
22653 [C99-based-standards] (SCNiFAST16): Likewise.
22654 [C99-based-standards] (SCNoFAST16): Likewise.
22655 [C99-based-standards] (SCNuFAST16): Likewise.
22656 [C99-based-standards] (SCNxFAST16): Likewise.
22657 [C99-based-standards] (PRId32): Likewise.
22658 [C99-based-standards] (PRIi32): Likewise.
22659 [C99-based-standards] (PRIo32): Likewise.
22660 [C99-based-standards] (PRIu32): Likewise.
22661 [C99-based-standards] (PRIx32): Likewise.
22662 [C99-based-standards] (PRIX32): Likewise.
22663 [C99-based-standards] (SCNd32): Likewise.
22664 [C99-based-standards] (SCNi32): Likewise.
22665 [C99-based-standards] (SCNo32): Likewise.
22666 [C99-based-standards] (SCNu32): Likewise.
22667 [C99-based-standards] (SCNx32): Likewise.
22668 [C99-based-standards] (PRIdLEAST32): Likewise.
22669 [C99-based-standards] (PRIiLEAST32): Likewise.
22670 [C99-based-standards] (PRIoLEAST32): Likewise.
22671 [C99-based-standards] (PRIuLEAST32): Likewise.
22672 [C99-based-standards] (PRIxLEAST32): Likewise.
22673 [C99-based-standards] (PRIXLEAST32): Likewise.
22674 [C99-based-standards] (SCNdLEAST32): Likewise.
22675 [C99-based-standards] (SCNiLEAST32): Likewise.
22676 [C99-based-standards] (SCNoLEAST32): Likewise.
22677 [C99-based-standards] (SCNuLEAST32): Likewise.
22678 [C99-based-standards] (SCNxLEAST32): Likewise.
22679 [C99-based-standards] (PRIdFAST32): Likewise.
22680 [C99-based-standards] (PRIiFAST32): Likewise.
22681 [C99-based-standards] (PRIoFAST32): Likewise.
22682 [C99-based-standards] (PRIuFAST32): Likewise.
22683 [C99-based-standards] (PRIxFAST32): Likewise.
22684 [C99-based-standards] (PRIXFAST32): Likewise.
22685 [C99-based-standards] (SCNdFAST32): Likewise.
22686 [C99-based-standards] (SCNiFAST32): Likewise.
22687 [C99-based-standards] (SCNoFAST32): Likewise.
22688 [C99-based-standards] (SCNuFAST32): Likewise.
22689 [C99-based-standards] (SCNxFAST32): Likewise.
22690 [C99-based-standards] (PRId64): Likewise.
22691 [C99-based-standards] (PRIi64): Likewise.
22692 [C99-based-standards] (PRIo64): Likewise.
22693 [C99-based-standards] (PRIu64): Likewise.
22694 [C99-based-standards] (PRIx64): Likewise.
22695 [C99-based-standards] (PRIX64): Likewise.
22696 [C99-based-standards] (SCNd64): Likewise.
22697 [C99-based-standards] (SCNi64): Likewise.
22698 [C99-based-standards] (SCNo64): Likewise.
22699 [C99-based-standards] (SCNu64): Likewise.
22700 [C99-based-standards] (SCNx64): Likewise.
22701 [C99-based-standards] (PRIdLEAST64): Likewise.
22702 [C99-based-standards] (PRIiLEAST64): Likewise.
22703 [C99-based-standards] (PRIoLEAST64): Likewise.
22704 [C99-based-standards] (PRIuLEAST64): Likewise.
22705 [C99-based-standards] (PRIxLEAST64): Likewise.
22706 [C99-based-standards] (PRIXLEAST64): Likewise.
22707 [C99-based-standards] (SCNdLEAST64): Likewise.
22708 [C99-based-standards] (SCNiLEAST64): Likewise.
22709 [C99-based-standards] (SCNoLEAST64): Likewise.
22710 [C99-based-standards] (SCNuLEAST64): Likewise.
22711 [C99-based-standards] (SCNxLEAST64): Likewise.
22712 [C99-based-standards] (PRIdFAST64): Likewise.
22713 [C99-based-standards] (PRIiFAST64): Likewise.
22714 [C99-based-standards] (PRIoFAST64): Likewise.
22715 [C99-based-standards] (PRIuFAST64): Likewise.
22716 [C99-based-standards] (PRIxFAST64): Likewise.
22717 [C99-based-standards] (PRIXFAST64): Likewise.
22718 [C99-based-standards] (SCNdFAST64): Likewise.
22719 [C99-based-standards] (SCNiFAST64): Likewise.
22720 [C99-based-standards] (SCNoFAST64): Likewise.
22721 [C99-based-standards] (SCNuFAST64): Likewise.
22722 [C99-based-standards] (SCNxFAST64): Likewise.
22723 [C99-based-standards] (PRIdMAX): Likewise.
22724 [C99-based-standards] (PRIiMAX): Likewise.
22725 [C99-based-standards] (PRIoMAX): Likewise.
22726 [C99-based-standards] (PRIuMAX): Likewise.
22727 [C99-based-standards] (PRIxMAX): Likewise.
22728 [C99-based-standards] (PRIXMAX): Likewise.
22729 [C99-based-standards] (SCNdMAX): Likewise.
22730 [C99-based-standards] (SCNiMAX): Likewise.
22731 [C99-based-standards] (SCNoMAX): Likewise.
22732 [C99-based-standards] (SCNuMAX): Likewise.
22733 [C99-based-standards] (SCNxMAX): Likewise.
22734 [C99-based-standards] (PRIdPTR): Likewise.
22735 [C99-based-standards] (PRIiPTR): Likewise.
22736 [C99-based-standards] (PRIoPTR): Likewise.
22737 [C99-based-standards] (PRIuPTR): Likewise.
22738 [C99-based-standards] (PRIxPTR): Likewise.
22739 [C99-based-standards] (PRIXPTR): Likewise.
22740 [C99-based-standards] (SCNdPTR): Likewise.
22741 [C99-based-standards] (SCNiPTR): Likewise.
22742 [C99-based-standards] (SCNoPTR): Likewise.
22743 [C99-based-standards] (SCNuPTR): Likewise.
22744 [C99-based-standards] (SCNxPTR): Likewise.
22745 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22747 * conform/data/stdint.h-data: Update comments to clarify
22749 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22751 [C99-based standards] (INT8_MAX): Likewise.
22752 [C99-based standards] (INT16_MIN): Likewise.
22753 [C99-based standards] (INT16_MAX): Likewise.
22754 [C99-based standards] (INT32_MIN): Likewise.
22755 [C99-based standards] (INT32_MAX): Likewise.
22756 [C99-based standards] (INT64_MIN): Likewise.
22757 [C99-based standards] (INT64_MAX): Likewise.
22758 [C99-based standards] (UINT8_MAX): Likewise.
22759 [C99-based standards] (UINT16_MAX): Likewise.
22760 [C99-based standards] (UINT32_MAX): Likewise.
22761 [C99-based standards] (UINT64_MAX): Likewise.
22762 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22763 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22764 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22765 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22766 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22767 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22768 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22769 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22770 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22771 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22772 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22773 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22774 [C99-based standards] (INT_FAST8_MIN): Likewise.
22775 [C99-based standards] (INT_FAST8_MAX): Likewise.
22776 [C99-based standards] (INT_FAST16_MIN): Likewise.
22777 [C99-based standards] (INT_FAST16_MAX): Likewise.
22778 [C99-based standards] (INT_FAST32_MIN): Likewise.
22779 [C99-based standards] (INT_FAST32_MAX): Likewise.
22780 [C99-based standards] (INT_FAST64_MIN): Likewise.
22781 [C99-based standards] (INT_FAST64_MAX): Likewise.
22782 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22783 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22784 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22785 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22786 [C99-based standards] (INTPTR_MIN): Likewise.
22787 [C99-based standards] (INTPTR_MAX): Likewise.
22788 [C99-based standards] (UINTPTR_MAX): Likewise.
22789 [C99-based standards] (INTMAX_MIN): Likewise.
22790 [C99-based standards] (INTMAX_MAX): Likewise.
22791 [C99-based standards] (UINTMAX_MAX): Likewise.
22792 [C99-based standards] (PTRDIFF_MIN): Likewise.
22793 [C99-based standards] (PTRDIFF_MAX): Likewise.
22794 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22795 [C99-based standards] (SIZE_MAX): Likewise.
22796 [C99-based standards] (WCHAR_MAX): Likewise.
22797 [C99-based standards] (WINT_MAX): Likewise.
22798 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22799 constraint on value.
22800 [C99-based standards] (WCHAR_MIN): Likewise.
22801 [C99-based standards] (WINT_MIN): Likewise.
22802 [C99-based standards] (*_t): Allow.
22803 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22804 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22805 Include math.h-data and complex.h-data. Remove all expectations
22806 of math.h and complex.h contents.
22807 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22809 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22810 (struct tm): Expect tag.
22811 [C99-based-standards] (wcstof): Expect function.
22812 [C99-based-standards] (wcstold): Likewise.
22813 [C99-based-standards] (wcstoll): Likewise.
22814 [C99-based-standards] (wcstoull): Likewise.
22815 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22816 macro-int-constant. Specify type.
22817 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22818 constraint on value.
22819 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22821 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22823 [ISO C standards]: Do not allow headers.
22824 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22825 wcs[abcdefghijklmnopqrstuvwxyz]*.
22826 [ISO C standards] (*_t): Do not allow.
22827 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22829 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22830 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22832 [ISO C standards]: Do not allow headers.
22833 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22834 is[abcdefghijklmnopqrstuvwxyz]*.
22835 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22836 to[abcdefghijklmnopqrstuvwxyz]*.
22837 [ISO C standards] (*_t): Do not allow.
22838 * conform/data/stdalign.h-data: New file.
22839 * conform/data/stdbool.h-data: Likewise.
22840 * conform/data/stdnoreturn.h-data: Likewise.
22842 2012-11-07 Roland McGrath <roland@hack.frob.com>
22845 * manual/filesys.texi (Directory Entries): Typo fix.
22846 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22848 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22850 * elf/elf.h (EM_AARCH64): New macro.
22851 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22852 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22853 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22854 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22855 (R_AARCH64_TLSDESC): Likewise.
22856 (NT_ARM_TLS): Likewise.
22857 (NT_ARM_HW_BREAK): Likewise.
22858 (NT_ARM_HW_WATCH): Likewise.
22860 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22863 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22864 (__ieee754_powl): Saturate nonzero exponents with absolute value
22865 below 0x1p-79 to +/- 0x1p-79.
22866 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22867 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22868 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22869 nonzero exponents with absolute value below 0x1p-32 to +/-
22871 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22872 (__ieee754_powl): Saturate nonzero exponents with absolute value
22873 below 0x1p-79 to +/- 0x1p-79.
22874 * math/libm-test.inc (pow_test): Add more tests.
22876 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22878 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22879 _dl_s390_cap_flags with kernel. Increase string length.
22880 (_dl_s390_platforms): Add z196 and zEC12.
22882 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22884 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22885 Change XOPEN21K to XOPEN2K.
22887 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22889 * string/memmove.c: Use memcpy when possible.
22891 2012-11-06 Andreas Jaeger <aj@suse.de>
22893 * po/eo.po: Update from translation team.
22895 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22899 exponent and small x and y exponents, scale x or y up. Increase
22900 by 2 the exponent used in scaling up.
22901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22902 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22903 * math/libm-test.inc (fma_test): Add more tests.
22904 (fma_test_towardzero): Likewise.
22905 (fma_test_downward): Likewise.
22906 (fma_test_upward): Likewise.
22908 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22911 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22915 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22916 namespace for names of struct fields.
22917 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22919 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22920 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22922 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22925 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22927 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22929 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22933 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22936 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22940 definitely overflow as x * y not x * y + z.
22941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22942 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22943 * math/libm-test.inc (fma_test): Add more tests.
22944 (fma_test_towardzero): Likewise.
22945 (fma_test_downward): Likewise.
22946 (fma_test_upward): Likewise.
22948 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22952 * include/stub-tag.h: Remove file.
22953 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22955 * manual/maint.texi (Porting): Don't reference it.
22956 * Makerules ($(objpfx)stubs): Likewise.
22957 * dirent/closedir.c: Don't include <stub-tag.h>.
22958 * dirent/dirfd.c: Likewise.
22959 * dirent/fdopendir.c: Likewise.
22960 * dirent/getdents.c: Likewise.
22961 * dirent/getdents64.c: Likewise.
22962 * dirent/opendir.c: Likewise.
22963 * dirent/readdir.c: Likewise.
22964 * dirent/readdir64.c: Likewise.
22965 * dirent/readdir64_r.c: Likewise.
22966 * dirent/readdir_r.c: Likewise.
22967 * dirent/rewinddir.c: Likewise.
22968 * dirent/seekdir.c: Likewise.
22969 * dirent/telldir.c: Likewise.
22970 * gmon/profil.c: Likewise.
22971 * grp/setgroups.c: Likewise.
22972 * inet/if_index.c: Likewise.
22973 * io/access.c: Likewise.
22974 * io/chdir.c: Likewise.
22975 * io/chmod.c: Likewise.
22976 * io/chown.c: Likewise.
22977 * io/close.c: Likewise.
22978 * io/dup.c: Likewise.
22979 * io/dup2.c: Likewise.
22980 * io/dup3.c: Likewise.
22981 * io/euidaccess.c: Likewise.
22982 * io/faccessat.c: Likewise.
22983 * io/fchdir.c: Likewise.
22984 * io/fchmod.c: Likewise.
22985 * io/fchmodat.c: Likewise.
22986 * io/fchown.c: Likewise.
22987 * io/fchownat.c: Likewise.
22988 * io/fcntl.c: Likewise.
22989 * io/flock.c: Likewise.
22990 * io/fstatfs.c: Likewise.
22991 * io/fstatfs64.c: Likewise.
22992 * io/fstatvfs.c: Likewise.
22993 * io/fstatvfs64.c: Likewise.
22994 * io/futimens.c: Likewise.
22995 * io/fxstat.c: Likewise.
22996 * io/fxstat64.c: Likewise.
22997 * io/fxstatat.c: Likewise.
22998 * io/fxstatat64.c: Likewise.
22999 * io/getcwd.c: Likewise.
23000 * io/isatty.c: Likewise.
23001 * io/lchmod.c: Likewise.
23002 * io/lchown.c: Likewise.
23003 * io/link.c: Likewise.
23004 * io/linkat.c: Likewise.
23005 * io/lseek.c: Likewise.
23006 * io/lseek64.c: Likewise.
23007 * io/lxstat64.c: Likewise.
23008 * io/mkdir.c: Likewise.
23009 * io/mkdirat.c: Likewise.
23010 * io/mkfifo.c: Likewise.
23011 * io/mkfifoat.c: Likewise.
23012 * io/open.c: Likewise.
23013 * io/open64.c: Likewise.
23014 * io/openat.c: Likewise.
23015 * io/openat64.c: Likewise.
23016 * io/pipe.c: Likewise.
23017 * io/pipe2.c: Likewise.
23018 * io/poll.c: Likewise.
23019 * io/posix_fadvise.c: Likewise.
23020 * io/posix_fadvise64.c: Likewise.
23021 * io/posix_fallocate.c: Likewise.
23022 * io/posix_fallocate64.c: Likewise.
23023 * io/read.c: Likewise.
23024 * io/readlink.c: Likewise.
23025 * io/readlinkat.c: Likewise.
23026 * io/rmdir.c: Likewise.
23027 * io/sendfile.c: Likewise.
23028 * io/sendfile64.c: Likewise.
23029 * io/statfs.c: Likewise.
23030 * io/statfs64.c: Likewise.
23031 * io/statvfs.c: Likewise.
23032 * io/statvfs64.c: Likewise.
23033 * io/symlink.c: Likewise.
23034 * io/symlinkat.c: Likewise.
23035 * io/ttyname.c: Likewise.
23036 * io/ttyname_r.c: Likewise.
23037 * io/umask.c: Likewise.
23038 * io/unlink.c: Likewise.
23039 * io/unlinkat.c: Likewise.
23040 * io/utime.c: Likewise.
23041 * io/utimensat.c: Likewise.
23042 * io/write.c: Likewise.
23043 * io/xmknod.c: Likewise.
23044 * io/xmknodat.c: Likewise.
23045 * io/xstat.c: Likewise.
23046 * io/xstat64.c: Likewise.
23047 * login/getpt.c: Likewise.
23048 * login/grantpt.c: Likewise.
23049 * login/unlockpt.c: Likewise.
23050 * math/e_acoshl.c: Likewise.
23051 * math/e_acosl.c: Likewise.
23052 * math/e_asinl.c: Likewise.
23053 * math/e_atan2l.c: Likewise.
23054 * math/e_atanhl.c: Likewise.
23055 * math/e_coshl.c: Likewise.
23056 * math/e_expl.c: Likewise.
23057 * math/e_fmodl.c: Likewise.
23058 * math/e_gammal_r.c: Likewise.
23059 * math/e_hypotl.c: Likewise.
23060 * math/e_j0l.c: Likewise.
23061 * math/e_j1l.c: Likewise.
23062 * math/e_jnl.c: Likewise.
23063 * math/e_lgammal_r.c: Likewise.
23064 * math/e_log10l.c: Likewise.
23065 * math/e_log2l.c: Likewise.
23066 * math/e_logl.c: Likewise.
23067 * math/e_powl.c: Likewise.
23068 * math/e_rem_pio2l.c: Likewise.
23069 * math/e_sinhl.c: Likewise.
23070 * math/e_sqrtl.c: Likewise.
23071 * math/fclrexcpt.c: Likewise.
23072 * math/fedisblxcpt.c: Likewise.
23073 * math/feenablxcpt.c: Likewise.
23074 * math/fegetenv.c: Likewise.
23075 * math/fegetexcept.c: Likewise.
23076 * math/fegetround.c: Likewise.
23077 * math/feholdexcpt.c: Likewise.
23078 * math/fesetenv.c: Likewise.
23079 * math/fesetround.c: Likewise.
23080 * math/feupdateenv.c: Likewise.
23081 * math/fgetexcptflg.c: Likewise.
23082 * math/fraiseexcpt.c: Likewise.
23083 * math/fsetexcptflg.c: Likewise.
23084 * math/ftestexcept.c: Likewise.
23085 * math/k_cosl.c: Likewise.
23086 * math/k_rem_pio2l.c: Likewise.
23087 * math/k_sinl.c: Likewise.
23088 * math/k_tanl.c: Likewise.
23089 * math/s_asinhl.c: Likewise.
23090 * math/s_atanl.c: Likewise.
23091 * math/s_cbrtl.c: Likewise.
23092 * math/s_erfl.c: Likewise.
23093 * math/s_expm1l.c: Likewise.
23094 * math/s_log1pl.c: Likewise.
23095 * math/s_tanhl.c: Likewise.
23096 * misc/acct.c: Likewise.
23097 * misc/brk.c: Likewise.
23098 * misc/chflags.c: Likewise.
23099 * misc/chroot.c: Likewise.
23100 * misc/fchflags.c: Likewise.
23101 * misc/fgetxattr.c: Likewise.
23102 * misc/flistxattr.c: Likewise.
23103 * misc/fremovexattr.c: Likewise.
23104 * misc/fsetxattr.c: Likewise.
23105 * misc/fsync.c: Likewise.
23106 * misc/ftruncate.c: Likewise.
23107 * misc/futimes.c: Likewise.
23108 * misc/futimesat.c: Likewise.
23109 * misc/getdomain.c: Likewise.
23110 * misc/getdtsz.c: Likewise.
23111 * misc/gethostid.c: Likewise.
23112 * misc/gethostname.c: Likewise.
23113 * misc/getloadavg.c: Likewise.
23114 * misc/getpagesize.c: Likewise.
23115 * misc/getsysstats.c: Likewise.
23116 * misc/getxattr.c: Likewise.
23117 * misc/gtty.c: Likewise.
23118 * misc/ioctl.c: Likewise.
23119 * misc/lgetxattr.c: Likewise.
23120 * misc/listxattr.c: Likewise.
23121 * misc/llistxattr.c: Likewise.
23122 * misc/lremovexattr.c: Likewise.
23123 * misc/lsetxattr.c: Likewise.
23124 * misc/lutimes.c: Likewise.
23125 * misc/madvise.c: Likewise.
23126 * misc/mincore.c: Likewise.
23127 * misc/mlock.c: Likewise.
23128 * misc/mlockall.c: Likewise.
23129 * misc/mmap.c: Likewise.
23130 * misc/mprotect.c: Likewise.
23131 * misc/msync.c: Likewise.
23132 * misc/munlock.c: Likewise.
23133 * misc/munlockall.c: Likewise.
23134 * misc/munmap.c: Likewise.
23135 * misc/preadv.c: Likewise.
23136 * misc/preadv64.c: Likewise.
23137 * misc/ptrace.c: Likewise.
23138 * misc/pwritev.c: Likewise.
23139 * misc/pwritev64.c: Likewise.
23140 * misc/readv.c: Likewise.
23141 * misc/reboot.c: Likewise.
23142 * misc/remap_file_pages.c: Likewise.
23143 * misc/removexattr.c: Likewise.
23144 * misc/revoke.c: Likewise.
23145 * misc/select.c: Likewise.
23146 * misc/setdomain.c: Likewise.
23147 * misc/setegid.c: Likewise.
23148 * misc/seteuid.c: Likewise.
23149 * misc/sethostid.c: Likewise.
23150 * misc/sethostname.c: Likewise.
23151 * misc/setregid.c: Likewise.
23152 * misc/setreuid.c: Likewise.
23153 * misc/setxattr.c: Likewise.
23154 * misc/sstk.c: Likewise.
23155 * misc/stty.c: Likewise.
23156 * misc/swapoff.c: Likewise.
23157 * misc/swapon.c: Likewise.
23158 * misc/sync.c: Likewise.
23159 * misc/syncfs.c: Likewise.
23160 * misc/syscall.c: Likewise.
23161 * misc/truncate.c: Likewise.
23162 * misc/ualarm.c: Likewise.
23163 * misc/usleep.c: Likewise.
23164 * misc/ustat.c: Likewise.
23165 * misc/utimes.c: Likewise.
23166 * misc/vhangup.c: Likewise.
23167 * misc/writev.c: Likewise.
23168 * posix/_exit.c: Likewise.
23169 * posix/alarm.c: Likewise.
23170 * posix/execve.c: Likewise.
23171 * posix/fexecve.c: Likewise.
23172 * posix/fork.c: Likewise.
23173 * posix/fpathconf.c: Likewise.
23174 * posix/getaddrinfo.c: Likewise.
23175 * posix/getegid.c: Likewise.
23176 * posix/geteuid.c: Likewise.
23177 * posix/getgid.c: Likewise.
23178 * posix/getgroups.c: Likewise.
23179 * posix/getlogin.c: Likewise.
23180 * posix/getlogin_r.c: Likewise.
23181 * posix/getpgid.c: Likewise.
23182 * posix/getpid.c: Likewise.
23183 * posix/getppid.c: Likewise.
23184 * posix/getresgid.c: Likewise.
23185 * posix/getresuid.c: Likewise.
23186 * posix/getsid.c: Likewise.
23187 * posix/getuid.c: Likewise.
23188 * posix/glob64.c: Likewise.
23189 * posix/nanosleep.c: Likewise.
23190 * posix/pathconf.c: Likewise.
23191 * posix/pause.c: Likewise.
23192 * posix/posix_madvise.c: Likewise.
23193 * posix/pread.c: Likewise.
23194 * posix/pread64.c: Likewise.
23195 * posix/pwrite.c: Likewise.
23196 * posix/pwrite64.c: Likewise.
23197 * posix/sched_getaffinity.c: Likewise.
23198 * posix/sched_getp.c: Likewise.
23199 * posix/sched_gets.c: Likewise.
23200 * posix/sched_primax.c: Likewise.
23201 * posix/sched_primin.c: Likewise.
23202 * posix/sched_rr_gi.c: Likewise.
23203 * posix/sched_setaffinity.c: Likewise.
23204 * posix/sched_setp.c: Likewise.
23205 * posix/sched_sets.c: Likewise.
23206 * posix/sched_yield.c: Likewise.
23207 * posix/setgid.c: Likewise.
23208 * posix/setlogin.c: Likewise.
23209 * posix/setpgid.c: Likewise.
23210 * posix/setresgid.c: Likewise.
23211 * posix/setresuid.c: Likewise.
23212 * posix/setsid.c: Likewise.
23213 * posix/setuid.c: Likewise.
23214 * posix/sleep.c: Likewise.
23215 * posix/spawni.c: Likewise.
23216 * posix/sysconf.c: Likewise.
23217 * posix/times.c: Likewise.
23218 * posix/wait.c: Likewise.
23219 * posix/wait3.c: Likewise.
23220 * posix/wait4.c: Likewise.
23221 * posix/waitpid.c: Likewise.
23222 * resolv/gai_sigqueue.c: Likewise.
23223 * resource/getpriority.c: Likewise.
23224 * resource/getrlimit.c: Likewise.
23225 * resource/getrusage.c: Likewise.
23226 * resource/nice.c: Likewise.
23227 * resource/setpriority.c: Likewise.
23228 * resource/setrlimit.c: Likewise.
23229 * resource/ulimit.c: Likewise.
23230 * rt/aio_cancel.c: Likewise.
23231 * rt/aio_fsync.c: Likewise.
23232 * rt/aio_read.c: Likewise.
23233 * rt/aio_sigqueue.c: Likewise.
23234 * rt/aio_suspend.c: Likewise.
23235 * rt/aio_write.c: Likewise.
23236 * rt/clock_getres.c: Likewise.
23237 * rt/clock_gettime.c: Likewise.
23238 * rt/clock_nanosleep.c: Likewise.
23239 * rt/clock_settime.c: Likewise.
23240 * rt/lio_listio.c: Likewise.
23241 * rt/mq_close.c: Likewise.
23242 * rt/mq_getattr.c: Likewise.
23243 * rt/mq_notify.c: Likewise.
23244 * rt/mq_open.c: Likewise.
23245 * rt/mq_receive.c: Likewise.
23246 * rt/mq_send.c: Likewise.
23247 * rt/mq_setattr.c: Likewise.
23248 * rt/mq_timedreceive.c: Likewise.
23249 * rt/mq_timedsend.c: Likewise.
23250 * rt/mq_unlink.c: Likewise.
23251 * rt/shm_open.c: Likewise.
23252 * rt/shm_unlink.c: Likewise.
23253 * rt/timer_create.c: Likewise.
23254 * rt/timer_delete.c: Likewise.
23255 * rt/timer_getoverr.c: Likewise.
23256 * rt/timer_gettime.c: Likewise.
23257 * rt/timer_settime.c: Likewise.
23258 * setjmp/__longjmp.c: Likewise.
23259 * setjmp/setjmp.c: Likewise.
23260 * signal/kill.c: Likewise.
23261 * signal/killpg.c: Likewise.
23262 * signal/raise.c: Likewise.
23263 * signal/sigaction.c: Likewise.
23264 * signal/sigaltstack.c: Likewise.
23265 * signal/sigblock.c: Likewise.
23266 * signal/sigignore.c: Likewise.
23267 * signal/sigintr.c: Likewise.
23268 * signal/signal.c: Likewise.
23269 * signal/sigpause.c: Likewise.
23270 * signal/sigpending.c: Likewise.
23271 * signal/sigqueue.c: Likewise.
23272 * signal/sigreturn.c: Likewise.
23273 * signal/sigset.c: Likewise.
23274 * signal/sigsetmask.c: Likewise.
23275 * signal/sigstack.c: Likewise.
23276 * signal/sigsuspend.c: Likewise.
23277 * signal/sigtimedwait.c: Likewise.
23278 * signal/sigvec.c: Likewise.
23279 * signal/sigwait.c: Likewise.
23280 * signal/sigwaitinfo.c: Likewise.
23281 * signal/sysv_signal.c: Likewise.
23282 * socket/accept.c: Likewise.
23283 * socket/accept4.c: Likewise.
23284 * socket/bind.c: Likewise.
23285 * socket/connect.c: Likewise.
23286 * socket/getpeername.c: Likewise.
23287 * socket/getsockname.c: Likewise.
23288 * socket/getsockopt.c: Likewise.
23289 * socket/isfdtype.c: Likewise.
23290 * socket/listen.c: Likewise.
23291 * socket/recv.c: Likewise.
23292 * socket/recvfrom.c: Likewise.
23293 * socket/recvmsg.c: Likewise.
23294 * socket/send.c: Likewise.
23295 * socket/sendmsg.c: Likewise.
23296 * socket/sendto.c: Likewise.
23297 * socket/setsockopt.c: Likewise.
23298 * socket/shutdown.c: Likewise.
23299 * socket/sockatmark.c: Likewise.
23300 * socket/socket.c: Likewise.
23301 * socket/socketpair.c: Likewise.
23302 * stdio-common/ctermid.c: Likewise.
23303 * stdio-common/cuserid.c: Likewise.
23304 * stdio-common/remove.c: Likewise.
23305 * stdio-common/rename.c: Likewise.
23306 * stdio-common/renameat.c: Likewise.
23307 * stdio-common/tempname.c: Likewise.
23308 * stdlib/getcontext.c: Likewise.
23309 * stdlib/makecontext.c: Likewise.
23310 * stdlib/setcontext.c: Likewise.
23311 * stdlib/swapcontext.c: Likewise.
23312 * stdlib/system.c: Likewise.
23313 * streams/fattach.c: Likewise.
23314 * streams/fdetach.c: Likewise.
23315 * streams/getmsg.c: Likewise.
23316 * streams/getpmsg.c: Likewise.
23317 * streams/putmsg.c: Likewise.
23318 * streams/putpmsg.c: Likewise.
23319 * sysdeps/unix/bsd/getpt.c: Likewise.
23320 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23321 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23322 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23325 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23326 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23327 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23328 * sysvipc/msgctl.c: Likewise.
23329 * sysvipc/msgget.c: Likewise.
23330 * sysvipc/msgrcv.c: Likewise.
23331 * sysvipc/msgsnd.c: Likewise.
23332 * sysvipc/semctl.c: Likewise.
23333 * sysvipc/semget.c: Likewise.
23334 * sysvipc/semop.c: Likewise.
23335 * sysvipc/semtimedop.c: Likewise.
23336 * sysvipc/shmat.c: Likewise.
23337 * sysvipc/shmctl.c: Likewise.
23338 * sysvipc/shmdt.c: Likewise.
23339 * sysvipc/shmget.c: Likewise.
23340 * termios/tcdrain.c: Likewise.
23341 * termios/tcflow.c: Likewise.
23342 * termios/tcflush.c: Likewise.
23343 * termios/tcgetattr.c: Likewise.
23344 * termios/tcgetpgrp.c: Likewise.
23345 * termios/tcsendbrk.c: Likewise.
23346 * termios/tcsetattr.c: Likewise.
23347 * termios/tcsetpgrp.c: Likewise.
23348 * time/adjtime.c: Likewise.
23349 * time/clock.c: Likewise.
23350 * time/getitimer.c: Likewise.
23351 * time/gettimeofday.c: Likewise.
23352 * time/setitimer.c: Likewise.
23353 * time/settimeofday.c: Likewise.
23354 * time/stime.c: Likewise.
23355 * time/time.c: Likewise.
23357 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23359 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23362 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23364 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23366 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23370 FE_TONEAREST before applying Dekker multiplication and Knuth
23371 addition. Clear inexact exceptions and check for exact zero
23372 results afterwards.
23373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23374 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23376 * math/libm-test.inc (fma_test): Add more tests.
23377 (fma_test_towardzero): Likewise.
23378 (fma_test_downward): Likewise.
23379 (fma_test_upward): Likewise.
23380 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23382 (libc_fesetround): New macro.
23383 (libc_fesetroundf): Likewise.
23384 (libc_fesetroundl): Likewise.
23385 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23387 (libc_fesetround_387): Likewise.
23388 (libc_fesetroundf): New macro.
23389 (libc_fesetround): Likewise.
23390 (libc_fesetroundl): Likewise.
23391 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23393 (libc_fesetroundf): New macro.
23394 (libc_fesetround): Likewise.
23395 (libc_fesetroundl): Likewise.
23396 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23397 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23398 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23400 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23401 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23403 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23404 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23406 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23410 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23411 integer constant usable in #if and use that to give value to enum
23413 (FE_DIVBYZERO): Likewise.
23414 (FE_UNDERFLOW): Likewise.
23415 (FE_OVERFLOW): Likewise.
23416 (FE_INVALID): Likewise.
23417 (FE_INVALID_SNAN): Likewise.
23418 (FE_INVALID_ISI): Likewise.
23419 (FE_INVALID_IDI): Likewise.
23420 (FE_INVALID_ZDZ): Likewise.
23421 (FE_INVALID_IMZ): Likewise.
23422 (FE_INVALID_COMPARE): Likewise.
23423 (FE_INVALID_SOFTWARE): Likewise.
23424 (FE_INVALID_SQRT): Likewise.
23425 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23426 (FE_TONEAREST): Likewise.
23427 (FE_TOWARDZERO): Likewise.
23428 (FE_UPWARD): Likewise.
23429 (FE_DOWNWARD): Likewise.
23430 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23431 (FE_DIVBYZERO): Likewise.
23432 (FE_OVERFLOW): Likewise.
23433 (FE_UNDERFLOW): Likewise.
23434 (FE_INEXACT): Likewise.
23435 (FE_TONEAREST): Likewise.
23436 (FE_DOWNWARD): Likewise.
23437 (FE_UPWARD): Likewise.
23438 (FE_TOWARDZERO): Likewise.
23439 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23440 (FE_UNDERFLOW): Likewise.
23441 (FE_OVERFLOW): Likewise.
23442 (FE_DIVBYZERO): Likewise.
23443 (FE_INVALID): Likewise.
23444 (FE_TONEAREST): Likewise.
23445 (FE_TOWARDZERO): Likewise.
23446 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23447 (FE_OVERFLOW): Likewise.
23448 (FE_UNDERFLOW): Likewise.
23449 (FE_DIVBYZERO): Likewise.
23450 (FE_INEXACT): Likewise.
23451 (FE_TONEAREST): Likewise.
23452 (FE_TOWARDZERO): Likewise.
23453 (FE_UPWARD): Likewise.
23454 (FE_DOWNWARD): Likewise.
23455 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23456 (FE_DIVBYZERO): Likewise.
23457 (FE_OVERFLOW): Likewise.
23458 (FE_UNDERFLOW): Likewise.
23459 (FE_INEXACT): Likewise.
23460 (FE_TONEAREST): Likewise.
23461 (FE_DOWNWARD): Likewise.
23462 (FE_UPWARD): Likewise.
23463 (FE_TOWARDZERO): Likewise.
23465 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23467 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23469 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23471 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23472 commands. Quote $PWD.
23473 (blacklist_exports): Don't use remove_newlines. Replace "declare
23475 (remove_newlines): Remove.
23477 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23479 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23480 * stdlib/stdlib.h (atof): Moved to ...
23481 * include/bits/stdlib-float.h: Here. New file.
23482 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23483 * stdlib/bits/stdlib-float.h: New file.
23484 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23486 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23489 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23491 * conform/conformtest.pl (@headers): Add fenv.h.
23492 * conform/data/fenv.h-data: New file.
23493 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23494 include of <math/fenv.h>.
23496 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23497 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23498 && !UNIX98]. Enables tests for XOPEN2K8.
23499 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23500 POSIX2008]: Likewise.
23502 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23503 (struct rusage): Do not expect type or its members.
23506 * math/math.h (FP_NAN): Define macro to integer constant usable in
23507 #if and use that to give value to enum constant.
23508 (FP_INFINITE): Likewise.
23509 (FP_ZERO): Likewise.
23510 (FP_SUBNORMAL): Likewise.
23511 (FP_NORMAL): Likewise.
23513 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23515 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23516 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23519 2012-11-02 Roland McGrath <roland@hack.frob.com>
23521 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23522 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23523 autoconf-time if not.
23524 * configure.in: Remove AC_PREREQ.
23526 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23528 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23529 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23530 of the internal implementation.
23532 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23534 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23535 except include of <misc/sys/syslog.h>.
23537 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23540 function returns with a NULL context exit with zero.
23542 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23544 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23546 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23548 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23549 (run_program_cmd): This.
23550 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23551 (tst_langinfo): New variable. Use it.
23553 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23555 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23556 floating point opcodes.
23558 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23560 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23563 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23565 * sysdeps/mach/hurd/powerpc: Remove directory.
23566 * sysdeps/mach/powerpc: Likewise.
23568 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23570 * scripts/check-local-headers.sh: Ignore c++ headers.
23572 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23574 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23575 __libc_cleanup_region_start argument.
23577 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23582 x * y using scaling, not as x * y + z.
23583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23585 * math/libm-test.inc (fma_test): Add more tests.
23586 (fma_test_towardzero): Likewise.
23587 (fma_test_downward): Likewise.
23588 (fma_test_upward): Likewise.
23590 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23592 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23594 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23596 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23599 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23601 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23603 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23610 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23613 Fix the order of the list for glibc 2.17.
23614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23617 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23621 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23624 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23625 for low part of x being zero before using __atanl (y).
23626 * math/libm-test.inc (atan2_test): Add another test.
23628 * manual/install.texi (Configuring and compiling): Document
23629 general use of test-wrapper and test-wrapper-env.
23630 * INSTALL: Regenerated.
23632 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23633 (__fma): Do not extract and scale down low bits on after-rounding
23634 systems when result rounded to normal precision would have normal
23636 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23637 (__fmal): Do not extract and scale down low bits on after-rounding
23638 systems when result rounded to normal precision would have normal
23640 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23641 (__fmal): Do not extract and scale down low bits on after-rounding
23642 systems when result rounded to normal precision would have normal
23644 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23646 (fma_test): Add more tests.
23647 (fma_test_towardzero): Likewise.
23648 (fma_test_downward): Likewise.
23649 (fma_test_upward): Likewise.
23651 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23653 * sysdeps/i386/tininess.h: Renamed to ...
23654 * sysdeps/x86/tininess.h: This.
23655 * sysdeps/x86_64/tininess.h: Removed.
23657 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23659 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23660 input. Use $(build-program-cmd).
23661 ($(objpfx)tst-array1-static.out): Likewise.
23662 ($(objpfx)tst-array2.out): Likewise.
23663 ($(objpfx)tst-array3.out): Likewise.
23664 ($(objpfx)tst-array4.out): Likewise.
23665 ($(objpfx)tst-array5.out): Likewise.
23666 ($(objpfx)tst-array5-static.out): Likewise.
23668 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23670 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23673 * nss/nsswitch.h (nss_interface_function): Provide new
23674 macro for use with NSS functions.
23675 * grp/initgroups.c: Use new macro.
23676 * nss/getXXbyYY.c: Likewise.
23677 * nss/getXXbyYY_r.c: Likewise.
23678 * nss/getXXent.c: Likewise.
23679 * nss/getXXent_r.c: Likewise.
23680 * sysdeps/posix/getaddrinfo.c: Likewise.
23682 2012-10-30 Andreas Jaeger <aj@suse.de>
23684 * po/ru.po: Update Russion translation from translation project.
23686 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23691 result and shift together with sticky bit instead of replicating
23692 round-to-nearest rounding.
23693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23695 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23696 missing underflow exceptions.
23697 (fma_test_towardzero): Add more tests.
23698 (fma_test_downward): Likewise.
23699 (fma_test_upward): Likewise.
23702 * sysdeps/generic/tininess.h: New file.
23703 * sysdeps/i386/tininess.h: Likewise.
23704 * sysdeps/sh/tininess.h: Likewise.
23705 * sysdeps/x86_64/tininess.h: Likewise.
23706 * stdlib/tst-strtod-underflow.c: Likewise.
23707 * stdlib/tst-tininess.c: Likewise.
23708 * stdlib/strtod_l.c: Include <tininess.h>.
23709 (round_and_return): Do not set errno for exact underflow cases.
23710 Force an underflow exception when setting errno for underflow.
23711 Determine underflow based on rounding to normal precision if
23712 TININESS_AFTER_ROUNDING.
23713 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23714 ERANGE for exact underflow cases.
23715 * stdlib/Makefile (tests): Add tst-tininess and
23716 tst-strtod-underflow.
23717 ($(objpfx)tst-tininess): Use $(link-libm).
23718 ($(objpfx)tst-strtod-underflow): Likewise.
23720 2012-10-30 Andreas Jaeger <aj@suse.de>
23723 * elf/Makefile (tests): Remove conditional for have-initfini-array
23724 since this is now always required and the variable does not exist
23726 (tests-static): Likewise.
23727 (modules-names): Likewise.
23729 * po/eo.po: Add Esperanto translation from translation project.
23731 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23732 merged with constructor/destructor.
23733 (init_array): Likewise.
23734 * elf/tst-array2dep.c (fini_array): Likewise.
23735 (init_array): Likewise.
23737 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23739 * manual/message.texi: Delete @cartouche tags.
23741 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23743 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23745 * sysdeps/mach/hurd/fsync.c: Likewise.
23747 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23748 [_POSIX_REALTIME_SIGNALS]: Change condition to
23749 [_POSIX_REALTIME_SIGNALS > 0].
23751 2012-10-27 Andreas Jaeger <aj@suse.de>
23753 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23754 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23756 [__WORDSIZE != 64]: Likewise.
23758 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23760 * iconvdata/tst-table.sh: Remove ${SHELL}.
23761 * iconvdata/tst-tables.sh: Likewise.
23763 2012-10-25 David S. Miller <davem@davemloft.net>
23765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23766 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23771 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23772 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23773 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23776 2012-10-25 Roland McGrath <roland@hack.frob.com>
23778 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23779 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23782 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23783 Jim Blandy <jimb@codesourcery.com>
23785 * scripts/cross-test-ssh.sh: New file.
23786 * manual/install.texi (Configuring and compiling): Document use of
23788 * INSTALL: Regenerated.
23790 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23792 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23795 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23797 * Makeconfig (run-program-prefix): Fix comment.
23799 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23800 Jim Blandy <jimb@codesourcery.com>
23802 * Makeconfig (test-wrapper): New variable,
23803 (test-wrapper-env): Likewise.
23804 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23805 (run-built-tests): Define to yes.
23806 (run-program-prefix): Use $(test-wrapper).
23807 (built-program-cmd): Likewise.
23808 * Rules (make-test-out): Use $(test-wrapper-env) and
23809 $(host-built-program-cmd).
23810 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23811 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23813 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23814 $(test-wrapper-env) to tst-rtld-load-self.sh.
23815 ($(objpfx)order2.out): Use $(test-wrapper).
23816 ($(objpfx)tst-initorder.out): Likewise.
23817 ($(objpfx)tst-initorder2.out): Likewise.
23818 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23819 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23820 (test_wrapper_env): New variable. Use it to run ld.so.
23821 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23822 Use it to run ld.so.
23823 (test_wrapper_env): Likewise.
23824 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23825 $(test-wrapper) to run-iconv-test.sh.
23826 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23827 (ICONV): Use $test_wrapper.
23828 * posix/Makefile ($(objpfx)globtest.out): Pass
23829 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23830 globtest.sh, not $(run-program-prefix).
23831 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23832 (test_wrapper): Likewise.
23833 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23834 set together with run_via_rtld_prefix.
23835 (run_program_prefix): Define in terms of test_wrapper and
23836 run_via_rtld_prefix.
23838 2012-10-24 Roland McGrath <roland@hack.frob.com>
23840 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23841 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23845 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23846 Declare __clock_getres, __clock_gettime, __clock_settime,
23847 __clock_nanosleep, and __clock_getcpuclockid.
23848 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23849 Remove librt_hidden_def (clock_gettime).
23850 * sysdeps/unix/clock_gettime.c: Likewise.
23851 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23853 * rt/clock_getres.c: Define __clock_getres as an alias.
23854 * sysdeps/posix/clock_getres.c: Likewise.
23855 * rt/clock_settime.c: Define __clock_settime as an alias.
23856 * sysdeps/unix/clock_settime.c: Likewise.
23857 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23858 * sysdeps/unix/clock_nanosleep.c: Likewise.
23859 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23860 * rt/clock-compat.c: New file.
23861 * rt/Makefile (librt-routines): Add clock-compat and move
23862 $(clock-routines) to ...
23863 (routines): ... here, new variable.
23864 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23865 Don't add get_clockfreq here.
23866 * rt/Versions (libc: GLIBC_2.17): New version set.
23867 Add clock_* symbols here.
23868 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23869 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23870 (GLIBC_2.17): Add clock_* symbols.
23871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23882 * NEWS: Mention the move.
23884 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23885 Use __open, __read, __close rather than their public counterparts.
23886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23887 (__get_clockfreq_via_cpuinfo): Likewise.
23888 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23889 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23891 * config.h.in (HAVE_IFUNC): New #undef.
23892 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23894 * configure: Regenerated.
23896 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23898 * configure.in: Move READELF check to start of file.
23899 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23900 libc_cv_asm_gnu_indirect_function in the process.
23901 * configure: Regenerated.
23903 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23905 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23906 send the output to /dev/null.
23907 (libc_cv_cc_with_libunwind): Likewise.
23908 (libc_cv_as_noexecstack): Likewise.
23909 * configure: Regenerate.
23911 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23913 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23915 * posix/globtest.sh (TMPDIR): Do not set.
23916 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23917 (testout): Likewise.
23919 2012-10-24 Andreas Jaeger <aj@suse.de>
23921 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23922 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23923 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23924 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23925 posix_fadvise64, posix_fallocate64.
23927 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23928 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23929 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23931 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23933 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23936 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23937 <bits/fcntl-linux.h>.
23938 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23941 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23942 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23943 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23944 [__WORDSIZE != 64]: Likewise.
23946 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23948 * Makeconfig (run-built-tests): New variable.
23949 * Rules [$(cross-compiling) = yes]: Change condition to
23950 [$(run-built-tests) = no].
23951 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23952 to [$(run-built-tests) = yes].
23953 * elf/Makefile [$(cross-compiling) = no]: Likewise
23954 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23955 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23956 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23957 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23958 * io/Makefile [$(cross-compiling) = no]: Likewise.
23959 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23960 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23961 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23962 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23963 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23964 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23965 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23966 * string/Makefile [$(cross-compiling) = no]: Likewise.
23968 * posix/Makefile ($(objpfx)globtest.out): Pass
23969 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23970 $(rtld-installed-name).
23971 * posix/globtest.sh (elf_objpfx): Remove variable.
23972 (rtld_installed_name): Likewise.
23973 (library_path): Likewise.
23974 (run_program_prefix): New variable. Use for running globtest
23977 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23978 Joseph Myers <joseph@codesourcery.com>
23980 * Makeconfig (host-built-program-cmd): New variable.
23981 * elf/Makefile (tst-stackguard1-ARGS): Use
23982 $(host-built-program-cmd).
23983 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23984 (tst-spawn-ARGS): Likewise.
23985 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23987 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23988 Jim Blandy <jimb@codesourcery.com>
23990 * Makeconfig (run-via-rtld-prefix): New variable.
23991 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23992 (built-program-cmd): Likewise.
23994 2012-10-22 Andreas Jaeger <aj@suse.de>
23996 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23997 __O_RSYNC if it exists, otherwise to O_SYNC.
23999 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24000 Joseph Myers <joseph@codesourcery.com>
24002 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24004 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24006 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24009 2012-10-22 Andreas Jaeger <aj@suse.de>
24011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24015 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24016 bits/fcntl-linux.h.
24018 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24019 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24026 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24027 Joseph Myers <joseph@codesourcery.com>
24029 * config.make.in (NM): New variable.
24031 2012-10-21 Andreas Jaeger <aj@suse.de>
24033 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24034 definitions and declarations that are provided by
24035 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24037 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24040 * elf/Makefile (tests-static): Add tst-leaks1-static.
24041 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24042 ($(objpfx)tst-leaks1-static): New rule.
24043 ($(objpfx)tst-leaks1-static-mem): Likewise.
24044 (tst-leaks1-static-ENV): New macro.
24045 * elf/dl-open.c (dl_open_worker): Check the main application
24046 only if SHARED is defined.
24047 * elf/tst-leaks1-static.c: New file.
24049 2012-10-20 Andreas Jaeger <aj@suse.de>
24051 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24052 generic values for Linux.
24053 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24054 and declarations that are provided by <bits/fcntl-linux.h> and
24055 include <bits/fcntl-linux.h>.
24056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24057 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24059 2012-10-20 Roland McGrath <roland@hack.frob.com>
24061 * io/fcntl.h: Move include of <bits/types.h> to the top and
24062 include it unconditionally.
24064 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24066 * wcsmbs/Makefile (tests-ifunc): New variable.
24067 (tests): Add $(tests-ifunc).
24068 * wcsmbs/test-wcschr-ifunc.c: New file.
24069 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24070 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24071 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24072 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24073 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24075 * string/Makefile (tests-ifunc): New variable.
24076 (tests): Add $(tests-ifunc).
24077 * string/test-memccpy.c (TEST_NAME): New macro.
24078 * string/test-memchr.c (TEST_NAME): Likewise.
24079 * string/test-memcmp.c (TEST_NAME): Likewise.
24080 * string/test-memcpy.c (TEST_NAME): Likewise.
24081 * string/test-memmem.c (TEST_NAME): Likewise.
24082 * string/test-memmove.c (TEST_NAME): Likewise.
24083 * string/test-memset.c (TEST_NAME): Likewise.
24084 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24085 * string/test-stpcpy.c (TEST_NAME): Likewise.
24086 * string/test-stpncpy.c (TEST_NAME): Likewise.
24087 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24088 * string/test-strcasestr.c (TEST_NAME): Likewise.
24089 * string/test-strcat.c (TEST_NAME): Likewise.
24090 * string/test-strchr.c (TEST_NAME): Likewise.
24091 * string/test-strcmp.c(TEST_NAME): Likewise.
24092 * string/test-strcpy.c (TEST_NAME): Likewise.
24093 * string/test-strcspn.c (TEST_NAME): Likewise.
24094 * string/test-strlen.c (TEST_NAME): Likewise.
24095 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24096 * string/test-strncmp.c (TEST_NAME): Likewise.
24097 * string/test-strncpy.c (TEST_NAME): Likewise.
24098 * string/test-strnlen.c (TEST_NAME): Likewise.
24099 * string/test-strpbrk.c (TEST_NAME): Likewise.
24100 * string/test-strrchr.c (TEST_NAME): Likewise.
24101 * string/test-strspn.c (TEST_NAME): Likewise.
24102 * string/test-strstr.c (TEST_NAME): Likewise.
24103 * string/test-bcopy-ifunc.c: New file.
24104 * string/test-bzero-ifunc.c: Likewise.
24105 * string/test-memccpy-ifunc.c: Likewise.
24106 * string/test-memchr-ifunc.c: Likewise.
24107 * string/test-memcmp-ifunc.c: Likewise.
24108 * string/test-memcpy-ifunc.c: Likewise.
24109 * string/test-memmem-ifunc.c: Likewise.
24110 * string/test-memmove-ifunc.c: Likewise.
24111 * string/test-mempcpy-ifunc.c: Likewise.
24112 * string/test-memset-ifunc.c: Likewise.
24113 * string/test-rawmemchr-ifunc.c: Likewise.
24114 * string/test-stpcpy-ifunc.c: Likewise.
24115 * string/test-stpncpy-ifunc.c: Likewise.
24116 * string/test-strcasecmp-ifunc.c: Likewise.
24117 * string/test-strcasestr-ifunc.c: Likewise.
24118 * string/test-strcat-ifunc.c: Likewise.
24119 * string/test-strchr-ifunc.c: Likewise.
24120 * string/test-strchrnul-ifunc.c: Likewise.
24121 * string/test-strcmp-ifunc.c: Likewise.
24122 * string/test-strcpy-ifunc.c: Likewise.
24123 * string/test-strcspn-ifunc.c: Likewise.
24124 * string/test-strlen-ifunc.c: Likewise.
24125 * string/test-strncasecmp-ifunc.c: Likewise.
24126 * string/test-strncat-ifunc.c: Likewise.
24127 * string/test-strncmp-ifunc.c: Likewise.
24128 * string/test-strncpy-ifunc.c: Likewise.
24129 * string/test-strnlen-ifunc.c: Likewise.
24130 * string/test-strpbrk-ifunc.c: Likewise.
24131 * string/test-strrchr-ifunc.c: Likewise.
24132 * string/test-strspn-ifunc.c: Likewise.
24133 * string/test-strstr-ifunc.c: Likewise.
24135 * debug/Makefile (tests-ifunc): New variable.
24136 (tests): Add $(tests-ifunc).
24137 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24138 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24139 * debug/test-stpcpy_chk-ifunc.c: New file.
24140 * debug/test-strcpy_chk-ifunc.c: Likewise.
24142 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24145 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24146 header is not read in.
24148 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24150 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24151 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24152 directly. Pass built executable to script as
24153 $(built-program-cmd).
24154 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24155 $testprogram without using LD_LIBRARY_PATH and $ldso.
24157 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24158 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24159 $(rtld-installed-name).
24160 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24161 (rtld_installed_name): Likewise.
24162 (library_path): Likewise.
24163 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24164 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24165 $(run-program-prefix) to tst-tables.sh.
24166 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24167 it to run tst-table-from and tst-table-to.
24168 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24169 Pass it to tst-table.sh.
24170 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24171 $(run-program-prefix) to tst-gettext.sh.
24172 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24174 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24176 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24177 to run tst-gettext.
24178 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24179 to run tst-gettext2.
24180 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24181 to run tst-translit.
24182 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24183 $(run-program-prefix) to tst-mtrace.sh.
24184 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24186 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24187 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24188 $(rtld-installed-name).
24189 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24190 (rtld_installed_name): Likewise.
24191 (run_program_prefix): New variable. Use it to run wordexp-test.
24193 * Makeconfig (ARCH): Remove all definitions.
24194 (machine): Likewise.
24195 [ARCH]: Remove conditional code.
24196 [!objdir]: Give error.
24197 [!objdir] (objpfx): Remove.
24198 [!objdir] (common-objpfx): Likewise.
24199 [!objdir] (common-objdir): Likewise.
24200 * configure.in (config_makefile): Remove. Hardcode Makefile in
24201 AC_CONFIG_FILES call.
24202 * configure: Regenerated.
24205 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24207 (testout): Likewise.
24209 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24210 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24211 $(rtld-installed-name).
24212 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24213 (rtld_installed_name): Likwise.
24214 (runit): Remove function.
24215 (run_getconf): New variable, Use it for running getconf binary.
24217 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24220 * string/test-memmem.c (check_result): New function.
24221 (do_one_test): Use it.
24222 (check1): New function.
24223 (test_main): Use it.
24225 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24227 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24229 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24231 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24232 (_G_LSEEK64): Likewise.
24233 (_G_MMAP64): Likewise.
24234 (_G_FSTAT64): Likewise.
24235 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24236 (_G_LSEEK64): Likewise.
24237 (_G_MMAP64): Likewise.
24238 (_G_FSTAT64): Likewise.
24239 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24240 unconditional. Call __mmap64 directly.
24241 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24242 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24243 __lseek64 directly.
24244 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24245 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24247 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24248 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24249 __lseek64 directly.
24250 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24251 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24252 __lseek64 directly.
24253 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24254 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24255 __lseek64 directly.
24256 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24257 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24258 __fxstat64 directly.
24259 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24260 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24262 (freopen64) [!_G_OPEN64]: Remove conditional code.
24263 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24265 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24266 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24268 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24269 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24271 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24272 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24274 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24275 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24277 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24278 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24280 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24281 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24283 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24285 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24288 * manual/memory.texi (Malloc Tunable Parameters): Add note
24289 about free list pointers overwriting some perturb bytes.
24290 Wording suggested by Roland McGrath.
24292 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24294 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24295 (lgamma_test): Likewise.
24296 (tgamma_test): Likewise.
24298 2012-10-16 Florian Weimer <fweimer@redhat.com>
24301 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24302 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24304 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24306 * NEWS: Mention BZ #14716.
24307 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24308 when removing AVAILABLE1_USES_J macro.
24310 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24312 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24313 (__bswap_64): __uint64_t for unsigned 64-bit int.
24315 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24317 * include/string.h (memmem): Declare libc hidden alias.
24318 * string/memmem.c (memmem): Define libc hidden alias.
24319 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24320 __read, __close instead of open, read, close.
24322 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24325 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24327 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24328 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24329 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24331 (__rawmemchr_sse2): Likewise.
24332 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24333 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24334 (__strchr_sse2): Likewise.
24335 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24336 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24337 (__strcasecmp_sse2): Likewise.
24338 (__strncasecmp_sse2): Likewise.
24339 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24340 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24341 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24342 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24343 (__strrchr_sse2): Likewise.
24344 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24346 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24347 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24348 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24349 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24350 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24351 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24352 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24353 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24354 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24355 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24356 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24357 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24358 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24359 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24360 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24361 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24362 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24363 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24364 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24365 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24366 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24367 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24368 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24369 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24370 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24371 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24372 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24373 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24374 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24375 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24377 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24379 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24380 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24381 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24382 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24384 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24386 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24387 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24388 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24389 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24391 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24392 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24393 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24394 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24395 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24396 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24397 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24398 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24399 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24400 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24402 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24403 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24404 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24405 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24406 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24407 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24408 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24409 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24410 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24411 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24412 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24413 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24414 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24415 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24416 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24417 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24418 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24419 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24420 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24421 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24424 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24425 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24426 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24428 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24429 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24430 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24431 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24433 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24434 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24435 * include/ifunc-impl-list.h: New file.
24436 * misc/ifunc-impl-list.c: Likewise.
24437 * misc/Makefile (routines): Add ifunc-impl-list.
24438 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24439 * string/test-string.h: Include <ifunc-impl-list.h>.
24440 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24441 TEST_NAME]: New variables.
24442 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24444 (test_init): Call __libc_ifunc_impl_list to initialize
24445 func_list if TEST_IFUNC and TEST_NAME are defined.
24447 * string/Makefile (strop-tests): Add bcopy and bzero.
24448 * string/test-bcopy.c: New file.
24449 * string/test-bzero.c: Likewise.
24450 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24452 * string/test-memset.c: Support bzero test if TEST_BZERO is
24454 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24456 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24458 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24461 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24463 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24464 * configure: Regenerated.
24466 * Makeconfig (+link-static-before-libc): Don't include
24467 $(link-static-libc).
24469 * libio/libio.h (_IO_pos_t): Remove.
24471 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24473 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24476 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24478 * crypt/crypt-entry.c: Include fips-private.h.
24479 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24480 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24481 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24482 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24484 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24486 * crypt/crypt-private.h: Include stdbool.h.
24487 (_ufc_setup_salt_r): Return bool.
24488 * crypt/crypt-entry.c: Include errno.h.
24489 (__crypt_r): Return NULL with EINVAL for bad salt.
24490 * crypt/crypt_util.c (bad_for_salt): New.
24491 (_ufc_setup_salt_r): Check that salt is long enough and within
24492 the specified alphabet.
24493 * crypt/badsalttest.c: New file.
24494 * crypt/Makefile (tests): Add it.
24495 ($(objpfx)badsalttest): New.
24497 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24499 * NEWS: Add entry for BZ #14602.
24501 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24503 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24505 * math/libm-test.inc: Update comment listing what functions and
24507 (isgreater_test): New function.
24508 (isgreaterequal_test): Likewise.
24509 (isless_test): Likewise.
24510 (islessequal_test): Likewise.
24511 (islessgreater_test): Likewise.
24512 (isunordered_test): Likewise.
24513 (main): Call the new functions.
24515 2012-10-09 Roland McGrath <roland@hack.frob.com>
24517 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24518 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24519 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24520 * sysdeps/i386/configure: Regenerated.
24521 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24522 * sysdeps/mach/configure: Regenerated.
24523 * sysdeps/mach/hurd/configure: Regenerated.
24524 * sysdeps/powerpc/configure: Regenerated.
24525 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24526 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24527 * sysdeps/s390/s390-32/configure: Regenerated.
24528 * sysdeps/s390/s390-64/configure: Regenerated.
24529 * sysdeps/sh/configure: Regenerated.
24530 * sysdeps/sparc/configure: Regenerated.
24531 * sysdeps/unix/sysv/linux/configure: Regenerated.
24532 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24533 * sysdeps/x86_64/configure: Regenerated.
24535 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24536 defined. Don't check if MAP is NULL.
24538 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24540 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24541 (_G_stat64): Likewise.
24542 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24543 (_G_stat64): Likewise.
24544 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24545 instead of struct _G_stat64.
24546 * libio/fileops.c (mmap_remap_check): Likewise.
24547 (decide_maybe_mmap): Likewise.
24548 (_IO_new_file_seekoff): Likewise.
24549 (_IO_file_stat): Likewise.
24550 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24552 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24553 instead of struct _G_stat64.
24554 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24556 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24559 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24561 (CHECK_EOL): New macro.
24562 (two_way_short_needle): Check beginning of haystack for EOL. Use
24564 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24565 Replace with CHECK_EOL.
24566 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24567 Replace with CHECK_EOL.
24569 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24571 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24573 * math/libm-test.inc: Update comment listing what functions and
24575 (finite_test): New function.
24576 (isinf_test): Likewise.
24577 (isnan_test): Likewise.
24578 (fpclassify_test): Test subnormal input.
24579 (isfinite_test): Likewise.
24580 (isnormal_test): Likewise.
24581 (main): Call the new functions.
24583 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24586 * Makerules (%.dynsym): Force C locale when running
24587 $(OBJDUMP) --dynamic-syms.
24589 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24591 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24594 2012-10-06 David S. Miller <davem@davemloft.net>
24596 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24597 upper 32-bits of the length value in %o2 since we use branch-on-register
24598 tests which consider the entire 64-bit register.
24600 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24602 * string/test-strstr.c (check2): Add a test for page boundary.
24604 2012-10-05 David S. Miller <davem@davemloft.net>
24606 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24607 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24609 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24611 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24612 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24613 and bzero when HWCAP_SPARC_CRYPTO is present.
24615 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24618 * string/test-strstr.c (check2): New function.
24619 (test_main): Call check2.
24621 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24623 * string/bug-strcasestr1.c (do_test): Moved to ...
24624 * string/test-strcasestr.c (check1): Here. New function.
24625 (do_one_test): Break out result checking code into ...
24626 (check_result): This. New function.
24627 (do_one_test): Call check_result.
24628 (test_main): Call check1.
24629 * string/bug-strchr1.c (do_test): Moved to ...
24630 * string/test-strchr.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-strstr1.c (main): Moved to ...
24636 * string/test-strstr.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-strcasestr1.c: Removed.
24642 * string/bug-strchr1.c: Likewise.
24643 * string/bug-strstr1.c: Likewise.
24645 * elf/Makefile (dl-routines): Add hwcaps.
24646 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24647 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24648 (_dl_important_hwcaps): Moved to ...
24649 * elf/dl-hwcaps.c: Here. New file.
24650 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24653 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24654 if IS_IN_rtld isn't defined.
24656 * elf/dl-support.c (_dl_sysinfo_map): New.
24657 Include "get-dynamic-info.h" and "setup-vdso.h".
24658 (_dl_non_dynamic_init): Call setup_vdso.
24659 * elf/dynamic-link.h: Don't include <assert.h>.
24660 (elf_get_dynamic_info): Moved to ...
24661 * elf/get-dynamic-info.h: Here. New file.
24662 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24663 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24664 * elf/setup-vdso.h: Here. New file.
24665 * elf/rtld.c: Include "setup-vdso.h".
24666 (dl_main): Call setup_vdso.
24668 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24670 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24671 creal in comment listing functions tested. List finite, isinf,
24672 isnan, isless, islessequal, isgreater, isgreaterequal,
24673 islessgreater, isunordered, lgamma_r and pow10 as functions and
24674 macros not tested. Mention which functions not tested are aliases
24675 for other functions. Fix typo. Note that signs of NaNs are not
24678 * scripts/config.guess: Update from config.git.
24679 * scripts/config.sub: Likewise.
24681 2012-10-04 Roland McGrath <roland@hack.frob.com>
24683 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24684 * misc/madvise.c (madvise): Renamed to __madvise.
24685 Make madvise a weak alias.
24686 * include/sys/mman.h: Declare __madvise.
24687 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24688 * sysdeps/unix/syscalls.list
24689 (madvise): Make __madvise the strong name, and madvise a weak alias.
24690 * sysdeps/unix/sysv/linux/syscalls.list
24691 (madvise, mmap): Remove redundant entries.
24692 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24693 * malloc/malloc.c (mtrim): Likewise.
24694 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24696 2012-10-03 Roland McGrath <roland@hack.frob.com>
24698 * sysdeps/mach/hurd/dl-cache.c: File removed.
24699 * config.h.in (USE_LDCONFIG): New #undef.
24700 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24701 * configure: Regenerated.
24702 * elf/Makefile (dl-routines): Add dl-cache only under
24703 [$(use-ldconfig) = yes].
24704 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24705 cache on [USE_LDCONFIG].
24706 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24708 * elf/rtld.c (dl_main): Likewise.
24710 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24712 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24713 _SC_LEVEL4_CACHE_LINESIZE.
24715 2012-10-03 Roland McGrath <roland@hack.frob.com>
24717 * sysdeps/unix/bsd/confstr.h: File removed.
24719 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24721 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24724 2012-10-02 Roland McGrath <roland@hack.frob.com>
24726 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24727 Make 'mapoff' field ElfW(Off) rather than off_t.
24729 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24731 * nscd/Makefile: Remove nscd-cflags and all its users.
24732 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24733 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24736 * malloc.c (malloc_printerr): Clarify error message.
24738 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24742 Set bit_FMA_Usable if FMA is supported.
24743 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24745 (bit_FMA4_Usable): Updated.
24746 (index_FMA_Usable): New macro.
24747 (CPUID_FMA): Likewise
24748 (HAS_FMA): Defined with bit_FMA_Usable.
24750 2012-10-01 Roland McGrath <roland@hack.frob.com>
24752 * bits/types.h (__swblk_t): Type removed.
24753 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24754 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24755 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24756 (__SWBLK_T_TYPE): Likewise.
24757 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24758 (__SWBLK_T_TYPE): Likewise.
24759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24760 (__SWBLK_T_TYPE): Likewise.
24761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24762 (__SWBLK_T_TYPE): Likewise.
24764 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24765 Honza Horak <hhorak@redhat.com>
24767 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24768 (xdr_mapname): Use YPMAXMAP as maxsize.
24769 (xdr_peername): Use YPMAXPEER as maxsize.
24770 (xdr_keydat): Use YPAXRECORD as maxsize.
24771 (xdr_valdat): Use YPMAXRECORD as maxsize.
24773 2012-10-01 Roland McGrath <roland@hack.frob.com>
24775 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24777 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24778 * csu/init-first.c: ... here.
24779 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24780 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24781 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24782 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24783 * sysdeps/i386/init-first.c: File removed.
24784 * sysdeps/sh/init-first.c: File removed.
24786 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24790 if x * y might underflow to zero and z is zero.
24791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24793 * math/libm-test.inc (min_subnorm_value): New variable.
24794 (fma_test): Add more tests.
24795 (fma_test_towardzero): Likewise.
24796 (fma_test_downward): Likewise
24797 (fma_test_upward): Likewise.
24798 (initialize): Set min_subnorm_value.
24800 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24805 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24806 mode for addition resulting in exact zero.
24807 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24810 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24811 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24812 * math/libm-test.inc (fma_test): Add more tests.
24813 (fma_test_towardzero): New function.
24814 (fma_test_downward): Likewise.
24815 (fma_test_upward): Likewise.
24816 (main): Call the new functions.
24818 2012-09-28 David S. Miller <davem@davemloft.net>
24820 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24822 2012-09-28 Roland McGrath <roland@hack.frob.com>
24824 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24825 instead of SIGALRM.
24827 * sysdeps/gnu/_G_config.h: Moved to ...
24828 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24829 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24830 * sysdeps/generic/_G_config.h: ... here.
24832 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24834 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24836 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24837 Conditionalize target on [libnss_test1.so-version].
24839 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24841 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24842 (elfobjdir): Move out of conditionals.
24844 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24845 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24846 (__nss_lookup_function): Conditionalize label remove_from_tree on
24847 [!DO_STATIC_NSS || SHARED], matching its only use.
24849 2012-09-28 David S. Miller <davem@davemloft.net>
24851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24852 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24854 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24856 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24858 when HWCAP_SPARC_CRYPTO is present.
24860 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24862 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24864 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24867 * stdio-common/vfprintf.c (process_string_arg): Revert
24870 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24872 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24874 * stdio-common/tst-sprintf.c: Include <locale.h>
24875 (main): Test sprintf's handling of incomplete multibyte
24878 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24880 * elf/dl-runtime.c (VERSYMIDX): Removed.
24881 * elf/dl-version.c (VERSYMIDX): Likewise.
24882 * elf/do-rel.h (VERSYMIDX): Likewise.
24883 (VALIDX): Likewise.
24884 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24885 * elf/rtld.c (VALIDX): Likewise.
24886 (ADDRIDX): Likewise.
24887 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24888 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24889 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24890 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24891 (VALIDX): Likewise.
24892 (ADDRIDX): Likewise.
24894 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24896 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24898 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24901 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24903 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24904 addresses are in the same scope as 192.0.2/24.
24905 * posix/gai.conf: Document new scope table defaults.
24907 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24910 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24911 for ftell. Compute offsets from write pointers instead.
24912 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24914 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24917 * libio/Makefile (tests): New test case tst-fseek.
24918 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24919 combination works in wide mode.
24920 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24921 state when the external buffer state changes.
24923 2012-09-27 David S. Miller <davem@davemloft.net>
24926 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24927 pass reloc->r_addend in as the 'high' argument to
24928 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24932 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24934 * rt/tst-aio2.c: Include <pthread.h>.
24935 * rt/tst-aio3.c: Likewise.
24937 2012-09-27 Steve Ellcey <sellcey@mips.com>
24939 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24941 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24943 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24944 contents on [SHARED].
24946 2012-09-26 Marek Polacek <polacek@redhat.com>
24950 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24951 for C++ and GCC <4.3 as well as for non GCC compilers.
24953 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24957 2012-09-25 Roland McGrath <roland@hack.frob.com>
24959 * Makefile.in (all, install): Declare with .PHONY.
24960 Reported by Michael Hope <michael.hope@linaro.org>.
24962 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24964 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24965 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24967 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24969 (sydep_routines): Add the new and the internal functions.
24970 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24971 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24973 (GLIBC_2.17): Add the new function.
24974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24975 (GLIBC_2.17): Likewise.
24976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24977 (GLIBC_2.17): Likewise.
24978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24979 (GLIBC_2.17): Likewise.
24980 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24982 2012-09-25 Alan Modra <amodra@gmail.com>
24984 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24985 Add release barrier before setting once_control to say
24986 initialisation is done. Add hints on lwarx. Use macro in
24988 (clear_once_control): Add release barrier.
24990 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24993 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24995 * math/s_clog10.c (__clog10): Likewise.
24996 * math/s_clog10f.c (__clog10f): Likewise.
24997 * math/s_clog10l.c (__clog10l): Likewise.
24998 * math/s_clogf.c (__clogf): Likewise.
24999 * math/s_clogl.c (__clogl): Likewise.
25000 * math/Makefile (libm-calls): Add x2y2m1.
25001 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25002 (__x2y2m1): Likewise.
25003 (__x2y2m1l): Likewise.
25004 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25005 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25006 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25007 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25008 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25009 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25010 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25011 * sysdeps/i386/fpu/libm-test-ulps: Update.
25012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25015 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25016 int as type of variable DEPTH.
25017 (glob): Use size_t instead of int as type of variables NEWCOUNT
25020 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25022 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25023 Add s_sincosf-sse2.
25024 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25025 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25026 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25027 macros for using routine as __sincosf_ia32.
25028 Use macro for function declaration and weak_alias.
25029 * sysdeps/i386/fpu/libm-test-ulps: Update.
25031 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25034 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25035 subnormal argument.
25036 * math/s_cexpf.c (__cexpf): Likewise.
25037 * math/s_csinf.c (__csinf): Likewise.
25038 * math/s_csinhf.c (__csinhf): Likewise.
25039 * math/s_ctanf.c (__ctanf): Likewise.
25040 * math/s_ctanhf.c (__ctanhf): Likewise.
25041 * math/s_ccosh.c (__ccoshf): Likewise.
25042 * math/s_cexp.c (__cexpl): Likewise.
25043 * math/s_csin.c (__csin): Likewise.
25044 * math/s_csinh.c (__csinh): Likewise.
25045 * math/s_ctan.c (__ctan): Likewise.
25046 * math/s_ctanh.c (ctanh): Likewise.
25047 * math/s_ccoshl.c (__ccoshl): Likewise.
25048 * math/s_cexpl.c (__cexpl): Likewise.
25049 * math/s_csinl.c (__csinl): Likewise.
25050 * math/s_csinhl.c (__csinhl): Likewise.
25051 * math/s_ctanl.c (__ctanl): Likewise.
25052 * math/s_ctanhl.c (__ctanhl): Likewise.
25054 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25056 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25057 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25058 (_IO_off_t): Define to __off_t, not _G_off_t.
25059 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25060 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25061 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25062 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25063 type of __dummy and __dummy2 fields.
25064 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25065 (_G_ssize_t): Likewise.
25066 (_G_off_t): Likewise.
25067 (_G_pid_t): Likewise.
25068 (_G_uid_t): Likewise.
25069 (_G_wchar_t): Likewise.
25070 (_G_wint_t): Likewise.
25071 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25072 (_G_ssize_t): Likewise.
25073 (_G_off_t): Likewise.
25074 (_G_pid_t): Likewise.
25075 (_G_uid_t): Likewise.
25076 (_G_wchar_t): Likewise.
25077 (_G_wint_t): Likewise.
25078 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25079 (_G_ssize_t): Likewise.
25080 (_G_off_t): Likewise.
25081 (_G_pid_t): Likewise.
25082 (_G_uid_t): Likewise.
25083 (_G_wchar_t): Likewise.
25084 (_G_wint_t): Likewise.
25086 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25088 * malloc/arena.c: Include malloc-sysdep.h.
25089 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25090 is sufficient to shrink the heap or an unmap is needed.
25091 * sysdeps/generic/malloc-sysdep.h: New file. Define
25092 new function check_may_shrink_heap.
25093 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25094 new function check_may_shrink_heap.
25096 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25098 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25101 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25103 * catgets/test-gencat.sh: Add "set -e".
25104 * elf/tst-pathopt.sh: Likewise.
25105 * grp/tst_fgetgrent.sh: Likewise.
25106 * iconvdata/run-iconv-test.sh: Likewise.
25107 * intl/tst-gettext.sh: Likewise.
25108 * intl/tst-gettext2.sh: Likewise.
25109 * intl/tst-gettext4.sh: Likewise.
25110 * intl/tst-gettext6.sh: Likewise.
25111 * intl/tst-translit.sh: Likewise.
25112 * io/ftwtest-sh: Likewise.
25113 * libio/test-freopen.sh: Likewise.
25114 * malloc/tst-mtrace.sh: Likewise.
25115 * posix/globtest.sh: Likewise.
25116 * posix/tst-getconf.sh: Likewise.
25117 * posix/wordexp-tst.sh: Likewise.
25118 * stdio-common/tst-printf.sh: Likewise.
25119 * stdio-common/tst-unbputc.sh: Likewise.
25120 * stdlib/tst-fmtmsg.sh: Likewise.
25121 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25122 * catgets/Makefile: Do not specify -e option when running
25123 testsuite shell scripts.
25124 * elf/Makefile: Likewise.
25125 * grp/Makefile: Likewise.
25126 * iconvdata/Makefile: Likewise.
25127 * intl/Makefile: Likewise.
25128 * io/Makefile: Likewise.
25129 * libio/Makefile: Likewise.
25130 * malloc/Makefile: Likewise.
25131 * posix/Makefile: Likewise.
25132 * stdio-common/Makefile: Likewise.
25133 * stdlib/Makefile: Likewise.
25134 * sysdeps/x86_64/Makefile: Likewise.
25136 * io/ftwtest-sh: Add copyright header.
25137 * posix/globtest.sh: Likewise.
25138 * posix/tst-getconf.sh: Likewise.
25139 * posix/wordexp-tst.sh: Likewise.
25140 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25142 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25145 * Makeconfig (+link): Defined as $(+link-static) if
25146 $(build-shared) isn't yes.
25147 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25149 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25151 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25154 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25155 new chunk size with MALLOC_ALIGN_MASK.
25157 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25160 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25162 (__printf_fphex): Determine rounding using get_rounding_mode and
25164 * stdio-common/tst-printf-round.c (struct hex_test): New
25166 (hex_tests): New variable.
25167 (test_hex_in_one_mode): New function.
25168 (do_test): Also run tests for hex float output.
25170 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25172 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25173 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25174 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25175 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25176 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25177 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25178 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25179 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25181 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25183 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25184 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25185 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25186 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25188 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25191 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25193 * elf/tst-rtld-load-self.sh: New test.
25194 * elf/Makefile: Run it.
25196 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25198 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25199 (tst-writev-ENV): Remove.
25200 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25202 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25204 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25206 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25208 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25210 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25212 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25213 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25214 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25217 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25220 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25221 * config.make.in (have-cpp-asm-debuginfo): Removed.
25222 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25223 * configure: Regenerated.
25225 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25228 * stdio-common/printf_fp.c: Include <stdbool.h> and
25230 (___printf_fp): Determine rounding using get_rounding_mode and
25232 * stdio-common/tst-printf-round.c: New file.
25233 * stdio-common/Makefile (tests): Add tst-printf-round.
25234 (link-libm): New variable.
25235 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25237 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25240 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25241 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25243 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25246 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25248 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25249 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25250 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25251 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25253 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25256 * include/rounding-mode.h: New file.
25257 * sysdeps/generic/get-rounding-mode.h: Likewise.
25258 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25259 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25260 (MAX_VALUE): New macro.
25261 (MIN_VALUE): Likewise.
25262 (overflow_value): New function.
25263 (underflow_value): Likewise.
25264 (round_and_return): Use overflow_value and underflow_value to
25265 determine return values in overflow and underflow cases. Use
25266 round_away to determine rounding depending on rounding mode.
25267 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25268 determine return values in overflow and underflow cases.
25269 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25270 (struct test_results): New structure.
25271 (struct test): Use struct test_results to store expected results
25272 for all rounding modes.
25273 (TEST): Include expected results for all rounding modes.
25274 (test_in_one_mode): New function.
25275 (do_test): Use test_in_one_mode to compute and check results.
25276 Check results for all rounding modes.
25277 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25280 2012-12-09 Allan McRae <allan@archlinux.org>
25282 * sysdeps/i386/fpu/libm-test-ulps: Update
25284 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25286 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25287 (_G_int32_t): Likewise.
25288 (_G_uint16_t): Likewise.
25289 (_G_uint32_t): Likewise.
25290 (_G_HAVE_BOOL): Likewise.
25291 (_G_HAVE_ATEXIT): Likewise.
25292 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25293 (_G_HAVE_IO_FILE_OPEN): Likewise.
25294 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25295 (_G_int32_t): Likewise.
25296 (_G_uint16_t): Likewise.
25297 (_G_uint32_t): Likewise.
25298 (_G_HAVE_BOOL): Likewise.
25299 (_G_HAVE_ATEXIT): Likewise.
25300 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25301 (_G_HAVE_IO_FILE_OPEN): Likewise.
25302 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25303 (_G_int32_t): Likewise.
25304 (_G_uint16_t): Likewise.
25305 (_G_uint32_t): Likewise.
25306 (_G_HAVE_BOOL): Likewise.
25307 (_G_HAVE_ATEXIT): Likewise.
25308 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25309 (_G_HAVE_IO_FILE_OPEN): Likewise.
25311 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25313 * csu/libc-tls.c: Update copyright years.
25315 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25317 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25318 [!_G_USING_THUNKS]: Remove conditional code.
25319 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25320 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25322 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25323 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25324 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25325 (_G_VTABLE_LABEL_PREFIX): Likewise.
25326 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25327 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25328 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25329 (_G_VTABLE_LABEL_PREFIX): Likewise.
25330 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25331 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25332 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25333 (_G_VTABLE_LABEL_PREFIX): Likewise.
25334 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25336 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25338 * libio/Makefile: Include ../Makeconfig before tests.
25339 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25340 only if $(build-shared) is yes.
25342 * iconv/gconv_db.c: Update copyright years.
25344 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25346 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25347 unwind info if defined PIC. Fix special cases description.
25348 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25350 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25352 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25354 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25356 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25358 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25361 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25362 (LDLIBS-tst-chk4): This.
25363 (LDFLAGS-tst-chk5): Renamed to ...
25364 (LDLIBS-tst-chk5): This.
25365 (LDFLAGS-tst-chk6): Renamed to ...
25366 (LDLIBS-tst-chk6): This.
25367 (LDFLAGS-tst-lfschk4): Renamed to ...
25368 (LDLIBS-tst-lfschk4): This.
25369 (LDFLAGS-tst-lfschk5): Renamed to ...
25370 (LDLIBS-tst-lfschk5): This.
25371 (LDFLAGS-tst-lfschk6): Renamed to ...
25372 (LDLIBS-tst-lfschk6): This.
25374 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25375 on $(common-objpfx)soversions.mk.
25377 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25380 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25383 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25385 * malloc/arena.c (arena_get_retry): New function that gets
25386 another arena for the caller to try its request on.
25387 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25388 current arena cannot fulfill the request.
25389 (__libc_memalign): Likewise.
25390 (__libc_memalign): Likewise.
25391 (__libc_pvalloc): Likewise.
25392 (__libc_calloc): Likewise.
25394 2012-09-05 John Tobey <john.tobey@gmail.com>
25397 * manual/arith.texi (Operations on Complex): Fix description
25398 of carg branch cut.
25400 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25403 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25407 * manual/memory.texi (Memory): Make order of menu items match
25410 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25412 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25413 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25414 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25416 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25418 * csu/libc-tls.c (static_dtv): Renamed to ...
25419 (_dl_static_dtv): This. Make it global.
25420 (_dl_initial_dtv): Removed.
25421 (__libc_setup_tls): Updated.
25422 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25423 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25426 2012-09-06 Petr Machata <pmachata@redhat.com>
25428 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25429 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25430 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25431 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25433 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25436 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25437 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25440 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25443 * Makeconfig (link-static-before-libc): Replace $(+prector)
25445 (link-static-after-libc): Replace $(+postctor) with
25447 (link-bounded): Replace $(+prector)/$(+postctor) with
25448 $(+prectorT)/$(+postctorT).
25449 (+prectorT): New macro.
25450 (+postctorT): Likewise.
25452 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25454 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25455 (round_str): Handle values above the maximum for IBM long double
25457 * stdlib/tst-strtod-round.c (tests): Regenerated.
25459 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25461 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25463 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25464 zarch_nohighgprs around the zarch optimized routines.
25465 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25466 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25470 2012-09-05 David S. Miller <davem@davemloft.net>
25472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25474 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25475 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25476 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25477 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25480 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25482 * malloc/arena.c: Fold copyright years.
25483 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25485 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25487 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25489 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25491 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25493 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25495 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25496 change internal state upon failure.
25498 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25500 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25501 * malloc/memusage.c (mmap): Likewise.
25502 (mmap64, mremap): Likewise. Adjust name in comment.
25504 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25506 * libio/fileops.c: Fix typos in comments.
25507 * libio/oldfileops.c: Likewise.
25508 * libio/wfileops.c: Likewise.
25510 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25513 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25514 (tst-malloc-usable-ENV): Set environment for test case.
25515 * malloc/hooks.c (malloc_check_get_size): New function to get
25517 * malloc/malloc.c (musable): Use malloc_check_get_size.
25518 * malloc/tst-malloc-usable.c: New test case.
25520 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25522 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25524 2012-09-05 Allan McRae <allan@archlinux.org>
25527 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25528 determine header location.
25529 * configure: Regenerated.
25531 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25533 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25535 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25536 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25538 (test): Regenerate.
25540 2012-09-04 David S. Miller <davem@davemloft.net>
25542 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25543 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25544 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25546 2012-09-04 Florian Weimer <fweimer@redhat.com>
25548 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25551 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25553 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25556 * libio/iogetdelim.c: Include <limits.h>.
25557 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25558 + len + 1 would overflow.
25560 2012-09-03 Andreas Jaeger <aj@suse.de>
25562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25563 * sysdeps/i386/fpu/libm-test-ulps: Update.
25565 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25567 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25568 Add s_sinf-sse2, s_conf-sse2.
25570 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25571 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25572 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25573 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25575 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25576 for using routine as __sinf_ia32.
25577 Use macro for function declaration and weak_alias.
25578 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25579 for using routine as __cosf_ia32.
25580 Use macro for function declaration and weak_alias.
25582 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25583 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25585 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25586 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25589 * math/libm-test.inc (cos_test): Add more test cases.
25590 (sin_test): Likewise.
25591 (sincos_test): Likewise.
25593 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25596 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25598 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25600 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25603 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25604 first element of the GOT.
25605 (elf_machine_load_address): Return the difference between
25606 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25608 2012-09-01 Allan McRae <allan@archlinux.org>
25611 * configure.in (AWK): Require gawk version 3.0 or later.
25612 * configure: Regenerated.
25614 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25616 * sysdeps/unix/sysv/linux/kernel-features.h
25617 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25618 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25619 [__NR_clock_getres]: Make code unconditional.
25620 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25621 (clock_getcpuclockid): Remove code left unreachable by removal of
25623 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25624 code unconditional.
25625 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25626 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25627 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25628 Make code unconditional.
25629 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25630 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25631 * sysdeps/unix/sysv/linux/clock_settime.c
25632 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25634 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25635 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25637 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25640 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25641 scripts/test-installation.pl.
25643 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25644 and $ld_so_version if it is set.
25646 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25649 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25650 failure if reading from procfs failed.
25651 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25653 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25655 * sysdeps/unix/sysv/linux/kernel-features.h
25656 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25657 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25658 Remove conditional code.
25659 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25660 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25661 Remove conditional code.
25662 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25663 * sysdeps/unix/sysv/linux/i386/fxstat.c
25664 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25666 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25667 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25668 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25669 * sysdeps/unix/sysv/linux/i386/lxstat.c
25670 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25672 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25673 Remove conditional code.
25674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25675 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25676 Remove conditional code.
25677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25678 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25679 <kernel-features.h>.
25680 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25682 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25683 Remove conditional code.
25684 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25685 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25686 Remove conditional.
25688 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25691 * NEWS: Add fixed bug number.
25693 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25696 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25697 underflowing exponent in case of negative sign.
25698 * stdlib/tst-strtod-round-data: Add more tests.
25699 * stdlib/tst-strtod-round.c (tests): Regenerated.
25702 * stdlib/strtod_l.c (NDIG): Remove.
25703 (HEXNDIG): Likewise.
25704 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25705 smallest representable value.
25706 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25707 lie within an exact representation of 1/2 ulp of the result.
25708 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25710 (TENS_P9_IDX): Define unconditionally.
25711 (TENS_P9_SIZE): Likewise.
25712 (TENS_P10_IDX): Likewise.
25713 (TENS_P10_SIZE): Likewise.
25714 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25715 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25716 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25717 entries for 10^2^13 and 10^2^14.
25718 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25719 (TENS_P13_IDX): Define.
25720 (TENS_P13_SIZE): Likewise.
25721 (TENS_P14_IDX): Likewise.
25722 (TENS_P14_SIZE): Likewise.
25723 (_fpioconst_pow10): Change array size to
25724 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25726 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25727 1024]: Add entries for 10^2^13 and 10^2^14.
25728 [LAST_POW10 > _LAST_POW10]: Remove #error.
25729 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25730 (_fpioconst_pow10): Change array size to
25731 FPIOCONST_POW10_ARRAY_SIZE.
25732 * stdlib/gen-fpioconst.c: New file.
25733 * stdlib/gen-tst-strtod-round.c: Likewise.
25734 * stdlib/tst-strtod-round-data: Likewise.
25735 * stdlib/tst-strtod-round.c: Likewise.
25736 * stdlib/Makefile (tests): Add tst-strtod-round.
25739 * stdlib/strtod_l.c: Include <stdint.h>.
25740 (NDEBUG): Do not define.
25741 (round_and_return): Change EXPONENT parameter to type intmax_t.
25742 Rearrange calculations to avoid internal overflow possibilities.
25743 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25744 Rearrange calculations to avoid internal overflow possibilities.
25745 Assert that number fits inside MPNSIZE limbs.
25746 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25747 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25748 calculations and add assertions to avoid internal overflow
25749 possibilities. Add casts to avoid signed/unsigned operations.
25750 * stdlib/tst-strtod-overflow.c: New file.
25751 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25753 2012-08-25 Marek Polacek <polacek@redhat.com>
25755 * time/time.h: Fix some typos in comments.
25757 2012-08-23 Roland McGrath <roland@hack.frob.com>
25759 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25760 * posix/tst-rfc3484-2.c: Likewise.
25761 * posix/tst-rfc3484-3.c: Likewise.
25763 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25765 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25766 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25768 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25770 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25771 #include of fxstatat64.c.
25773 2012-08-22 Roland McGrath <roland@hack.frob.com>
25775 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25776 * shadow/getspent_r.c: Likewise.
25777 * shadow/getspnam.c: Likewise.
25778 * shadow/getspnam_r.c: Likewise.
25779 * gshadow/getsgent.c: Likewise.
25780 * gshadow/getsgent_r.c: Likewise.
25781 * gshadow/getsgnam.c: Likewise.
25782 * gshadow/getsgnam_r.c: Likewise.
25783 * inet/getnetbyad.c: Likewise.
25784 * inet/getnetbyad_r.c: Likewise.
25785 * inet/getnetbynm.c: Likewise.
25786 * inet/getnetbynm_r.c: Likewise.
25787 * inet/getnetent.c: Likewise.
25788 * inet/getnetent_r.c: Likewise.
25789 * inet/getproto.c: Likewise.
25790 * inet/getproto_r.c: Likewise.
25791 * inet/getprtent.c: Likewise.
25792 * inet/getprtent_r.c: Likewise.
25793 * inet/getprtname.c: Likewise.
25794 * inet/getprtname_r.c: Likewise.
25795 * inet/getrpcbyname.c: Likewise.
25796 * inet/getrpcbyname_r.c: Likewise.
25797 * inet/getrpcbynumber.c: Likewise.
25798 * inet/getrpcbynumber_r.c: Likewise.
25799 * inet/getrpcent.c: Likewise.
25800 * inet/getrpcent_r.c: Likewise.
25801 * inet/getaliasent.c: Likewise.
25802 * inet/getaliasent_r.c: Likewise.
25803 * inet/getaliasname.c: Likewise.
25804 * inet/getaliasname_r.c: Likewise.
25805 * nscd/getgrgid_r.c: Likewise.
25806 * nscd/getgrnam_r.c: Likewise.
25807 * nscd/gethstbyad_r.c: Likewise.
25808 * nscd/gethstbynm3_r.c: Likewise.
25809 * nscd/getpwnam_r.c: Likewise.
25810 * nscd/getpwuid_r.c: Likewise.
25811 * nscd/getsrvbynm_r.c: Likewise.
25812 * nscd/getsrvbypt_r.c: Likewise.
25813 * nscd/gai.c: Likewise.
25815 * configure.in (build_nscd): New substituted variable, set
25816 by --disable-build-nscd and defaults to $use_nscd.
25817 * configure: Regenerated.
25818 * config.make.in (build-nscd): New substituted variable.
25819 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25820 Change conditional to require [$(build-nscd) = yes] as well.
25821 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25824 * configure.in (use_nscd): New substituted variable, set by
25825 --disable-nscd. If enabled, define USE_NSCD.
25826 * configure: Regenerated.
25827 * config.h.in: Add USE_NSCD.
25828 * config.make.in (use-nscd): New substituted variable.
25829 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25830 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25831 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25832 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25833 (CFLAGS-getgrnam_r.c): Likewise.
25834 (CFLAGS-initgroups.c): Likewise.
25835 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25836 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25838 * inet/getnetgrent_r.c
25839 (nscd_setnetgrent): New function, broken out of ...
25840 (setnetgrent): ... here. Call it.
25841 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25842 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25843 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25844 * nscd/Makefile (routines, aux): Move definitions after include of
25845 Makeconfig. Conditionalize on [$(use-nscd) != no].
25846 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25847 Conditionalize on [USE_NSCD].
25848 (is_nscd, nscd_init_cb): Likewise.
25849 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25850 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25851 * nss/nss_db/db-init.c: Likewise.
25852 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25854 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25855 (make_request): Use it.
25856 (cache_valid_p): New function.
25857 (__check_pf): Use it.
25858 * NEWS: Add item for --disable-nscd.
25860 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25862 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25863 to support sed >= 4.2.1-20-ga9bf076.
25864 * configure: Regenerated.
25866 2012-08-22 Roland McGrath <roland@hack.frob.com>
25868 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25869 Conditionalize whole body on [IREL].
25871 2012-08-22 Jeff Law <law@redhat.com>
25874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25875 if the family is PF_UNSPEC.
25877 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25879 * Makerules (lib-version): Rename from V.
25880 (install-lib-nosubdir): Change V to lib-version.
25882 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25885 * powerpc32/power6/wcschr.c: New file.
25886 * powerpc32/power6/wcscpy.c: New file.
25887 * powerpc32/power6/wcsrchr.c: New file.
25888 * powerpc64/power6/wcschr.c: New file.
25889 * powerpc64/power6/wcscpy.c: New file.
25890 * powerpc64/power6/wcsrchr.c: New file.
25892 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25894 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25895 (two_way_short_needle): Use it.
25896 * string/strstr.c (AVAILABLE1_USES_J): Define.
25897 * string/strcasestr.c: Likewise.
25899 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25901 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25904 * NEWS: Add an entry.
25905 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25906 define their defaults.
25907 (two_way_short_needle): Detect end-of-string on-the-fly.
25908 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25909 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25910 * string/bug-strcasestr1.c: New test.
25911 * string/Makefile: Run it.
25913 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25916 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25917 the first character.
25919 2012-08-21 Roland McGrath <roland@hack.frob.com>
25921 * csu/elf-init.c (__libc_csu_irel): Function removed.
25922 * csu/libc-start.c (apply_irel): New function.
25923 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25925 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25927 * sysdeps/unix/sysv/linux/kernel-features.h
25928 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25929 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25930 <kernel-features.h>.
25931 [__NR_fadvise64_64]: Make code unconditional.
25932 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25933 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25934 !__NR_fadvise64_64)]: Likewise.
25935 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25936 !__NR_fadvise64_64))]: Likewise.
25937 [__NR_fadvise64]: Make code unconditional.
25938 [!__NR_fadvise64]: Remove conditional code.
25939 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25940 <kernel-features.h>.
25941 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25943 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25946 not include <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/s390/s390-32/posix_fadvise64.c: Do not
25952 include <kernel-features.h>.
25953 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25955 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25958 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25960 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25961 slight instruction rearrangements per scrollpipe analysis.
25962 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25964 2012-08-20 Roland McGrath <roland@hack.frob.com>
25966 * manual/syslog.texi (syslog; vsyslog, closelog):
25967 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25968 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25970 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25971 DSOCAPS to match condition on defining it.
25973 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25975 * sysdeps/unix/sysv/linux/kernel-features.h
25976 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25978 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25979 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25981 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25982 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25984 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25985 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25987 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25988 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25990 * sysdeps/unix/sysv/linux/kernel-features.h
25991 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25992 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25994 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25995 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25996 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25997 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25998 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25999 Make code unconditional.
26000 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26001 (__mmap64) [!__NR_mmap2]: Likewise.
26002 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26003 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26004 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26005 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26006 [__NR_mmap2]: Make code unconditional.
26007 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26008 (__mmap64) [!__NR_mmap2]: Likewise.
26010 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26012 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26014 2012-08-18 Andreas Jaeger <aj@suse.de>
26016 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26018 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26020 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26021 * include/unistd.h (__have_sock_cloexec): Likewise.
26022 (__have_pipe2): Likewise.
26023 (__have_dup3): Likewise.
26025 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26028 * include/unistd.h (__have_pipe2): Change define into an extern int.
26029 (__have_dup3): Likewise.
26030 * socket/have_sock_cloexec.c: Include fcntl.h.
26031 (__have_pipe2): New variable.
26032 (__have_dup3): Likewise.
26034 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26036 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26038 2012-08-17 Marek Polacek <polacek@redhat.com>
26040 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26041 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26043 2012-08-17 Roland McGrath <roland@hack.frob.com>
26045 * configure.in: Add AC_SUBST for sysheaders.
26046 * configure: Regenerated.
26047 * config.make.in (sysheaders): New substituted variable.
26049 * sysdeps/unix/mkfifo.c: Moved ...
26050 * sysdeps/posix/mkfifo.c: ... here.
26051 * sysdeps/unix/mkfifoat.c: Moved ...
26052 * sysdeps/posix/mkfifoat.c: ... here.
26054 * sysdeps/unix/utime.c: Moved ...
26055 * sysdeps/posix/utime.c: ... here.
26057 * sysdeps/unix/time.c: Moved ...
26058 * sysdeps/posix/time.c: ... here.
26059 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26060 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26062 * sysdeps/unix/nice.c: Moved ...
26063 * sysdeps/posix/nice.c: ... here.
26065 * sysdeps/unix/alarm.c: Moved ...
26066 * sysdeps/posix/alarm.c: ... here.
26068 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26070 2012-08-17 Jeff Law <law@redhat.com>
26072 * intl/Makefile (codeset_mo): New variable.
26073 ($(codeset_mo)): New target.
26074 (tst-codeset.out): Depend on that. Remove explicit rule.
26075 (tst-gettext3.out, tst-gettext5.out): Likewise.
26076 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26077 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26078 * intl/tst-codeset.sh: Remove.
26079 * intl/tst-gettext3.sh: Likewise.
26080 * intl/tst-gettext5.sh: Likewise.
26082 2012-08-17 Roland McGrath <roland@hack.frob.com>
26084 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26085 * sysdeps/unix/syscalls.list: ... here.
26087 * sysdeps/posix/getaddrinfo.c
26088 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26089 (gaiconf_init, gaiconf_reload): Use them.
26090 [!_STATBUF_ST_NSEC]
26091 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26092 Define using time_t rather than struct timespec.
26094 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26095 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26097 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26099 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26100 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26103 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26104 __libc_cleanup_push argument.
26106 * bits/param.h: New file.
26107 * misc/sys/param.h: New file.
26108 * include/sys/param.h: New file.
26109 * misc/Makefile (headers): Add bits/param.h.
26110 * sysdeps/generic/sys/param.h: File removed.
26111 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26112 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26113 * sysdeps/mach/hurd/bits/param.h: New file.
26114 * sysdeps/mach/hurd/sys/param.h: File removed.
26116 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26119 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26121 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26122 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26125 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26126 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26127 rather than -D_IO_MTSAFE_IO conditionally.
26128 * stdio-common/Makefile (CPPFLAGS): Likewise.
26129 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26130 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26131 Use $(libio-mtsafe).
26132 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26133 of -D_IO_MTSAFE_IO.
26134 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26135 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26136 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26137 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26138 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26139 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26140 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26141 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26142 (CFLAGS-fread_u_chk.c): Likewise.
26143 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26144 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26145 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26146 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26147 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26148 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26149 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26150 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26151 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26153 * libio/Makefile: Test [$(libc-reentrant) = yes]
26154 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26157 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26158 * sysdeps/pthread/configure: File removed.
26159 * sysdeps/pthread/Makeconfig: New file.
26160 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26161 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26163 2012-08-16 Gary Benson <gbenson@redhat.com>
26165 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26166 unmapping the first object in a namespace.
26168 2012-08-16 Roland McGrath <roland@hack.frob.com>
26170 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26171 (__internal_setnetgrent): ... this. Add internal_function to
26172 definition. Add libc_hidden_def.
26173 (setnetgrent): Update caller.
26174 (internal_endnetgrent): Renamed to ...
26175 (__internal_endnetgrent): ... this. Add internal_function to
26176 definition. Add libc_hidden_def.
26177 (endnetgrent): Update caller.
26178 (internal_getnetgrent_r): Renamed to ...
26179 (__internal_getnetgrent_r): ... this. Add internal_function to
26180 definition. Add libc_hidden_def.
26181 (__getnetgrent_r): Update caller.
26182 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26184 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26186 * stdlib/longlong.h: Update from GCC.
26188 2012-08-16 Roland McGrath <roland@hack.frob.com>
26190 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26191 on _QL, which is set by umul_ppmm but never used.
26192 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26193 variables, which are set by GMP macros but never used.
26194 * stdio-common/_itowa.c (_itowa): Likewise.
26195 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26196 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26198 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26200 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26201 struct La_sh_regs is not constant.
26202 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26203 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26204 and struct La_sparc64_regs are not constant.
26206 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26208 * sysdeps/unix/sysv/linux/kernel-features.h
26209 (__ASSUME_POSIX_TIMERS): Remove.
26210 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26211 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26212 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26213 Make code unconditional.
26214 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26215 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26216 Make code unconditional.
26217 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26218 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26219 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26220 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26221 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26222 Make code unconditional.
26223 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26224 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26225 (__libc_missing_posix_timers): Remove.
26227 2012-08-15 Roland McGrath <roland@hack.frob.com>
26229 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26230 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26232 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26234 * elf/dl-sym.c: Include <stdlib.h>.
26236 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26237 constants, which avoids warnings in 32-bit builds.
26239 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26240 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26242 * misc/lseek.c: File moved to ...
26243 * io/lseek.c: ... here.
26245 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26247 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26248 shifting LEN more than 31 bits at once.
26250 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26253 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26254 segmentation fault for a case of two empty input strings.
26255 * string/test-strncasecmp.c (check1): Renamed to...
26256 (bz12205): ...this.
26257 (bz14195): Add new testcase for two empty input strings and N > 0.
26258 (test_main): Call new testcase, adapt for renamed function.
26260 2012-08-15 Andreas Jaeger <aj@suse.de>
26263 * crypt/md5test2.c: New test, based on test supplied by Serge
26264 Belyshev <belyshev@depni.sinp.msu.ru>.
26265 * crypt/Makefile (xtests): Add md5test-giant..
26266 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26268 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26271 * crypt/md5.c (md5_process_block): Don't assume the buffer
26272 length is less than 2**32.
26273 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26274 length is less than 2**64.
26276 2012-08-15 Roland McGrath <roland@hack.frob.com>
26278 * string/str-two-way.h: Include <sys/param.h>.
26279 (MAX): Macro removed.
26281 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26282 Move #define and #undef of memmove to just before and after
26283 including <string.h>.
26285 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26286 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26287 and after including <string.h>. Move declarations of
26288 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26289 to before #include "string/memmove.c".
26291 * include/dirent.h: Declare __getdirentries.
26293 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26294 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26296 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26298 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26299 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26300 * sysdeps/i386/configure: Regenerated.
26301 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26302 STABS_CURRENT_FILE, and STABS_FUN.
26303 (END): Remove call to STABS_FUN_END.
26304 (STABS_CURRENT_FILE1): Delete.
26305 (STABS_CURRENT_FILE): Likewise.
26306 (STABS_FUN): Likewise.
26307 (STABS_FUN_END): Likewise.
26308 (STABS_FUN2): Likewise.
26309 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26310 * sysdeps/x86_64/configure: Regenerated.
26312 2012-08-14 Roland McGrath <roland@hack.frob.com>
26314 * elf/dl-open.c: Include <atomic.h>.
26315 * elf/dl-lookup.c: Likewise.
26317 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26319 * sysdeps/unix/sysv/linux/kernel-features.h
26320 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26321 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26323 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26325 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26326 condition on __ASSUME_CLONE_THREAD_FLAGS.
26328 2012-08-14 Andreas Jaeger <aj@suse.de>
26330 * sysdeps/i386/fpu/libm-test-ulps: Update.
26332 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26334 * include/atomic.h (atomic_exchange_and_add): Split into ...
26335 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26338 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26342 2012-08-13 Jeff Law <law@redhat.com>
26344 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26345 null byte in the output string.
26347 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26349 * sysdeps/unix/sysv/linux/kernel-features.h
26350 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26351 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26352 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26353 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26354 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26355 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26356 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26358 2012-08-09 Jeff Law <law@redhat.com>
26361 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26362 When avoid_arena is set, don't retry in the that arena. Pick the
26363 next one, whatever it might be.
26364 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26365 (arena_lock): Pass in new parameter to arena_get2.
26366 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26368 (__libc_malloc): Unify retrying after main arena failure with
26369 __libc_memalign version.
26370 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26372 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26375 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26376 to __redirect_strstr.
26377 (__strstr_sse42): Use typeof __redirect_strstr.
26378 (__strstr_ia32): Likewise.
26379 (__libc_strstr): New prototype.
26380 (strstr): Renamed to ...
26381 (__libc_strstr): This.
26382 (strstr): New strong alias of __libc_strstr.
26383 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26384 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26387 (__libc_time): New prototype.
26388 (time_ifunc): Replace time with __libc_time.
26389 (time): New strong alias and hidden definition of __libc_time.
26390 (__GI_time): Remove strong alias.
26391 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26392 Include <stddef.h>.
26393 (memmove): Redefined to __redirect_memmove.
26394 (__memmove_sse2): Use typeof __redirect_memmove.
26395 (__memmove_ssse3): Likewise.
26396 (__memmove_ssse3_back): Likewise.
26397 (__libc_memmove): New prototype.
26398 (memmove): Renamed to ...
26399 (__libc_memmove): This.
26400 (memmove): New strong alias of __libc_memmove.
26402 2012-08-08 Mark Salter <msalter@redhat.com>
26405 (R_MN10300_TLS_GD): Define.
26406 (R_MN10300_TLS_LD): Likewise.
26407 (R_MN10300_TLS_LDO): Likewise.
26408 (R_MN10300_TLS_GOTIE): Likewise.
26409 (R_MN10300_TLS_IE): Likewise.
26410 (R_MN10300_TLS_LE): Likewise.
26411 (R_MN10300_TLS_DTPMOD): Likewise.
26412 (R_MN10300_TLS_DTPOFF): Likewise.
26413 (R_MN10300_TLS_TPOFF): Likewise.
26414 (R_MN10300_SYM_DIFF): Likewise.
26415 (R_MN10300_ALIGN): Likewise.
26416 (R_MN10300_NUM): Update.
26418 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26420 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26423 2012-08-08 Roland McGrath <roland@hack.frob.com>
26425 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26427 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26428 sysdeps/unix -> sysdeps/posix move.
26429 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26431 2012-08-07 Allan McRae <allan@archlinux.org>
26434 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26435 (SUNOS_CPP): Likewise.
26436 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26438 (open_input): Call CPP using execvp.
26440 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26442 * sysdeps/unix/sysv/linux/kernel-features.h
26443 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26444 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26445 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26446 (__ASSUME_WAITID_SYSCALL): Likewise.
26447 * sysdeps/unix/sysv/linux/dl-execstack.c
26448 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26449 code unconditional.
26450 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26452 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26453 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26454 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26456 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26458 [__ASSUME_WAITID_SYSCALL]: Likewise.
26459 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26461 2012-08-07 Roland McGrath <roland@hack.frob.com>
26463 * sysdeps/unix/closedir.c: Renamed to ...
26464 * sysdeps/posix/closedir.c: ... here.
26465 * sysdeps/unix/dirfd.c: Renamed to ...
26466 * sysdeps/posix/dirfd.c: ... here.
26467 * sysdeps/unix/dirstream.h: Renamed to ...
26468 * sysdeps/posix/dirstream.h: ... here.
26469 * sysdeps/unix/fdopendir.c: Renamed to ...
26470 * sysdeps/posix/fdopendir.c: ... here.
26471 * sysdeps/unix/opendir.c: Renamed to ...
26472 * sysdeps/posix/opendir.c: ... here.
26473 * sysdeps/unix/readdir.c: Renamed to ...
26474 * sysdeps/posix/readdir.c: ... here.
26475 * sysdeps/unix/readdir_r.c: Renamed to ...
26476 * sysdeps/posix/readdir_r.c: ... here.
26477 * sysdeps/unix/rewinddir.c: Renamed to ...
26478 * sysdeps/posix/rewinddir.c: ... here.
26479 * sysdeps/unix/seekdir.c: Renamed to ...
26480 * sysdeps/posix/seekdir.c: ... here.
26481 * sysdeps/unix/telldir.c: Renamed to ...
26482 * sysdeps/posix/telldir.c: ... here.
26483 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26484 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26485 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26486 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26488 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26489 * bits/fcntl.h: ... here.
26491 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26493 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26494 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26495 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26496 (struct flock): Move l_start, l_len to the beginning.
26497 Use __pid_t for l_pid.
26498 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26499 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26500 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26501 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26502 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26503 [__USE_LARGEFILE64] (struct flock64): New type.
26504 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26506 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26507 * bits/dirent.h: ... here.
26509 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26510 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26512 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26514 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26515 Change from 2.6.0 to 2.6.16.
26516 * sysdeps/unix/sysv/linux/configure: Regenerated.
26517 * sysdeps/unix/sysv/linux/kernel-features.h
26518 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26519 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26521 (__ASSUME_UTIMES): Likewise.
26522 (__ASSUME_CLONE_STOPPED): Remove.
26523 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26524 architectures, not kernel version.
26525 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26526 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26527 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26528 (__ASSUME_WAITID_SYSCALL): Likewise.
26529 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26530 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26531 * README: State 2.6.16 as minimum Linux kernel version. Do not
26532 refer to older versions.
26534 2012-08-06 Roland McGrath <roland@hack.frob.com>
26536 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26537 Define alphasort64 as an alias.
26538 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26539 Define versionsort64 as an alias.
26540 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26541 Define scandir64 as an alias.
26542 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26543 Define scandirat64 as an alias.
26544 * dirent/alphasort64.c (alphasort64):
26545 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26546 * dirent/versionsort64.c: Likewise.
26547 * dirent/scandir64.c: Likewise.
26548 * dirent/scandirat64.c: Likewise.
26549 * sysdeps/wordsize-64/alphasort.c: File removed.
26550 * sysdeps/wordsize-64/alphasort64.c: File removed.
26551 * sysdeps/wordsize-64/scandir.c: File removed.
26552 * sysdeps/wordsize-64/scandir64.c: File removed.
26553 * sysdeps/wordsize-64/scandirat.c: File removed.
26554 * sysdeps/wordsize-64/scandirat64.c: File removed.
26555 * sysdeps/wordsize-64/versionsort.c: File removed.
26556 * sysdeps/wordsize-64/versionsort64.c: File removed.
26557 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26558 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26559 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26560 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26561 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26562 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26563 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26564 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26566 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26568 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26570 [defined __arch64__ || defined __sparcv9]
26571 (__INO_T_MATCHES_INO64_T): New macro.
26572 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26573 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26574 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26575 * sysdeps/unix/sysv/linux/bits/dirent.h
26576 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26577 (_DIRENT_MATCHES_DIRENT64): New macro.
26579 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26580 Define lockf64 as an alias.
26581 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26582 Define fseeko64 as an alias.
26583 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26584 Define ftello64 as an alias.
26585 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26586 Define _IO_fgetpos64 and fgetpos64 as aliases.
26587 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26588 Define _IO_fsetpos64 and fsetpos64 as aliases.
26589 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26590 Conditionalize body on this.
26591 * libio/fseeko64.c: Likewise.
26592 * libio/ftello64.c: Likewise.
26593 * libio/iofgetpos64.c: Likewise.
26594 * libio/iofsetpos64.c: Likewise.
26595 * sysdeps/wordsize-64/lockf.c: File removed.
26596 * sysdeps/wordsize-64/lockf64.c: File removed.
26597 * sysdeps/wordsize-64/fseeko.c: File removed.
26598 * sysdeps/wordsize-64/fseeko64.c: File removed.
26599 * sysdeps/wordsize-64/ftello.c: File removed.
26600 * sysdeps/wordsize-64/ftello64.c: File removed.
26601 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26602 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26603 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26604 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26605 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26606 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26607 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26609 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26611 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26612 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26613 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26614 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26616 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26618 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26620 [defined __arch64__ || defined __sparcv9]
26621 (__OFF_T_MATCHES_OFF64_T): New macro.
26622 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26623 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26625 (__OFF_T_MATCHES_OFF64_T): New macro.
26627 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26629 * stdlib/secure-getenv.c (__secure_getenv): Replace
26630 GLIBC_2_16 with GLIBC_2_17.
26632 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26634 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26635 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26637 2012-08-03 David S. Miller <davem@davemloft.net>
26639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26641 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26643 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26645 (__ASSUME_CORRECT_SI_PID): Likewise.
26646 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26647 (__ASSUME_TMPFS_NAME): Likewise.
26648 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26649 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26650 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26651 (HAVE_AUX_SECURE): Make definition unconditional.
26652 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26653 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26655 2012-08-03 Roland McGrath <roland@hack.frob.com>
26657 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26658 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26659 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26660 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26661 __eloop_threshold instead of SYMLOOP_MAX.
26663 * sysdeps/generic/eloop-threshold.h: New file.
26664 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26666 * elf/chroot_canon.c (chroot_canon): Likewise.
26668 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26672 Change to 2.6.0 everywhere.
26673 * sysdeps/unix/sysv/linux/configure: Regenerated.
26674 * sysdeps/unix/sysv/linux/kernel-features.h
26675 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26676 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26678 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26679 (__ASSUME_FUTEX_REQUEUE): Remove.
26680 (__ASSUME_STATFS64): Define unconditionally.
26681 (__ASSUME_AT_SECURE): Likewise.
26682 (__ASSUME_CORRECT_SI_PID): Likewise.
26683 (__ASSUME_TGKILL): Define without depending on kernel version for
26685 (__ASSUME_UTIMES): Likewise.
26686 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26688 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26689 (__ASSUME_TMPFS_NAME): Likewise.
26690 * README: Update reference to Linux kernel versions.
26692 2012-08-02 Marek Polacek <polacek@redhat.com>
26695 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26696 libc_cv_asm_type_prefix with %.
26697 * configure: Regenerated.
26698 * include/libc-symbols.h: Remove comment about
26699 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26700 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26701 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26702 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26703 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26704 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26705 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26706 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26707 * elf/tst-unique2mod1.c: Likewise.
26708 * elf/tst-unique1mod2.c: Likewise.
26709 * elf/tst-unique1mod1.c: Likewise.
26710 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26711 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26712 Replace ASM_TYPE_DIRECTIVE with .type.
26713 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26714 * sysdeps/i386/sysdep.h: Likewise.
26715 * sysdeps/x86_64/sysdep.h: Likewise.
26716 * sysdeps/sh/sysdep.h: Likewise.
26717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26718 Do not define ASM_TYPE_DIRECTIVE.
26719 * sysdeps/powerpc/sysdep.h: Likewise.
26720 * sysdeps/powerpc/powerpc32/sysdep.h:
26721 Replace ASM_TYPE_DIRECTIVE with .type.
26722 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26723 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26724 * sysdeps/i386/fpu/e_powf.S: Likewise.
26725 * sysdeps/i386/fpu/e_expl.S: Likewise.
26726 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26727 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26728 * sysdeps/i386/fpu/e_pow.S: Likewise.
26729 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26730 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26731 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26732 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26733 * sysdeps/i386/fpu/e_log2.S: Likewise.
26734 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26735 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26736 * sysdeps/i386/fpu/e_powl.S: Likewise.
26737 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26738 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26739 * sysdeps/i386/fpu/e_logl.S: Likewise.
26740 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26741 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26742 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26743 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26744 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26745 * sysdeps/i386/fpu/e_log.S: Likewise.
26746 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26747 * sysdeps/i386/fpu/e_logf.S: Likewise.
26748 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26749 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26750 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26751 * sysdeps/i386/fpu/e_log10.S: Likewise.
26752 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26753 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26754 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26755 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26756 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26757 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26758 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26759 * sysdeps/i386/i686/strtok.S: Likewise.
26760 * sysdeps/i386/i386-mcount.S: Likewise.
26761 * sysdeps/i386/strtok.S: Likewise.
26762 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26763 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26764 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26765 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26766 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26767 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26768 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26769 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26770 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26771 * sysdeps/x86_64/_mcount.S: Likewise.
26772 * sysdeps/x86_64/strtok.S: Likewise.
26773 * sysdeps/sh/_mcount.S: Likewise.
26775 2012-08-01 Roland McGrath <roland@hack.frob.com>
26777 * libio/iofopen.c: Include <fcntl.h>.
26778 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26779 (_IO_fopen64, fopen64): Define as aliases.
26780 * libio/iofopen64.c: Include <fcntl.h>.
26781 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26782 Conditionalize body on this.
26783 * sysdeps/wordsize-64/iofopen.c: File removed.
26784 * sysdeps/wordsize-64/iofopen64.c: File removed.
26786 2012-08-01 Marek Polacek <polacek@redhat.com>
26788 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26789 Use dlfcn directly instead of a variable.
26790 (binfmt-subdir): Do not define.
26793 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26795 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26796 Remove all definitions.
26797 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26798 <kernel-features.h>.
26799 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26800 (miss_F_GETOWN_EX): Remove all definitions.
26801 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26803 [!__ASSUME_FCNTL64]: Remove conditional code.
26804 [__ASSUME_FCNTL64]: Make code unconditional.
26805 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26806 <kernel-features.h>.
26807 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26808 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26809 (lockf64) [__NR_fcntl64]: Make code unconditional.
26810 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26812 * sysdeps/unix/sysv/linux/kernel-features.h
26813 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26814 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26815 Make code unconditional.
26816 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26817 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26819 [__NR_vfork]: Make code unconditional.
26820 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26821 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26823 [__NR_vfork]: Make code unconditional.
26824 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26825 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26827 2012-08-01 Roland McGrath <roland@hack.frob.com>
26829 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26830 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26832 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26833 Define mkstemp64 as an alias.
26834 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26835 Define mkstemps64 as an alias.
26836 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26837 Define mkostemp64 as an alias.
26838 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26839 Define mkostemps64 as an alias.
26840 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26841 Conditionalize body on this.
26842 * misc/mkostemp64.c: Likewise.
26843 * misc/mkostemps64.c: Likewise.
26844 * misc/mkstemps64.c: Likewise.
26845 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26846 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26847 * sysdeps/wordsize-64/mkostemp.c: File removed.
26848 * sysdeps/wordsize-64/mkstemp.c: File removed.
26849 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26850 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26851 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26852 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26855 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26856 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26857 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26858 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26860 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26861 compat_symbol macros from <shlib-compat.h> rather than the underlying
26862 default_symbol_version and symbol_version macros, so that DEFAULT
26863 lines in shlib-versions are respected.
26864 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26866 2012-08-01 Florian Weimer <fweimer@redhat.com>
26868 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26869 Declare with warn_unused_result.
26870 (setgid, setregid, setegid, setresgid): Likewise.
26871 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26873 * WUR-REPORT: Remove set*id functions.
26875 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26877 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26879 2012-07-31 Roland McGrath <roland@hack.frob.com>
26882 * include/sys/socket.h (__libc_accept, __libc_accept4):
26883 Add attribute_hidden.
26884 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26886 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26888 * inet/getnetgrent_r.c (setup): Likewise.
26890 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26892 2012-07-31 David S. Miller <davem@davemloft.net>
26894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26896 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26899 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26900 value between 1.0 and 2.0 and smaller part has absolute value less
26902 * math/s_clog10.c (__clog10): Likewise.
26903 * math/s_clog10f.c (__clog10f): Likewise.
26904 * math/s_clog10l.c (__clog10l): Likewise.
26905 * math/s_clogf.c (__clogf): Likewise.
26906 * math/s_clogl.c (__clogl): Likewise.
26907 * math/libm-test.inc (clog_test): Add more tests.
26908 (clog10_test): Likewise.
26909 * sysdeps/i386/fpu/libm-test-ulps: Update.
26910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26912 2012-07-31 Florian Weimer <fweimer@redhat.com>
26914 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26915 Exit with zero in case no suitable GID is found, and write a
26916 message to standard error.
26918 2012-07-30 Roland McGrath <roland@hack.frob.com>
26920 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26922 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26923 (MAXPATHLEN): Removed.
26924 (NOGROUP, NODEV): New macros.
26925 (setbit, clrbit, isset, isclr): New macros.
26926 (howmany, roundup, powerof2): New macros.
26927 (DEV_BSIZE): New macro.
26929 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26930 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26932 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26933 definition on [!__NO_LONG_DOUBLE_MATH].
26935 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26936 PTR_MANGLE and PTR_DEMANGLE.
26938 * socket/accept4.c (accept4): Rename to __libc_accept4.
26939 Define accept4 as a weak alias.
26941 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26942 on [_DIRENT_HAVE_D_TYPE].
26943 * io/ftw.c (ftw_dir): Likewise.
26945 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26947 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26949 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26950 Use the BSD numbers rather than the arbitrary ones we had.
26951 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26952 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26953 (SIGXCPU, SIGXFSZ): New macros.
26956 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26957 initializer on [_LIBC_REENTRANT].
26959 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26960 definitions inside [_POSIX_MAPPED_FILES].
26962 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26964 * dirent/opendir.c: Include <fcntl.h>.
26966 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26967 (__libc_getspecific): Likewise.
26968 (__libc_key_create): Likewise.
26970 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26971 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26972 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26973 (tmpfile64): Define as alias.
26974 * sysdeps/wordsize-64/tmpfile.c: File removed.
26975 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26976 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26977 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26979 * stdio-common/vfscanf.c: Include <stdbool.h>.
26980 * nss/makedb.c: Likewise.
26981 * stdio-common/_i18n_number.h: Likewise.
26982 * argp/argp-help.c: Likewise.
26983 * posix/wordexp.c: Likewise.
26984 * sysdeps/posix/spawni.c: Likewise.
26985 * nss/nss_files/files-initgroups.c: Likewise.
26986 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26987 * nss/nss_files/files-initgroups.c: Likewise.
26988 * nss/nss_db/db-netgrp.c: Likewise.
26989 * nss/nss_db/db-initgroups.c: Likewise.
26990 * io/fchmodat.c: Include <sys/stat.h>.
26992 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26993 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26995 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26998 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26999 Add multiple inclusion protection.
27001 2012-07-27 David S. Miller <davem@davemloft.net>
27003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27005 2012-07-27 Gary Benson <gbenson@redhat.com>
27008 * elf/rtld.c: Include <stap-probe.h>.
27009 (dl_main): Added static probes "init_start" and "init_complete".
27010 * elf/dl-load.c: Include <stap-probe.h>.
27011 (lose): Take new parameter "nsid".
27012 Added static probe "map_failed".
27013 (_dl_map_object_from_fd): Pass namespace id to lose.
27014 Added static probe "map_start".
27015 (open_verify): Pass namespace id to lose.
27016 * elf/dl-open.c: Include <stap-probe.h>.
27017 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27018 and "reloc_complete".
27019 * elf/dl-close.c: Include <stap-probe.h>.
27020 (_dl_close_worker): Added static probes "unmap_start" and
27022 * elf/rtld-debugger-interface.txt: New file documenting the above.
27024 2012-07-26 Roland McGrath <roland@hack.frob.com>
27026 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27027 rather than a string variable.
27028 * sunrpc/rpc_main.c (h_output): Likewise.
27029 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27031 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27033 * inet/check_native.c: New file.
27035 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27038 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27039 if larger part has absolute value 1.0.
27040 * math/s_clog10.c (__clog10): Likewise.
27041 * math/s_clog10f.c (__clog10f): Likewise.
27042 * math/s_clog10l.c (__clog10l): Likewise.
27043 * math/s_clogf.c (__clogf): Likewise.
27044 * math/s_clogl.c (__clogl): Likewise.
27045 * math/libm-test.inc (clog_test): Add more tests.
27046 (clog10_test): Likewise.
27047 * sysdeps/i386/fpu/libm-test-ulps: Update.
27048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27050 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27051 (pltexit): Likewise.
27052 (La_regs): Likewise.
27053 (La_retval): Likewise.
27054 (int_retval): Likewise.
27055 Update #error for removed macros to refer only to definitions in
27057 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27059 (pltexit): Likewise.
27060 (La_regs): Likewise.
27061 (La_retval): Likewise.
27062 (int_retval): Likewise.
27063 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27065 (pltexit): Likewise.
27066 (La_regs): Likewise.
27067 (La_retval): Likewise.
27068 (int_retval): Likewise.
27069 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27071 (pltexit): Likewise.
27072 (La_regs): Likewise.
27073 (La_retval): Likewise.
27074 (int_retval): Likewise.
27075 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27077 (pltexit): Likewise.
27078 (La_regs): Likewise.
27079 (La_retval): Likewise.
27080 (int_retval): Likewise.
27081 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27083 (pltexit): Likewise.
27084 (La_regs): Likewise.
27085 (La_retval): Likewise.
27086 (int_retval): Likewise.
27087 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27089 (pltexit): Likewise.
27090 (La_regs): Likewise.
27091 (La_retval): Likewise.
27092 (int_retval): Likewise.
27093 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27094 macro definitions in tst-audit.h.
27095 * sysdeps/i386/tst-audit.h: New file.
27096 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27097 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27098 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27099 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27100 * sysdeps/sh/tst-audit.h: Likewise.
27101 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27102 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27103 * sysdeps/x86_64/tst-audit.h: Likewise.
27105 2012-07-26 Andreas Jaeger <aj@suse.de>
27107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27110 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27111 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27112 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27114 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27115 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27116 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27118 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27121 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27123 (si_call_addr, si_syscall, si_arch): Define new macro.
27124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27126 (si_call_addr, si_syscall, si_arch): Define new marcro.
27127 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27129 (si_call_addr, si_syscall, si_arch): Define new macro.
27130 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27132 (si_call_addr, si_syscall, si_arch): Define new macro.
27134 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27137 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27138 Change to 2.4.21 where previously 2.4.1.
27139 * sysdeps/unix/sysv/linux/configure: Regenerated.
27140 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27141 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27142 Linux kernel version.
27143 (__ASSUME_STD_AUXV): Remove.
27144 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27146 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27147 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27148 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27149 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27150 (__ASSUME_NETLINK_SUPPORT): Likewise.
27151 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27152 (__no_netlink_support): Remove conditional definition.
27153 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27155 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27156 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27157 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27158 (if_nameindex_ioctl): Remove.
27159 (if_nameindex_netlink): Do not handle __no_netlink_support.
27160 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27162 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27163 Remove conditional code.
27164 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27166 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27168 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27169 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27170 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27172 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27173 [!__ASSUME_STD_AUXV]: Remove conditional code.
27174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27175 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27176 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27178 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27179 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27181 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27183 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27184 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27186 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27188 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27191 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27194 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27195 code unconditional.
27196 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27198 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27200 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27203 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27205 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27208 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27209 code unconditional.
27210 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27212 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27214 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27217 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27218 code unconditional.
27219 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27221 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27223 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27226 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27228 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27229 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27230 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27231 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27232 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27233 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27234 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27235 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27236 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27237 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27238 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27239 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27240 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27241 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27242 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27243 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27244 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27245 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27246 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27248 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27249 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27250 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27252 2012-07-25 Florian Weimer <fweimer@redhat.com>
27254 * Versions.def: Add GLIBC_2.17.
27255 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27256 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27257 Introduce __libc_secure_getenv.
27258 * stdlib/Versions (2.17): Add secure_getenv
27259 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27260 * stdlib/secure-getenv.c: Rename __secure_getenv to
27261 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27262 symbol __secure_getenv for GLIBC_2.0.
27263 * stdlib/tst-secure-getenv.c: New.
27264 * stdlib/Makefile (tests): Add testcase.
27265 * manual/startup.texi (Environment Access): Document
27267 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27268 __libc_secure_getenv.
27269 * inet/ruserpass.c (ruserpass): Likewise.
27270 * malloc/mtrace.c (mtrace): Likewise.
27271 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27272 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27273 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27274 * sysdeps/posix/tempname.c: Likewise. Evaluate
27275 HAVE_SECURE_GETENV.
27276 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27277 __secure_getenv to __libc_secure_getenv.
27278 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27285 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27291 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27293 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27294 (struct La_i86_retval): Likewise.
27295 (struct La_x86_64_regs): Likewise.
27296 (struct La_x86_64_retval): Likewise.
27297 (struct La_x32_regs): Likewise.
27298 (struct La_x32_retval): Likewise.
27299 (struct La_ppc32_regs): Likewise.
27300 (struct La_ppc32_retval): Likewise.
27301 (struct La_ppc64_regs): Likewise.
27302 (struct La_ppc64_retval): Likewise.
27303 (struct La_sh_regs): Likewise.
27304 (struct La_sh_retval): Likewise.
27305 (struct La_s390_32_regs): Likewise.
27306 (struct La_s390_32_retval): Likewise.
27307 (struct La_s390_64_regs): Likewise.
27308 (struct La_s390_64_retval): Likewise.
27309 (struct La_sparc32_regs): Likewise.
27310 (struct La_sparc32_retval): Likewise.
27311 (struct La_sparc64_regs): Likewise.
27312 (struct La_sparc64_retval): Likewise.
27313 (struct audit_ifaces): Remove architecture-specific pltenter and
27315 * sysdeps/i386/ldsodefs.h: New file.
27316 * sysdeps/powerpc/ldsodefs.h: Likewise.
27317 * sysdeps/s390/ldsodefs.h: Likewise.
27318 * sysdeps/sh/ldsodefs.h: Likewise.
27319 * sysdeps/sparc/ldsodefs.h: Likewise.
27320 * sysdeps/x86_64/ldsodefs.h: Likewise.
27322 2012-07-25 Marek Polacek <polacek@redhat.com>
27325 * math/libm-test.inc (yn_test): Add another test.
27326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27327 to ERANGE when the result is +-Inf.
27328 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27329 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27330 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27331 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27333 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27335 * conform/data/time.h-data (NULL): Use macro-constant. Require
27337 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27339 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27341 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27343 * configure.in <sysdeps resolving>: Correct printing
27345 * configure: Regenerate.
27347 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27349 * math/w_ilogb.c: Include <limits.h>.
27350 * math/w_ilogbl.c: Likewise.
27352 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27354 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27355 va_copy. Document allowing for unavailable va_copy only as
27356 pre-C99 compatibility.
27357 * manual/string.texi (Copying and Concatenation): Use va_copy
27358 instead of __va_copy in concat example.
27360 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27362 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27363 (__sendto): Use create_address_port. Initialize APORT and deallocate
27366 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27367 with O_NOLINK passed to __file_name_lookup.
27369 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27370 with O_NOLINK passed to __file_name_lookup.
27372 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27373 negative N or less than NGIDS.
27375 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27376 type to string_t. Set ERANGE as errno and return it if NAME is not big
27377 enough. Use memcpy instead of strncpy.
27379 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27381 * elf/Makefile (check-data): Remove.
27382 (localplt.data): New vpath directive.
27383 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27384 instead of $(check-data).
27385 * scripts/data/localplt-generic.data: Move to ...
27386 * sysdeps/generic/localplt.data: ... here.
27387 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27388 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27389 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27392 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27395 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27398 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27401 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27404 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27408 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27410 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27411 PPC32 and PPC64 files.
27412 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27413 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27415 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27417 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27418 __makecontext_ret to ...
27419 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27420 ... here and call exit if uc_link is NULL. New file.
27421 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27422 __makecontext_ret.S.
27423 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27424 __makecontext_ret to ...
27425 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27426 ... here and call exit if uc_link is NULL. New file.
27427 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27428 __makecontext_ret.S.
27430 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27432 * elf/elf.h (R_390_IRELATIVE): New definition.
27433 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27434 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27435 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27436 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27437 (elf_machine_lazy_rel): Likewise.
27438 * sysdeps/s390/dl-irel.h: New file.
27439 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27440 * sysdeps/s390/s390-64/memset.S: New asm code.
27441 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27442 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27443 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27444 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27445 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27446 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27447 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27448 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27449 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27450 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27451 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27452 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27453 * sysdeps/s390/s390-32/memset.S: New asm code.
27454 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27456 2012-07-17 Marek Polacek <polacek@redhat.com>
27459 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27460 * sysdeps/s390/s390-64/configure.in: Likewise.
27461 * sysdeps/sparc/configure.in: Likewise.
27462 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27463 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27464 * sysdeps/i386/configure.in: Likewise.
27465 * sysdeps/x86_64/configure.in: Likewise.
27466 * sysdeps/sh/configure.in: Likewise.
27467 * sysdeps/s390/s390-32/configure: Regenerated.
27468 * sysdeps/s390/s390-64/configure: Likewise.
27469 * sysdeps/x86_64/configure: Likewise.
27470 * sysdeps/sh/configure: Likewise.
27471 * sysdeps/powerpc/powerpc64/configure: Likewise.
27472 * sysdeps/powerpc/powerpc32/configure: Likewise.
27473 * sysdeps/sparc/configure: Likwise.
27474 * sysdeps/i386/configure: Likewise.
27476 * elf/dl-open.c: Comment fixes.
27478 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27480 * Makefile [CXX] (check-data): Remove.
27481 [CXX] (c++-types.data): New vpath directive.
27482 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27483 vpath. Do not allow for C++ type data being missing.
27484 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27485 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27486 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27487 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27488 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27489 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27490 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27493 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27496 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27499 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27502 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27505 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27508 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27511 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27514 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27515 definitions to architecture-specific files.
27516 (TLS_IE): Likewise.
27517 (TLS_LD): Likewise.
27518 (TLS_GD): Likewise.
27519 * sysdeps/i386/tls-macros.h: New file.
27520 * sysdeps/powerpc/tls-macros.h: Likewise.
27521 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27522 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27523 * sysdeps/sh/tls-macros.h: Likewise.
27524 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27525 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27526 * sysdeps/x86_64/tls-macros.h: Likewise.
27528 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27530 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27531 zero value for regular exit case.
27533 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27534 (__start_context): Preserve zero value for regular exit case.
27536 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27537 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27539 * manual/setjmp.texi (setcontext): Clarify normal process
27540 termination when uc_link is the null pointer.
27541 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27544 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27546 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27547 preprocessor. Test for each exception mask separately.
27549 2012-07-16 Andreas Jaeger <aj@suse.de>
27551 * po/ru.po: Update from translation team.
27553 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27555 * conform/data/string.h-data (NULL): Use macro-constant. Require
27557 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27558 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27559 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27560 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27563 2012-07-13 Andreas Jaeger <aj@suse.de>
27565 * po/fr.po: Update from translation team.
27567 2012-07-12 Marek Polacek <polacek@redhat.com>
27570 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27571 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27574 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27577 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27578 Change to 2.4.1 where previously 2.4.0.
27579 * sysdeps/unix/sysv/linux/configure: Regenerated.
27580 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27581 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27583 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27584 (__ASSUME_AT_CLKTCK): Remove.
27585 (__ASSUME_AT_PAGESIZE): Likewise.
27586 (__ASSUME_AT_XID): Likewise.
27587 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27588 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27589 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27591 (HAVE_AUX_PAGESIZE): Likewise.
27592 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27593 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27594 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27596 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27600 the temporary buffer used to invoke __gethostbyname2_r,
27601 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27602 host_data / struct gaih_addrtuple.
27603 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27604 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27605 header file nss/nsswitch.h.
27606 * nss/nsswitch.h (global scope): Add definition of implementation
27607 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27608 resolv/nss_dns/dns-host.c).
27610 2012-07-11 Andreas Jaeger <aj@suse.de>
27612 * po/fr.po: Update from translation team.
27614 * po/sv.po: Update from translation team
27615 * po/fr.po: Another update from translation team.
27617 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27619 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27620 for subnormals or multiply small sinh result by itself.
27621 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27624 2012-07-11 David S. Miller <davem@davemloft.net>
27626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27628 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27631 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27632 (INTERNAL_MARK): Shift it here.
27634 2012-07-10 Marek Polacek <polacek@redhat.com>
27637 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27638 libc_cv_asm_global_directive with .globl.
27639 * configure: Regenerated.
27640 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27642 * sysdeps/i386/configure: Regenerated.
27643 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27645 * sysdeps/x86_64/configure: Regenerated.
27646 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27647 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27648 * elf/tst-unique2mod2.c: Likewise.
27649 * elf/tst-unique2mod1.c: Likewise.
27650 * elf/tst-unique1mod2.c: Likewise.
27651 * elf/tst-unique1mod1.c: Likewise.
27652 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27653 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27654 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27655 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27656 * sysdeps/mach/sysdep.h: Likewise.
27657 * sysdeps/i386/sysdep.h: Likewise.
27658 * sysdeps/i386/i386-mcount.S: Likewise.
27659 * sysdeps/x86_64/_mcount.S: Likewise.
27660 * sysdeps/x86_64/sysdep.h: Likewise.
27661 * sysdeps/sh/_mcount.S: Likewise.
27662 * sysdeps/sh/sysdep.h: Likewise.
27663 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27664 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27665 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27666 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27667 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27668 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27669 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27670 * locale/localeinfo.h: Likewise.
27671 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27672 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27674 2012-07-09 Roland McGrath <roland@hack.frob.com>
27677 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27679 * manual/message.texi (The Uniforum approach): Likewise.
27680 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27681 (glibc iconv Implementation): Likewise.
27683 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27686 * math/s_clog.c (__clog): Avoid scaling a value down where that
27687 could result in underflow.
27688 * math/s_clog10.c (__clog10): Likewise.
27689 * math/s_clog10f.c (__clog10f): Likewise.
27690 * math/s_clog10l.c (__clog10l): Likewise.
27691 * math/s_clogf.c (__clogf): Likewise.
27692 * math/s_clogl.c (__clogl): Likewise.
27693 * math/libm-test.inc (clog_test): Add more tests.
27694 (clog10_test): Likewise.
27695 * sysdeps/i386/fpu/libm-test-ulps: Update.
27696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27698 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27701 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27702 by 7 not 8 to examine high bit of fractional part.
27705 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27706 for call to __mcount_internal.
27707 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27708 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27709 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27711 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27714 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27715 approximation for values within 0x1p-13f of an odd multiple of
27717 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27718 exception. Add more tests.
27719 * sysdeps/i386/fpu/libm-test-ulps: Update.
27722 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27723 inputs and return -1 for them. Do not check for +Inf in case not
27724 reachable for +Inf.
27725 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27726 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27727 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27728 and return -1 for them. Do not check for +Inf in case not
27729 reachable for +Inf.
27730 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27732 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27733 and return -1 for them. Do not check for +Inf in case not
27734 reachable for +Inf.
27735 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27736 spurious underflow.
27737 * sysdeps/i386/fpu/libm-test-ulps: Update.
27738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27740 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27742 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27744 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27748 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27749 could result in spurious underflow. Scale down values above
27750 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27751 * math/s_csqrtf.c (__csqrtf): Likewise.
27752 * math/s_csqrtl.c (__csqrtl): Likewise.
27753 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27754 spurious underflow.
27755 * sysdeps/i386/fpu/libm-test-ulps: Update.
27756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27758 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27760 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27762 * catgets/xopen-msg.awk: New file.
27763 * catgets/xopen-msg.sed: Removed.
27765 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27767 * intl/po2test.awk: New file.
27768 * intl/po2test.sed: Removed.
27770 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27773 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27774 or multiply small sinh result by itself.
27775 * math/s_ctanf.c (__ctanf): Likewise.
27776 * math/s_ctanh.c (__ctanh): Likewise.
27777 * math/s_ctanhf.c (__ctanhf): Likewise.
27778 * math/s_ctanhl.c (__ctanhl): Likewise.
27779 * math/s_ctanl.c (__ctanl): Likewise.
27780 * math/libm-test.inc (ctan_test_tonearest): New function.
27781 (ctan_test_towardzero): Likewise.
27782 (ctan_test_downward): Likewise.
27783 (ctan_test_upward): Likewise.
27784 (ctanh_test_tonearest): Likewise.
27785 (ctanh_test_towardzero): Likewise.
27786 (ctanh_test_downward): Likewise.
27787 (ctanh_test_upward): Likewise.
27788 (main): Call these new functions.
27789 * sysdeps/i386/fpu/libm-test-ulps: Update.
27790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27792 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27794 * .gitignore: Delete /ports entry.
27796 2012-07-03 Andreas Jaeger <aj@suse.de>
27798 * po/bg.po: Update from translation team.
27799 * po/cs.po: Likewise.
27800 * po/de.po: Likewise.
27801 * po/hr.po: Likewise.
27802 * po/nl.pl: Likewise.
27803 * po/pl.po: Likewise.
27804 * po/vi.po: Likewise.
27806 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27808 * Makeconfig [!+link] (+link-before-libc): New variable.
27809 [!+link] (+link-after-libc): Likewise.
27810 [!+link] (+link-tests): Likewise.
27811 [!+link] (+link): Define in terms of $(+link-before-libc) and
27812 $(+link-after-libc).
27813 [!+link-static] (+link-static-before-libc): New variable.
27814 [!+link-static] (+link-static-after-libc): Likewise.
27815 [!+link-static] (+link-static-tests): Likewise.
27816 [!+link-static] (+link-static): Define in terms of
27817 $(+link-static-before-libc) and $(+link-static-after-libc).
27818 [build-shared] (link-libc-before-gnulib): New variable.
27819 [build-shared] (link-libc-tests): Likewise.
27820 [build-shared] (link-libc): Define in terms of
27821 $(link-libc-before-gnulib).
27822 [!build-shared] (link-libc-tests): New variable.
27823 (link-libc-static-tests): New variable.
27824 [!gnulib] (gnulib-arch): New variable.
27825 [!gnulib] (gnulib-tests): Likewise.
27826 [!gnulib] (static-gnulib-arch): Likewise.
27827 [!gnulib] (static-gnulib-tests): Likewise.
27828 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27829 Define with "=" instead of ":=".
27830 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27831 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27832 * Rules (binaries-all-notests): New variable.
27833 (binaries-all-tests): Likewise.
27834 (binaries-static-notests): Likewise.
27835 (binaries-static-tests): Likewise.
27836 (binaries-all): Define using $(binaries-all-notests) and
27837 $(binaries-all-tests).
27838 (binaries-static): Define using $(binaries-static-notests) and
27839 $(binaries-static-tests).
27840 (binaries-shared-tests): New variable.
27841 (binaries-shared-notests): Likewise.
27842 (binaries-shared): Remove variable.
27843 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27844 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27845 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27846 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27847 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27848 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27849 * elf/Makefile (sln-modules): New variable.
27850 (extra-objs): Add $(sln-modules:=.o).
27851 (ldconfig-modules): Add static-stubs.
27852 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27853 * elf/static-stubs.c: New file.
27856 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27857 by 7 not 8 to examine high bit of fractional part. Use volatile
27858 variables when splitting into final array of floats if
27859 __FLT_EVAL_METHOD__ != 0.
27860 * math/libm-test.inc (cos_test): Add another test.
27861 (sin_test): Likewise.
27862 * sysdeps/i386/fpu/libm-test-ulps: Update.
27865 * math/libm-test.inc (cosh_test): Add more tests.
27867 * version.h (RELEASE): Set to "development".
27868 (VERSION): Set to "2.16.90".
27870 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27872 * NEWS: Update copyright. Remove last-updated date.
27873 Mention math library bug fixes and timezone data changes.
27874 * README: Mention GNU/Hurd, x32, and HPPA support status.
27876 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27878 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27880 2012-06-27 Andreas Jaeger <aj@suse.de>
27882 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27884 2012-06-25 Andreas Jaeger <aj@suse.de>
27886 * sysdeps/s390/fpu/libm-test-ulps: Update.
27888 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27889 Thomas Schwinge <thomas@codesourcery.com>
27891 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27892 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27896 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27898 * sysdeps/mach/start.c: Remove file.
27899 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27900 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27901 * sysdeps/sh/init-first.c: Likewise.
27903 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27904 registers for frame unwinding purposes, add CFI directives.
27905 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27906 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27907 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27910 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27911 __fortify_fail returning.
27912 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27914 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27915 sysdeps/sh/____longjmp_chk.S.
27916 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27917 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27918 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27919 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27921 * sysdeps/sh/abort-instr.h: New file.
27922 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27923 process in case exit returns.
27925 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27926 initialize the GOT register before use.
27928 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27929 calculation of ARGC > 4.
27931 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27932 meaningful names to some local labels.
27934 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27935 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27937 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27938 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27939 (__arch_compare_and_exchange_val_16_acq): Likewise.
27940 (__arch_compare_and_exchange_val_32_acq): Likewise.
27941 (atomic_exchange_and_add): Fix gUSA sequence.
27942 (atomic_add): Likewise.
27943 (atomic_add_negative): Likewise.
27944 (atomic_add_zero): Likewise.
27945 (atomic_bit_test_set): Likewise.
27947 2012-06-22 Andreas Schwab <schwab@redhat.com>
27950 * include/link.h (struct link_map): Add l_free_initfini.
27951 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27953 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27954 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27955 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27958 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27960 * configure.in: Use AC_LANG_SOURCE.
27961 * configure: Regenerate.
27963 2012-06-22 Roland McGrath <roland@hack.frob.com>
27965 * configure.in (libc_cv_localstatedir): New substituted variable.
27966 * configure: Regenerated.
27967 * config.make.in (localstatedir): New variable, substituted from
27968 libc_cv_localstatedir.
27969 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27970 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27971 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27972 * sysdeps/gnu/configure: Regenerated.
27974 2012-06-21 Jeff Law <law@redhat.com>
27977 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27978 free. Simplify list management for _LIBC case.
27980 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27983 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27984 Clear sign bit of 64-bit integer value before comparing against
27987 * sysdeps/mach/configure: Regenerated.
27989 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27992 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27994 2012-06-21 Jeff Law <law@redhat.com>
27997 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27998 uint16_t for elements in the "seen" array to avoid char overflows.
27999 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28000 * elf/dl-open.c (dl_open_worker): Likewise.
28002 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28004 * scripts/list-sources.sh: Scan PORTS for translations.
28005 * po/libc.pot: Regenerated.
28007 2012-06-21 Andreas Jaeger <aj@suse.de>
28010 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28012 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28013 * bits/byteswap-16.h (__bswap_16): Likewise.
28014 * bits/byteswap.h (__bswap_constant_16): Likewise.
28016 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28019 * sysdeps/i386/fpu_control.h: Removed.
28020 * sysdeps/x86_64/fpu_control.h: Moved to ...
28021 * sysdeps/x86/fpu_control.h: Here.
28023 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28024 (_FPU_SETCW): Likewise.
28026 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28029 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28030 * sysdeps/x86/fpu/bits/mathinline.h: This.
28031 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28035 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28036 functions if __x86_64__ is defined.
28038 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28040 * string/endian.h: Add !__ASSEMBLER__ condition for including
28041 conversion interfaces.
28043 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28046 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28047 of ABS(x) in calculating zero to negative powers other than odd
28049 * math/libm-test.inc (pow_test): Add more tests.
28051 2012-06-15 Andreas Jaeger <aj@suse.de>
28053 * manual/contrib.texi (Contributors): Update entry of Liubov
28054 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28057 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28059 * string/string.h: Add __wur to GNU version of strerror_r.
28061 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28064 * string/Makefile (tests): Add tst-strtok_r.
28065 * string/tst-strtok_r.c: New file.
28066 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28067 RAX_LP/RDX_LP on SAVE_PTR.
28069 2012-06-14 Roland McGrath <roland@hack.frob.com>
28071 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28073 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28075 * libm_test.inc (csqrt_test): Allow more spurious underflow
28077 (j0_test): Likewise.
28078 (j1_test): Likewise.
28079 (y0_test): Likewise.
28080 (y1_test): Likewise.
28082 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28084 * po/Makefile (libc.pot): Use UTF-8 charset.
28086 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28089 Suppress sign-conversion warning from FD_SET.
28090 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28091 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28092 not unsigned long int.
28093 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28095 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28099 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28100 __extern_always_inline instead of __extern_inline.
28101 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28102 (__signbit): Likewise.
28103 (__signbitl): Support C++ namespace.
28104 (lrintf): New inline function.
28106 (llrintf): Likewise.
28107 (llrint): Likewise.
28117 (floorf): Likewise.
28118 (nearbyint): Likewise.
28119 (nearbyintf): Likewise.
28121 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28123 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28124 non-default versions.
28126 2012-06-11 Roland McGrath <roland@hack.frob.com>
28129 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28131 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28133 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28134 (FE_UPWARD, FE_DOWNWARD): Don't define.
28135 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28136 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28138 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28140 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28141 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28143 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28145 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28147 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28148 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28150 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28153 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28154 * sysdeps/i386/fpu/Implies: New file.
28155 * sysdeps/x86_64/fpu/Implies: Likewise.
28156 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28157 * sysdeps/x86/fpu/bits/fenv.h: This.
28159 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28162 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28165 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28166 character 0xffff that matches the last element of the
28169 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28174 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28177 values higher than 25.6283.
28179 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28182 subnormal exponent extraction and add some __builtin_expect.
28183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28184 Fix for subnormal mantissa calculation.
28186 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28188 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28189 cpu2 is -1 and errno is not ENOSYS.
28191 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28194 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28195 * sysdeps/x86/bits/string.h: This.
28196 * sysdeps/x86_64/bits/string.h: Removed.
28198 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28199 if not compiling for x86-64, but compiling for >= i486.
28201 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28202 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28204 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28205 New macro from Linux kernel 3.4.0.
28206 (FP_XSTATE_MAGIC2): Likewise.
28207 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28208 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28209 (struct _fpx_sw_bytes): New struct.
28210 (struct _xsave_hdr): Likewise.
28211 (struct _ymmh_state): Likewise.
28212 (struct _xstate): Likewise.
28214 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28215 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28216 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28217 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28218 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28219 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28221 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28222 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28223 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28224 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28225 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28226 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28228 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28231 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28232 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28233 (sysdep_headers): Include sys/platform/ppc.h.
28234 * sysdeps/powerpc/test-gettimebase.c: Test for
28235 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28236 * manual/Makefile (appendices): Include platform.texi.
28237 * manual/contrib.texi (Contributors): Update @node pointers.
28238 * manual/maint.texi (Maintenance): Likewise.
28239 (Platform): New node.
28240 * manual/platform.texi: New file. Document the new features.
28242 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28243 Jakub Jelinek <jakub@redhat.com>
28246 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28247 where __builtin_expect is unavailable.
28249 2012-06-03 David S. Miller <davem@davemloft.net>
28251 * stdlib/longlong.h: Updated from GCC.
28253 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28256 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28257 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28260 (GLIBC_2.16): Likewise.
28262 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28264 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28266 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28269 (default-abi): New variable.
28270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28271 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28273 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28275 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28277 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28280 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28281 definition. Document in comment.
28283 2012-06-01 David S. Miller <davem@davemloft.net>
28285 * stdlib/longlong.h: Updated from GCC.
28287 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28290 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28291 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28292 sys/debugreg.h sys/io.h here.
28293 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28294 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28296 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28297 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28298 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28299 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28300 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28301 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28304 Define only if __x86_64__ is defined.
28306 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28309 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28310 Use int64_t for variable i.
28311 * math/libm-test.inc (fmod_test): Add more tests.
28313 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28314 z computation is not scheduled after fetestexcept.
28315 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28316 Use math_force_eval instead of asm to ensure calculation scheduled
28317 before exception test.
28318 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28319 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28321 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28324 computation is not scheduled after fetestexcept.
28326 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28329 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28330 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28332 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28334 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28335 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28337 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28340 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28342 (__WCHAR_MIN): Support __WORDSIZE == 64.
28343 (__WCHAR_MAX): Likewise.
28345 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28346 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28349 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28350 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28353 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28354 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28356 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28357 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28359 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28360 Defined to 1 if __x86_64__ isn't defined.
28361 (_STAT_VER_LINUX_OLD): New.
28362 (st_atime): Remove duplicate.
28363 (st_mtime): Likewise.
28364 (st_ctime): Likewise.
28366 2012-05-31 David S. Miller <davem@davemloft.net>
28368 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28371 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28373 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28377 * elf/dl-reloc.c: Include <_itoa.h>.
28378 (_dl_reloc_bad_type): Remove use of INTUSE.
28379 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28380 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28381 * stdio-common/psiginfo.c (psiginfo): Likewise.
28382 * stdio-common/psignal.c (psignal): Likewise.
28383 * string/strsignal.c (strsignal): Likewise.
28384 * include/signal.h (_sys_siglist): Declare hidden proto.
28385 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28386 INTVARDEF with libc_hidden_data_def.
28387 * stdio-common/itoa-udigits.c: Likewise.
28388 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28389 (_itoa_lower_digits_internal): Remove declaration.
28390 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28391 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28392 (_sys_sigabbrev_internal): Remove aliases.
28393 (_sys_siglist): Define hidden alias.
28395 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28400 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28403 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28404 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28406 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28407 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28408 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28409 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28410 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28411 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28413 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28414 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28415 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28417 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28425 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28426 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28427 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28429 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28430 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28431 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28432 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28433 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28434 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28436 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28437 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28439 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28440 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28444 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28446 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28447 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28449 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28451 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28452 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28453 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28455 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28457 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28459 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28461 * math/math.h (M_El): Use two more decimal places.
28462 (M_LOG2El): Likewise.
28463 (M_LOG10El): Likewise.
28464 (M_LN2l): Likewise.
28465 (M_LN10l): Likewise.
28467 (M_PI_2l): Likewise.
28468 (M_PI_4l): Likewise.
28469 (M_1_PIl): Likewise.
28470 (M_2_PIl): Likewise.
28471 (M_2_SQRTPIl): Likewise.
28472 (M_SQRT2l): Likewise.
28473 (M_SQRT1_2l): Likewise.
28475 2012-05-31 David S. Miller <davem@davemloft.net>
28477 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28478 values between float registers.
28479 * sysdeps/sparc/sparc64/memset.S: Likewise.
28480 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28482 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28484 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28485 -D_FORTIFY_SOURCE=1.
28486 (CPPFLAGS-tst-longjmp_chk.c): Define.
28487 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28488 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28489 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28490 CFLAGS-tst-wchar-h.c.
28492 2012-05-31 Marek Polacek <polacek@redhat.com>
28495 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28496 __endmntent_internal): Remove declaration.
28497 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28498 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28499 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28501 2012-05-30 David S. Miller <davem@davemloft.net>
28503 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28504 (___Q_simulate_exceptions): Use real FP ops rather than writing
28506 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28509 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28512 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28513 * sysdeps/x86/bits/xtitypes.h: This.
28515 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28516 * sysdeps/x86/bits/wordsize.h: This.
28518 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28519 * sysdeps/x86/bits/huge_vall.h: This.
28521 * sysdeps/i386/bits/select.h: Removed.
28522 * sysdeps/x86_64/bits/select.h: Renamed to ...
28523 * sysdeps/x86/bits/select.h: This.
28525 * sysdeps/i386/bits/setjmp.h: Removed.
28526 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28527 * sysdeps/x86/bits/setjmp.h: This.
28529 * sysdeps/i386/bits/mathdef.h: Removed.
28530 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28531 * sysdeps/x86/bits/mathdef.h: This.
28533 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28536 * include/sys/socket.h (__connect_internal)
28537 (__libc_sa_len_internal): Remove declaration.
28538 (__connect, __libc_sa_len): Declare hidden_proto.
28539 (SA_LEN): Remove use of INTUSE.
28540 * socket/connect.c: Add libc_hidden_def.
28541 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28542 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28543 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28545 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28546 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28547 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28548 of adding _internal alias.
28550 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28553 * sysdeps/i386/bits/link.h: Removed.
28554 * sysdeps/i386/bits/linkmap.h: Likewise.
28555 * sysdeps/x86_64/bits/link.h: Renamed to ...
28556 * sysdeps/x86/bits/link.h: This.
28557 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28558 * sysdeps/x86/bits/linkmap.h: This.
28560 * sysdeps/i386/bits/endian.h: Removed.
28561 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28562 * sysdeps/x86/bits/endian.h: This.
28564 * sysdeps/i386/bits/byteswap.h: Removed.
28565 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28566 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28567 * sysdeps/x86/bits/byteswap.h: This.
28568 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28569 * sysdeps/x86/bits/byteswap-16.h: This.
28570 * sysdeps/i386/Implies: Add x86.
28571 * sysdeps/x86_64/Implies: Likewise.
28573 2012-05-30 David S. Miller <davem@davemloft.net>
28575 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28576 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28577 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28578 (FP_TRAPPING_EXCEPTIONS): Define.
28579 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28580 (FP_TRAPPING_EXCEPTIONS): Define.
28581 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28582 subnormals only when inexact has been signalled or underflow
28583 exceptions are enabled.
28584 (_FP_PACK_CANONICAL): Likewise.
28586 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28589 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28590 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28592 2012-05-30 Richard Henderson <rth@twiddle.net>
28594 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28595 with #ifndef NOT_IN_libc.
28597 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28598 marked to avoid plt entry.
28600 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28603 * Makeconfig (default-abi): New macro.
28604 (abi-includes): Likewise.
28605 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28606 $(abi-$(default-abi)-lib-soname) for soname if defined.
28607 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28609 * Makefile (installed-stubs): Likewise.
28610 * include/stubs-biarch.h: Removed.
28611 * scripts/lib-names.awk: Only handle one library at a time.
28612 * scripts/soversions.awk: Remove WORDSIZE support.
28613 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28615 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28617 (syscall-list-default-condition): Likewise.
28618 (syscall-list-default-condition): Likewise.
28619 (syscall-list-includes): Likewise.
28620 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28621 syscall-list-* with abi-*. Handle undefined abi-variants.
28622 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28623 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28624 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28625 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28626 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28627 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28629 (syscall-list-32-options): Likewise.
28630 (syscall-list-32-condition): Likewise.
28631 (syscall-list-64-options): Likewise.
28632 (syscall-list-64-condition): Likewise.
28633 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28635 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28638 (abi-64-ld-soname): New macro.
28639 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28640 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28643 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28644 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28646 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28648 * sysdeps/unix/sysv/linux/kernel-features.h
28649 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28650 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28651 include <kernel-features.h>.
28652 [!__NR_ftruncate64]: Remove conditional code.
28653 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28654 [__NR_ftruncate64]: Make code unconditional.
28655 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28656 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
28675 * configure.in (libc_cv_fpie): Weaken to a compile test using
28676 LIBC_TRY_CC_OPTION.
28677 * configure: Regenerated.
28679 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28694 2012-05-27 David S. Miller <davem@davemloft.net>
28696 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28698 (__Q_simulate_exceptions): Return void. Change to simulate
28699 exceptions by writing into the %fsr.
28700 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28701 (__Qp_handle_exceptions): Likewise.
28703 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28704 __Qp_handle_exceptions.
28705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28706 __Qp_handle_exceptions.
28707 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28708 as unused and give dummy FP_RND_NEAREST initializer.
28709 (FP_INHIBIT_RESULTS): Define.
28710 (___Q_simulate_exceptions): Update declaration.
28711 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28713 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28714 as unused and give dummy FP_RND_NEAREST initializer.
28715 (__Qp_handle_exceptions): Update declaration.
28716 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28719 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28721 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28722 the temporary FPU control word.
28723 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28724 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28725 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28726 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28727 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28728 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28729 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28730 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28731 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28732 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28733 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28735 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28737 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28740 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28742 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28743 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28744 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28745 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28747 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28748 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28751 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28753 * po/h.po: Update from translation team.
28755 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28757 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28759 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28760 handling of denormals.
28761 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28762 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28763 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28764 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28770 2012-05-26 Marek Polacek <polacek@redhat.com>
28773 * math/libm-test.inc (fma_test): Don't always expect underflow
28776 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28779 * elf/tst-execstack.c: Include stackinfo.h.
28780 (do_test): Adjust test case to ensure that pthread_getattr_np
28781 behaviour remains the same after marking stack executable.
28783 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28785 * sysdeps/unix/sysv/linux/kernel-features.h
28786 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28787 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28789 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28790 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28791 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28793 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28794 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28796 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28798 * configure.in: Define the default includes to being none.
28799 * configure: Regenerated.
28801 2012-05-25 Roland McGrath <roland@hack.frob.com>
28803 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28804 * sysdeps/x86_64/setjmp.S: Likewise.
28805 * sysdeps/i386/bsd-setjmp.S: Likewise.
28806 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28807 * sysdeps/i386/setjmp.S: Likewise.
28808 * sysdeps/i386/__longjmp.S: Likewise.
28809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28810 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28812 * include/stap-probe.h: New file.
28813 * configure.in: Handle --enable-systemtap.
28814 * configure: Regenerated.
28815 * config.h.in (USE_STAP_PROBE): New #undef.
28816 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28817 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28818 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28820 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28823 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28824 to 2.4.0 where earlier.
28825 * sysdeps/unix/sysv/linux/configure: Regenerated.
28826 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28827 <kernel-features.h>.
28828 [__ASSUME_32BITUIDS]: Make code unconditional.
28829 [!__ASSUME_32BITUIDS]: Remove conditional code.
28830 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28831 <kernel-features.h>.
28832 [__ASSUME_32BITUIDS]: Make code unconditional.
28833 [!__ASSUME_32BITUIDS]: Remove conditional code.
28834 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28835 [__ASSUME_32BITUIDS]: Make code unconditional.
28836 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28837 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28838 <kernel-features.h>.
28839 [__ASSUME_32BITUIDS]: Make code unconditional.
28840 [!__ASSUME_32BITUIDS]: Remove conditional code.
28841 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28842 <kernel-features.h>.
28843 [__ASSUME_32BITUIDS]: Make code unconditional.
28844 [!__ASSUME_32BITUIDS]: Remove conditional code.
28845 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28846 <kernel-features.h>.
28847 [__ASSUME_32BITUIDS]: Make code unconditional.
28848 [!__ASSUME_32BITUIDS]: Remove conditional code.
28849 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28850 <kernel-features.h>.
28851 [__ASSUME_32BITUIDS]: Make code unconditional.
28852 [!__ASSUME_32BITUIDS]: Remove conditional code.
28853 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28854 <kernel-features.h>.
28855 [__ASSUME_32BITUIDS]: Make code unconditional.
28856 [!__ASSUME_32BITUIDS]: Remove conditional code.
28857 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28858 <kernel-features.h>.
28859 [__ASSUME_32BITUIDS]: Make code unconditional.
28860 [!__ASSUME_32BITUIDS]: Remove conditional code.
28861 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28862 <kernel-features.h>.
28863 [__ASSUME_32BITUIDS]: Make code unconditional.
28864 [!__ASSUME_32BITUIDS]: Remove conditional code.
28865 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28866 <kernel-features.h>.
28867 [__ASSUME_32BITUIDS]: Make code unconditional.
28868 [!__ASSUME_32BITUIDS]: Remove conditional code.
28869 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28870 <kernel-features.h>.
28871 [__ASSUME_32BITUIDS]: Make code unconditional.
28872 [!__ASSUME_32BITUIDS]: Remove conditional code.
28873 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28874 <kernel-features.h>.
28875 [__ASSUME_32BITUIDS]: Make code unconditional.
28876 [!__ASSUME_32BITUIDS]: Remove conditional code.
28877 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28878 <kernel-features.h>.
28879 [__NR_setresgid] (__setresgid): Do not declare.
28880 [__ASSUME_32BITUIDS]: Make code unconditional.
28881 [!__ASSUME_32BITUIDS]: Remove conditional code.
28882 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28883 <kernel-features.h>.
28884 [__NR_setresuid] (__setresuid): Do not declare.
28885 [__ASSUME_32BITUIDS]: Make code unconditional.
28886 [!__ASSUME_32BITUIDS]: Remove conditional code.
28887 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28888 <kernel-features.h>.
28889 [__ASSUME_32BITUIDS]: Make code unconditional.
28890 [!__ASSUME_32BITUIDS]: Remove conditional code.
28891 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28892 <kernel-features.h>.
28893 [__ASSUME_32BITUIDS]: Make code unconditional.
28894 [!__ASSUME_32BITUIDS]: Remove conditional code.
28895 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28896 <kernel-features.h>.
28897 [__ASSUME_32BITUIDS]: Make code unconditional.
28898 [!__ASSUME_32BITUIDS]: Remove conditional code.
28899 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28900 <kernel-features.h>.
28901 [__ASSUME_32BITUIDS]: Make code unconditional.
28902 [!__ASSUME_32BITUIDS]: Remove conditional code.
28903 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28904 <kernel-features.h>.
28905 [__ASSUME_32BITUIDS]: Make code unconditional.
28906 [!__ASSUME_32BITUIDS]: Remove conditional code.
28907 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28908 <kernel-features.h>.
28909 [__ASSUME_32BITUIDS]: Make code unconditional.
28910 [!__ASSUME_32BITUIDS]: Remove conditional code.
28911 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28912 <kernel-features.h>.
28913 [__ASSUME_32BITUIDS]: Make code unconditional.
28914 [!__ASSUME_32BITUIDS]: Remove conditional code.
28915 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28916 <kernel-features.h>.
28917 [__ASSUME_32BITUIDS]: Make code unconditional.
28918 [!__ASSUME_32BITUIDS]: Remove conditional code.
28919 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28920 <kernel-features.h>.
28921 [__ASSUME_32BITUIDS]: Make code unconditional.
28922 [!__ASSUME_32BITUIDS]: Remove conditional code.
28923 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28924 <kernel-features.h>.
28925 [__ASSUME_32BITUIDS]: Make code unconditional.
28926 [!__ASSUME_32BITUIDS]: Remove conditional code.
28927 * sysdeps/unix/sysv/linux/kernel-features.h
28928 (__ASSUME_SETRESUID_SYSCALL): Remove.
28929 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28930 (__ASSUME_32BITUIDS): Likewise.
28931 (__ASSUME_LDT_WORKS): Likewise.
28932 (__ASSUME_O_DIRECTORY): Likewise.
28933 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28934 architecture but not kernel version.
28935 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28936 (__ASSUME_MMAP2_SYSCALL): Likewise.
28937 (__ASSUME_STAT64_SYSCALL): Likewise.
28938 (__ASSUME_IPC64): Likewise.
28939 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28940 <kernel-features.h>.
28941 [__ASSUME_32BITUIDS]: Make code unconditional.
28942 [!__ASSUME_32BITUIDS]: Remove conditional code.
28943 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28944 <kernel-features.h>.
28945 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28946 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28947 132096]: Remove conditional code.
28948 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28949 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28950 <kernel-features.h>.
28951 [__ASSUME_32BITUIDS]: Make code unconditional.
28952 [!__ASSUME_32BITUIDS]: Remove conditional code.
28953 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28954 <kernel-features.h>.
28955 [__ASSUME_32BITUIDS]: Make code unconditional.
28956 [!__ASSUME_32BITUIDS]: Remove conditional code.
28957 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28958 <kernel-features.h>.
28959 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28961 (__setresgid): Do not declare.
28962 [__ASSUME_32BITUIDS]: Make code unconditional.
28963 [!__ASSUME_32BITUIDS]: Remove conditional code.
28964 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28965 <kernel-features.h>.
28966 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28968 (__setresuid): Do not declare.
28969 [__ASSUME_32BITUIDS]: Make code unconditional.
28970 [!__ASSUME_32BITUIDS]: Remove conditional code.
28971 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28972 <kernel-features.h>.
28973 [__ASSUME_32BITUIDS]: Make code unconditional.
28974 [!__ASSUME_32BITUIDS]: Remove conditional code.
28975 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28976 <kernel-features.h>.
28977 [__ASSUME_32BITUIDS]: Make code unconditional.
28978 [!__ASSUME_32BITUIDS]: Remove conditional code.
28980 2012-05-25 Richard Henderson <rth@twiddle.net>
28982 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28983 dl_hwcap to ifunc resolver.
28984 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28986 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28987 dl_hwcap to ifunc resolver.
28988 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28990 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28993 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28994 for |x| <= 2**-26, not 2**-57.
28995 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28998 2012-05-24 Jeff Law <law@redhat.com>
29000 * stdio-common/Makefile (tests): Add bug25.
29001 * stdio-common/bug25.c: New test.
29003 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29006 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29007 multiple of MALLOC_ALIGNMENT in size.
29008 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29010 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29012 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29014 (FILENAME_MAX): Use macro-int-constant.
29015 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29016 (_IOFBF): Use macro-int-constant.
29017 (_IOLBF): Likewise.
29018 (_IONBF): Likewise.
29019 (SEEK_CUR): Likewise.
29020 (SEEK_END): Likewise.
29021 (SEEK_SET): Likewise.
29022 (TMP_MAX): Likewise.
29023 (EOF): Use macro-int-constant. Require < 0.
29024 (NULL): Use macro-constant. Require == 0.
29025 (stdin): Require type to be FILE *.
29026 (stdout): Likewise.
29027 (stderr): Likewise.
29028 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29029 macro-int-constant.
29030 (EXIT_SUCCESS): Likewise.
29031 (NULL): Use macro-constant. Require == 0.
29032 (RAND_MAX): Use macro-int-constant.
29033 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29034 [C99-based standards] (strtof): Require function.
29035 [C99-based standards] (strtold): Likewise.
29036 [C99-based standards] (strtoll): Likewise.
29037 [C99-based standards] (strtoull): Likewise.
29038 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29039 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29040 [ISO || ISO99 || ISO11] (math.h): Likewise.
29041 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29042 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29045 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29048 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29049 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29050 * intl/dgettext.c (DCGETTEXT): Likewise.
29051 * intl/gettext.c (DCGETTEXT): Likewise.
29052 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29053 * posix/regex_internal.h (gettext): Likewise.
29054 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29055 Remove declaration.
29056 * include/argz.h (__argz_count_internal)
29057 (__argz_stringify_internal): Remove declaration.
29058 (__argz_count, __argz_stringify): Declare hidden proto.
29059 * intl/dcgettext.c: Remove use of INTDEF.
29060 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29061 * string/argz-stringify.c: Likewise.
29062 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29063 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29064 Declare hidden proto.
29065 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29066 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29067 Declare hidden proto.
29068 * include/stdio.h (__asprintf_internal): Don't declare.
29069 (__asprintf): Don't define as macro. Declare hidden proto.
29070 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29071 (__fsetlocking): Declare hidden proto.
29072 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29073 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29075 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29076 (_IO_setlinebuf): Remove use of INTUSE.
29077 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29078 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29079 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29080 Remove declaration.
29081 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29082 (_IO_do_flush): Remove use of INTUSE.
29083 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29084 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29085 (_IO_adjust_column, _IO_least_wmarker)
29086 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29087 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29088 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29089 (_IO_default_doallocate, _IO_wdefault_doallocate)
29090 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29091 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29092 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29093 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29094 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29095 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29096 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29097 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29098 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29099 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29100 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29101 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29102 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29104 (_IO_flush_all_internal, _IO_adjust_column_internal)
29105 (_IO_default_uflow_internal, _IO_default_finish_internal)
29106 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29107 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29108 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29109 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29110 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29111 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29112 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29113 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29114 (_IO_file_close_internal, _IO_file_close_it_internal)
29115 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29116 (_IO_file_init_internal, _IO_file_attach_internal)
29117 (_IO_file_fopen_internal, _IO_file_read_internal)
29118 (_IO_file_sync_internal, _IO_file_seek_internal)
29119 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29120 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29121 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29122 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29123 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29124 (_IO_list_all_internal, _IO_link_in_internal)
29125 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29126 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29127 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29128 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29129 (_IO_do_write_internal, _IO_padn_internal)
29130 (_IO_getline_info_internal, _IO_getline_internal)
29131 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29132 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29133 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29134 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29135 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29136 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29137 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29138 with libc_hidden_ver, remove use of INTUSE.
29139 * libio/genops.c: Likewise.
29140 * libio/freopen.c: Likewise.
29141 * libio/freopen64.c: Likewise.
29142 * libio/iofclose.c: Likewise.
29143 * libio/iofdopen.c: Likewise.
29144 * libio/iofflush.c: Likewise.
29145 * libio/iofflush_u.c: Likewise.
29146 * libio/iofgets.c: Likewise.
29147 * libio/iofgets_u.c: Likewise.
29148 * libio/iofopen.c: Likewise.
29149 * libio/iofopncook.c: Likewise.
29150 * libio/iofread.c: Likewise.
29151 * libio/iofread_u.c: Likewise.
29152 * libio/ioftell.c: Likewise.
29153 * libio/iofwrite.c: Likewise.
29154 * libio/iogetline.c: Likewise.
29155 * libio/iogets.c: Likewise.
29156 * libio/iogetwline.c: Likewise.
29157 * libio/iopadn.c: Likewise.
29158 * libio/iopopen.c: Likewise.
29159 * libio/ioseekoff.c: Likewise.
29160 * libio/ioseekpos.c: Likewise.
29161 * libio/iosetbuffer.c: Likewise.
29162 * libio/iosetvbuf.c: Likewise.
29163 * libio/ioungetc.c: Likewise.
29164 * libio/ioungetwc.c: Likewise.
29165 * libio/iovdprintf.c: Likewise.
29166 * libio/iovsprintf.c: Likewise.
29167 * libio/iovsscanf.c: Likewise.
29168 * libio/memstream.c: Likewise.
29169 * libio/obprintf.c: Likewise.
29170 * libio/oldfileops.c: Likewise.
29171 * libio/oldiofclose.c: Likewise.
29172 * libio/oldiofdopen.c: Likewise.
29173 * libio/oldiofopen.c: Likewise.
29174 * libio/oldiopopen.c: Likewise.
29175 * libio/oldstdfiles.c: Likewise.
29176 * libio/putc.c: Likewise.
29177 * libio/setbuf.c: Likewise.
29178 * libio/setlinebuf.c: Likewise.
29179 * libio/stdfiles.c: Likewise.
29180 * libio/strops.c: Likewise.
29181 * libio/vasprintf.c: Likewise.
29182 * libio/vscanf.c: Likewise.
29183 * libio/vsnprintf.c: Likewise.
29184 * libio/vswprintf.c: Likewise.
29185 * libio/wfiledoalloc.c: Likewise.
29186 * libio/wfileops.c: Likewise.
29187 * libio/wgenops.c: Likewise.
29188 * libio/wmemstream.c: Likewise.
29189 * libio/wstrops.c: Likewise.
29190 * libio/__fpurge.c: Likewise.
29191 * libio/__fsetlocking.c: Likewise.
29192 * assert/assert.c: Likewise.
29193 * debug/fgets_chk.c: Likewise.
29194 * debug/fgets_u_chk.c: Likewise.
29195 * debug/fread_chk.c: Likewise.
29196 * debug/fread_u_chk.c: Likewise.
29197 * debug/gets_chk.c: Likewise.
29198 * debug/obprintf_chk.c: Likewise.
29199 * debug/vasprintf_chk.c: Likewise.
29200 * debug/vdprintf_chk.c: Likewise.
29201 * debug/vsnprintf_chk.c: Likewise.
29202 * debug/vsprintf_chk.c: Likewise.
29203 * malloc/mtrace.c: Likewise.
29204 * misc/error.c: Likewise.
29205 * misc/syslog.c: Likewise.
29206 * stdio-common/asprintf.c: Likewise.
29207 * stdio-common/fxprintf.c: Likewise.
29208 * stdio-common/getw.c: Likewise.
29209 * stdio-common/isoc99_fscanf.c: Likewise.
29210 * stdio-common/isoc99_scanf.c: Likewise.
29211 * stdio-common/isoc99_vfscanf.c: Likewise.
29212 * stdio-common/isoc99_vscanf.c: Likewise.
29213 * stdio-common/isoc99_vsscanf.c: Likewise.
29214 * stdio-common/printf-prs.c: Likewise.
29215 * stdio-common/printf_fp.c: Likewise.
29216 * stdio-common/printf_fphex.c: Likewise.
29217 * stdio-common/printf_size.c: Likewise.
29218 * stdio-common/putw.c: Likewise.
29219 * stdio-common/scanf.c: Likewise.
29220 * stdio-common/sprintf.c: Likewise.
29221 * stdio-common/tmpfile.c: Likewise.
29222 * stdio-common/vfprintf.c: Likewise.
29223 * stdio-common/vfscanf.c: Likewise.
29224 * stdlib/strfmon_l.c: Likewise.
29225 * sunrpc/openchild.c: Likewise.
29226 * sunrpc/xdr_stdio.c: Likewise.
29227 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29228 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29230 2012-05-24 Roland McGrath <roland@hack.frob.com>
29232 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29234 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29235 in the third column, to generate for the shared library an IFUNC
29236 that uses _dl_vdso_vsym.
29237 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29238 * Makeconfig (object-suffixes-noshared): New variable.
29240 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29241 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29242 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29243 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29246 * include/sys/time.h (__gettimeofday): Remove macro.
29247 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29248 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29250 (__gettimeofday): Add libc_hidden_def.
29251 (gettimeofday): Add libc_hidden_weak.
29252 * sysdeps/mach/gettimeofday.c: Likewise.
29253 * sysdeps/posix/gettimeofday.c: Likewise.
29254 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29255 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29257 (__gettimeofday_internal): Remove strong_alias.
29258 (__gettimeofday): Add libc_hidden_def.
29259 (gettimeofday): Add libc_hidden_weak.
29260 * sysdeps/unix/syscalls.list (gettimeofday):
29261 Remove __gettimeofday_internal alias.
29263 2012-05-24 Daniel Jacobowitz <drow@false.org>
29264 H.J. Lu <hongjiu.lu@intel.com>
29267 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29268 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29269 (largebin_index_32_big): New.
29270 (largebin_index): Use it for 16-byte alignment.
29271 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29272 correction with front_misalign.
29274 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29302 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29303 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29305 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29309 * math/libm-test.inc (exp_test): Add test from bug 14036.
29310 (pow_test): Add test from bug 10846.
29312 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29314 (special_function): Do not include flags in test name.
29315 (parse_args): Likewise.
29316 * sysdeps/i386/fpu/libm-test-ulps: Update.
29317 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29318 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29319 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29322 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29324 * math/libm-test.inc ("Philosophy"): Update comment about
29326 (UNDERFLOW_EXCEPTION): New macro.
29327 (UNDERFLOW_EXCEPTION_OK): Likewise.
29328 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29329 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29330 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29331 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29332 (INVALID_EXCEPTION_OK): Update value.
29333 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29334 (OVERFLOW_EXCEPTION_OK): Likewise.
29335 (IGNORE_ZERO_INF_SIGN): Likewise.
29336 (test_exceptions): Handle underflow exceptions.
29337 (acos_test): Update for underflow exception expectations.
29338 (cexp_test): Likewise.
29339 (clog_test): Likewise.
29340 (clog10_test): Likewise.
29341 (csqrt_test): Likewise.
29342 (ctan_test): Likewise.
29343 (ctanh_test): Likewise.
29344 (exp_test): Likewise.
29345 (exp10_test): Likewise.
29346 (exp2_test): Likewise.
29347 (expm1_test): Likewise.
29348 (fma_test): Likewise.
29349 (j0_test): Likewise.
29350 (jn_test): Likewise.
29351 (nexttoward_test): Likewise.
29352 (pow_test): Likewise.
29353 (scalbn_test): Likewise.
29354 (scalbln_test): Likewise.
29355 (tan_test): Likewise.
29356 (y1_test): Likewise.
29357 * sysdeps/i386/fpu/libm-test-ulps: Update.
29358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29360 2012-05-23 David S. Miller <davem@davemloft.net>
29362 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29363 (__libc_sigaction): Remove unused local variables.
29365 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29367 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29369 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29371 mktime: avoid signed integer overflow
29372 * time/mktime.c (__mktime_internal): Do not mishandle the case
29373 where diff == INT_MIN.
29375 mktime: simplify computation of average
29376 * time/mktime.c (ranged_convert): Use new time_t_avg function
29377 instead of rolling our own (probably-slower) code.
29379 mktime: do not assume signed right shift propagates sign bit
29380 * time/mktime.c (isdst_differ): New static function.
29381 (__mktime_internal): No need to normalize tm_isdst now.
29382 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29385 mktime: merge another wrapv change from gnulib
29386 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29387 from some compilers.
29389 mktime: remove incorrect attempt at unusual arithmetics
29390 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29391 The code didn't really work on such machines anyway.
29392 (TYPE_MINIMUM): Assume two's complement.
29393 (twos_complement_arithmetic): Verify that long_int and time_t
29394 are two's complement (or unsigned, in the latter case).
29396 mktime: check signed shifts on long_int and time_t, too
29397 * time/mktime.c (SHR): Check that shifts work as desired
29398 on the types long_int and time_t too, as SHR is used on
29401 mktime: do not assume 'long' is wide enough
29402 * time/mktime.c (verify): Move decl up.
29403 (long_int): New type.
29404 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29405 to remove assumption in the code that 'long' is wide enough to
29406 store year values. This assumption is not true on x32 and on
29407 some non-glibc platforms.
29409 mktime: merge wrapv change from gnulib
29410 * time/mktime.c (WRAPV): New macro.
29411 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29412 (guess_time_tm, __mktime_internal): Do not assume that signed
29413 integer overflow wraps around; modern compilers generate code
29414 where this assumption is no longer valid.
29416 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29418 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29419 Replace "jmp L(pseudo_end)" with "ret".
29420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29423 2012-05-23 Andreas Jaeger <aj@suse.de>
29425 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29426 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29428 2012-05-23 Andreas Jaeger <aj@suse.de>
29429 Maximilian Attems <max@stro.at>
29431 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29434 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29436 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29437 code so that pseudo_end is just ret and the stack pointer is
29438 correct also for static library in error case.
29440 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29442 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29443 move to syscalls.list.
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29449 * manual/install.texi (Running make install): Do not mention Linux
29450 kernel version for which pt_chown is not needed.
29451 (Linux): Do not mention problems with nscd with 2.0 kernels.
29452 * INSTALL: Regenerated.
29454 2012-05-23 Andreas Jaeger <aj@suse.de>
29456 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29457 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29459 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29460 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29461 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29462 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29463 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29464 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29465 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29466 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29467 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29468 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29469 * sysdeps/unix/sysv/linux/bits/in.h
29470 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29472 2012-05-22 Roland McGrath <roland@hack.frob.com>
29474 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29475 (PREPARE_VERSION): Just use assert instead, it will be elided
29476 under [NDEBUG] anyway.
29478 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29480 * sysdeps/unix/sysv/linux/Makefile: Include
29481 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29482 (sysdep_routines): Remove sysctl.
29483 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29484 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29485 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29486 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29487 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29489 2012-05-22 Andreas Jaeger <aj@suse.de>
29491 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29492 that pseudo_end is just ret and the stack pointer is correct also
29493 for static library in error case.
29495 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29498 * nss/nsswitch.c (defconfig_entries): New variable.
29499 (__nss_database_lookup): Don't leak defconfig entries.
29500 (nss_parse_service_list): Don't leak on error paths.
29501 (free_database_entries): New function.
29502 (free_defconfig): New function.
29503 (free_mem): Move common code to free_database_entries.
29505 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29507 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29509 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29511 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29512 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29515 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29516 (INTERNAL_SYSCALL_TYPES): Likewise.
29517 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29518 (LOAD_REGS_TYPES_[1-6]): Likewise.
29519 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29520 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29522 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29524 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29525 copysignl for GLIBC_2_0.
29526 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29527 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29529 logbl for GLIBC_2_0.
29530 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29531 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29533 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29535 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29536 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29538 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29541 * time/mktime.c: Update copyright years.
29543 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29545 mktime: merge comment-quoting-style change from gnulib
29546 * time/mktime.c: Quote 'like this' in comments.
29547 The GNU coding standards suggest that we no longer quote `like this',
29548 as "`" and "'" are typically rendered asymmetrically nowadays.
29549 The typical gnulib style is to quote 'like this' when quoting
29550 code, and "like this" when quoting English.
29552 * time/mktime.c (compile-command): Add "-I.".
29554 mktime: merge mktime-internal.h change from gnulib
29555 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29557 mktime: merge time_r change from gnulib
29558 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29560 mktime: merge DEBUG change from gnulib
29561 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29562 case system <time.h> has a #define.
29564 mktime: merge <sys/types.h> change from gnulib
29565 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29566 since <time.t> is now guaranteed to define time_t.
29568 mktime: merge HAVE_CONFIG_H change from gnulib
29569 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29571 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29576 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29578 (struct rusage): Use anonymous union to pad each field to
29581 2012-05-21 David S. Miller <davem@davemloft.net>
29583 * Makefules (o-iterator): Remove .s cases.
29584 (compile-command.s): Delete.
29585 (COMPILE.s): Delete.
29586 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29588 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29590 * configure.in (libc_cv_predef_stack_protector): Only consider
29591 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29592 * configure: Regenerated.
29594 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29597 New macro. Use R*LP on int and pointer.
29598 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29599 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29600 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29601 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29603 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29604 [__WORDSIZE_TIME64_COMPAT32] instead of
29605 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29606 (struct utmp): Likewise.
29607 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29608 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29610 (__WORDSIZE_TIME64_COMPAT32): This.
29611 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29612 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29613 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29614 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29615 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29616 (__WORDSIZE_TIME64_COMPAT32): New macro.
29618 2012-05-21 Andreas Jaeger <aj@suse.de>
29620 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29621 only if [SHARED]. Add prototype for __wcschr_ia32.
29623 2012-05-21 Roland McGrath <roland@hack.frob.com>
29625 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29626 of %rbp unmolested in the jmp_buf while mangling the low bits.
29627 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29628 unmolested high bits of %rbp while demangling the low bits.
29629 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29631 2012-05-21 Andreas Jaeger <aj@suse.de>
29633 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29634 * sunrpc/svc_simple.c: Use it for registerrpc.
29635 * sunrpc/xcrypt.c: Use it for passwd2des.
29637 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29639 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29641 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29642 Don't define if [__SYSCALL_WORDSIZE != 32].
29643 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29646 2012-05-21 Bruno Haible <bruno@clisp.org>
29647 Andreas Jaeger <aj@suse.de>
29649 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29650 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29651 inptr and inend for must_buffer_ch.
29652 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29653 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29654 * stdio-common/Makefile (tests): Remove bug15.
29655 (bug15-ENV): Remove macro.
29656 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29659 2012-05-19 Andreas Jaeger <aj@suse.de>
29660 Roland McGrath <roland@hack.frob.com>
29662 * manual/contrib.texi: Completely rewritten. It contains now an
29663 alphabetical list of contributors and their contributions.
29665 2012-05-21 Richard Henderson <rth@twiddle.net>
29667 * misc/getauxval.c (__getauxval): Use unsigned long int.
29668 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29669 (getauxval): Use unsigned long int.
29671 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29673 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29675 2012-05-21 Roland McGrath <roland@hack.frob.com>
29677 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29678 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29679 __alignof__ (long double).
29681 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29685 2012-05-20 Richard Henderson <rth@twiddle.net>
29687 * misc/getauxval.c: New file.
29688 * misc/sys/auxv.h: New file.
29689 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29690 (routines): Add getauxval.
29691 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29692 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29693 * elf/dl-sysdep.c (_dl_auxv): Remove.
29694 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29695 * elf/dl-support.c (_dl_auxv): New variable.
29696 (_dl_aux_init): Initialize it.
29697 * manual/startup.texi (Auxiliary Vector): New node.
29698 * sysdeps/generic/bits/hwcap.h: New file.
29699 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29700 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29701 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29702 * sysdeps/sparc/sysdep.h: ... here. Include it.
29703 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29704 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29716 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29720 2012-05-19 David S. Miller <davem@davemloft.net>
29722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29724 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29727 * math/s_ccosh.c: Include <float.h>
29728 (__ccosh): Avoid internal overflow calculating sinh and cosh
29729 values before multiplying by sin and cos values.
29730 * math/s_ccoshf.c: Likewise.
29731 * math/s_ccoshl.c: Likewise.
29732 * math/s_csin.c: Likewise.
29733 * math/s_csinf.c: Likewise.
29734 * math/s_csinl.c: Likewise.
29735 * math/s_csinh.c: Likewise.
29736 * math/s_csinhf.c: Likewise.
29737 * math/s_csinhl.c: Likewise.
29738 * math/libm-test.inc (ccos_test): Add more tests.
29739 (ccosh_test): Likewise.
29740 (csin_test): Likewise.
29741 (csinh_test): Likewise.
29742 * sysdeps/i386/fpu/libm-test-ulps: Update.
29743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29745 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29747 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29748 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29750 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29752 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29754 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29755 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29756 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29757 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29758 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29759 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29760 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29761 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29762 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29763 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29764 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29765 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29766 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29767 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29768 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29769 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29770 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29771 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29772 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29773 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29774 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29775 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29776 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29777 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29778 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29779 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29780 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29781 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29782 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29783 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29784 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29786 2012-05-18 Andreas Jaeger <aj@suse.de>
29788 * csu/.gitignore: Delete.
29790 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29792 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29793 (timex): Use __syscall_slong_t.
29795 2012-05-18 Andreas Jaeger <aj@suse.de>
29796 Carlos O'Donell <carlos_odonell@mentor.com>
29798 * manual/install.texi (Configuring and compiling): Update
29799 description about files modified in the source directory.
29800 * INSTALL: Regenerated.
29802 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29804 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29805 value. Use "or" to set return value to -1.
29806 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29807 negate return value.
29809 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29811 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29812 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29813 failure if the compiler has Graphite support disabled.
29814 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29816 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29817 (CFLAGS-memmove.c): Likewise.
29818 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29821 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29823 * sysdeps/x86_64/x32/_itoa.h: New file.
29825 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29826 getdents system call only if kernel and user dirents have the
29827 same d_ino and d_off.
29829 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29830 LLONG_MAX != LONG_MAX.
29831 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29832 (_fitoa_word): Likewise.
29834 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29836 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29837 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29838 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29840 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29841 include <bits/wordsize.h>. Check __x86_64__ instead of
29843 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29844 if __x86_64__ is defined. Use anonymous union on fpstate.
29846 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29849 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29851 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29852 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29853 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29854 Refer to _rtld_local_ro instead of _rtld_global_ro.
29855 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29857 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29859 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29861 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29862 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29863 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29865 * sysdeps/powerpc/powerpc32/dl-machine.c
29866 (__elf_machine_runtime_setup) [PROF]: Don't reference
29869 2012-05-18 Andreas Jaeger <aj@suse.de>
29871 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29872 function only available for GCCs before 3.4 since GCC 3.4
29873 introduced a builtin.
29875 (llrintf): Likewise.
29876 (llrint): Likewise.
29883 (nearbyint): Likewise.
29884 (nearbyintf): Likewise.
29888 (floorf): Likewise.
29890 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29893 on both fields and cast pointer to __syscall_ulong_t.
29895 * bits/types.h (__fsword_t): New type.
29896 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29897 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29898 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29899 (__FSWORD_T_TYPE): Likewise.
29900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29901 (__FSWORD_T_TYPE): Likewise.
29902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29903 (__FSWORD_T_TYPE): Likewise.
29904 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29905 (__FSWORD_T_TYPE): Likewise.
29906 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29907 __SWORD_TYPE with __fsword_t.
29908 (statfs64): Likewise.
29910 2012-05-17 David S. Miller <davem@davemloft.net>
29912 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29914 2012-05-17 Andreas Jaeger <aj@suse.de>
29916 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29919 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29921 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29923 2012-05-17 Andreas Jaeger <aj@suse.de>
29925 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29928 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29930 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29932 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29934 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29935 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29937 2012-05-17 Andreas Jaeger <aj@suse.de>
29938 Carlos O'Donell <carlos_odonell@mentor.com>
29941 * sysdeps/x86_64/multiarch/init-arch.h
29942 (bit_YMM_Usable): Rename to...
29943 (bit_AVX_Usable): ... this.
29944 (bit_FMA4_Usable): New macro.
29945 (bit_XMM_state): New macro.
29946 (bit_YMM_state): New macro.
29947 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29948 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29949 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29950 (CPUID_OSXSAVE): New macro.
29951 (CPUID_AVX): New macro.
29952 (CPUID_FMA4): New macro.
29953 (index_YMM_Usable): Rename to...
29954 (index_AVX_Usable): ... this.
29955 (HAS_AVX): Use HAS_ARCH_FEATURE.
29956 (HAS_FMA4): Likewise.
29957 (HAS_YMM_USABLE): Remove.
29958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29959 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29961 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29962 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29963 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29964 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29965 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29967 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29969 * math/libm-test.c: Support platforms without multiple rounding modes.
29970 * math/bug-nextafter.c: Support platforms without FP exceptions.
29971 * math/bug-nexttoward.c: Likewise.
29972 * math/test-fenv.c: Likewise.
29973 * math/test-misc.c: Likewise.
29974 * stdlib/bug-getcontext.c: Likewise.
29976 2012-05-17 Andreas Jaeger <aj@suse.de>
29978 * manual/examples/search.c (critter_cmp): Change signature to
29980 * manual/string.texi (Collation Functions): Likewise.
29982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29984 * bits/types.h: Fold copyright years.
29985 * bits/typesizes.h: Likewise.
29986 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29989 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29990 * time/time.h: Likewise.
29992 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29995 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29996 in instead of returning them. Return void.
29997 (__libc_mallinfo): Accumulate over all arenas.
29998 (__malloc_stats): Adjust for change in int_mallinfo interface.
30000 2012-05-16 Roland McGrath <roland@hack.frob.com>
30003 * configure.in (NM): Add AC_CHECK_TOOL for it.
30004 (libc_extra_cflags): New substituted variable.
30005 Check for -fstack-protector being used implicitly.
30006 * configure: Regenerated.
30007 * config.make.in (config-extra-cflags): New variable,
30008 gets @libc_extra_cflags@.
30009 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30012 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30013 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30014 * configure: Regenerated.
30015 * config.make.in (CPPUNDEFS): New substituted variable.
30016 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30017 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30018 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30020 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30022 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30023 (mq_attr): Use __syscall_slong_t.
30025 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30027 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30028 Check __x86_64__ instead of __WORDSIZE.
30029 (_STAT_VER_LINUX): Likewise.
30030 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30031 __syscall_ulong_t and __syscall_slong_t.
30032 (stat64): Likewise.
30034 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30038 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30040 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30042 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30044 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30047 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30048 include <bits/wordsize.h>. Check __x86_64__ instead of
30050 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30052 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30055 include <bits/wordsize.h>. Check __x86_64__ instead of
30057 (user_regs_struct): Use "__extension__ unsigned long long"
30058 instead of "unsigned long" if __x86_64__ is defined.
30059 (user): Likewise. Pad after pointer field if __ILP32__ is
30062 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30064 * configure.in (makeinfo): Require version 4.5 or later. Allow
30066 * configure: Regenerated.
30067 * manual/install.texi (texinfo): Increase version requirement to
30069 * INSTALL: Regenerated.
30071 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30073 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30075 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30077 * sysdeps/x86_64/x32/ffs.c: New file.
30079 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30081 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30082 defined. Use __syscall_ulong_t.
30083 (shminfo): Use __syscall_ulong_t.
30084 (shm_info): Likewise.
30086 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30089 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30091 (msgqnum_t): Use __syscall_ulong_t.
30092 (msglen_t): Likewise.
30093 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30096 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30097 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30099 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30101 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30102 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30104 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30107 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30108 include <bits/wordsize.h>. Check __x86_64__ instead of
30111 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30112 "unsigned long long int" if __x86_64__ is defined.
30113 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30115 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30116 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30117 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30119 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30121 (GET_PC): Cast to uintptr_t first.
30122 (GET_FRAME): Likewise.
30123 (GET_STACK): Likewise.
30125 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30126 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30127 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30128 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30129 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30130 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30131 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30132 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30133 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30134 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30136 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30137 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30138 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30140 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30142 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30143 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30144 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30145 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30146 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30148 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30150 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30151 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30152 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30153 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30155 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30157 * Makerules (+depfiles): Also collect depfiles from .oS in
30159 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30160 .oS, $(libnldbl-routines)).
30162 * Makerules (native-compile-mkdep-flags): Define.
30163 * sunrpc/Makefile (extra-objs): Add $(addprefix
30164 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30165 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30166 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30167 calling $(make-target-directory).
30169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30171 * bits/types.h (__snseconds_t): Removed.
30172 * time/time.h (struct timespec): Replace __snseconds_t with
30174 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30175 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30177 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30178 (__SNSECONDS_T_TYPE): Likewise.
30179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30180 (__SNSECONDS_T_TYPE): Likewise.
30181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30182 (__SNSECONDS_T_TYPE): Likewise.
30184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30186 * sysdeps/mach/hurd/bits/typesizes.h
30187 (__SYSCALL_SLONG_TYPE): New macro.
30188 (__SYSCALL_ULONG_TYPE): Likewise.
30190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30192 * bits/types.h (__syscall_slong_t): New type.
30193 (__syscall_ulong_t): Likewise.
30195 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30196 (__SYSCALL_ULONG_TYPE): Likewise.
30197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30198 (__SYSCALL_SLONG_TYPE): Likewise.
30199 (__SYSCALL_ULONG_TYPE): Likewise.
30200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30201 (__SYSCALL_SLONG_TYPE): Likewise.
30202 (__SYSCALL_ULONG_TYPE): Likewise.
30203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30204 (__SYSCALL_SLONG_TYPE): Likewise.
30205 (__SYSCALL_ULONG_TYPE): Likewise.
30207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30209 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30210 Add sigaltstack-offsets.sym.
30211 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30212 <sigaltstack-offsets.h>.
30213 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30214 longjmp_msg pointer.
30215 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30216 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30218 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30220 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30222 * elf/stackguard-macros.h: Remove file.
30223 * sysdeps/generic/stackguard-macros.h: New file.
30224 * sysdeps/i386/stackguard-macros.h: Likewise.
30225 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30226 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30227 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30228 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30229 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30230 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30231 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30232 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30233 <elf/stackguard-macros.h>.
30236 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30237 __aligned__ in attribute.
30238 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30239 (gregset_t): Likewise.
30241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30243 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30244 * sysdeps/x86_64/64/Implies-after: Here. New file.
30245 * sysdeps/x86_64/x32/Implies-after: New file.
30247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30249 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30250 and access return value for _dl_profile_fixup. Use R10_LP to
30253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30255 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30259 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30260 * sysdeps/x86_64/x32/sysdep.h: New file.
30262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30264 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30265 * sysdeps/x86_64/setjmp.S: Likewise.
30267 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30269 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30270 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30271 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30272 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30273 remove unused global constant.
30275 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30277 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30278 include of <not-cancel.h>.
30280 2012-05-15 Roland McGrath <roland@hack.frob.com>
30282 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30284 2012-05-15 Jeff Law <law@redhat.com>
30285 Andreas Jaeger <aj@suse.de>
30288 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30290 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30291 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30292 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30293 code changing __hst_map_handle.map.
30295 2012-05-15 Roland McGrath <roland@hack.frob.com>
30297 * configure.in (sysnames): Look for Implies-before and Implies-after
30299 * configure: Regenerated.
30301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30303 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30304 8-byte data alignment with LP_SIZE alignment.
30306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30308 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30313 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30317 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30318 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30319 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30321 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30325 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30326 (stackinfo_sub_sp): Likewise.
30328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30335 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30345 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30349 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30350 into R11_LP and load __x86_64_shared_cache_size_half into
30353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30355 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30358 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30366 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30367 powerpc32/power7/fpu/s_logb.c via #include.
30368 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30369 powerpc32/power7/fpu/s_logbf.c via #include.
30370 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30371 powerpc32/power7/fpu/s_logbl.c via #include.
30373 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30375 * README.libm: Remove file.
30377 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30379 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30380 count for x32. Use R*_LP and omit operand-size suffix.
30382 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30384 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30385 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30386 * sysdeps/x86_64/x32/shlib-versions: New file.
30388 2012-05-14 Roland McGrath <roland@hack.frob.com>
30390 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30391 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30392 Use _dl_fatal_printf instead.
30394 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30396 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30397 set if not set by the user. Do not allow for being unset.
30398 * sysdeps/unix/sysv/linux/configure: Regenerated.
30400 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30402 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30403 the `q' suffix from lea and replace .quad with ASM_ADDR.
30405 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30408 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30410 (PTR_DEMANGLE): Likewise.
30412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30414 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30416 (ASM_ADDR): Likewise.
30417 (RAX_LP): Likewise.
30418 (RBP_LP): Likewise.
30419 (RBX_LP): Likewise.
30420 (RCX_LP): Likewise.
30421 (RDI_LP): Likewise.
30422 (RSI_LP): Likewise.
30423 (RSP_LP): Likewise.
30426 (R10_LP): Likewise.
30427 (R10_LP): Likewise.
30428 (R11_LP): Likewise.
30429 (R12_LP): Likewise.
30430 (R13_LP): Likewise.
30431 (R14_LP): Likewise.
30432 (R15_LP): Likewise.
30434 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30436 * sysdeps/x86_64/x32/dl-machine.h: New file.
30438 2012-05-14 Andreas Jaeger <aj@suse.de>
30440 * manual/Makefile (subdir): Remove export of subdir.
30441 (all): Remove target.
30442 (.PHONY): Remove all from list.
30443 (mkinstalldirs): Remove.
30444 (.PHONY): Remove installdirs from list.
30445 ($(inst_infodir)/libc.info): Use make-target-directory.
30446 (installdirs): Remove.
30447 (subdir_%): Remove.
30448 (glibc-targets): Remove.
30451 ($(objpfx)stubs ../po/manual.pot): Remove.
30452 ($(objpfx)stamp%): Remove.
30453 (make-target-directory): Remove.
30454 (subdir_install): Remove.
30455 (routines): Remove.
30462 * manual/.gitignore: Remove, it's not needed anymore.
30463 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30465 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30467 (texis): Renamed to $(objpfx)texis.
30468 (texis-path): New, contains path to generated files.
30469 (chapters.%): Use texis-path for complete path, add extra argument
30471 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30472 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30473 (summary,texi, stamp-summary): Use complete path of
30474 files. Generate files in build dir.
30475 (dir-add.texi): Build in build dir.
30476 (libm-err.texi,stamp-libm-err): Likewise.
30477 (version.texi, stamp-version): Likewise.
30478 (.%c.texi): Likewise.
30479 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30480 (mostlyclean): Remove target.
30481 (realclean): Remove target.
30482 (generated): Add new variable with contents from mostlyclean and
30483 realclean, remove entries duplicated in common-mostlyclean, add
30484 stamp-libm-err and stamp-version.
30485 (generated-dirs): Add libc directory.
30486 ($(inst_infodir)/libc.info): Install files from build dir.
30488 * manual/install.texi (Configuring and compiling): Adjust since
30489 the info files are not part of the tar ball anymore.
30491 2012-05-14 Andreas Jaeger <aj@suse.de>
30493 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30496 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30499 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30500 to 2.2.0 where earlier.
30501 * sysdeps/unix/sysv/linux/configure: Regenerated.
30502 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30503 Remove conditional code.
30504 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30505 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30506 Remove conditional code.
30507 [!__NR_lchown]: Likewise.
30508 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30509 [__NR_lchown]: Likewise.
30510 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30511 comment referencing __ASSUME_LCHOWN_SYSCALL.
30512 * sysdeps/unix/sysv/linux/i386/sigaction.c
30513 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30514 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30515 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30516 Remove conditional code.
30517 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30518 (__protocol_available): Remove #if 0 code.
30519 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30521 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30522 * sysdeps/unix/sysv/linux/kernel-features.h
30523 (__ASSUME_GETCWD_SYSCALL): Don't define.
30524 (__ASSUME_REALTIME_SIGNALS): Likewise.
30525 (__ASSUME_PREAD_SYSCALL): Likewise.
30526 (__ASSUME_PWRITE_SYSCALL): Likewise.
30527 (__ASSUME_POLL_SYSCALL): Likewise.
30528 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30529 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30531 (__ASSUME_SIOCGIFNAME): Don't define.
30532 (__ASSUME_MSG_NOSIGNAL): Likewise.
30533 (__ASSUME_SENDFILE): Define unconditionally.
30534 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30535 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30537 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30538 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30539 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30540 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30541 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30542 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30543 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30545 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30548 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30551 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30557 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30568 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30569 Remove conditional code.
30570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30571 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30572 Remove conditional code.
30573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30574 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30575 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30576 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30577 Remove conditional code.
30578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30579 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30580 Remove conditional code.
30581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30582 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30583 Remove conditional code.
30584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30585 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30586 Remove conditional code.
30587 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30588 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30589 Remove conditional code.
30590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30591 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30592 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30594 * sysdeps/unix/sysv/linux/sigaction.c
30595 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30596 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30597 * sysdeps/unix/sysv/linux/sigpending.c
30598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30600 * sysdeps/unix/sysv/linux/sigprocmask.c
30601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30603 * sysdeps/unix/sysv/linux/sigsuspend.c
30604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30607 (__libc_missing_rt_sigs): Remove.
30608 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30609 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30610 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30611 Remove conditional code.
30612 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30613 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30615 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30616 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30617 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30618 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30620 2012-05-14 Andreas Jaeger <aj@suse.de>
30622 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30623 it's not used in glibc.
30624 (__coshm1): Likewise.
30625 (__acosh1p): Likewise.
30628 * manual/string.texi (Copying and Concatenation): Add missing
30629 variable in concat example.
30630 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30632 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30635 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30636 __builtin_clzl with __builtin_clzll.
30638 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30641 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30644 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30646 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30647 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30648 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30649 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30651 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30653 * NEWS: Update ia64 info.
30655 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30657 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30660 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30662 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30663 * sysdeps/unix/syscalls.list (dup3): Likewise.
30664 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30665 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30667 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30669 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30670 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30672 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30674 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30676 (TLS_IE): Use mov/add instead of movq/addq to load thread
30678 (TLS_GD_PREFIX): New.
30681 2012-05-11 David S. Miller <davem@davemloft.net>
30683 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30684 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30685 (_FPU_SETCW): Likewise.
30687 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30689 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30690 is 32-byte aligned.
30692 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30695 * iconvdata/gb18030.c: Update tables.
30696 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30697 characters specially.
30698 (BODY for TO_LOOP): Add encoding of missing ranges.
30700 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30703 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30704 * sysdeps/mach/hurd/dup3.c: Likewise.
30705 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30706 * sysdeps/powerpc/memmove.c:: Likewise.
30708 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30711 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30713 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30715 * elf/elf.h (R_X86_64_RELATIVE64): New.
30716 (R_X86_64_NUM): Updated.
30717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30718 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30719 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30720 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30721 tst-quad1pie tst-quad2pie
30722 (modules-names): Add tst-quadmod1 tst-quadmod2.
30723 ($(objpfx)tst-quad1): New dependency.
30724 ($(objpfx)tst-quad2): Likewise.
30725 ($(objpfx)tst-quad1pie): Likewise.
30726 ($(objpfx)tst-quad2pie): Likewise.
30727 * sysdeps/x86_64/tst-quad1.c: New file.
30728 * sysdeps/x86_64/tst-quad1pie.c: New file.
30729 * sysdeps/x86_64/tst-quad2.c: Likewise.
30730 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30731 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30732 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30733 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30734 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30738 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30739 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30740 * streams/stropts.h (t_scalar_t): Define type.
30742 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30743 (_PATH_PRESERVE): Set to "/var/lib".
30744 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30746 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30749 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30750 if __dir_mkfile succeeded.
30752 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30753 checking for _hurd_dtablesize. Unlock it right after having
30754 finished _hurd_dtable allocation.
30756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30758 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30759 * sysdeps/mach/hurd/configure: Regenerated.
30760 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30761 special-casing to...
30762 * sysdeps/gnu/configure.in: ... this new file.
30763 * sysdeps/unix/sysv/linux/configure: Regenerated.
30764 * sysdeps/gnu/configure: New generated file.
30766 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30767 for Linux: use nsec instead of usec, as well as:
30768 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30769 members of type struct timespec.
30770 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30772 (struct stat64): Likewise.
30773 (_STATBUF_ST_NSEC): New macro.
30774 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30776 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30777 __strtoul_internal rather than strtoul.
30779 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30781 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30786 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30787 which preserves existing values.
30788 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30790 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30792 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30793 TIMEOUT values. Return EINVAL for NFDS values either negative or
30794 greater than FD_SETSIZE.
30796 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30798 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30799 allocated, call __vm_protect to finish enabling the existing space, and
30800 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30801 allocate the remainder.
30803 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30805 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30806 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30808 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30810 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30811 sysdeps/mach/hurd/readlink.c.
30813 * posix/tst-sysconf.c (posix_options): Only use
30814 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30815 _POSIX_SYNCHRONIZED_IO when they are defined
30816 * sysdeps/mach/hurd/bits/posix_opt.h:
30817 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30818 (_XOPEN_REALTIME): Undefine macro.
30819 (_XOPEN_REALTIME_THREADS): Undefine macro.
30820 (_XOPEN_SHM): Undefine macro.
30821 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30823 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30825 (_POSIX_ASYNC_IO): Undefine macro.
30826 (_POSIX_PRIORITIZED_IO): Undefine macro.
30827 (_POSIX_SPIN_LOCKS): Define macro to -1.
30829 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30830 SA_NODEFER, SA_RESETHAND.
30831 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30832 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30837 * elf/Makefile (pldd-modules): Define unconditionally.
30839 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30841 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30845 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30846 Return ENOENT when name is empty.
30847 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30849 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30851 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30853 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30857 Fix mlock in all cases except non-readable pages.
30858 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30859 instead of VM_PROT_ALL as parameter to __vm_wire function.
30861 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30862 (__mkdir): When path is `/', just fail with EEXIST.
30863 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30865 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30867 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30868 <sys/uio.h> (for writev).
30869 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30870 and <sys/param.h> (for MIN).
30872 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30874 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30875 REQUESTED_TIME. Properly set the remaining time and return EINTR
30878 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30880 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30881 Depend on against $(link-rpcuserlibs).
30883 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30885 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30886 (__libc_stack_end): Do not use attribute_relro.
30887 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30888 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30889 to libthread-provided value.
30890 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30893 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30896 * bits/libc-lock.h (__libc_once_get): New macro.
30897 * sysdeps/mach/bits/libc-lock.h: Likewise.
30898 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30899 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30900 instead of using implementation details.
30902 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30903 * libio/freopen.c: Likewise.
30904 * libio/freopen64.c: Likewise.
30905 * misc/syslog.c: Likewise.
30906 * nscd/connections.c: Likewise.
30907 * nscd/netgroupcache.c: Likewise.
30908 * sysdeps/posix/getcwd.c: Likewise.
30910 2012-05-10 Roland McGrath <roland@hack.frob.com>
30912 * math/w_ilogbf.c: Add #include <limits.h>.
30914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30916 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30917 path instead of returning without unlocking.
30919 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30920 immediate-write ioctls.
30921 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30925 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30926 __builtin_frame_address instead of making assumptions about the
30927 location of the return address relative to DATA. Force early load of
30928 the return address.
30929 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30930 __builtin_frame_address.
30933 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30934 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30935 implement dup3 and do some further code clean-ups.
30936 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30937 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30939 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30941 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30943 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30944 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30945 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30946 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30947 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30950 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30951 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30952 when handler == SIG_ERR, not when handler != SIG_ERR.
30954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30956 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30957 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30960 accept4 for GNU Hurd.
30961 * include/sys/socket.h (__libc_accept4): New prototype.
30962 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30963 to implement __libc_accept4.
30964 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30966 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30968 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30969 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30970 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30971 signal-defines.sym.
30973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30975 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30979 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30980 assertion on O_CLOEXEC flag.
30981 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30982 * hurd/intern-fd.c: Likewise.
30983 * hurd/port2fd.c: Likewise.
30985 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30988 * bits/in.h (IPV6_PKTINFO): Define new macro.
30989 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30991 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30996 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30997 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30998 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30999 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31001 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31002 * math/libm-test.inc (logb_test) : Additional logb tests.
31004 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31005 Andreas Jaeger <aj@suse.de>
31007 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31008 * configure: Regenerated.
31009 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31010 * config.make.in (link-obsolete-rpc): New substituted variable.
31011 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31012 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31013 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31014 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31015 so that libc.a contains the symbols.
31016 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31017 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31018 * sunrpc/auth_none.c: Likewise.
31019 * sunrpc/auth_unix.c: Likewise.
31020 * sunrpc/authdes_prot.c: Likewise.
31021 * sunrpc/authuxprot.c: Likewise.
31022 * sunrpc/clnt_gen.c: Likewise.
31023 * sunrpc/clnt_perr.c: Likewise.
31024 * sunrpc/clnt_raw.c: Likewise.
31025 * sunrpc/clnt_simp.c: Likewise.
31026 * sunrpc/clnt_tcp.c: Likewise.
31027 * sunrpc/clnt_udp.c: Likewise.
31028 * sunrpc/clnt_unix.c: Likewise.
31029 * sunrpc/des_crypt.c: Likewise.
31030 * sunrpc/des_soft.c: Likewise.
31031 * sunrpc/get_myaddr.c: Likewise.
31032 * sunrpc/key_call.c: Likewise.
31033 * sunrpc/key_prot.c: Likewise.
31034 * sunrpc/netname.c: Likewise.
31035 * sunrpc/pm_getmaps.c: Likewise.
31036 * sunrpc/pm_getport.c: Likewise.
31037 * sunrpc/pmap_clnt.c: Likewise.
31038 * sunrpc/pmap_prot.c: Likewise.
31039 * sunrpc/pmap_prot2.c: Likewise.
31040 * sunrpc/pmap_rmt.c: Likewise.
31041 * sunrpc/publickey.c: Likewise.
31042 * sunrpc/rpc_cmsg.c: Likewise.
31043 * sunrpc/rpc_common.c: Likewise.
31044 * sunrpc/rpc_dtable.c: Likewise.
31045 * sunrpc/rpc_prot.c: Likewise.
31046 * sunrpc/rpc_thread.c: Likewise.
31047 * sunrpc/rtime.c: Likewise.
31048 * sunrpc/svc.c: Likewise.
31049 * sunrpc/svc_auth.c: Likewise.
31050 * sunrpc/svc_raw.c: Likewise.
31051 * sunrpc/svc_run.c: Likewise.
31052 * sunrpc/svc_tcp.c: Likewise.
31053 * sunrpc/svc_udp.c: Likewise.
31054 * sunrpc/svc_unix.c: Likewise.
31055 * sunrpc/svcauth_des.c: Likewise.
31056 * sunrpc/xcrypt.c: Likewise.
31057 * sunrpc/xdr.c: Likewise.
31058 * sunrpc/xdr_array.c: Likewise.
31059 * sunrpc/xdr_float.c: Likewise.
31060 * sunrpc/xdr_intXX_t.c: Likewise.
31061 * sunrpc/xdr_mem.c: Likewise.
31062 * sunrpc/xdr_rec.c: Likewise.
31063 * sunrpc/xdr_ref.c: Likewise.
31064 * sunrpc/xdr_sizeof.c: Likewise.
31065 * sunrpc/xdr_stdio.c: Likewise.
31067 2012-05-10 Roland McGrath <roland@hack.frob.com>
31069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31070 change. Update copyright years.
31072 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31074 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31076 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31077 Joseph Myers <joseph@codesourcery.com>
31078 Paul Pluzhnikov <ppluzhnikov@google.com>
31081 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31083 [cross-compiling] (extra-libs): Likewise.
31084 [cross-compiling] (extra-libs-others): Likewise.
31085 [cross-compiling] (librpcsvc-routines): Likewise.
31086 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31087 [cross-compiling] (omit-deps): Likewise.
31088 (sunrpc-CPPFLAGS): New variable.
31089 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31090 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31091 (cross-rpcgen-objs): New variable.
31092 (extra-objs): Append $(cross-rpcgen-objs).
31093 ($(cross-rpcgen-objs)): New rule.
31094 ($(objpfx)cross-rpcgen): Likewise.
31095 (rpcgen-cmd): Define to use $(built-program-file). Expand
31097 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31098 ($(objpfx)x%.stmp): Likewise.
31099 * sunrpc/proto.h [IS_IN_build] (_): Define.
31100 [IS_IN_build] (_libc_intl_domainname): Likewise.
31102 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31104 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31105 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31106 and R_X86_64_TPOFF64.
31108 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31110 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31111 sysdeps/unix/sysv/syscalls.list.
31114 * sysdeps/unix/sysv/syscalls.list: Remove file.
31116 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31119 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31120 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31121 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31122 (__LC_IDENTIFICATION): Make these macros useful in #if
31123 expressions, as required by C99.
31125 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31127 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31128 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31131 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31133 * stdlib/longlong.h: Updated from GCC.
31135 2012-05-09 Andreas Jaeger <aj@suse.de>
31137 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31138 default is first entry.
31139 (run_mode): Set type.
31140 (main): Remove informal message about syslog.
31141 (options): Fix typo.
31144 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31147 (llrintf): Likewise.
31148 (llrint): Likewise.
31151 (nearbyint): Likewise.
31152 (nearbyintf): Likewise.
31154 2012-05-09 Andreas Jaeger <aj@suse.de>
31155 Pedro Alves <palves@redhat.com>
31157 * nscd/nscd.c (run_mode): Use enum.
31158 (main): Cleanup coding style issue.
31160 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31161 Andreas Jaeger <aj@suse.de>
31163 * nscd/nscd.c (go_background): Replaced with...
31164 (run_mode): ... this.
31165 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31166 (options): Add -F --foreground.
31167 (main): Implement it.
31168 (parse_opt): Parse it.
31170 2012-05-09 Andreas Jaeger <aj@suse.de>
31173 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31174 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31175 -Wconversion warning.
31176 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31179 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31181 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31183 (LC_ALL): Use macro-int-constant.
31184 (LC_COLLATE): Likewise.
31185 (LC_CTYPE): Likewise.
31186 (LC_MESSAGES): Likewise.
31187 (LC_MONETARY): Likewise.
31188 (LC_NUMERIC): Likewise.
31189 (LC_TIME): Likewise.
31190 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31191 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31193 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31195 [C99-based standards] (float_t): Expect type.
31196 [C99-based standards] (double_t): Expect type.
31197 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31199 [C99-based standards] (HUGE_VALL): Likewise.
31200 [C99-based standards] (INFINITY): Likewise.
31201 [C99-based standards] (NAN): Likewise.
31202 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31203 [C99-based standards] (FP_NAN): Likewise.
31204 [C99-based standards] (FP_NORMAL): Likewise.
31205 [C99-based standards] (FP_SUBNORMAL): Likewise.
31206 [C99-based standards] (FP_ZERO): Likewise.
31207 [C99-based standards] (FP_FAST_FMA): Use
31208 optional-macro-int-constant. Specify type. Require == 1.
31209 [C99-based standards] (FP_FAST_FMAF): Likewise.
31210 [C99-based standards] (FP_FAST_FMAL): Likewise.
31211 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31212 [C99-based standards] (FP_ILOGBNAN): Likewise.
31213 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31215 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31216 [C99-based standards] (math_errhandling): Specify type.
31217 [ISO99 || ISO11] (signgam): Do not allow.
31218 [non-C99-based standards] (copysignf): Do not allow.
31219 [non-C99-based standards] (exp2f): Likewise.
31220 [non-C99-based standards] (log2f): Likewise.
31221 [non-C99-based standards] (modff): Allow.
31222 [non-C99-based standards] (erff): Do not allow.
31223 [non-C99-based standards] (erfcf): Likewise.
31224 [non-C99-based standards] (gammaf): Likewise.
31225 [non-C99-based standards] (hypotf): Likewise.
31226 [non-C99-based standards] (j0f): Likewise.
31227 [non-C99-based standards] (j1f): Likewise.
31228 [non-C99-based standards] (jnf): Likewise.
31229 [non-C99-based standards] (lgammaf): Likewise.
31230 [non-C99-based standards] (tgammaf): Likewise.
31231 [non-C99-based standards] (y0f): Likewise.
31232 [non-C99-based standards] (y1f): Likewise.
31233 [non-C99-based standards] (ynf): Likewise.
31234 [non-C99-based standards] (isnanf): Likewise.
31235 [non-C99-based standards] (acoshf): Likewise.
31236 [non-C99-based standards] (asinhf): Likewise.
31237 [non-C99-based standards] (atanhf): Likewise.
31238 [non-C99-based standards] (cbrtf): Likewise.
31239 [non-C99-based standards] (expm1f): Likewise.
31240 [non-C99-based standards] (ilogbf): Likewise.
31241 [non-C99-based standards] (log1pf): Likewise.
31242 [non-C99-based standards] (logbf): Likewise.
31243 [non-C99-based standards] (nextafterf): Likewise.
31244 [non-C99-based standards] (remainderf): Likewise.
31245 [non-C99-based standards] (rintf): Likewise.
31246 [non-C99-based standards] (scalbf): Likewise.
31247 [non-C99-based standards] (copysignl): Likewise.
31248 [non-C99-based standards] (exp2l): Likewise.
31249 [non-C99-based standards] (log2l): Likewise.
31250 [non-C99-based standards] (modfl): Allow.
31251 [non-C99-based standards] (erfl): Do not allow.
31252 [non-C99-based standards] (erfcl): Likewise.
31253 [non-C99-based standards] (gammal): Likewise.
31254 [non-C99-based standards] (hypotl): Likewise.
31255 [non-C99-based standards] (j0l): Likewise.
31256 [non-C99-based standards] (j1l): Likewise.
31257 [non-C99-based standards] (jnl): Likewise.
31258 [non-C99-based standards] (lgammal): Likewise.
31259 [non-C99-based standards] (tgammal): Likewise.
31260 [non-C99-based standards] (y0l): Likewise.
31261 [non-C99-based standards] (y1l): Likewise.
31262 [non-C99-based standards] (ynl): Likewise.
31263 [non-C99-based standards] (isnanl): Likewise.
31264 [non-C99-based standards] (acoshl): Likewise.
31265 [non-C99-based standards] (asinhl): Likewise.
31266 [non-C99-based standards] (atanhl): Likewise.
31267 [non-C99-based standards] (cbrtl): Likewise.
31268 [non-C99-based standards] (expm1l): Likewise.
31269 [non-C99-based standards] (ilogbl): Likewise.
31270 [non-C99-based standards] (log1pl): Likewise.
31271 [non-C99-based standards] (logbl): Likewise.
31272 [non-C99-based standards] (nextafterl): Likewise.
31273 [non-C99-based standards] (remainderl): Likewise.
31274 [non-C99-based standards] (rintl): Likewise.
31275 [non-C99-based standards] (scalbl): Likewise.
31276 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31277 [non-C99-based standards] (FP_*): Do not allow.
31278 [C99-based standards] (FP_*): Change to
31279 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31280 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31282 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31283 (SIG_ERR): Likewise.
31284 [X/Open-based standards] (SIG_HOLD): Likewise.
31285 (SIG_IGN): Likewise.
31286 (SIGABRT): Use macro-int-constant. Specify type. Require
31288 (SIGFPE): Likewise.
31289 (SIGILL): Likewise.
31290 (SIGINT): Likewise.
31291 (SIGSEGV): Likewise.
31292 (SIGTER): Likewise.
31293 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31294 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31295 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31296 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31297 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31298 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31299 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31300 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31301 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31302 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31303 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31304 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31305 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31306 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31307 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31308 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31309 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31310 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31311 [X/Open-based standards] (SIGTRAP): Likewise.
31312 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31313 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31314 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31315 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31316 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31319 2012-05-08 Ian Wienand <ianw@vmware.com>
31322 * time/tzset.c (__tzset_parse_tz): Update default rules for
31323 daylight time changes in the Energy Policy Act of 2005.
31325 2012-05-09 Andreas Jaeger <aj@suse.de>
31328 * elf/ldconfig.c (parse_conf): Change string to make clear that
31329 ldconfig only issued a warning if ld.so.conf does not exist.
31331 2012-05-08 David S. Miller <davem@davemloft.net>
31333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31334 movxtod instead of popping the value on the stack.
31336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31338 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31340 * config.h.in: Add HAVE_ARM_PCS_VFP.
31342 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31345 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31346 checking but the checks are disabled for any reason.
31348 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31350 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31351 and ELF64_R_TYPE with ELFW(R_TYPE).
31353 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31355 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31356 (ulimit): Likewise.
31358 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31359 (settimeofday): Likewise.
31361 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31363 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31364 a struct th_u2 inside the union, and move tu_block/tu_code into
31365 a new th_u3 union of tu_block/tu_code inside of that. Move
31366 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31367 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31368 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31369 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31370 (th_stuff): Change to th_u1.tu_stuff.
31372 (th_msg): Change to th_u1.th_u2.tu_data.
31374 2012-05-07 David S. Miller <davem@davemloft.net>
31376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31379 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31380 (SETUP_PIC_REG): Use it.
31381 (SETUP_PIC_REG_LEAF): Use it.
31383 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31389 (EXPL_FINITE): Likewise.
31390 (FLDLOG): Likewise.
31391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31392 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31396 (EXPL_FINITE): Likewise.
31397 (FLDLOG): Likewise.
31398 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31399 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31401 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31402 test of -max_value argument for long double.
31403 * sysdeps/i386/fpu/libm-test-ulps: Update.
31404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31406 2012-05-06 David S. Miller <davem@davemloft.net>
31408 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31409 quad soft-float symbols whose references which are compiler
31411 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31413 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31417 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31419 (EXPL_FINITE): Likewise.
31420 (FLDLOG): Likewise.
31423 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31424 Adjust comments for base varying.
31425 (__expl_finite): Change alias to EXPL_FINITE.
31426 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31428 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31429 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31430 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31431 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31432 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31434 (EXPL_FINITE): Likewise.
31435 (FLDLOG): Likewise.
31438 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31439 Adjust comments for base varying.
31440 (__expl_finite): Change alias to EXPL_FINITE.
31441 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31446 * math/libm-test.inc (check_float_internal): Correct ulp
31447 calculation for subnormal expected results.
31449 2012-05-06 Andreas Jaeger <aj@suse.de>
31451 * Makeconfig (+math-flags): New, set to -frounding-math.
31452 (+cflags): Add +math-flags so that all of glibc gets compiled with
31455 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31457 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31459 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31465 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31466 (__ieee754_expl): Allow for and saturate large arguments.
31467 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31468 (u_threshold): Likewise.
31469 (__exp): Call __ieee754_exp before checking for overflow and
31471 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31472 (u_threshold): Likewise.
31473 (__expf): Call __ieee754_expf before checking for overflow and
31475 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31476 (u_threshold): Likewise.
31477 (__expl): Call __ieee754_expl before checking for overflow and
31479 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31480 (__ieee754_expl): Allow for and saturate large arguments.
31481 * math/libm-test.inc (exp_test): Add another test. Do not allow
31482 missing overflow exception on overflow.
31483 (expm1_test): Do not allow missing overflow exception on overflow.
31485 * sysdeps/i386/fpu/e_expl.c: Move to ...
31486 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31487 rather than using inline asm.
31488 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31489 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31490 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31492 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31495 (signal): Likewise.
31499 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31501 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31502 sysdeps/unix/common/syscalls.list.
31503 (fchmod): Likewise.
31504 (fchown): Likewise.
31505 (ftruncate): Likewise.
31506 (getrusage): Likewise.
31507 (gettimeofday): Likewise.
31508 (setpgid): Likewise.
31509 (setregid): Likewise.
31510 (setreuid): Likewise.
31511 (sigaction): Likewise.
31512 (truncate): Likewise.
31513 (vhangup): Likewise.
31514 * sysdeps/unix/common/syscalls.list: Remove file.
31515 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31516 * sysdeps/unix/sysv/linux/Implies: Likewise.
31518 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31520 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31522 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31526 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31529 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31532 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31535 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31538 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31541 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31544 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31548 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31552 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31555 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31559 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31563 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31565 * sysdeps/unix/common/bits/dirent.h: Remove file.
31566 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31568 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31569 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31570 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31571 * sysdeps/unix/bsd/isatty.c: Likewise.
31572 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31573 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31574 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31576 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31580 long double comparison inaccuracies.
31581 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31584 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31586 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31587 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31589 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31592 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31593 nonzero digits before rounding a hex value.
31594 * stdlib/tst-strtod.c (tests): Add another test.
31596 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31598 * sysdeps/s390/fpu/libm-test-ulps: Update.
31600 2012-05-03 Andreas Jaeger <aj@suse.de>
31602 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31603 does not get optimized out.
31604 (malloc_opt_barrier): New.
31606 2012-05-03 Andreas Jaeger <aj@suse.de>
31607 Roland McGrath <roland@hack.frob.com>
31609 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31610 intermediate file deletion.
31611 (generated): Add .symlist files.
31613 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31616 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31617 Redirect under this condition.
31618 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31619 [__USE_GNU] (__dprintf_chk): Not under this condition.
31620 [__USE_GNU] (__vdprintf_chk): Likewise.
31621 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31622 under this condition.
31623 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31624 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31625 [__USE_XOPEN2K8] (vdprintf): Likewise.
31626 [__USE_GNU] (__dprintf_chk): Not under this condition.
31627 [__USE_GNU] (__vdprintf_chk): Likewise.
31628 [__USE_GNU] (dprintf): Likewise.
31629 [__USE_GNU] (vdprintf): Likewise.
31631 2012-05-03 Roland McGrath <roland@hack.frob.com>
31633 * elf/Makefile (common-generated): Set this instead of generated for
31634 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31635 $(all-built-dso)-derived lists.
31637 2012-05-03 Andreas Jaeger <aj@suse.de>
31639 * sysdeps/i386/fpu/libm-test-ulps: Update.
31642 * FAQ.in: Likewise.
31643 * scripts/gen-FAQ.pl: Likewise.
31644 * manual/install.texi (Installation): Point to online location of
31646 * Makefile (files-for-dist): Remove FAQ.
31649 2012-05-02 Allan McRae <allan@archlinux.org>
31651 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31652 (LDFLAGS-reldepmod5.so): Likewise.
31653 (LDFLAGS-reldep6mod1.so): Likewise.
31654 (LDFLAGS-reldep6mod4.so): Likewise.
31655 (LDFLAGS-reldep8mod3.so): Likewise.
31656 (LDFLAGS-unload4mod1.so): Likewise.
31657 (LDFLAGS-unload4mod2.so): Likewise.
31658 (LDFLAGS-tst-initorder): Likewise.
31659 (LDFLAGS-tst-initordera2.so): Likewise.
31660 (LDFLAGS-tst-initordera3.so): Likewise.
31661 (LDFLAGS-tst-initordera4.so): Likewise.
31662 (LDFLAGS-tst-initorderb2.so): Likewise.
31663 (LDFLAGS-noload): Likewise.
31664 (LDFLAGS-next): Likewise.
31665 (LDFLAGS-order2mod1.so): Likewise.
31666 (LDFLAGS-order2mod2.so): Likewise.
31667 (LDFLAGS-tst-initorder2): Likewise.
31668 (LDFLAGS-tst-initorder2a.so): Likewise.
31669 (LDFLAGS-tst-initorder2b.so): Likewise.
31670 (LDFLAGS-tst-initorder2c.so): Likewise.
31671 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31673 2012-05-02 David S. Miller <davem@davemloft.net>
31675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31677 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31680 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31682 2012-05-02 Andreas Jaeger <aj@suse.de>
31684 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31685 since we manipulate rounding mode.
31686 (CPPFLAGS-test-idouble.c): Likewise.
31687 (CPPFLAGS-test-ifloat.c): Likewise.
31688 (CFLAGS-test-ldouble.c): Likewise.
31689 (CFLAGS-test-double.c): Likewise.
31690 (CFLAGS-test-float.c): Likewise.
31691 (CFLAGS-test-misc.c): Likewise.
31692 (CFLAGS-test-test-fenv.c): Likewise.
31694 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31698 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31699 comparisons to determine direction to adjust input.
31701 2012-05-01 Roland McGrath <roland@hack.frob.com>
31703 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31704 output to the target.
31706 * scripts/localplt.awk: New file.
31707 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31708 (check-localplt-CFLAGS): Variable removed.
31709 ($(all-built-dso:=.jmprel)): New static pattern rule.
31710 (generated): Add those targets.
31711 (localplt-built-dso): New variable.
31712 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31714 * elf/check-localplt.c: File removed.
31716 * scripts/check-execstack.awk: New file.
31717 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31718 (check-execstack-CFLAGS): Variable removed.
31719 ($(objpfx)check-execstack.h): Target removed.
31720 ($(objpfx)execstack-default): New target.
31721 (generated): Add that instead of check-execstack.h.
31722 ($(all-built-dso:=.phdr)): New static pattern rule.
31723 (generated): Add those targets.
31724 * elf/check-execstack.c: File removed.
31726 * scripts/check-textrel.awk: New file.
31727 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31728 (check-textrel-CFLAGS): Variable removed.
31729 (all-built-dso): Use := to define.o
31730 ($(all-built-dso:=.dyn)): New static pattern rule.
31731 (generated): Add those targets.
31732 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31733 * config.make.in (READELF): New substituted variable.
31734 * elf/check-textrel.c: File removed.
31736 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31738 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31740 * conform/data/ctype.h-data [C99-based standards] (isblank):
31742 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31743 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31745 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31746 Specify type. Require positive value.
31747 (EILSEQ): Likewise.
31748 (ERANGE): Likewise.
31749 [ISO || POSIX] (EILSEQ): Do not expect.
31750 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31751 Specify type. Require positive value.
31752 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31753 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31754 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31755 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31756 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31757 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31758 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31759 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31760 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31761 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31762 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31763 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31764 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31765 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31766 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31767 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31768 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31769 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31770 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31771 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31772 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31773 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31774 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31775 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31776 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31777 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31778 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31779 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31780 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31781 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31782 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31783 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31784 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31785 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31786 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31787 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31788 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31789 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31790 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31791 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31792 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31793 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31794 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31795 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31796 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31797 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31798 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31799 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31800 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31801 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31802 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31803 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31804 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31805 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31806 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31807 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31808 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31809 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31810 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31811 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31812 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31813 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31814 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31815 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31816 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31817 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31818 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31819 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31820 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31821 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31822 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31826 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31827 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31828 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31830 (FLT_ROUNDS): Expect as macro, not constant.
31831 (FLT_MANT_DIG): Use macro-int-constant.
31832 (DBL_MANT_DIG): Likewise.
31833 (LDBL_MANT_DIG): Likewise.
31834 (FLT_DIG): Likewise.
31835 (DBL_DIG): Likewise.
31836 (LDBL_DIG): Likewise.
31837 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31838 (DBL_MIN_EXP): Likewise.
31839 (LDBL_MIN_EXP): Likewise.
31840 (FLT_MAX_EXP): Use macro-int-constant.
31841 (DBL_MAX_EXP): Likewise.
31842 (LDBL_MAX_EXP): Likewise.
31843 (FLT_MAX_10_EXP): Likewise.
31844 (DBL_MAX_10_EXP): Likewise.
31845 (LDBL_MAX_10_EXP): Likewise.
31846 (FLT_MAX): Use macro-constant.
31847 (DBL_MAX): Likewise.
31848 (LDBL_MAX): Likewise.
31849 (FLT_EPSILON): Use macro-constant. Give upper bound.
31850 (DBL_EPSILON): Likewise.
31851 (LDBL_EPSILON): Likewise.
31852 (FLT_MIN): Likewise.
31853 (DBL_MIN): Likewise.
31854 (LDBL_MIN): Likewise.
31855 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31856 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31857 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31858 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31859 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31860 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31861 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31862 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31863 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31864 [ISO11] (FLT_TRUE_MIN): Likewise.
31865 [ISO11] (LDBL_TRUE_MIN): Likewise.
31866 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31867 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31868 (SCHAR_MIN): Use macro-int-constant. Specify type.
31869 (SCHAR_MAX): Likewise.
31870 (UCHAR_MAX): Likewise.
31871 (CHAR_MIN): Likewise.
31872 (CHAR_MAX): Likewise.
31873 (MB_LEN_MAX): Use macro-int-constant.
31874 (SHRT_MIN): Use macro-int-constant. Specify type.
31875 (SHRT_MAX): Likewise.
31876 (USHRT_MAX): Likewise.
31877 (INT_MAX): Likewise.
31878 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31880 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31882 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31884 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31885 bound negative. Suffix upper bound with "L".
31886 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31888 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31890 [C99-based standards] (LLONG_MAX): Likewise.
31891 [C99-based standards] (ULLONG_MAX): Likewise.
31892 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31894 [ISO11] (max_align_t): Require type.
31895 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31897 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31898 from $CFLAGS, without defining away __attribute__ calls.
31899 (checknamespace): Use $CFLAGS_namespace.
31901 * conform/conformtest.pl (@keywords): Only include C99 keywords
31902 for standards based on C99 or C11.
31904 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31906 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31909 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31910 usability of symbols in #if.
31912 * conform/conformtest.pl: If macro or constant types start
31913 "promoted:", expect the symbol to be of the following type
31914 promoted by the integer promotions.
31916 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31917 in one place. Also handle "macro-constant".
31919 * conform/conformtest.pl: Only accept expected macro values with
31920 "==". Parse all "macro" lines in one place.
31921 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31923 * conform/conformtest.pl: Handle braced types on "constant" lines
31924 instead of handling "typed-constant".
31925 * conform/data/signal.h-data: Use "constant" instead of
31928 * conform/conformtest.pl: Handle "optional-" at start of lines in
31929 one place rather than duplicating several cases. Handle each
31930 format of "macro" line with initial "optional-".
31932 * conform/conformtest.pl: Only accept expected constant or
31933 optional-constant values with "==". Parse all "constant" lines in
31934 one place. Parse all "optional-constant" lines in one place.
31935 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31936 * conform/data/fmtmsg.h-data: Likewise.
31937 * conform/data/netinet/in.h-data: Likewise.
31938 * conform/data/tar.h-data: Likewise.
31939 * conform/data/limits.h-data: Use "==" form on "constant" and
31940 "optional-constant" lines.
31942 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31943 Use -std=c99 for XOPEN2K.
31944 (@knownproblems): Remove.
31945 (newtoken): Don't check %isknown.
31947 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31948 Do not expect macro.
31949 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31950 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31951 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31952 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31953 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31954 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31955 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31956 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31957 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31958 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31959 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31960 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31961 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31962 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31963 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31964 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31965 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31966 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31967 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31968 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31969 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31970 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31971 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31972 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31973 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31974 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31975 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31976 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31977 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31978 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31979 [XPG3] (acosh): Likewise.
31980 [XPG3] (asinh): Likewise.
31981 [XPG3] (atanh): Likewise.
31982 [XPG3] (cbrt): Likewise.
31983 [XPG3] (expm1): Likewise.
31984 [XPG3] (ilogb): Likewise.
31985 [XPG3] (log1p): Likewise.
31986 [XPG3] (logb): Likewise.
31987 [XPG3] (nextafter): Likewise.
31988 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31989 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31990 [XPG3] (remainder): Likewise.
31991 [XPG3] (rint): Likewise.
31992 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31993 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31994 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31995 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31996 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31997 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31999 [UNIX98 || XOPEN2K] (scalb): Expect.
32000 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32001 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32002 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32003 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32004 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32005 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32006 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32007 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32008 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32009 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32010 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32011 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32012 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32013 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32014 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32015 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32016 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32017 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32020 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32021 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32022 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32023 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32024 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32025 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32026 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32027 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32029 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32030 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32094 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32095 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32132 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32133 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32134 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32138 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32139 _XOPEN_SOURCE_EXTENDED for XPG4.
32141 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32143 * Makeconfig (localtime): Remove variable.
32144 (inst_localtime-file): Likewise.
32146 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32167 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32171 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32172 comparisons to determine direction to adjust input.
32173 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32174 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32175 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32177 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32179 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32181 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32182 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32184 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32186 * math/libm-test.inc (nexttoward_test): Add more tests.
32188 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32192 in version GLIBC_2.1, not GLIBC_2.0.
32193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32196 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32199 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32201 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32202 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32203 * math/libm-test.inc (acos_test): Add more tests.
32204 (asin_test): Likewise.
32205 * sysdeps/i386/fpu/libm-test-ulps: Update.
32206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32209 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32211 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32212 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32213 * math/libm-test.inc (acos_test_tonearest): New function.
32214 (acos_test_towardzero): Likewise.
32215 (acos_test_downward): Likewise.
32216 (acos_test_upward): Likewise.
32217 (asin_test_tonearest): Likewise.
32218 (asin_test_towardzero): Likewise.
32219 (asin_test_downward): Likewise.
32220 (asin_test_upward): Likewise.
32221 (main): Call the new functions.
32222 * sysdeps/i386/fpu/libm-test-ulps: Update.
32223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32227 * math/e_exp10.c: Include <float.h>.
32228 (__ieee754_exp10): Handle underflow here rather than multiplying
32229 large negative argument by M_LN10.
32230 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32232 * math/e_exp10l.c: Include <float.h>.
32233 (__ieee754_exp10l): Handle underflow here rather than multiplying
32234 large negative argument by M_LN10l.
32235 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32236 spurious overflow exception on underflow.
32238 2012-04-29 Marek Polacek <polacek@redhat.com>
32240 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32241 (__fortify_function): New macro.
32242 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32243 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32244 __extern_always_inline.
32245 * libio/bits/stdio2.h: Likewise.
32246 * libio/bits/stdio.h: Likewise.
32247 * string/string.h: Likewise.
32248 * string/bits/string3.h: Likewise.
32249 * include/stdio.h: Likewise.
32250 * stdlib/bits/stdlib.h: Likewise.
32251 * stdlib/stdlib.h: Likewise.
32252 * rt/bits/mqueue2.h: Likewise.
32253 * rt/mqueue.h: Likewise.
32254 * posix/bits/unistd.h: Likewise.
32255 * posix/unistd.h: Likewise.
32256 * io/bits/poll2.h: Likewise.
32257 * io/bits/fcntl2.h: Likewise.
32258 * io/fcntl.h: Likewise.
32259 * io/sys/poll.h: Likewise.
32260 * misc/bits/syslog.h: Likewise.
32261 * misc/bits/syslog-ldbl.h: Likewise.
32262 * misc/sys/syslog.h: Likewise.
32263 * socket/bits/socket2.h: Likewise.
32264 * socket/sys/socket.h: Likewise.
32265 * debug/tst-chk1.c: Likewise.
32266 * wcsmbs/bits/wchar2.h: Likewise.
32267 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32268 * wcsmbs/wchar.h: Likewise.
32270 2012-04-29 Andreas Jaeger <aj@suse.de>
32272 * Makerules (tests): Remove enable-check-abi protection.
32273 (check-abi-warn): Remove.
32274 (check-abi-%): Remove check-abi-warn usage.
32276 * configure.in: Remove check-abi configure option.
32277 * configure: Regenerated.
32278 * config.make.in (enable-check-abi): Remove.
32280 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32283 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32284 double functions to double *_finite functions.
32287 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32288 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32290 * stdio-common/Makefile (tests): Add tst-sprintf3.
32291 * stdio-common/tst-sprintf3.c: New file.
32293 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32294 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32296 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32298 * conform/conformtest.pl: Remove duplicate typed-constant
32301 2012-04-28 David S. Miller <davem@davemloft.net>
32303 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32304 (check-abi-%): Remove AWK script prerequisite and explicit
32306 (check-abi): Rewrite to just diff the symlist with the abilist.
32307 (config-tls, config-abi-config): Delete, no longer used.
32308 (update-abi-%): Remove AWK script and explicit abilist directory.
32309 (update-abi): Rewrite to simply compare and conditionally copy the
32310 symlist and the sysdep abilist file. Remove update-abi-config
32312 * abilist/ld.abilist: Remove.
32313 * abilist/libBrokenLocale.abilist: Remove.
32314 * abilist/libanl.abilist: Remove.
32315 * abilist/libcrypt.abilist: Remove.
32316 * abilist/libdl.abilist: Remove.
32317 * abilist/librt.abilist: Remove.
32318 * abilist/libthread_db.abilist: Remove.
32319 * abilist/libutil.abilist: Remove.
32320 * scripts/extract-abilist.awk: Remove.
32321 * scripts/merge-abilist.awk: Remove.
32322 * sysdeps/generic/libcidn.abilist: New file.
32323 * sysdeps/generic/libnss_compat.abilist: New file.
32324 * sysdeps/generic/libnss_db.abilist: New file.
32325 * sysdeps/generic/libnss_dns.abilist: New file.
32326 * sysdeps/generic/libnss_files.abilist: New file.
32327 * sysdeps/generic/libnss_hesiod.abilist: New file.
32328 * sysdeps/generic/libnss_nis.abilist: New file.
32329 * sysdeps/generic/libnss_nisplus.abilist: New file.
32330 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32331 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32332 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32335 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32336 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32337 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32338 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32339 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32340 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32341 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32342 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32344 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32345 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32346 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32347 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32349 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32350 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32351 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32352 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32353 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32354 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32356 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32357 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32358 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32360 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32463 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32464 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32465 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32468 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32469 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32470 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32471 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32472 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32473 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32474 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32475 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32476 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32528 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32530 * conform/conformtest.pl: Fix typo in handling typed-constant from
32533 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32535 * README: Cut down references to pre-2.6 Linux kernels and
32536 Linuxthreads. Update lists of configurations in libc and ports
32537 and sort alphabetically. Say "or newer" with Linux kernel version
32540 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32542 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32545 * math/libm-test.inc (logb_test_downward): New test to expose
32546 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32549 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32552 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32554 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32555 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32557 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32559 * sysdeps/unix/i386/brk.S: Remove file.
32560 * sysdeps/unix/i386/dl-brk.S: Likewise.
32561 * sysdeps/unix/i386/pipe.S: Likewise.
32562 * sysdeps/unix/i386/sigreturn.S: Likewise.
32563 * sysdeps/unix/i386/syscall.S: Likewise.
32564 * sysdeps/unix/i386/vfork.S: Likewise.
32565 * sysdeps/unix/i386/wait.S: Likewise.
32567 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32568 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32570 * configure.in (arm*-none*): Do not allow without
32571 --enable-hacker-mode.
32572 (netbsd*): Remove case setting base_os.
32573 (386bsd*): Likewise.
32574 (freebsd*): Likewise.
32577 (sunos*): Likewise.
32578 (ultrix*): Likewise.
32579 (newsos*): Likewise.
32580 (dynix*): Likewise.
32586 (minix*): Likewise.
32587 (irix4*): Likewise.
32588 (irix6*): Likewise.
32589 (solaris[2-9]*): Likewise.
32591 * configure: Regenerated.
32593 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32596 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32597 overflow or cancellation in calculating denominator.
32598 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32599 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32600 down expression to avoid unexpected rounding in newer GCCs.
32601 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32603 2012-04-26 David S. Miller <davem@davemloft.net>
32605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32606 long-double compat symbols.
32607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32621 2012-04-25 David S. Miller <davem@davemloft.net>
32623 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32624 HWCAP_* values only after the memory barriers have been defined.
32625 (atomic_full_barrier): Define.
32626 (atomic_read_barrier): Define.
32627 (atomic_write_barrier): Define.
32629 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32631 * shlib-versions: Add libgcc_s version information.
32632 * sysdeps/generic/libgcc_s.h: Remove.
32633 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32635 * sysdeps/gnu/unwind-resume.c: Likewise.
32636 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32638 2012-04-25 David S. Miller <davem@davemloft.net>
32640 * sysdeps/unix/sparc/brk.S: Delete.
32641 * sysdeps/unix/sparc/dl-brk.S: Delete.
32642 * sysdeps/unix/sparc/pipe.S: Delete.
32643 * sysdeps/unix/sparc/sysdep.S: Delete.
32644 * sysdeps/unix/sparc/sysdep.h: Delete.
32645 * sysdeps/unix/sparc/vfork.S: Delete.
32646 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32647 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32648 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32649 (ret_ERRVAL, r0, r1, MOVE): Define.
32650 (JUMPTARGET): Remove.
32651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32652 sysdeps/unix/sparc/sysdep.h
32653 (ENTRY, END): Remove.
32654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32656 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32658 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32659 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32662 * timezone/README: Update upstream location and email address for
32664 * timezone/zdump.c: Update from tzcode 2012b.
32665 * timezone/zic.c: Likewise.
32667 * configure.in (libc_cv_as_needed): Remove test.
32668 * configure: Regenerated.
32669 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32670 conditional definition.
32671 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32672 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32673 * config.make.in (have-as-needed): Remove variable.
32675 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32676 Paul Pluzhnikov <ppluzhnikov@google.com>
32678 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32681 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32683 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32684 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32685 * sysdeps/sh/strlen.S: Likewise.
32687 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32689 * sysdeps/unix/fork.S: Remove file.
32690 * sysdeps/unix/i386/fork.S: Likewise.
32691 * sysdeps/unix/sparc/fork.S: Likewise.
32693 * sysdeps/unix/system.c: Remove file.
32694 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32696 * sysdeps/unix/getegid.S: Remove file.
32697 * sysdeps/unix/geteuid.S: Likewise.
32699 2012-04-24 Roland McGrath <roland@hack.frob.com>
32701 * scripts/check-localplt.awk: New file.
32702 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32704 * scripts/data/localplt-generic.data: Add a comment.
32706 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32707 NODE when __dir_mkfile failed.
32708 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32709 Reported by Ludovic Courtès <ludo@gnu.org>.
32711 2012-04-24 Andreas Jaeger <aj@suse.de>
32713 * Makerules (common-clean): Also remove gen-as-const-headers
32716 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32718 * Makerules (native-compile): Do not change working directory for
32719 build. Use $(OUTPUT_OPTION) in command.
32720 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32722 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32725 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32726 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32727 * math/libm-test.inc (floor_test): Add more tests.
32728 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32730 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32732 * sysdeps/unix/getdents.c: Remove file.
32733 * sysdeps/unix/sysv/getdents.c: Likewise.
32734 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32736 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32737 sysdeps/unix/mman/syscalls.list.
32739 (mprotect): Likewise.
32741 (munmap): Likewise.
32742 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32743 * sysdeps/unix/mman/syscalls.list: Remove.
32744 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32746 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32747 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32748 * configure: Regenerated.
32749 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32750 $(libgcc_s_suffix).
32751 * config.make.in (libgcc_s_suffix): Remove variable.
32753 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32755 * sysdeps/unix/sysv/gethostname.c: Move to ...
32756 * sysdeps/posix/gethostname.c: ... here.
32758 * sysdeps/unix/execve.S: Remove file.
32760 * sysdeps/unix/_exit.S: Remove file.
32762 2012-04-23 Andreas Jaeger <aj@suse.de>
32765 * manual/Makefile: Remove make dist support, there's no
32766 need for a stand-alone documentation tar ball.
32767 (TEXI2DVI): Define always, it's not in Makeconfig.
32770 (edition): Removed.
32771 (glibc-doc-$(edition).tar): Removed
32775 (ETAGS): Remove, it's in Makeconfig.
32776 (move-if-change): Remove, it's in Makeconfig.
32778 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32781 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32782 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32783 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32784 (strtod_l, strtof_l, strtold_l): Remove __wur.
32785 It is not necessarily an error to ignore strtol's return value.
32786 One can reliably look at the stored endptr to decide whether
32787 the number had valid syntax.
32789 2012-04-21 Andreas Jaeger <aj@suse.de>
32792 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32794 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32796 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32797 * sysdeps/unix/sysv/Versions: Remove file.
32799 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32804 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32807 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32808 version from __vm86.
32810 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32812 * sysdeps/unix/common/lxstat.c: Remove file.
32813 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32815 * sysdeps/unix/sysv/Makefile: Remove file.
32817 * sysdeps/unix/sysv/direct.h: Remove file.
32819 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32820 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32821 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32822 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32823 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32824 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32825 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32827 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32829 * sysdeps/unix/xmknod.c: Remove file.
32830 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32832 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32834 * sysdeps/unix/sysv/i386/time.S: Remove file.
32836 * sysdeps/unix/fxstat.c: Remove file.
32837 * sysdeps/unix/xstat.c: Likewise.
32838 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32840 * sysdeps/unix/sysv/sigaction.c: Remove file.
32842 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32843 (sysdep_headers): Remove variable.
32844 [termio.h not in sysdep_headers] (generated): Likewise.
32845 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32846 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32847 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32848 * sysdeps/unix/sysv/tcflow.c: Likewise.
32849 * sysdeps/unix/sysv/tcflush.c: Likewise.
32850 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32851 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32852 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32853 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32854 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32856 * sysdeps/unix/siglist.c: Remove file.
32858 * sysdeps/unix/getppid.S: Remove file.
32860 * sysdeps/unix/mkdir.c: Remove file.
32861 * sysdeps/unix/rmdir.c: Likewise.
32863 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32865 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32868 errlist-compat value.
32870 2012-04-18 David S. Miller <davem@davemloft.net>
32872 * sysdeps/generic/memcopy.h (reg_char): Delete.
32873 * debug/strcat_chk.c: Use char, not reg_char.
32874 * debug/strcpy_chk.c: Likewise.
32875 * debug/strncat_chk.c: Likewise.
32876 * debug/strncpy_chk.c: Likewise.
32877 * string/memchr.c: Likewise.
32878 * string/memrchr.c: Likewise.
32879 * string/rawmemchr.c: Likewise.
32880 * string/strcat.c: Likewise.
32881 * string/strchr.c: Likewise.
32882 * string/strchrnul.c: Likewise.
32883 * string/strcmp.c: Likewise.
32884 * string/strcpy.c: Likewise.
32885 * string/strncat.c: Likewise.
32886 * string/strncmp.c: Likewise.
32887 * string/strncpy.c: Likewise.
32889 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32891 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32892 __builtin_memcopy is called when src and dest ranges are known to not
32895 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32897 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32898 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32899 fwd_align_merge macro call.
32900 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32901 bwd_align_merge macro call.
32902 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32904 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32906 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32907 bwd_align_merge macros.
32908 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32909 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32910 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32912 2012-04-18 David S. Miller <davem@davemloft.net>
32914 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32916 2012-04-18 Andreas Jaeger <aj@suse.de>
32919 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32920 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32921 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32923 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32924 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32925 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32927 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32928 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32929 Adjust for changed ldbl-128 files.
32931 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32932 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32933 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32935 2012-04-17 David S. Miller <davem@davemloft.net>
32937 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32939 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32941 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32942 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32943 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32944 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32945 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32946 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32948 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32951 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32952 * math/libm-test.inc: Add ilogb errno and exception tests.
32953 * math/w_ilogb.c: New file: ilogb wrapper.
32954 * math/w_ilogbf.c: New file: ilogbf wrapper.
32955 * math/w_ilogbl.c: New file: ilogbl wrapper.
32956 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32957 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32958 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32959 exception being thrown with 0.0 as argument.
32960 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32961 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32962 exception being thrown with 0.0 as argument.
32963 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32964 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32965 exception being thrown with 0.0 as argument.
32966 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32967 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32968 exception being thrown with 0.0 as argument.
32969 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32970 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32971 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32972 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32973 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32974 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32975 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32976 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32977 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32979 2012-04-17 Petr Baudis <pasky@ucw.cz>
32981 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32984 2012-04-16 Marek Polacek <polacek@redhat.com>
32986 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32988 2012-04-16 Marek Polacek <polacek@redhat.com>
32990 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32991 operands of fdivp instruction.
32993 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32995 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32996 * elf/tst-auditmod3b.c: Likewise.
32997 * elf/tst-auditmod4b.c: Likewise.
32998 * elf/tst-auditmod5b.c: Likewise.
32999 * elf/tst-auditmod6b.c: Likewise.
33000 * elf/tst-auditmod6c.c: Likewise.
33001 * elf/tst-auditmod7b.c: Likewise.
33002 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33003 * sysdeps/x86_64/preconfigure.in: Likewise.
33004 * sysdeps/x86_64/preconfigure: Regenerated.
33006 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33008 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33011 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33014 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33016 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33019 * locale/iso-639.def: Fix gl language name. Spotted by
33022 2012-04-12 Roland McGrath <roland@hack.frob.com>
33025 * libio/libio.h (__io_write_fn): Update comment.
33027 2012-04-12 Petr Baudis <pasky@ucw.cz>
33030 * stdio.texi (Hook Functions): The user provided writer function
33031 is not allowed to return -1.
33033 2012-04-11 David S. Miller <davem@davemloft.net>
33035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33037 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33039 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33040 Add a leading slash to rtkaio.
33042 2012-04-11 Jim Meyering <meyering@redhat.com>
33045 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33046 It is not necessarily an error to ignore fwrite's return
33047 value. One can reliably use ferror to test for errors after
33050 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33052 * bits/types.h (__snseconds_t): New type.
33053 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33055 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33056 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33057 (__SNSECONDS_T_TYPE): Likewise.
33058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33059 (__SNSECONDS_T_TYPE): Likewise.
33060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33061 (__SNSECONDS_T_TYPE): Likewise.
33063 2012-04-10 Andreas Jaeger <aj@suse.de>
33066 * manual/time.texi (Processor Time): Return type of times is
33067 elapsed real time since an arbitrary point in the past.
33068 (CPU Time): Move CLK_TCK from here...
33069 (Processor Time): ...to here. Correct description.
33070 * manual/conf.texi (Constants for Sysconf): Correct description of
33073 2012-04-10 David S. Miller <davem@davemloft.net>
33076 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33077 where the is a gap between DT_REL(A) and DT_JMPREL.
33079 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33081 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33082 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33083 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33085 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33087 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33088 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33089 (dl_main): Handle --inhibit-cache.
33090 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33092 * elf/dl-load.c (_dl_map_object): Use it.
33093 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33095 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33098 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33099 (__ieee754_powl): Saturate large exponents rather than testing for
33100 overflow of y*log2(x).
33101 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33102 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33106 * math/s_ctan.c: Include <float.h>.
33107 (__ctan): Avoid internal overflow or cancellation in calculating
33109 * math/s_ctanf.c: Likewise.
33110 * math/s_ctanl.c: Likewise.
33111 * math/s_ctanh.c: Likewise.
33112 * math/s_ctanhf.c: Likewise.
33113 * math/s_ctanhl.c: Likewise.
33114 * math/libm-test.inc (ctan_test): Add more tests.
33115 (ctanh_test): Likewise.
33116 * sysdeps/i386/fpu/libm-test-ulps: Update.
33117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33119 2012-04-09 Andreas Jaeger <aj@suse.de>
33122 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33123 is an optional BSD extension.
33126 * manual/stdio.texi (Opening Streams): Document additional fopen
33129 2012-04-09 Roland McGrath <roland@hack.frob.com>
33131 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33132 %eax without telling the compiler.
33134 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33137 * manual/install.texi: Use sourceware.org.
33139 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33142 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33143 (__ieee754_pow): Generate overflow and underflow using huge*huge
33144 and tiny*tiny rather than just returning constant infinity or zero
33145 for large exponents.
33146 * math/libm-test.inc (pow_test): Require overflow exceptions for
33147 applicable cases of large exponents.
33150 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33151 (__ieee754_pow): Use iterative multiplication algorithm only for
33152 integer exponents with absolute value below 1024. Check for odd
33153 integer exponents when using algorithm for real exponents.
33154 * math/libm-test.inc (pow_test): Add more tests.
33155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33157 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33160 * math/libm-test.inc (exp_test): Do not allow overflow exception
33163 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33166 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33167 instead of __kernel_standard_f.
33169 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33171 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33172 * sysdeps/x86_64/memset_chk.S: Likewise.
33174 2012-04-08 Andreas Jaeger <aj@suse.de>
33177 * manual/startup.texi (Environment Access): Describe return value
33178 for putenv and setenv.
33181 * manual/filesys.texi (Directory Entries): Add description for
33185 * manual/filesys.texi (Directory Entries): Clarify that it's file
33186 system not operating system in the description of DT_UNKNOWN.
33189 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33191 2012-04-08 Stephen Compall <s11@member.fsf.org>
33194 * manual/llio.texi (Opening and Closing Files): Add cross
33195 reference to explain mode argument.
33197 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33199 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33200 * sysdeps/x86_64/memset_chk.S: Likewise.
33202 2012-04-07 David S. Miller <davem@davemloft.net>
33204 * elf/elf.h (R_SPARC_WDISP10): Define.
33205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33208 R_SPARC_SIZE64 and R_SPARC_H34.
33210 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33212 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33213 conditions and remove no longer applicable assertion.
33215 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33217 * bits/byteswap.h: Include <features.h>.
33218 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33219 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33221 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33223 * bits/byteswap.h (__bswap_16): Removed.
33224 Include <bits/byteswap-16.h> to get __bswap_16.
33225 * sysdeps/i386/bits/byteswap.h: Likewise.
33226 * sysdeps/s390/bits/byteswap.h: Likewise.
33227 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33228 * bits/byteswap-16.h: New file.
33229 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33230 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33231 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33232 * string/Makefile (headers): Add bits/byteswap-16.h.
33234 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33237 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33239 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33240 * nss/tst-nss-static.c: New.
33242 2012-04-06 Robert Millan <rmh@gnu.org>
33245 * manual/llio.texi (File Position Primitive): lseek
33246 refers to WHENCE when it really means OFFSET.
33248 2012-04-06 Andreas Jaeger <aj@suse.de>
33250 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33251 strncmp declarations.
33253 * abilist/libc.abilist: Add __poll and __ppoll.
33255 2012-04-05 David S. Miller <davem@davemloft.net>
33257 * scripts/check-local-headers.sh: Accept a host triplet in the
33258 path matched by the exclude regexp.
33260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33262 * sysdeps/powerpc/powerpc32/dl-machine.h
33263 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33264 * sysdeps/s390/s390-32/dl-machine.h
33265 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33266 * sysdeps/sparc/sparc32/dl-machine.h
33267 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33268 * sysdeps/sparc/sparc64/dl-machine.h
33269 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33271 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33273 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33274 undefined symbol errors.
33276 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33279 2012-04-05 Michael Matz <matz@suse.de>
33282 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33284 2012-04-05 Andreas Jaeger <aj@suse.de>
33287 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33290 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33292 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33293 which ROUND is no valid rounding mode.
33295 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33297 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33299 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33301 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33303 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33304 an exception using FPU order intentionally.
33306 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33308 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33309 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33310 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33311 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33313 2012-04-05 Simon Josefsson <simon@josefsson.org>
33316 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33317 EINVAL when BUFLEN is too smal.
33319 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33322 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33323 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33325 2012-04-03 Andreas Jaeger <aj@suse.de>
33328 * manual/setjmp.texi (System V contexts): Fix sentence.
33331 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33332 New macro for this case.
33333 [!__GNUC__] (__bswap_64): New inline function for this case.
33334 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33335 * bits/byteswap.h: Likewise.
33336 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33337 ull, guard with __GLIBC_HAVE_LONG_LONG.
33339 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33340 __GLIBC_HAVE_LONG_LONG.
33342 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33343 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33345 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33348 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33349 inptr and inend, rather than using last_ch.
33351 2012-04-02 David S. Miller <davem@davemloft.net>
33353 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33354 * stdio-common/printf-parse.h (read_int): Change return type to
33355 'int', return -1 on INT_MAX overflow.
33356 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33357 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33358 overflows INT_MAX. Check for overflow of in-format-string precision
33359 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33360 SIZE_MAX not INT_MAX for integer overflow test.
33361 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33362 skip the construct in the format string but do not record anything.
33363 * stdio-common/bug22.c: Adjust to test both width/prevision
33364 INT_MAX overflow as well as total length INT_MAX overflow. Check
33365 explicitly for proper errno values.
33367 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33369 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33371 * string/test-strcmp.c [! WIDE]: Likewise.
33372 * time/tst-mktime2.c: Likewise for INT_MAX.
33373 * string/test-string.h: #include <sys/param.h> for MIN.
33375 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33376 * sysdeps/i386/init-first.c (init): Likewise.
33377 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33378 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33379 * sysdeps/sh/init-first.c (init): Likewise.
33381 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33383 * po/ru.po: Update from translation team.
33384 * po/vi.po: Likewise.
33386 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33388 * resolv/nss_dns/dns-host.c: Merge copyright years.
33390 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33392 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33393 Optimize memcpy with prefetch if
33394 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33395 src, dst pointers have unequal 16 byte alignments.
33397 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33400 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33401 from a CNAME entry and return the minimum ttl for the query.
33402 (gaih_getanswer_slice): Likewise.
33404 2012-03-30 Jeff Law <law@redhat.com>
33406 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33408 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33409 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33411 * resolv/nss_dns/dns-host.c: Update copyright year.
33413 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33415 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33416 requests to save a system call. Fix check that all bytes are sent.
33418 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33419 comments for sendmmsg.
33421 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33424 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33425 with only 1 character between 0x0041 and 0x01b0.
33426 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33427 * wcsmbs/tst-mbsnrtowcs.c: New file.
33429 2012-03-29 David S. Miller <davem@davemloft.net>
33431 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33432 small copies by hand.
33434 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33437 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33438 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33441 2012-03-28 David S. Miller <davem@davemloft.net>
33443 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33444 that branches into memcpy.
33445 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33448 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33451 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33452 implementation too.
33453 * sysdeps/sparc/mempcpy.S: New file.
33455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33456 the IFUNC routine in the libc case.
33457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33459 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33460 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33461 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33462 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33463 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33464 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33465 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33466 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33468 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33469 loop to 256 bytes instead of 64 bytes and fix test signedness.
33471 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33472 * sysdeps/sparc/sparc32/Makefile: rather than here...
33473 * sysdeps/sparc/sparc64/Makefile: and here.
33475 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33477 * malloc/mallocbug.c: Avoid warnings about unused variables.
33479 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33482 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33483 in the right place. Discard and retry query if response is
33484 larger than input buffer size.
33486 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33491 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33492 x for large integer exponent.
33493 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33494 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33495 sign of result as needed afterwards.
33496 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33497 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33498 result for underflowing pow the same as for overflow.
33499 (__kernel_standard_l): Handle powl overflow and underflow here
33500 rather than calling __kernel_standard.
33501 * math/libm-test.inc (pow_test): Add more tests.
33516 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33517 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33518 (__kernel_standard_l): New function.
33519 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33521 * math/w_acosl.c (__acosl): Likewise.
33522 * math/w_asinl.c (__asinl): Likewise.
33523 * math/w_atan2l.c (__atan2l): Likewise.
33524 * math/w_atanhl.c (__atanhl): Likewise.
33525 * math/w_coshl.c (__coshl): Likewise.
33526 * math/w_exp10l.c (__exp10l): Likewise.
33527 * math/w_exp2l.c (__exp2l): Likewise.
33528 * math/w_fmodl.c (__fmodl): Likewise.
33529 * math/w_hypotl.c (__hypotl): Likewise.
33530 * math/w_j0l.c (__j0l, __y0l): Likewise.
33531 * math/w_j1l.c (__j1l, __y1l): Likewise.
33532 * math/w_jnl.c (__jnl, __ynl): Likewise.
33533 * math/w_lgammal.c (__lgammal): Likewise.
33534 * math/w_log10l.c (__log10l): Likewise.
33535 * math/w_log2l.c (__log2l): Likewise.
33536 * math/w_logl.c (__logl): Likewise.
33537 * math/w_powl.c (__powl): Likewise.
33538 * math/w_remainderl.c (__remainderl): Likewise.
33539 * math/w_scalbl.c (sysv_scalbl): Likewise.
33540 * math/w_sinhl.c (__sinhl): Likewise.
33541 * math/w_sqrtl.c (__sqrtl): Likewise.
33542 * math/w_tgammal.c (__tgammal): Likewise.
33543 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33544 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33545 * math/libm-test.inc (acos_test): Add more tests.
33546 (acosh_test): Likewise.
33547 (asin_test): Likewise.
33548 (atanh_test): Likewise.
33549 (exp_test): Likewise.
33550 (exp10_test): Likewise.
33551 (exp2_test): Likewise.
33552 (expm1_test): Likewise.
33553 (lgamma_test): Likewise.
33554 (log_test): Likewise.
33555 (log10_test): Likewise.
33556 (log1p_test): Likewise.
33557 (log2_test): Likewise.
33558 (pow_test): Do not allow some spurious overflow exceptions.
33559 (sqrt_test): Add more tests.
33560 (tgamma_test): Likewise.
33561 (y0_test): Likewise.
33562 (y1_test): Likewise.
33563 (yn_test): Likewise.
33565 2012-03-27 Anton Blanchard <anton@samba.org>
33567 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33569 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33570 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33573 2012-03-27 David S. Miller <davem@davemloft.net>
33575 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33577 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33578 have-as-vis3 check.
33580 2012-03-27 Andreas Jaeger <aj@suse.de>
33582 * sysdeps/x86_64/elf/configure.in: Moved to ...
33583 * sysdeps/x86_64/configure.in: ... here.
33584 * sysdeps/x86_64/elf/start.S: Moved to ...
33585 * sysdeps/x86_64/start.S: ... here.
33586 * sysdeps/x86_64/elf/configure: Delete.
33588 * sysdeps/x86_64/configure.in: Merge contents from
33589 sysdeps/i386/configure.in (without i686 check).
33591 * sysdeps/i386/elf/Versions: Merge into ...
33592 * sysdeps/i386/Versions: ... this.
33593 * sysdeps/i386/elf/Versions: Delete file.
33594 * sysdeps/i386/elf/start.S: Moved to ...
33595 * sysdeps/i386/start.S: ...here.
33596 * sysdeps/i386/elf/configure.in: Merge into...
33597 * sysdeps/i386/configure.in: ...here.
33598 * sysdeps/i386/elf/configure.in: Delete file.
33599 * sysdeps/i386/elf/configure: Delete file.
33601 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33602 * debug/backtracesyms.c: ... here.
33603 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33604 * debug/backtracesymsfd.c: ... here.
33605 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33606 * sysdeps/generic/ifunc-sel.h: ... here.
33608 * sysdeps/unix/i386/start.c: Delete file.
33609 * sysdeps/unix/sparc/start.c: Delete file.
33610 * sysdeps/unix/start.c: Delete file.
33612 * sysdeps/sh/elf/configure.in: Moved to ...
33613 * sysdeps/sh/configure.in: ... here.
33614 * sysdeps/sh/elf/start.S: Moved to ...
33615 * sysdeps/sh/start.S: ... here.
33616 * sysdeps/sh/elf/configure: Delete file.
33618 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33619 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33620 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33621 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33622 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33623 * sysdeps/powerpc/powerpc64/start.S: here.
33624 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33625 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33626 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33627 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33628 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33630 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33631 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33632 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33633 * sysdeps/powerpc/powerpc32/start.S: ... here.
33634 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33635 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33636 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33638 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33639 * sysdeps/powerpc/ifunc-sel.h: ... here.
33640 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33641 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33643 * sysdeps/sparc/elf/configure.in: Moved to ...
33644 * sysdeps/sparc/configure.in: ... here.
33645 * sysdeps/sparc/elf/configure: Delete file.
33646 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33647 * sysdeps/sparc/sparc32/start.S: ... here.
33648 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33649 * sysdeps/sparc/sparc64/start.S: ... here.
33650 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33651 * sysdeps/sparc/sparc32/Makefile: ... this.
33652 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33653 * sysdeps/sparc/sparc64/Makefile: ... this.
33655 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33656 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33657 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33658 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33659 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33660 * sysdeps/s390/s390-32/setjmp.S: ... here.
33661 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33662 * sysdeps/s390/s390-32/configure.in: ... here.
33663 * sysdeps/s390/s390-32/elf/configure: Delete file.
33664 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33665 * sysdeps/s390/s390-32/start.S: ... here.
33667 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33668 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33669 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33670 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33671 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33672 * sysdeps/s390/s390-64/setjmp.S: ... here.
33673 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33674 * sysdeps/s390/s390-64/configure.in: ... here
33675 * sysdeps/s390/s390-64/elf/configure: Delete file.
33676 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33677 * sysdeps/s390/s390-64/start.S: ... here.
33678 * sysdeps/s390/s390-64/elf/configure: Delete.
33680 * configure.in: Remove support for elf directories in sysdeps.
33682 * configure: Regenerated.
33683 * sysdeps/i386/configure: Regenerated.
33684 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33685 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33686 * sysdeps/s390/s390-32/configure: Regenerated.
33687 * sysdeps/s390/s390-64/configure: Regenerated.
33688 * sysdeps/sh/configure: Regenerated.
33689 * sysdeps/sparc/configure: Regenerated.
33690 * sysdeps/x86_64/configure: Regenerated.
33692 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33697 denormal result into account.
33699 2012-03-25 Roland McGrath <roland@hack.frob.com>
33701 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33702 Reported by Allan McRae <allan@archlinux.org>.
33704 2012-03-23 Jeff Law <law@redhat.com>
33706 * nss/getnssent.c (__nss_getent): Fix typo.
33708 2012-03-23 David S. Miller <davem@davemloft.net>
33710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33712 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33714 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33715 to pad to uint64_t for each field.
33716 (dl_tls_index): Replace unsigned long with uint64_t.
33718 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33719 Paul Pluzhnikov <ppluzhnikov@google.com>
33722 * grp/Makefile (otherlibs): Don't set it.
33723 * inet/Makefile (otherlibs): Likewise.
33724 * login/Makefile (otherlibs): Likewise.
33725 * nscd/Makefile (otherlibs): Likewise.
33726 * posix/Makefile (otherlibs): Likewise.
33727 * pwd/Makefile (otherlibs): Likewise.
33728 * rt/Makefile (otherlibs): Likewise.
33729 * sunrpc/Makefile (otherlibs): Likewise.
33730 * nss/Makefile (otherlibs): Likewise.
33731 Add libnss_files to routines and static-only-routines.
33732 ($(objpfx)getent): Remove rule.
33733 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33734 static-only-routines.
33736 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33739 * math/s_cexp.c: Include <float.h>.
33740 (__cexp): Handle exp result overflowing not necessarily
33741 overflowing both real and imaginary parts of result.
33742 * math/s_cexpf.c: Likewise.
33743 * math/s_cexpl.c: Likewise.
33744 * math/libm-test.inc (cexp_test): Add more tests.
33745 * sysdeps/i386/fpu/libm-test-ulps: Update.
33746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33748 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33750 * include/link.h (ELFW): New macro.
33751 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33752 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33754 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33756 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33759 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33761 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33763 (struct La_x32_retval): Likewise.
33765 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33767 * sysdeps/x86_64/preconfigure.in: New file.
33768 * sysdeps/x86_64/preconfigure: New generated file.
33770 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33773 * math/e_exp2l.c: Include <float.h>.
33774 (__ieee754_exp2l): Handle overflow and underflow cases
33775 separately. Only pass fractional part of argument to
33777 * math/libm-test.inc (exp2_test): Add more tests.
33779 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33780 negating x to take absolute value.
33781 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33786 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33787 computing low part if x was negated.
33788 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33790 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33792 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33793 la_x32_gnu_pltexit.
33794 (pltexit): Cast int_retval to ptrdiff_t.
33795 * elf/tst-auditmod3b.c: Likewise.
33796 * elf/tst-auditmod4b.c: Likewise.
33797 * elf/tst-auditmod5b.c: Likewise.
33798 * elf/tst-auditmod6b.c: Likewise.
33799 * elf/tst-auditmod6c.c: Likewise.
33800 * elf/tst-auditmod7b.c: Likewise.
33802 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33803 and x32_gnu_pltexit.
33805 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33806 __ELF_NATIVE_CLASS.
33807 (La_x32_regs): New macro.
33808 (La_x32_retval): Likewise.
33809 (la_x32_gnu_pltenter): New function prototype.
33810 (la_x32_gnu_pltexit): Likewise.
33812 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33814 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33819 * configure.in (libc_cv_cc_nofma): Check for option to disable
33820 generation of FMA instructions.
33821 * configure: Regenerate.
33822 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33823 * sysdeps/ieee754/dbl-64/Makefile: New file.
33824 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33825 Remove brandred-fma4.
33826 (CFLAGS-brandred-fma4.c): Remove.
33827 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33828 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33830 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33833 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33835 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33836 LLONG_MAX != LONG_MAX.
33837 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33838 (_fitoa_word): Likewise.
33839 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33840 LLONG_MAX != LONG_MAX.
33841 * stdio-common/_itowa.h: Include <_itoa.h>.
33842 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33843 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33844 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33845 only if not defined.
33846 (_ITOA_WORD_TYPE): Likewise.
33847 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33848 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33850 2012-03-21 David S. Miller <davem@davemloft.net>
33852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33854 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33856 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33857 of x86_64 when setting libc_cv_slibdir, libdir and
33859 * sysdeps/unix/sysv/linux/configure: Regenerated.
33861 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33863 * manual/lang.texi (Old Varargs): Remove section.
33864 (How Variadic): Update menu.
33865 (va_start): Do not mention varargs.h.
33867 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33868 Joseph Myers <joseph@codesourcery.com>
33870 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33872 * configure: Regenerated.
33874 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33876 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33877 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33880 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33883 * Makefile (files-for-dist): Remove NOTES.
33884 (NOTES): Remove rule.
33885 * README: Don't refer to NOTES.
33886 * manual/creature.texi: Don't include macros.texi.
33887 * manual/intro.texi (creature.texi): Remove comment referring to
33890 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33891 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33892 * configure: Regenerated.
33893 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33894 LIBC_TRY_CC_OPTION.
33895 (libc_cv_as_i686): Likewise.
33896 (libc_cv_cc_avx): Likewise.
33897 (libc_cv_cc_sse2avx): Likewise.
33898 (libc_cv_cc_fma4): Likewise.
33899 (libc_cv_cc_novzeroupper): Likewise.
33900 * sysdeps/i386/configure: Regenerated.
33903 * sysdeps/i386/fpu/s_cexp.S: Remove.
33904 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33905 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33906 * math/libm-test.inc (cexp_test): Add more tests.
33907 * sysdeps/i386/fpu/libm-test-ulps: Update.
33908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33910 2012-03-21 Allan McRae <allan@archlinux.org>
33912 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33914 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33917 * math/w_exp2.c: Do not include <float.h>.
33918 (o_threshold, u_threshold): Remove.
33919 (__exp2): Calculate result before checking finiteness and calling
33921 * math/w_exp2f.c: Likewise.
33922 * math/w_exp2l.c: Likewise.
33923 * math/libm-test.inc (exp2_test): Require overflow exception for
33927 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33928 range of signed 64-bit integers before using fistpll. Remove
33929 checks for whether integers fit in mantissa bits.
33930 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33931 the range of signed 32-bit integers before using fistpl. Remove
33932 checks for whether integers fit in mantissa bits.
33933 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33934 (__ieee754_powl): Test for y outside the range of signed 64-bit
33935 integers before using fistpll. Reduce 64-bit values to 63-bit
33937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33938 divide-by-zero is raised for zero to large negative powers.
33939 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
33945 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33947 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33948 <stdio-common/_itoa.h>.
33949 * debug/segfault.c: Likewise.
33950 * elf/dl-cache.c: Likewise.
33951 * elf/dl-minimal.c: Likewise.
33952 * elf/dl-misc.c: Likewise.
33953 * elf/dl-sysdep.c: Likewise.
33954 * elf/dl-version.c: Likewise.
33955 * elf/rtld.c: Likewise.
33956 * hurd/hurdsock.c: Likewise.
33957 * hurd/lookup-retry.c: Likewise.
33958 * malloc/malloc.c: Likewise.
33959 * malloc/mtrace.c: Likewise.
33960 * nscd/nscd_getgr_r.c: Likewise.
33961 * nscd/nscd_getpw_r.c: Likewise.
33962 * nscd/nscd_getserv_r.c: Likewise.
33963 * posix/getopt_init.c: Likewise.
33964 * posix/wordexp.c: Likewise.
33965 * stdio-common/_itoa.c: Likewise.
33966 * stdio-common/printf_fphex.c: Likewise.
33967 * stdio-common/vfprintf.c: Likewise.
33968 * string/_strerror.c: Likewise.
33969 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33970 * sysdeps/i386/i686/hp-timing.h: Likewise.
33971 * sysdeps/mach/_strerror.c: Likewise.
33972 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33973 * sysdeps/mach/hurd/sethostid.c: Likewise.
33974 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33975 * sysdeps/mach/xpg-strerror.c: Likewise.
33976 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33977 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33978 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33979 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33980 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33981 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33982 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33983 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33984 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33985 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33986 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33987 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33988 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33989 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33990 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33991 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33992 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33993 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33994 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33995 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33996 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33998 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34000 * stdio-common/_itoa.h: Moved to ...
34001 * sysdeps/generic/_itoa.h: Here.
34003 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34005 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34006 instead of "_itoa.h" and "_itowa.h".
34007 * stdio-common/vfprintf.: Likewise.
34009 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34011 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34013 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34014 (__signbit): Likwise.
34015 (llrintf): Likwise.
34018 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34020 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34023 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34025 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34026 OVERFLOW_EXCEPTION_OK.
34027 * math/libm-test.inc ("Philosophy"): Update comment about
34029 (OVERFLOW_EXCEPTION): Define.
34030 (OVERFLOW_EXCEPTION_OK): Likewise.
34031 (INVALID_EXCEPTION_OK): Renumber.
34032 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34033 (IGNORE_ZERO_INF_SIGN): Likewise.
34034 (test_exceptions): Handle FE_OVERFLOW.
34035 (exp10_test): Expect overflow exceptions.
34036 (exp2_test): Likewise.
34037 (expm1_test): Likewise.
34038 (nextafter_test): Likewise.
34039 (pow_test): Likewise.
34040 (scalbn_test): Likewise.
34041 (scalbln_test): Likewise.
34043 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34045 * sysdeps/x86_64/bits/atomic.h
34046 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34048 (atomic_exchange_acq): Likewise.
34049 (__arch_exchange_and_add_body): Likewise.
34050 (__arch_add_body): Likewise.
34051 (atomic_add_negative): Likewise.
34052 (atomic_add_zero): Likewise.
34054 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34056 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34057 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34061 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34062 Check __x86_64__ instead of __WORDSIZE.
34064 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34066 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34068 2012-03-19 David S. Miller <davem@davemloft.net>
34070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34072 * sysdeps/sparc/fpu/fenv_private.h: New file.
34073 * sysdeps/sparc/fpu/math_private.h: Use it.
34074 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34076 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34077 (libc_feholdexcept_setroundl): Remove.
34078 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34080 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34081 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34083 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34085 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34086 int64_t instead of long int.
34087 (INSERT_WORDS64): Likwise.
34089 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34091 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34092 _Unwind_GetCFA return to _Unwind_Ptr first.
34094 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34097 * math/s_clog.c: Include <float.h>.
34098 (__clog): Scale large or subnormal inputs.
34099 * math/s_clogf.c: Likewise.
34100 * math/s_clogl.c: Likewise.
34101 * math/s_clog10.c: Include <float.h>.
34102 (M_LOG10_2): Define.
34103 (__clog10): Scale large or subnormal inputs.
34104 * math/s_clog10f.c: Likewise.
34105 * math/s_clog10l.c: Likewise.
34106 * math/libm-test.inc (clog_test): Add more tests.
34107 (clog10_test): Likewise.
34108 * sysdeps/i386/fpu/libm-test-ulps: Update.
34109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34112 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34114 * math/libm-test.inc (atan2_test): Add another test.
34116 * Makerules (common-objdir-compile): Remove.
34117 * sysdeps/unix/Makefile (config-generated): Do not add
34118 $(unix-generated) to variable.
34119 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34120 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34122 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34124 [generic bits/local_lim.h] (before-compile): Do not append to
34126 [generic bits/local_lim.h] (common-generated): Likewise.
34127 [generic sys/param.h] (before-compile): Do not append to variable.
34128 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34129 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34130 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34131 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34133 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34134 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34135 [generic sys/param.h] ($(addprefix
34136 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34137 [generic sys/param.h] (common-generated): Do not append to
34139 [generic sys/param.h] (sysdep_headers): Likewise.
34140 [generic bits/errno.h] (before-compile): Do not append to
34142 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34144 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34145 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34146 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34147 [generic bits/errno.h] (common-generated): Do not append to
34149 [generic bits/ioctls.h] (before-compile): Do not append to
34151 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34153 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34154 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34155 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34157 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34158 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34159 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34160 [generic bits/ioctls.h] (common-generated): Do not append to
34162 [generic sys/syscall.h] (syscall.h): Remove variable.
34163 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34165 [generic sys/syscall.h] (before-compile): Do not append to
34167 [generic sys/syscall.h] (common-generated): Likewise.
34168 * sysdeps/unix/errnos-tmpl.c: Remove file.
34169 * sysdeps/unix/errnos.awk: Likewise.
34170 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34171 * sysdeps/unix/ioctls.awk: Likewise.
34172 * sysdeps/unix/mk-local_lim.c: Likewise.
34173 * sysdeps/unix/snarf-ioctls: Likewise.
34175 2012-03-19 Richard Henderson <rth@twiddle.net>
34177 * sysdeps/i386/fpu/fenv_private.h: New file.
34178 * sysdeps/i386/fpu/math_private.h: Use it.
34179 (math_opt_barrier, math_force_eval): Remove.
34180 (libc_feholdexcept_setround_53bit): Remove.
34181 (libc_feupdateenv_53bit): Remove.
34182 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34183 (math_opt_barrier, math_force_eval): Remove.
34184 (libc_feholdexcept): Remove.
34185 (libc_feholdexcept_setround): Remove.
34186 (libc_fetestexcept, libc_fesetenv): Remove.
34187 (libc_feupdateenv_test): Remove.
34188 (libc_feupdateenv, libc_feholdsetround): Remove.
34189 (libc_feresetround): Remove.
34191 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34192 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34194 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34195 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34196 (libc_feupdateenv_testl): New.
34197 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34198 (libc_feupdateenv_testf): New.
34199 (libc_feupdateenv): Use libc_feupdateenv_test.
34200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34201 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34203 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34204 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34205 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34206 (libc_feresetround_noex): New.
34207 (libc_feresetround_noexf): New.
34208 (libc_feresetround_noexl): New.
34209 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34210 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34211 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34212 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34214 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34217 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34218 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34219 SET_RESTORE_ROUND_NOEX.
34220 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34221 SET_RESTORE_ROUND_NOEXF.
34222 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34223 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34224 (libc_feholdsetroundf): New.
34225 (libc_feresetround, libc_feresetroundf): New.
34227 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34228 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34229 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34231 * sysdeps/generic/math_private.h: Include <fenv.h>.
34232 (default_libc_feholdexcept): New.
34233 (default_libc_feholdexcept_setround): New.
34234 (default_libc_fesetenv, default_libc_feupdateenv): New.
34235 (libc_feholdexcept): Only define if undefined.
34236 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34237 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34238 (libc_feholdexcept_setroundl): Likewise.
34239 (libc_feholdexcept_setround_53bit): Likewise.
34240 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34241 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34242 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34243 (libc_feupdateenv_53bit): Likewise.
34244 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34245 (libc_feholdexcept): Convert from macro to inline function.
34246 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34247 (libc_fesetenv, libc_feupdateenv): Likewise.
34249 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34250 not previously defined.
34251 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34252 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34253 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34254 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34255 * sysdeps/ieee754/flt-32/math_private.h: New file.
34256 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34257 math_private.h below SET_FLOAT_WORD.
34258 (__isnan, __isinf_ns, __finite): Remove.
34259 (__isnanf, __isinf_nsf, __finitef): Remove.
34261 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34265 2012-03-17 David S. Miller <davem@davemloft.net>
34268 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34271 2012-03-16 David S. Miller <davem@davemloft.net>
34273 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34277 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34279 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34280 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34281 sysdep_routines when subdir is sysvipc.
34282 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34283 __getshmlba helper.
34285 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34287 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34289 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34292 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34294 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34295 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34296 (__lround): Renamed to ...
34297 (__llround): This. Replace long int with long long int.
34298 Define lround functions as aliases of llround functions.
34299 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34301 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34303 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34304 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34305 adresses to uintptr_t. Replace "long int" and "unsigned long
34306 int" with "greg_t" on va_arg.
34308 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34310 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34311 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34313 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34314 Move e_machine check before EI_CLASS check. Handle x32
34315 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34316 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34317 SKIP_EM_IA_64 and include
34318 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34320 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34321 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34322 (add_system_dir): New macro.
34324 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34325 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34327 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34338 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34340 * math/w_j0f.c (j0f): Likewise.
34342 * math/w_j0l.c (__j0l): Likewise.
34344 * math/w_j1.c (j1): Likewise.
34346 * math/w_j1f.c (j1f): Likewise.
34348 * math/w_j1l.c (__j1l): Likewise.
34350 * math/w_jn.c (jn): Likewise.
34352 * math/w_jnf.c (jnf): Likewise.
34354 * math/w_jnl.c (__jnl): Likewise.
34356 * math/libm-test.inc (j0_test): Add more tests.
34357 (j1_test): Likewise.
34358 (jn_test): Likewise. Add trailing semicolon to existing test.
34359 (y0_test): Likewise.
34360 (y1_test): Likewise.
34361 * sysdeps/i386/fpu/libm-test-ulps: Update.
34362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34366 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34367 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34368 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34369 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34370 (__tanl): Set errno for infinite argument.
34371 * sysdeps/i386/fpu/mptan.c: Remove.
34372 * sysdeps/i386/fpu/s_tan.S: Likewise.
34373 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34374 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34375 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34376 * math/libm-test.inc (tan_test): Add more tests and enable more
34377 tests for double and long double.
34378 * sysdeps/i386/fpu/libm-test-ulps: Update.
34379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34381 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34383 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34384 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34386 2012-03-16 Roland McGrath <roland@hack.frob.com>
34388 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34389 * configure.in: Use it for both main tree and add-ons.
34390 * configure: Regenerated.
34392 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34394 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34396 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34398 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34402 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34403 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34404 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34405 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34406 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34408 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34409 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34410 != 0 for prec == 2.
34411 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34412 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34413 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34414 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34415 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34416 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34417 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34418 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34419 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34420 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34421 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34422 * math/libm-test.inc (cos_test): Add more tests and enable more
34423 tests for long double.
34424 (sin_test): Likewise.
34425 (sincos_test): Likewise.
34426 * sysdeps/i386/fpu/libm-test-ulps: Update.
34427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34429 2012-03-16 David S. Miller <davem@davemloft.net>
34431 * sysdeps/sparc/fpu/math_private.h: New file.
34433 2012-03-15 David S. Miller <davem@davemloft.net>
34435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34449 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34450 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34452 * sysdeps/sparc/sparc-ifunc.h: New file.
34453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34495 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34496 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34498 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34500 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34504 2012-03-15 Andreas Jaeger <aj@suse.de>
34507 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34508 ieee754/flt-32 implementation for sin, cos and sincos.
34509 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34510 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34511 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34512 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34513 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34514 ieee754/flt-32 implementation for tan.
34516 * math/libm-test.inc (cos_test): Enable some large input tests for
34518 (sin_test): Likewise.
34519 (sincos_test): Likewise.
34520 (tan_test): Add tests for large input.
34522 * sysdeps/i386/fpu/libm-test-ulps: Update.
34524 2012-03-15 Andreas Jaeger <aj@suse.de>
34527 * math/libm-test.inc (cos_test): Add more test cases.
34528 (sin_test): Likewise.
34529 (sincos_test): Likewise.
34531 2012-03-15 Andreas Jaeger <aj@suse.de>
34534 * math/libm-test.inc (cos_test): Add a test case for large input
34536 (sin_test): Likewise.
34537 (sincos_test): Likewise.
34539 2012-03-15 Andreas Jaeger <aj@suse.de>
34540 Joseph Myers <joseph@codesourcery.com>
34543 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34544 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34545 * sysdeps/i386/fpu/branred.c: Likewise.
34546 * sysdeps/i386/fpu/dosincos.c: Likewise.
34547 * sysdeps/i386/fpu/mpa.c: Likewise.
34548 * sysdeps/i386/fpu/s_cos.S: Likewise.
34549 * sysdeps/i386/fpu/s_sin.S: Likewise.
34550 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34551 * sysdeps/i386/fpu/sincos32.c: Likewise.
34553 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34555 (libc_feupdateenv_53bit): Define.
34556 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34558 (libc_feupdateenv_53bit): Define.
34560 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34561 53 bit (without extend i386 double precision).
34563 * math/libm-test.inc (sincos_test): Add tests for large input.
34567 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34569 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34573 2012-03-15 David S. Miller <davem@davemloft.net>
34575 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34576 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34577 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34578 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34603 fmin/fmax sysdep routines.
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34606 2012-03-14 David S. Miller <davem@davemloft.net>
34608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34685 * sysdeps/sparc/configure.in: New file.
34686 * sysdeps/sparc/configure: Generate.
34687 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34688 * configure: Regenerate.
34689 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34690 * config.make.in (have-as-vis3): New.
34691 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34692 available use -Av9d instead of -Av9a.
34693 * sysdeps/sparc/sparc64/Makefile: Likewise.
34694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34705 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34709 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34710 fzeros/fnegs to load 0x80000000 into a float register instead of
34712 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34714 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34718 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34719 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34720 ($(inst_includedir)/bits/syscall.h): Remove rule.
34721 ($(objpfx)bits/syscall.d): Include instead of
34722 $(objpfx)syscall-list.d.
34723 (generated): Change syscall-list.h and syscall-list.d to
34724 bits/syscall.h and bits/syscall.d.
34726 2012-03-14 Roland McGrath <roland@hack.frob.com>
34729 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34731 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34734 * math/s_csqrt.c: Include <float.h>.
34735 (__csqrt): Scale large or subnormal inputs.
34736 * math/s_csqrtf.c: Likewise.
34737 * math/s_csqrtl.c: Likewise.
34738 * math/libm-test.inc (csqrt_test): Add more tests.
34739 * sysdeps/i386/fpu/libm-test-ulps: Update.
34740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34743 * math/libm-test.inc (hypot_test): Add more tests.
34745 2012-03-13 David S. Miller <davem@davemloft.net>
34748 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34749 double-precision for the calculation instead of scaling.
34751 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34753 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34754 manipulate bits before adding and subtracting TWO52[sx].
34755 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34756 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34758 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34760 2012-03-13 David S. Miller <davem@davemloft.net>
34762 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34763 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34765 rtld-global-offsets.h
34766 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34768 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34771 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34773 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34774 'err' in the ifdef scope in which it is actually used.
34776 * nss/nss_db/db-init.c: Include string.h
34778 2012-03-12 David S. Miller <davem@davemloft.net>
34780 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34781 masking out of the most significant byte of random value used.
34782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34783 Fix coding style in previous change.
34785 * sysdeps/unix/sysv/linux/kernel-features.h
34786 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34787 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34789 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34792 2012-03-11 David S. Miller <davem@davemloft.net>
34794 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34795 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34797 for 'resultvar' otherwise things get truncated on 64-bit.
34799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34800 Fix masking out of the most significant byte of random value used.
34802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34804 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34808 2012-03-09 David S. Miller <davem@davemloft.net>
34810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34811 variables with appropriate CPP guards.
34812 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34813 from the frame pointer, not the stack pointer. Correct layout
34814 comments. Fix test on resulting framesize and the management of
34815 the outregs buffer for pltexit. Preserve floating point return
34816 values across _dl_call_pltexit call.
34817 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34818 framesize and the management of the outregs buffer for pltexit.
34819 Preserve floating point return values across _dl_call_pltexit
34821 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34822 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34823 (la_sparc64_gnu_pltexit): New functions.
34824 (print_exit): Fix format string for return register value.
34826 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34828 * sunrpc/Makefile (others): Add rpcgen.
34829 ($(objpfx)rpcgen): Remove special build rule and dependency on
34831 * sunrpc/rpcgen.c: New file.
34833 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34836 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34837 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34838 * sysdeps/i386/crti.S: Likewise.
34839 * sysdeps/i386/crtn.S: Likewise.
34840 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34841 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34842 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34843 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34844 * sysdeps/sh/crti.S: Likewise.
34845 * sysdeps/sh/crtn.S: Likewise.
34846 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34849 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34851 * locale/programs/locfile-kw.gperf: Likewise.
34852 * locale/programs/charmap-kw.h: Regenerated.
34853 * locale/programs/locfile-kw.h: Likewise.
34856 * intl/plural.y: Replace FSF snail mail address with URL.
34857 * intl/plural.c: Regenerated.
34859 2012-03-09 Richard Henderson <rth@twiddle.net>
34861 * include/math_private.h: Remove file.
34862 * math/math_private.h: Move file ...
34863 * sysdeps/generic/math_private.h: ... here.
34865 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34866 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34867 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34869 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34870 and <math_private.h>.
34871 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34872 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34873 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34874 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34875 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34876 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34879 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34880 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34882 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34883 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34885 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34886 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34887 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34888 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34889 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34890 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34891 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34892 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34893 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34895 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34896 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34897 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34898 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34899 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34900 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34902 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34903 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34904 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34905 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34921 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34931 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34932 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34934 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34935 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34936 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34937 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34938 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34940 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34941 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34942 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34943 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34946 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34949 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34950 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34951 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34953 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34954 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34955 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34959 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34960 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34961 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34962 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34964 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34965 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34966 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34967 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34968 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34969 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34970 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34971 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34972 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34973 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34974 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34975 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34976 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34977 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34978 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34979 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34980 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34981 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34982 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34983 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34984 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34985 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34986 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34987 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34988 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34990 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34991 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34992 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34993 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34994 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34995 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34996 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34997 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34998 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34999 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35000 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35001 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35002 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35003 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35004 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35005 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35006 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35007 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35008 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35009 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35010 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35011 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35012 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35013 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35014 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35015 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35016 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35017 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35018 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35019 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35020 * sysdeps/ieee754/k_standard.c: Likewise.
35021 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35022 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35023 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35024 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35025 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35026 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35027 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35028 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35029 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35030 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35031 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35032 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35033 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35034 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35035 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35036 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35037 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35038 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35039 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35040 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35041 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35042 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35043 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35044 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35045 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35046 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35047 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35048 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35049 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35050 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35093 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35136 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35140 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35141 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35143 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35148 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35153 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35181 * sysdeps/ieee754/s_lib_version.c: Likewise.
35182 * sysdeps/ieee754/s_matherr.c: Likewise.
35183 * sysdeps/ieee754/s_signgam.c: Likewise.
35184 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35185 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35186 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35187 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35188 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35189 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35190 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35191 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35192 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35193 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35194 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35195 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35196 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35197 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35198 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35199 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35200 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35201 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35202 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35206 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35208 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35209 * sunrpc/rpc_main.c: Likewise.
35210 * sunrpc/rpc_svcout.c: Likewise.
35212 2012-03-09 David S. Miller <davem@davemloft.net>
35214 * include/math_private.h: New file.
35216 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35218 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35219 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35220 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35221 from <bits/socket_type.h>.
35222 (enum __socket_type): Don't define here.
35223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35225 bits/socket_type.h.
35228 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35229 checking __USE_GNU.
35231 * Makerules ($(inst_includedir)/%.h): New rule.
35232 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35233 (install-others): Remove variable setting.
35234 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35236 2012-03-08 Richard Henderson <rth@twiddle.net>
35238 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35239 from macro to inline function; merge with the
35240 !__LIBC_INTERNAL_MATH_INLINES version.
35241 (__ieee754_sqrtf): Likewise.
35243 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35244 to inline function.
35245 (__rintf, __floor, __floorf): Likewise.
35247 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35248 macro to inline function.
35249 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35252 not <math/math_private.h>.
35254 2012-03-08 David S. Miller <davem@davemloft.net>
35256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35258 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35260 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35262 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35264 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35265 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35267 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35269 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35270 be defined individually, they must be defined as a block. Define
35271 S for printing a string instead of hidint the different by using a
35272 macro for adding the 'l'.
35273 * stdio-common/tst-fphex-wide.c: Adjust.
35275 2012-03-07 Marek Polacek <polacek@redhat.com>
35277 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35279 2012-03-08 Marek Polacek <polacek@redhat.com>
35282 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35283 * stdio-common/tst-fphex.c: Define a few macros to make the
35284 test reusable. Use them.
35285 * stdio-common/tst-fphex-wide.c: New file.
35287 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35290 * manual/macros.texi (gnusystems): New macro.
35291 (nongnusystems): Likewise.
35292 (gnulinuxhurdsystems): Likewise.
35293 (gnuhurdsystems): Likewise..
35294 (gnulinuxsystems): Likewise.
35295 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35296 variants of the GNU system, not "GNU system".
35297 * manual/conf.texi: Likewise.
35298 * manual/errno.texi: Likewise. Update example of errno macro
35300 * manual/filesys.texi: Likewise.
35301 (getumask): Document as specific to GNU/Hurd.
35302 * manual/install.texi: Likewise. Reword some references to
35304 * manual/intro.texi: Likewise.
35305 * manual/io.texi: Likewise.
35306 (File Name Portability): Detail which constraints are inapplicable
35307 to all GNU systems and which are only inapplicable to GNU/Hurd.
35308 * manual/job.texi: Likewise.
35309 * manual/llio.texi: Likewise.
35310 (O_NOCTTY): Document as present on GNU/Linux.
35311 * manual/maint.texi: Likewise.
35312 * manual/memory.texi: Likewise.
35313 * manual/pattern.texi: Likewise.
35314 * manual/pipe.texi: Likewise.
35315 * manual/process.texi: Likewise.
35316 * manual/resource.texi: Likewise.
35317 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35319 * manual/setjmp.texi: Likewise.
35320 * manual/signal.texi: Likewise.
35321 * manual/startup.texi: Likewise.
35322 * manual/stdio.texi: Likewise.
35323 * manual/terminal.texi: Likewise.
35324 (ONLCR): Document as POSIX.
35325 (OXTABS): Document availability on GNU/Linux as XTABS.
35326 (ONOEOT): Document availability separately from other bits.
35327 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35328 * manual/time.texi: Likewise.
35329 * manual/users.texi: Likewise.
35330 * INSTALL: Regenerated.
35331 * sysdeps/gnu/errlist.c: Regenerated.
35333 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35334 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35335 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35337 * configure: Regenerated.
35339 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35341 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35342 default includes instead of AC_HEADER_CHECK.
35343 * sysdeps/i386/configure: Regenerated.
35346 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35347 * math/s_cacoshf.c (__cacoshf): Likewise.
35348 * math/s_cacoshl.c (__cacoshl): Likewise.
35349 * math/s_casinh.c (__casinh): Set signs of result from argument.
35350 * math/s_casinhf.c (__casinhf): Likewise.
35351 * math/s_casinhl.c (__casinhl): Likewise.
35352 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35353 (casinh_test): Add more tests.
35354 * sysdeps/i386/fpu/libm-test-ulps: Update.
35355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35357 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35359 * po/zh_TW.po: Update from translation team.
35361 * login/Makefile (distribute): Remove variable.
35362 * catgets/Makefile: Likewise.
35363 * mach/Makefile: Likewise.
35364 * malloc/Makefile: Likewise.
35365 * misc/Makefile: Likewise.
35366 * iconv/Makefile: Likewise.
35367 * nscd/Makefile: Likewise.
35368 * hurd/Makefile: Likewise.
35369 * manual/Makefile: Likewise.
35370 * locale/Makefile: Likewise.
35371 * intl/Makefile: Likewise.
35372 * conform/Makefile: Likewise.
35373 * nss/Makefile: Likewise.
35374 * time/Makefile: Likewise.
35375 * soft-fp/Makefile: Likewise.
35376 * dirent/Makefile: Likewise.
35377 * gmon/Makefile: Likewise.
35378 * po/Makefile: Likewise.
35379 * rt/Makefile: Likewise.
35380 * socket/Makefile: Likewise.
35381 * math/Makefile: Likewise.
35382 * signal/Makefile: Likewise.
35383 * debug/Makefile: Likewise.
35384 * elf/Makefile: Likewise.
35385 * timezone/Makefile: Likewise.
35386 * stdlib/Makefile: Likewise.
35387 * iconvdata/Makefile: Likewise.
35388 * sunrpc/Makefile: Likewise.
35389 * io/Makefile: Likewise.
35390 * argp/Makefile: Likewise.
35391 * inet/Makefile: Likewise.
35392 * hesiod/Makefile: Likewise.
35393 * grp/Makefile: Likewise.
35394 * csu/Makefile: Likewise.
35395 * wctype/Makefile: Likewise.
35396 * crypt/Makefile: Likewise.
35397 * libio/Makefile: Likewise.
35398 * string/Makefile: Likewise.
35399 * nis/Makefile: Likewise.
35400 * resolv/Makefile: Likewise.
35401 * stdio-common/Makefile: Likewise.
35402 * wcsmbs/Makefile: Likewise.
35403 * dlfcn/Makefile: Likewise.
35404 * posix/Makefile: Likewise.
35407 * timezone/Makefile: Don't install timezone files, just the programs
35410 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35412 * nss/databases.def: Add missing gshadow entry.
35414 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35416 2012-03-06 Marek Polacek <polacek@redhat.com>
35419 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35420 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35421 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35422 * stdio-common/tst-long-dbl-fphex.c: New file.
35424 2012-03-06 David S. Miller <davem@davemloft.net>
35426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35427 (set_obp_int): New function.
35428 (get_obp_int): New function.
35429 (__get_clockfreq_via_dev_openprom): Likewise.
35430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35431 Avoid unused variable warnings on 'val' and use builtin_expect.
35432 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35434 (INLINE_CLONE_SYSCALL): Likewise.
35436 2012-03-05 David S. Miller <davem@davemloft.net>
35438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35440 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35444 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35445 only for |x| >= 40.
35446 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35448 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35450 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35451 Replace gettimeofday with __vdso_gettimeofday.
35453 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35454 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35455 __vdso_clock_gettime and __vdso_getcpu.
35457 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35458 time with __vdso_time.
35460 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35462 * manual/lang.texi (size_t): Note types to which size_t may be
35463 equivalent with the GNU C Library, but do not describe when
35464 differences between them are significant.
35466 2012-03-05 Andreas Jaeger <aj@suse.de>
35468 * sysdeps/i386/fpu/libm-test-ulps: Update.
35470 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35473 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35474 (__ieee754_pow): Save and restore rounding mode and use
35475 round-to-nearest for main computations.
35476 * math/libm-test.inc (pow_test_tonearest): New function.
35477 (pow_test_towardzero): Likewise.
35478 (pow_test_downward): Likewise.
35479 (pow_test_upward): Likewise.
35480 (main): Call the new functions.
35481 * sysdeps/i386/fpu/libm-test-ulps: Update.
35482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35485 * math/libm-test.inc (cosh_test_tonearest): New function.
35486 (cosh_test_towardzero): Likewise.
35487 (cosh_test_downward): Likewise.
35488 (cosh_test_upward): Likewise.
35489 (sinh_test_tonearest): Likewise.
35490 (sinh_test_towardzero): Likewise.
35491 (sinh_test_downward): Likewise.
35492 (sinh_test_upward): Likewise.
35493 (main): Call the new functions.
35494 * sysdeps/i386/fpu/libm-test-ulps: Update.
35495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35497 2012-03-05 Tom de Vries <tom@codesourcery.com>
35499 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35500 default stack guard is set in last bytes.
35501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35503 2012-03-05 Kees Cook <keescook@chromium.org>
35505 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35508 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35509 possibly allocate from heap instead of stack.
35510 * stdio-common/bug-vfprintf-nargs.c: New file.
35511 * stdio-common/Makefile (tests): Add nargs overflow test.
35513 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35517 2012-03-03 Marek Polacek <polacek@redhat.com>
35519 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35520 * math/math_private.h: Likewise.
35521 * stdlib/tst-strtod.c: Likewise.
35522 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35523 * sysdeps/x86_64/bits/atomic.h: Likewise.
35525 2012-03-02 David S. Miller <davem@davemloft.net>
35527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35531 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35532 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35533 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35534 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35536 2012-03-02 Roland McGrath <roland@hack.frob.com>
35539 * manual/examples/README: New file, says the example source files
35540 can be used under GPL>=2.
35541 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35542 line containing just "*/".
35543 * manual/examples/add.c: Add copyright header (GPL>=2).
35544 * manual/examples/argp-ex1.c: Likewise.
35545 * manual/examples/argp-ex2.c: Likewise.
35546 * manual/examples/argp-ex3.c: Likewise.
35547 * manual/examples/argp-ex4.c: Likewise.
35548 * manual/examples/atexit.c: Likewise.
35549 * manual/examples/db.c: Likewise.
35550 * manual/examples/dir.c: Likewise.
35551 * manual/examples/dir2.c: Likewise.
35552 * manual/examples/execinfo.c: Likewise.
35553 * manual/examples/filecli.c: Likewise.
35554 * manual/examples/filesrv.c: Likewise.
35555 * manual/examples/fmtmsgexpl.c: Likewise.
35556 * manual/examples/genpass.c: Likewise.
35557 * manual/examples/inetcli.c: Likewise.
35558 * manual/examples/inetsrv.c: Likewise.
35559 * manual/examples/isockad.c: Likewise.
35560 * manual/examples/longopt.c: Likewise.
35561 * manual/examples/memopen.c: Likewise.
35562 * manual/examples/memstrm.c: Likewise.
35563 * manual/examples/mkfsock.c: Likewise.
35564 * manual/examples/mkisock.c: Likewise.
35565 * manual/examples/mygetpass.c: Likewise.
35566 * manual/examples/pipe.c: Likewise.
35567 * manual/examples/popen.c: Likewise.
35568 * manual/examples/rprintf.c: Likewise.
35569 * manual/examples/search.c: Likewise.
35570 * manual/examples/select.c: Likewise.
35571 * manual/examples/setjmp.c: Likewise.
35572 * manual/examples/sigh1.c: Likewise.
35573 * manual/examples/sigusr.c: Likewise.
35574 * manual/examples/stpcpy.c: Likewise.
35575 * manual/examples/strdupa.c: Likewise.
35576 * manual/examples/strftim.c: Likewise.
35577 * manual/examples/strncat.c: Likewise.
35578 * manual/examples/subopt.c: Likewise.
35579 * manual/examples/swapcontext.c: Likewise.
35580 * manual/examples/termios.c: Likewise.
35581 * manual/examples/testopt.c: Likewise.
35582 * manual/examples/testpass.c: Likewise.
35583 * manual/examples/timeval_subtract.c: Likewise.
35586 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35588 * manual/timeval_subtract.c.texi: ... here, new file.
35590 2012-03-02 David S. Miller <davem@davemloft.net>
35592 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35594 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35597 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35598 (__sin): Save and restore rounding mode and use round-to-nearest
35599 for all computations.
35600 (__cos): Save and restore rounding mode and use round-to-nearest
35601 for all computations.
35602 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35604 (tan): Save and restore rounding mode and use round-to-nearest for
35606 * math/libm-test.inc (cos_test_tonearest): New function.
35607 (cos_test_towardzero): Likewise.
35608 (cos_test_downward): Likewise.
35609 (cos_test_upward): Likewise.
35610 (sin_test_tonearest): Likewise.
35611 (sin_test_towardzero): Likewise.
35612 (sin_test_downward): Likewise.
35613 (sin_test_upward): Likewise.
35614 (tan_test_tonearest): Likewise.
35615 (tan_test_towardzero): Likewise.
35616 (tan_test_downward): Likewise.
35617 (tan_test_upward): Likewise.
35618 (main): Call the new functions.
35619 * sysdeps/i386/fpu/libm-test-ulps: Update.
35620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35623 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35624 small n, then large n, before computing and testing k+n.
35625 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35630 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35631 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35632 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35633 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35634 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35635 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35636 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35637 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35638 * math/libm-test.inc (scalbn_test): Add more tests.
35639 (scalbln_test): Likewise.
35641 * manual/filesys.texi (mode_t): Describe constraints on size and
35642 signedness, not exact equivalence to a particular type.
35644 (ino64_t): Likewise.
35646 (nlink_t): Likewise.
35647 (blkcnt_t): Likewise.
35648 (blkcnt64_t): Likewise.
35649 * manual/llio.texi (off_t): Likewise.
35652 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35653 (__ieee754_exp): Save and restore rounding mode and use
35654 round-to-nearest for all computations.
35655 * math/libm-test.inc (exp_test_tonearest): New function.
35656 (exp_test_towardzero): Likewise.
35657 (exp_test_downward): Likewise.
35658 (exp_test_upward): Likewise.
35659 (main): Call the new functions.
35660 * sysdeps/i386/fpu/libm-test-ulps: Update.
35661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35663 2012-03-01 Chris Demetriou <cgd@google.com>
35665 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35666 have predictable order.
35668 2012-03-01 David S. Miller <davem@davemloft.net>
35670 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35672 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35673 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35674 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35675 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35677 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35678 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35679 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35681 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35682 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35683 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35684 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35685 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35690 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35691 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35693 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35694 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35695 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35696 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35697 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35698 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35700 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35701 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35702 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35703 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35704 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35706 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35707 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35709 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35710 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35711 * sysdeps/sparc/elf/configure: Regenerated.
35713 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35715 * configure.in (AS, LD): Require binutils 2.20 or later.
35716 * configure: Regenerated.
35717 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35718 as required minimum version.
35719 * INSTALL: Regenerated.
35723 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35724 before squaring exponent.
35725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35726 bottom long double and 27 bits of top long double before squaring
35728 * math/libm-test.inc (erfc_test): Add more tests.
35729 * sysdeps/i386/fpu/libm-test-ulps: Update.
35730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35733 2012-03-01 Kai Tietz <ktietz@redhat.com>
35735 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35736 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35737 containing bit-fields.
35738 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35739 * soft-fp/single.h (_FP_UNION_S): Likewise.
35740 * soft-fp/double.h (_FP_UNION_D): Likewise.
35742 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35745 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35746 not include ../strcmp.S.
35747 [USE_AS_STRNCASECMP_L]: Likewise.
35748 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35749 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35750 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35751 (__strncasecmp_l_ia32): Define as alias to
35752 __strncasecmp_l_nonascii.
35755 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35756 * sysdeps/i386/fpu/libm-test-ulps: Update.
35757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35759 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35762 2012-02-29 Jeff Law <law@redhat.com>
35764 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35765 out of bounds read.
35767 2012-02-29 Marek Polacek <polacek@redhat.com>
35770 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35771 * elf/Makefile: Add rules to run tst-unused-dep.out.
35773 2012-02-28 David S. Miller <davem@davemloft.net>
35775 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35776 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35777 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35778 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35779 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35780 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35782 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35784 * math/libm-test.inc (llround_test): Move one test from
35785 lround_test. Use TEST_f_L in moved test.
35786 (lround_test): Move misplaced test to llround_test. Add testcase
35789 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35791 * sysdeps/x86_64/fpu/e_expf.S: New file.
35792 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35794 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35797 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35798 of remain_len that may cause incomplete multi-byte character and
35800 * posix/bug-regex33.c: New file.
35801 * posix/Makefile (tests): Add bug-regex33.
35803 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35805 * manual/macros.texi: New file.
35806 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35807 * manual/libc.texinfo: Include macros.texi.
35808 * manual/creatute.texi: Likewise.
35809 * manual/install.texi: Likewise.
35810 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35811 @glibcadj{} in references to the GNU C Library.
35812 * manual/charset.texi: Likewise.
35813 * manual/conf.texi: Likewise.
35814 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35815 when not using those macros.
35816 * manual/creature.texi: Likewise.
35817 * manual/crypt.texi: Likewise.
35818 * manual/errno.texi: Likewise.
35819 * manual/filesys.texi: Likewise.
35820 * manual/header.texi: Likewise.
35821 * manual/install.texi: Likewise.
35822 * manual/intro.texi: Likewise.
35823 * manual/io.texi: Likewise.
35824 * manual/job.texi: Likewise.
35825 * manual/lang.texi: Likewise.
35826 * manual/libc.texiinfo: Likewise.
35827 * manual/llio.texi: Likewise.
35828 * manual/locale.texi: Likewise.
35829 * manual/maint.texi: Likewise.
35830 * manual/math.texi: Likewise.
35831 * manual/memory.texi: Likewise.
35832 * manual/message.texi: Likewise.
35833 * manual/nss.texi: Likewise.
35834 * manual/pattern.texi: Likewise.
35835 * manual/process.texi: Likewise.
35836 * manual/resource.texi: Likewise.
35837 * manual/search.texi: Likewise.
35838 * manual/setjmp.texi: Likewise.
35839 * manual/signal.texi: Likewise.
35840 * manual/socket.texi: Likewise.
35841 * manual/startup.texi: Likewise.
35842 * manual/stdio.texi: Likewise.
35843 * manual/string.texi: Likewise.
35844 * manual/sysinfo.texi: Likewise.
35845 * manual/syslog.texi: Likewise.
35846 * manual/terminal.texi: Likewise.
35847 * manual/time.texi: Likewise.
35848 * manual/users.texi: Likewise.
35849 * INSTALL: Regenerated.
35850 * NOTES: Regenerated.
35851 * sysdeps/gnu/errlist.c: Regenerated.
35853 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35855 * include/dirent.h: Include <dirstream.h> before
35858 2012-02-28 David S. Miller <davem@davemloft.net>
35860 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35861 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35862 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35863 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35865 2012-02-27 David S. Miller <davem@davemloft.net>
35867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35869 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35870 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35873 frame pointer instead of stack pointer relative arg slot.
35874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35875 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35876 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35878 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35881 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35883 2012-02-27 David S. Miller <davem@davemloft.net>
35885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35889 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35890 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35891 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35892 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35894 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35896 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35897 later. Allow versions 5-9.
35898 * configure: Regenerated.
35899 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35900 required minimum version and 4.6 as recommended version. Do not
35901 mention bugs in GCC 2.7 and 2.8.
35902 * INSTALL: Regenerated.
35904 2012-02-27 David S. Miller <davem@davemloft.net>
35906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35910 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35911 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35912 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35913 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35915 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35916 manipulate bits before adding and subtracting TWO112[sx].
35917 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35919 2012-02-27 Roland McGrath <roland@hack.frob.com>
35922 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35923 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35924 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35925 being in POSIX, because they are in 1003.1-2008.
35927 * rt/tst-aio.c: Include <fcntl.h>.
35928 * rt/tst-aio7.c: Likewise.
35929 * rt/tst-aio64.c: Likewise.
35931 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35933 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35935 * manual/install.texi (--with-headers): Describe headers as
35936 interface headers, not private headers.
35937 (Specific advice for GNU/Linux systems): Describe use of headers
35938 from "make headers_install", not private headers from older
35940 * INSTALL: Regenerated.
35941 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35943 * sysdeps/unix/sysv/linux/configure: Regenerated.
35945 * manual/llio.texi (fclean): Remove documentation.
35947 * manual/Makefile (libc-texi-generated): New variable. Include
35949 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35950 $(libc-texi-generated), not duplicated list of files.
35951 (version.texi, stamp-version): New rules.
35952 (realclean): Remove $(libc-texi-generated), not individual files
35953 from that list. Do not remove dir-add.texinfo.
35954 * manual/libc.texinfo: Comment out uses of edition numbers and
35955 references to printed manual. Remove last-updated dates.
35956 (EDITION): Comment out.
35958 (VERSION, UPDATED): Remove.
35959 (version.texi): Include.
35961 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35963 * sysdeps/posix/spawni.c: Include <signal.h>.
35964 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35965 * sysdeps/pthread/aio_fsync.c: Likewise.
35967 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35969 * conform/Makefile (tests): Run only when not cross-compiling and
35970 when fast-check is not defined.
35972 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35973 * conform/data/limits.h-data: Fixes for POSIX2008.
35974 * conform/run-conformtest.sh: Run all tests.
35975 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35977 * include/bits/dlfcn.h: Likewise.
35978 * include/langinfo.h: Likewise.
35979 * include/monetary.h: Likewise.
35980 * include/sys/poll.h: Likewise.
35982 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35984 * posix/spawn.h: Define __need_sigset_t.
35985 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35986 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35987 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35988 to get sigevent_t only.
35989 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35990 only for __USE_GNU.
35991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35992 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35993 process_vm_writev only for __USE_GNU.
35994 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35996 * conform/Makefile: For now ignore errors from run-conformtest.
35997 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35998 POSIX to avoid namespace pollution. Don't prepend headers.
35999 * conform/data/aio.h-data: Fixes for POSIX testing.
36000 * conform/data/fcntl.h-data: Likewise.
36001 * conform/data/glob.h-data: Likewise.
36002 * conform/data/grp.h-data: Likewise.
36003 * conform/data/pthread.h-data: Likewise.
36004 * conform/data/pwd.h-data: Likewise.
36005 * conform/data/signal.h-data: Likewise.
36006 * conform/data/spawn.h-data: Likewise.
36007 * conform/data/stdio.h-data: Likewise.
36008 * conform/data/stdlib.h-data: Likewise.
36009 * conform/data/stropts.h-data: Likewise.
36010 * conform/data/sys/mman.h-data: Likewise.
36011 * conform/data/sys/stat.h-data: Likewise.
36012 * conform/data/sys/types.h-data: Likewise.
36013 * conform/data/sys/wait.h-data: Likewise.
36014 * conform/data/time.h-data: Likewise.
36015 * conform/data/unistd.h-data: Likewise.
36016 * conform/data/utime.h-data: Likewise.
36018 * io/sys/stat.h: fchmod was always in POSIX.
36019 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36020 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36021 * rt/aio.h: Define __need_timespec before including <time.h>.
36022 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36023 struct. Add forward declaration of pthread_attr_t and use it in
36025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36026 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36027 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36028 always remove CLK_TCK definition.
36030 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36032 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36034 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36036 * conform/run-conformtest.sh: New file.
36037 * conform/Makefile: Run run-conformtest for tests.
36038 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36041 * conform/data/uchar.h-data: New file.
36042 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36043 * conform/data/arpa/inet.h-data: Likewise.
36044 * conform/data/assert.h-data: Likewise.
36045 * conform/data/complex.h-data: Likewise.
36046 * conform/data/cpio.h-data: Likewise.
36047 * conform/data/ctype.h-data: Likewise.
36048 * conform/data/dirent.h-data: Likewise.
36049 * conform/data/dlfcn.h-data: Likewise.
36050 * conform/data/errno.h-data: Likewise.
36051 * conform/data/fcntl.h-data: Likewise.
36052 * conform/data/float.h-data: Likewise.
36053 * conform/data/fmtmsg.h-data: Likewise.
36054 * conform/data/fnmatch.h-data: Likewise.
36055 * conform/data/ftw.h-data: Likewise.
36056 * conform/data/glob.h-data: Likewise.
36057 * conform/data/grp.h-data: Likewise.
36058 * conform/data/iconv.h-data: Likewise.
36059 * conform/data/inttypes.h-data: Likewise.
36060 * conform/data/langinfo.h-data: Likewise.
36061 * conform/data/libgen.h-data: Likewise.
36062 * conform/data/limits.h-data: Likewise.
36063 * conform/data/locale.h-data: Likewise.
36064 * conform/data/math.h-data: Likewise.
36065 * conform/data/monetary.h-data: Likewise.
36066 * conform/data/mqueue.h-data: Likewise.
36067 * conform/data/ndbm.h-data: Likewise.
36068 * conform/data/net/if.h-data: Likewise.
36069 * conform/data/netdb.h-data: Likewise.
36070 * conform/data/netinet/in.h-data: Likewise.
36071 * conform/data/nl_types.h-data: Likewise.
36072 * conform/data/poll.h-data: Likewise.
36073 * conform/data/pthread.h-data: Likewise.
36074 * conform/data/pwd.h-data: Likewise.
36075 * conform/data/regex.h-data: Likewise.
36076 * conform/data/sched.h-data: Likewise.
36077 * conform/data/search.h-data: Likewise.
36078 * conform/data/semaphore.h-data: Likewise.
36079 * conform/data/setjmp.h-data: Likewise.
36080 * conform/data/signal.h-data: Likewise.
36081 * conform/data/spawn.h-data: Likewise.
36082 * conform/data/stdarg.h-data: Likewise.
36083 * conform/data/stdio.h-data: Likewise.
36084 * conform/data/stdlib.h-data: Likewise.
36085 * conform/data/string.h-data: Likewise.
36086 * conform/data/strings.h-data: Likewise.
36087 * conform/data/stropts.h-data: Likewise.
36088 * conform/data/sys/ipc.h-data: Likewise.
36089 * conform/data/sys/mman.h-data: Likewise.
36090 * conform/data/sys/msg.h-data: Likewise.
36091 * conform/data/sys/resource.h-data: Likewise.
36092 * conform/data/sys/select.h-data: Likewise.
36093 * conform/data/sys/sem.h-data: Likewise.
36094 * conform/data/sys/shm.h-data: Likewise.
36095 * conform/data/sys/socket.h-data: Likewise.
36096 * conform/data/sys/stat.h-data: Likewise.
36097 * conform/data/sys/statvfs.h-data: Likewise.
36098 * conform/data/sys/time.h-data: Likewise.
36099 * conform/data/sys/timeb.h-data: Likewise.
36100 * conform/data/sys/times.h-data: Likewise.
36101 * conform/data/sys/types.h-data: Likewise.
36102 * conform/data/sys/uio.h-data: Likewise.
36103 * conform/data/sys/un.h-data: Likewise.
36104 * conform/data/sys/utsname.h-data: Likewise.
36105 * conform/data/sys/wait.h-data: Likewise.
36106 * conform/data/syslog.h-data: Likewise.
36107 * conform/data/tar.h-data: Likewise.
36108 * conform/data/termios.h-data: Likewise.
36109 * conform/data/utime.h-data: Likewise.
36110 * conform/data/utmpx.h-data: Likewise.
36111 * conform/data/varargs.h-data: Likewise.
36112 * conform/data/wchar.h-data: Likewise.
36113 * conform/data/wctype.h-data: Likewise.
36114 * conform/data/wordexp.h-data: Likewise.
36116 * include/stropts.h: New file.
36117 * include/uchar.h: New file.
36118 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36119 * include/assert.h: Likewise.
36120 * include/ctype.h: Likewise.
36121 * include/dirent.h: Likewise.
36122 * include/dlfcn.h: Likewise.
36123 * include/fcntl.h: Likewise.
36124 * include/fnmatch.h: Likewise.
36125 * include/glob.h: Likewise.
36126 * include/grp.h: Likewise.
36127 * include/libio.h: Likewise.
36128 * include/locale.h: Likewise.
36129 * include/math.h: Likewise.
36130 * include/net/if.h: Likewise.
36131 * include/netdb.h: Likewise.
36132 * include/netinet/in.h: Likewise.
36133 * include/pthread.h: Likewise.
36134 * include/pwd.h: Likewise.
36135 * include/regex.h: Likewise.
36136 * include/sched.h: Likewise.
36137 * include/search.h: Likewise.
36138 * include/setjmp.h: Likewise.
36139 * include/signal.h: Likewise.
36140 * include/stdio.h: Likewise.
36141 * include/stdlib.h: Likewise.
36142 * include/string.h: Likewise.
36143 * include/sys/cdefs.h: Likewise.
36144 * include/sys/mman.h: Likewise.
36145 * include/sys/msg.h: Likewise.
36146 * include/sys/resource.h: Likewise.
36147 * include/sys/select.h: Likewise.
36148 * include/sys/socket.h: Likewise.
36149 * include/sys/stat.h: Likewise.
36150 * include/sys/statvfs.h: Likewise.
36151 * include/sys/time.h: Likewise.
36152 * include/sys/times.h: Likewise.
36153 * include/sys/uio.h: Likewise.
36154 * include/sys/utsname.h: Likewise.
36155 * include/sys/wait.h: Likewise.
36156 * include/termios.h: Likewise.
36157 * include/time.h: Likewise.
36158 * include/ulimit.h: Likewise.
36159 * include/unistd.h: Likewise.
36160 * include/utime.h: Likewise.
36161 * include/wchar.h: Likewise.
36162 * include/wctype.h: Likewise.
36163 * include/wordexp.h: Likewise.
36165 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36167 * time/time.h: TIME_UTC must be a macro.
36168 Make timespec_get available for ISO C11 only as well.
36170 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36172 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36173 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36175 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36177 * configure.in: Use -o not -a in test for unsupported multi-arch.
36179 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36181 * manual/texinfo.tex: Update to version 2012-01-19.16.
36183 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36185 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36187 2012-02-24 Roland McGrath <roland@hack.frob.com>
36190 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36191 * manual/fdl-1.3.texi: New file.
36192 * manual/fdl-1.1.texi: File removed.
36195 * manual/libc.texinfo (FDL_VERSION): New @set.
36196 Use it for mention of FDL in cover text.
36197 (Documentation License): Use it in @include file name.
36199 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36200 Roland McGrath <roland@hack.frob.com>
36203 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36204 (not LONG_LONG_MAX and LONG_LONG_MIN.
36205 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36206 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36208 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36210 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36214 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36215 manipulate bits before adding and subtracting TWO23[sx].
36216 * math/libm-test.inc (nearbyint_test): Add more tests.
36218 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36221 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36222 bits before adding and subtracting TWO23[sx].
36223 * math/libm-test.inc (rint_test): Add more tests.
36224 (rint_test_tonearest): Likewise.
36225 (rint_test_towardzero): Likewise.
36226 (rint_test_downward): Likewise.
36227 (rint_test_upward: Likewise.
36229 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36232 * include/stdc-predef.h: New file. Extracted from features.h.
36233 * include/features.h: Include stdc-predef.h.
36234 * Makefile (headers): Add stdc-predef.h.
36235 * CONFORMANCE (Compiler limitations): Update.
36237 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36239 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36241 2012-02-21 David S. Miller <davem@davemloft.net>
36243 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36244 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36246 2012-02-20 David S. Miller <davem@davemloft.net>
36248 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36249 using a normal save/restore sequence, rather than allocating a
36250 dummy stack frame just to store a frame pointer and restore.
36251 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36253 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36255 * manual/install.texi: Fix stray word in line-wrapped comment.
36257 2012-02-20 David S. Miller <davem@davemloft.net>
36259 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36260 both binutils and gcc support GOTDATA.
36262 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36263 "rd %pc" in the PIC register setup sequences.
36265 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36266 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36267 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36268 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36269 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36274 (SYSCALL_ERROR_HANDLER): Likewise.
36275 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36276 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36277 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36278 (SYSCALL_ERROR_HANDLER): Likewise.
36280 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36281 (HAVE_GCC_GOTDATA): New.
36282 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36283 relocation support in both binutils and gcc.
36284 * sysdeps/sparc/elf/configure: Regenerate.
36286 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36287 * sysdeps/sparc/sparc32/elf/configure: Delete.
36288 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36289 * sysdeps/sparc/sparc64/elf/configure: Delete.
36290 * sysdeps/sparc/elf/configure.in: New file.
36291 * sysdeps/sparc/elf/configure: Generate.
36293 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36294 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36295 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36296 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36297 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36299 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36301 * manual/install.texi: Do not mention specific glibc version
36303 * manual/libc.texinfo (VERSION, UPDATED): Update.
36304 (@copying): Use @copyright{} and range of years.
36306 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36309 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36310 [crti.S not in sysdirs] (generated): Do not append.
36311 [crti.S not in sysdirs] (omit-deps): Likewise.
36312 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36313 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36314 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36315 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36316 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36318 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36319 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36320 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36321 * csu/defs.awk: Remove file.
36322 * sysdeps/generic/initfini.c: Likewise.
36323 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36325 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36328 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36330 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36331 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36332 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36333 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36334 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36335 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36337 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36338 (__EPOLL_PACKED): Define to empty if not defined by
36340 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36344 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36346 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36347 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36348 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36349 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36351 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36355 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36357 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36360 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36364 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36367 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36369 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36371 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36372 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36374 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36376 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36379 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36381 * math/w_acos.c: Use non-signaling floating-point comparisons.
36382 * math/w_acosf.c: Likewise.
36383 * math/w_acosh.c: Likewise.
36384 * math/w_acoshf.c: Likewise.
36385 * math/w_acoshl.c: Likewise.
36386 * math/w_acosl.c: Likewise.
36387 * math/w_asin.c: Likewise.
36388 * math/w_asinf.c: Likewise.
36389 * math/w_asinl.c: Likewise.
36390 * math/w_atanh.c: Likewise.
36391 * math/w_atanhf.c: Likewise.
36392 * math/w_atanhl.c: Likewise.
36393 * math/w_exp2.c: Likewise.
36394 * math/w_exp2f.c: Likewise.
36395 * math/w_exp2l.c: Likewise.
36396 * math/w_j0.c: Likewise.
36397 * math/w_j0f.c: Likewise.
36398 * math/w_j0l.c: Likewise.
36399 * math/w_j1.c: Likewise.
36400 * math/w_j1f.c: Likewise.
36401 * math/w_j1l.c: Likewise.
36402 * math/w_jn.c: Likewise.
36403 * math/w_jnf.c: Likewise.
36404 * math/w_log.c: Likewise.
36405 * math/w_log10.c: Likewise.
36406 * math/w_log10f.c: Likewise.
36407 * math/w_log10l.c: Likewise.
36408 * math/w_log2.c: Likewise.
36409 * math/w_log2f.c: Likewise.
36410 * math/w_log2l.c: Likewise.
36411 * math/w_logf.c: Likewise.
36412 * math/w_logl.c: Likewise.
36413 * math/w_sqrt.c: Likewise.
36414 * math/w_sqrtf.c: Likewise.
36415 * math/w_sqrtl.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36418 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36419 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36420 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36422 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36425 * manual/string.texi (strnlen): Use correct parameter name in
36426 equivalent expression.
36428 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36431 * manual/users.texi (seteuid): Consistently use neweuid for
36434 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36437 * manual/nss.texi (Services in the NSS configuration): Correct
36438 list of services in example configuration file.
36440 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36443 * manual/arith.texi: Remove statements about negative zero
36444 behaving identically to zero.
36446 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36449 * manual/install.texi: Do not document upgrading from libc5.
36451 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36454 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36456 2012-02-18 David S. Miller <davem@davemloft.net>
36458 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36459 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36460 %o7 across the call.
36461 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36464 SETUP_PIC_REG_LEAF.
36465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36466 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36467 * sysdeps/sparc/crtn.S: Likewise.
36469 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36471 * aout/Makefile: Remove.
36473 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36476 * manual/examples/argp-ex1.c (main): Format definition in GNU
36478 * manual/examples/argp-ex2.c (main): Likewise.
36479 * manual/examples/argp-ex3.c (main): Likewise.
36480 * manual/examples/argp-ex4.c (main): Likewise.
36481 * manual/examples/longopt.c (main): Use new-style prototype
36483 * manual/examples/strncat.c (main): Specify return type and use
36484 (void) for arguments.
36485 * manual/examples/subopt.c (main): Use char **argv argument.
36487 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36490 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36493 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36496 * manual/string.texi (strchr): Change when strchrnul is
36499 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36502 * manual/locale.texi (setlocale): Document LOCPATH.
36504 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36507 * manual/process.texi (execle): Move @dots{} before last argument.
36509 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36512 * manual/charset.texi (Generic Charset Conversion): Fix typo
36513 (LC_TYPE -> LC_CTYPE).
36515 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36518 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36519 (scalbnf): Likewise.
36520 (scalbnl): Likewise.
36521 (scalbln): Likewise.
36522 (scalblnf): Likewise.
36523 (scalblnl): Likewise.
36524 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36525 (vwarnx): Likewise.
36528 * manual/filesys.texi (telldir): Use braces around return type.
36529 * manual/llio.texi (mmap): Add space after comma.
36530 (mmap64): Likewise.
36531 * manual/math.texi (jn): Use @var{} on parameter names.
36537 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36539 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36541 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36542 (sched_get_priority_max): Likewise.
36543 * manual/signal.texi (sigvec): Add space after comma.
36544 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36546 (if_indextoname): Likewise.
36547 (if_freenameindex): Likewise.
36548 (sendto): Use ',' instead of '.' in prototype.
36549 * manual/startup.texi (syscall): Use @dots{} instead of literal
36551 * manual/stdio.texi (__fpending): Separate initial words of
36552 paragraph from @deftypefun line.
36553 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36555 (vsyslog): Use @var{} on parameter names.
36556 * manual/terminal.texi (stty): Use @var{} on parameter names.
36557 * manual/users.texi (getutmp): Use @var{} on parameter names.
36558 (getutmpx): Likewise.
36560 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36563 * manual/stdio.texi (fopen): Fix typos in description of
36566 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36569 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36570 get clock_id definition.
36572 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36575 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36576 (madvise): Cast every argument to void on its own.
36578 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36581 * manual/startup.texi (Exit Status): Fix typo.
36583 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36586 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36587 * manual/examples/argp-ex2.c: Likewise.
36588 * manual/examples/argp-ex3.c: Likewise.
36590 2012-02-16 Richard Henderson <rth@redhat.com>
36592 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36593 * sysdeps/s390/s390-32/initfini.c: Remove.
36594 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36595 * sysdeps/s390/s390-64/initfini.c: Remove.
36597 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36599 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36600 compiler output for sysdeps/generic/initfini.c.
36601 * sysdeps/sh/elf/initfini.c: Remove file.
36603 2012-02-16 David S. Miller <davem@davemloft.net>
36606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36608 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36609 * sysdeps/sparc/crti.S: New file.
36610 * sysdeps/sparc/crtn.S: New file.
36611 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36612 * sysdeps/sparc/sparc64/Makefile: Likewise.
36614 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36617 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36619 2012-02-15 Roland McGrath <roland@hack.frob.com>
36622 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36624 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36625 (write, read, close): Likewise.
36626 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36628 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36630 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36631 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36632 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36633 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36635 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36639 2012-02-14 Marek Polacek <polacek@redhat.com>
36641 * sysdeps/x86_64/crti.S: New file.
36642 * sysdeps/x86_64/crtn.S: New file.
36643 * sysdeps/x86_64/elf/initfini.c: Remove file.
36645 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36647 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36648 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36649 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36650 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36652 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36656 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36658 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36659 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36660 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36661 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36663 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36667 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36669 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36670 __feraiseexcept instead of feraiseexcept.
36672 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36673 nanosleep invocations.
36674 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36675 strings, and add error checking for a nanosleep invocations.
36677 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36679 Replace FSF snail mail address with URLs, as per GNU coding standards.
36680 Most of the snail mail addresses were wrong anyway, and omitting
36681 them makes the source code easier to maintain. Almost all of the
36682 changes are to license notices and to locale LC_IDENTIFICATION
36683 addresses, except for this one:
36684 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36685 not its snail mail address.
36687 2012-02-09 Richard Henderson <rth@twiddle.net>
36689 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36690 of kernel-features.h.
36692 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36694 2012-02-08 Marek Polacek <polacek@redhat.com>
36696 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36697 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36698 * sysdeps/gnu/_G_config.h: Likewise.
36699 * sysdeps/generic/_G_config.h: Likewise.
36701 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36703 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36707 * sysdeps/powerpc/powerpc32/crti.S: New file.
36708 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36709 * sysdeps/powerpc/powerpc64/crti.S: New file.
36710 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36712 * Makeconfig (have-initfini): Don't set.
36713 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36714 * configure.in (nopic_initfini): Don't substitute.
36715 * config.h.in (HAVE_INITFINI): Don't #undef.
36716 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36717 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36719 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36721 Support crti.S and crtn.S provided directly by architectures.
36722 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36723 [crti.S in sysdirs] (omit-deps): Likewise.
36724 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36725 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36726 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36727 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36728 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36729 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36730 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36731 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36732 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36733 compiler output for sysdeps/generic/initfini.c.
36734 * sysdeps/i386/elf/Makefile: Remove file.
36735 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36737 2012-02-07 Marek Polacek <polacek@redhat.com>
36739 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36740 * sysdeps/gnu/_G_config.h: Likewise.
36741 * sysdeps/mach/hurd/_G_config.h: Likewise.
36743 2012-02-07 Marek Polacek <polacek@redhat.com>
36745 * math/Makefile (tests): Add tst-CMPLX2.
36746 * math/tst-CMPLX2.c: New file.
36748 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36750 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36752 * math/libm-test.inc (jn_test): Add missing L suffix.
36754 2012-02-06 Marek Polacek <polacek@redhat.com>
36756 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36757 * sysdeps/i386/fpu/e_powf.S: Likewise.
36758 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36759 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36760 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36761 * sysdeps/i386/fpu/e_pow.S: Likewise.
36762 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36763 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36764 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36765 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36766 * sysdeps/i386/fpu/e_log2.S: Likewise.
36767 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36768 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36769 * sysdeps/i386/fpu/e_powl.S: Likewise.
36770 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36771 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36772 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36773 * sysdeps/i386/fpu/e_logl.S: Likewise.
36774 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36775 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36776 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36777 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36778 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36779 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36780 * sysdeps/i386/fpu/e_log.S: Likewise.
36781 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36782 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36783 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36784 * sysdeps/i386/fpu/e_logf.S: Likewise.
36785 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36786 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36787 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36788 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36789 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36790 * sysdeps/i386/fpu/e_log10.S: Likewise.
36791 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36792 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36793 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36794 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36795 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36796 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36797 * sysdeps/i386/asm-syntax.h: Likewise.
36798 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36800 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36801 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36802 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36803 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36804 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36805 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36806 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36807 * sysdeps/powerpc/sysdep.h: Likewise.
36808 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36809 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36811 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36814 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36816 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36818 * sysdeps/i386/sysdep.h: Include <features.h>.
36819 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36822 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36824 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36826 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36829 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36831 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36832 (SETUP_PIC_REG): Use GET_PC_THUNK.
36833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36836 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36838 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36839 for non-PIC compilation.
36840 (SETUP_PIC_REG): Add .p2align directive.
36841 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36842 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36843 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36844 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36845 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36846 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36847 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36849 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36850 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36851 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36852 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36853 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36854 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36855 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36856 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36857 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36858 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36859 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36860 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36861 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36862 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36863 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36864 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36869 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36870 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36871 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36872 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36873 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36874 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36875 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36876 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36877 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36878 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36879 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36880 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36881 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36883 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36885 * math/tst-CMPLX.c: Include <stdio.h>.
36887 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36889 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36891 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36892 * sysdeps/sparc/bits/mathdef.h: Likewise.
36894 2012-01-31 Marek Polacek <polacek@redhat.com>
36896 * libio/libio.h: Don't define _PARAMS.
36897 * locale/programs/config.h: Don't define PARAMS.
36898 * stdlib/strtol_l.c: Likewise.
36899 (__strtol_l): Remove PARAMS from the prototype.
36901 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36903 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36904 names. Just use the correct names. Remove unnecessary wrapper
36906 * malloc/arena.c: Likewise.
36907 * malloc/hooks.c: Likewise.
36909 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36910 ARENA_TEST says not to. Simplify test for creation of a new arena.
36911 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36913 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36915 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36917 (update_get_addr): New function.
36918 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36919 GET_ADDR_MODULE parameter.
36921 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36923 * crypt/cert.c: Remove __STDC__ conditionals.
36924 * crypt/crypt-entry.c: Likewise.
36925 * crypt/crypt_util.c: Likewise.
36926 * libio/filedoalloc.c: Likewise.
36927 * libio/fileops.c: Likewise.
36928 * libio/genops.c: Likewise.
36929 * libio/iofclose.c: Likewise.
36930 * libio/iofdopen.c: Likewise.
36931 * libio/iofopen.c: Likewise.
36932 * libio/iofopen64.c: Likewise.
36933 * libio/iogetdelim.c: Likewise.
36934 * libio/iopopen.c: Likewise.
36935 * libio/obprintf.c: Likewise.
36936 * libio/oldfileops.c: Likewise.
36937 * libio/oldiofclose.c: Likewise.
36938 * libio/oldiofdopen.c: Likewise.
36939 * libio/oldiofopen.c: Likewise.
36940 * libio/oldiopopen.c: Likewise.
36941 * libio/wfiledoalloc.c: Likewise.
36942 * libio/wgenops.c: Likewise.
36943 * locale/programs/xmalloc.c: Likewise.
36944 * misc/syslog.c: Likewise.
36945 * stdio-common/xbug.c: Likewise.
36946 * string/memchr.c: Likewise.
36947 * string/memcmp.c: Likewise.
36948 * string/memrchr.c: Likewise.
36949 * string/rawmemchr.c: Likewise.
36950 * sysdeps/posix/getcwd.c: Likewise.
36951 * time/strftime_l.c: Likewise.
36953 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36955 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36956 * config.make.in (config-cflags-sse2avx): Define.
36957 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36960 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36962 * scripts/config.guess: Update from upstream config git repository.
36963 * scripts/config.sub: Likewise.
36965 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36967 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36969 (R_TILEPRO_*, R_TILEGX_*): New macros.
36971 * scripts/firstversions.awk: Fix bug in version range handling.
36973 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36975 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36977 * include/sys/epoll.h: New file.
36978 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36981 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36983 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36984 Avoid unnecessary __WORDSIZE == 64 test.
36985 (fmaxf): Use VEX format if possible.
36990 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36991 * math/math_private.h: Remove libc_fegetround* and
36993 * sysdeps/i386/configure.in: Check for -msse2avx.
36994 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36995 also if SSE2AVX is defined.
36996 Remove libc_fegetround* and libc_fesetround*.
36997 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36998 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37007 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37009 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37011 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37013 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37015 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37018 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37020 * Makeconfig (libm): Define.
37021 * elf/Makefile: Add rules to build and run tst-relsort1.
37022 * elf/tst-relsort1.c: New file.
37023 * elf/tst-relsort1mod1.c: New file.
37024 * elf/tst-relsort1mod2.c: New file.
37026 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37028 * math/s_ldexp.c: Remove __STDC__ conditionals.
37029 * math/s_ldexpf.c: Likewise.
37030 * math/s_ldexpl.c: Likewise.
37031 * math/s_nextafter.c: Likewise.
37032 * math/s_nexttowardf.c: Likewise.
37033 * math/s_significand.c: Likewise.
37034 * math/s_significandf.c: Likewise.
37035 * math/s_significandl.c: Likewise.
37036 * math/w_jnl.c: Likewise.
37037 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37038 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37039 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37040 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37041 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37045 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37046 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37047 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37050 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37051 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37056 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37057 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37058 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37059 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37060 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37061 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37062 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37063 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37064 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37065 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37066 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37067 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37068 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37069 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37070 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37071 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37072 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37073 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37074 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37075 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37076 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37077 * sysdeps/ieee754/k_standard.c: Likewise.
37078 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37079 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37080 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37081 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37082 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37083 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37084 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37085 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37086 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37088 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37089 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37090 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37091 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37092 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37094 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37095 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37097 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37100 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37123 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37136 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37138 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37139 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37144 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37147 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37149 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37150 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37151 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37152 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37153 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37154 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37156 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37157 * sysdeps/ieee754/s_matherr.c: Likewise.
37158 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37159 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37163 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37165 * crypt/md5.h: Remove __STDC__ conditionals.
37166 * libio/libioP.h: Likewise.
37167 * locale/programs/config.h: Likewise.
37168 * sysdeps/generic/sysdep.h: Likewise.
37169 * sysdeps/i386/asm-syntax.h: Likewise.
37170 * sysdeps/s390/asm-syntax.h: Likewise.
37171 * sysdeps/unix/sysdep.h: Likewise.
37172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37175 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37177 * libio/libio.h: Remove __STDC__ conditionals.
37178 * malloc/obstack.h: Likewise.
37179 * math/complex.h: Likewise.
37180 * math/math.h: Likewise.
37181 * sysdeps/generic/_G_config.h: Likewise.
37182 * sysdeps/gnu/_G_config.h: Likewise.
37183 * sysdeps/mach/hurd/_G_config.h: Likewise.
37184 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37185 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37186 * sysdeps/sparc/bits/mathdef.h: Likewise.
37188 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37191 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37192 Clean up HAS_* macros.
37193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37194 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37196 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37198 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37199 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37200 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37201 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37202 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37204 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37206 * elf/tst-unique3.cc (gets): Remove declaration.
37207 * elf/tst-unique3lib.cc (gets): Likewise.
37208 * elf/tst-unique3lib2.cc (gets): Likewise.
37209 * elf/tst-unique4.cc (gets): Likewise.
37211 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37213 * include/stdio.h: Add C++ protection. Add gets declarations and
37215 * debug/tst-chk1.c: Don't declare gets here.
37216 * stdio-common/tst-gets.c: Likewise.
37218 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37220 * posix/glob: Remove directory.
37222 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37224 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37226 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37228 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37229 of the non-standard EPFNOSUPPORT.
37231 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37233 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37234 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37235 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37237 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37239 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37241 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37243 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37245 * nscd/grpcache.c (cache_addgr): Likewise.
37246 * nscd/hstcache.c (cache_addhst): Likewise.
37247 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37248 * nscd/pwdcache.c (cache_addpw): Likewise.
37249 * nscd/servicescache.c (cache_addserv): Likewise.
37251 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37253 * malloc/malloc.c: Various cleanups.
37254 * malloc/hooks.c: Likewise.
37256 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37257 * stdlib/bug-fmtmsg1.c: New file.
37259 * stdlib/fmtmsg.c (init): Add missing unlock.
37260 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37262 2012-01-12 Marek Polacek <polacek@redhat.com>
37264 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37267 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37269 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37270 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37271 macro to ensure uniqueness of label name.
37272 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37273 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37275 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37277 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37279 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37280 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37281 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37284 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37286 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37288 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37289 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37290 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37292 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37294 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37295 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37296 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37299 * math/bits/math-finite.h: Add ldexp support.
37301 2012-01-10 Marek Polacek <polacek@redhat.com>
37303 * locale/programs/localedef.h (show_archive_content): Add noreturn
37306 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37308 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37310 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37312 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37314 * io/Makefile (headers): Add bits/poll2.h.
37316 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37319 typo #include statement.
37321 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37323 * include/sys/cdefs.h: Define __attribute_alloc_size.
37324 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37325 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37326 * elf/pldd.c: Likewise.
37327 * iconv/iconv_charmap.c: Likewise.
37328 * iconv/iconvconfig.c: Likewise.
37329 * iconv/strtab.c: Likewise.
37330 * locale/programs/locale.c: Likewise.
37331 * locale/programs/localedef.h: Likewise.
37332 * locale/programs/simple-hash.c: Likewise.
37333 * nscd/nscd.h: Likewise.
37334 * nss/makedb.c: Likewise.
37335 * sysdeps/generic/ldconfig.h: Likewise.
37336 * locale/programs/localedef.c: Remove xmalloc prototype.
37337 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37339 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37341 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37344 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37346 * math/Makefile (tests): Add tst-CMPLX.
37347 * math/tst-CMPLX.c: New file.
37349 * math/complex.h (CMPLXL): Fix typo.
37351 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37352 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37354 * debug/tst-chk1.c: Add poll and ppoll tests.
37355 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37356 * include/sys/poll.h: Add hidden proto for ppoll.
37357 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37358 * sysdeps/mach/hurd/ppoll.c: Likewise.
37359 * io/ppoll.c: Likewise.
37360 * debug/poll_chk.c: New file.
37361 * debug/ppoll_chk.c: New file.
37362 * include/bits/poll2.h: New file.
37363 * io/bits/poll2.h: New file.
37366 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37368 * configure.in: static is always set to yes. Remove.
37369 * config.make.in: Don't set build-static.
37370 * Makeconfig: Remove use of build-static.
37371 * dlfcn/Makefile: Likewise.
37372 * elf/Makefile: Likewise.
37373 * math/Makefile: Likewise.
37374 * misc/Makefile: Likewise.
37375 * nptl/Makefile: Likewise.
37376 * sysdeps/mach/hurd/Makefile: Likewise.
37378 * configure.in: PWD_P is not used anymore.
37379 * config.make.in: Remove PWD_P entry.
37381 * configure.in: Remove last remnants of RANLIB.
37382 No need to check for signed size_t anymore.
37383 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37385 Remove __builtin_expect test because we require at least gcc 3.4.
37386 * aclocal.m4: Likewise.
37388 * wcsmbs/mbrtoc16.c: Implement using towc function.
37389 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37390 * wcsmbs/wcsmbsload.c: Likewise.
37391 * iconv/gconv_simple.c: Likewise.
37392 * iconv/gconv_int.h: Likewise.
37393 * iconv/gconv_builtin.h: Likewise.
37394 * iconv/iconv_prog.c: Remove CHAR16 handling.
37396 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37398 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37400 * configure.in: Remove --with-elf and --enable-bounded options.
37401 Dont set base_machine for ia64. More non-ELF conditions removed.
37402 Remove testing and setting of leading underscore information.
37403 * config.make.in (build-bounded): Set to no.
37404 * config.h.in: Remove NO_UNDERSCORES entry.
37405 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37407 * csu/start.c: Remove !NO_UNDERSCORE code.
37408 * locale/localeinfo.h: Likewise.
37409 * sysdeps/generic/machine-gmon.h: Likewise.
37410 * sysdeps/generic/sysdep.h: Likewise.
37411 * sysdeps/i386/sysdep.h: Likewise.
37412 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37413 * sysdeps/mach/sysdep.h: Likewise.
37414 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37415 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37416 * sysdeps/sh/sysdep.h: Likewise.
37417 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37418 * sysdeps/unix/i386/sysdep.S: Likewise.
37419 * sysdeps/unix/sparc/start.c: Likewise.
37420 * sysdeps/unix/sparc/sysdep.S: Likewise.
37421 * sysdeps/unix/sparc/sysdep.h: Likewise.
37422 * sysdeps/unix/start.c: Likewise.
37423 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37424 * sysdeps/x86_64/sysdep.h: Likewise.
37426 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37429 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37431 * argp/argp-fmtstream.h: Use const instead __const.
37432 * argp/argp.h: Likewise.
37433 * assert/assert.h: Likewise.
37434 * bits/fenv.h: Likewise.
37435 * bits/sched.h: Likewise.
37436 * bits/sigset.h: Likewise.
37437 * bits/sigthread.h: Likewise.
37438 * catgets/nl_types.h: Likewise.
37439 * conform/data/pthread.h-data: Likewise.
37440 * crypt/crypt-private.h: Likewise.
37441 * crypt/crypt.h: Likewise.
37442 * crypt/crypt_util.c: Likewise.
37443 * ctype/ctype.h: Likewise.
37444 * debug/execinfo.h: Likewise.
37445 * debug/mbsnrtowcs_chk.c: Likewise.
37446 * debug/mbsrtowcs_chk.c: Likewise.
37447 * debug/wcsnrtombs_chk.c: Likewise.
37448 * debug/wcsrtombs_chk.c: Likewise.
37449 * debug/wcstombs_chk.c: Likewise.
37450 * dirent/dirent.h: Likewise.
37451 * dlfcn/dlfcn.h: Likewise.
37452 * elf/neededtest4.c: Likewise.
37453 * grp/grp.h: Likewise.
37454 * gshadow/gshadow.h: Likewise.
37455 * iconv/gconv.h: Likewise.
37456 * iconv/gconv_int.h: Likewise.
37457 * iconv/gconv_simple.c: Likewise.
37458 * iconv/iconv.h: Likewise.
37459 * iconv/loop.c: Likewise.
37460 * iconv/skeleton.c: Likewise.
37461 * include/aio.h: Likewise.
37462 * include/aliases.h: Likewise.
37463 * include/argz.h: Likewise.
37464 * include/arpa/inet.h: Likewise.
37465 * include/assert.h: Likewise.
37466 * include/dirent.h: Likewise.
37467 * include/dlfcn.h: Likewise.
37468 * include/execinfo.h: Likewise.
37469 * include/fcntl.h: Likewise.
37470 * include/fenv.h: Likewise.
37471 * include/glob.h: Likewise.
37472 * include/grp.h: Likewise.
37473 * include/libintl.h: Likewise.
37474 * include/mntent.h: Likewise.
37475 * include/netdb.h: Likewise.
37476 * include/pwd.h: Likewise.
37477 * include/rpc/netdb.h: Likewise.
37478 * include/sched.h: Likewise.
37479 * include/search.h: Likewise.
37480 * include/shadow.h: Likewise.
37481 * include/signal.h: Likewise.
37482 * include/stdio.h: Likewise.
37483 * include/stdlib.h: Likewise.
37484 * include/string.h: Likewise.
37485 * include/sys/socket.h: Likewise.
37486 * include/sys/stat.h: Likewise.
37487 * include/sys/statfs.h: Likewise.
37488 * include/sys/statvfs.h: Likewise.
37489 * include/sys/syslog.h: Likewise.
37490 * include/sys/time.h: Likewise.
37491 * include/sys/uio.h: Likewise.
37492 * include/time.h: Likewise.
37493 * include/unistd.h: Likewise.
37494 * include/utmp.h: Likewise.
37495 * include/wchar.h: Likewise.
37496 * include/wctype.h: Likewise.
37497 * inet/aliases.h: Likewise.
37498 * inet/arpa/inet.h: Likewise.
37499 * inet/netinet/ether.h: Likewise.
37500 * inet/netinet/in.h: Likewise.
37501 * intl/libintl.h: Likewise.
37502 * io/bits/fcntl2.h: Likewise.
37503 * io/fcntl.h: Likewise.
37504 * io/ftw.h: Likewise.
37505 * io/sys/poll.h: Likewise.
37506 * io/sys/stat.h: Likewise.
37507 * io/sys/statfs.h: Likewise.
37508 * io/sys/statvfs.h: Likewise.
37509 * io/utime.h: Likewise.
37510 * libio/bits/stdio.h: Likewise.
37511 * libio/bits/stdio2.h: Likewise.
37512 * libio/libio.h: Likewise.
37513 * libio/libioP.h: Likewise.
37514 * libio/stdio.h: Likewise.
37515 * locale/lc-ctype.c: Likewise.
37516 * locale/locale.h: Likewise.
37517 * login/utmp.h: Likewise.
37518 * malloc/arena.c: Likewise.
37519 * malloc/malloc.c: Likewise.
37520 * malloc/malloc.h: Likewise.
37521 * malloc/mcheck.c: Likewise.
37522 * malloc/mtrace.c: Likewise.
37523 * math/bits/mathcalls.h: Likewise.
37524 * math/fenv.h: Likewise.
37525 * math/math_private.h: Likewise.
37526 * misc/bits/error.h: Likewise.
37527 * misc/bits/syslog.h: Likewise.
37528 * misc/err.h: Likewise.
37529 * misc/error.h: Likewise.
37530 * misc/fstab.h: Likewise.
37531 * misc/mntent.h: Likewise.
37532 * misc/regexp.h: Likewise.
37533 * misc/search.h: Likewise.
37534 * misc/sgtty.h: Likewise.
37535 * misc/sys/mman.h: Likewise.
37536 * misc/sys/syslog.h: Likewise.
37537 * misc/sys/uio.h: Likewise.
37538 * misc/sys/xattr.h: Likewise.
37539 * misc/ttyent.h: Likewise.
37540 * nis/rpcsvc/ypclnt.h: Likewise.
37541 * nss/nss.h: Likewise.
37542 * posix/bits/unistd.h: Likewise.
37543 * posix/fnmatch.h: Likewise.
37544 * posix/glob.h: Likewise.
37545 * posix/sched.h: Likewise.
37546 * posix/spawn.h: Likewise.
37547 * posix/sys/wait.h: Likewise.
37548 * posix/unistd.h: Likewise.
37549 * posix/wordexp.h: Likewise.
37550 * pwd/pwd.h: Likewise.
37551 * resolv/netdb.h: Likewise.
37552 * resource/sys/resource.h: Likewise.
37553 * rt/aio.h: Likewise.
37554 * rt/bits/mqueue2.h: Likewise.
37555 * rt/mqueue.h: Likewise.
37556 * shadow/shadow.h: Likewise.
37557 * signal/signal.h: Likewise.
37558 * socket/send.c: Likewise.
37559 * socket/sendto.c: Likewise.
37560 * socket/sys/socket.h: Likewise.
37561 * stdio-common/printf.h: Likewise.
37562 * stdlib/bits/stdlib.h: Likewise.
37563 * stdlib/fmtmsg.h: Likewise.
37564 * stdlib/monetary.h: Likewise.
37565 * stdlib/stdlib.h: Likewise.
37566 * stdlib/ucontext.h: Likewise.
37567 * streams/stropts.h: Likewise.
37568 * string/argz.h: Likewise.
37569 * string/bits/string2.h: Likewise.
37570 * string/string.h: Likewise.
37571 * string/strings.h: Likewise.
37572 * sunrpc/rpc/auth.h: Likewise.
37573 * sunrpc/rpc/auth_des.h: Likewise.
37574 * sunrpc/rpc/clnt.h: Likewise.
37575 * sunrpc/rpc/netdb.h: Likewise.
37576 * sunrpc/rpc/pmap_clnt.h: Likewise.
37577 * sunrpc/rpc/xdr.h: Likewise.
37578 * sysdeps/generic/inttypes.h: Likewise.
37579 * sysdeps/generic/net/if.h: Likewise.
37580 * sysdeps/generic/sys/swap.h: Likewise.
37581 * sysdeps/gnu/net/if.h: Likewise.
37582 * sysdeps/gnu/utmpx.h: Likewise.
37583 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37584 * sysdeps/i386/i486/bits/string.h: Likewise.
37585 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37586 * sysdeps/s390/bits/string.h: Likewise.
37587 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37588 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37589 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37590 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37591 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37592 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37593 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37594 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37595 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37596 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37597 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37598 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37599 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37600 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37601 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37602 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37603 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37605 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37606 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37607 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37608 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37609 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37610 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37611 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37612 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37613 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37615 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37616 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37617 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37618 * sysvipc/sys/ipc.h: Likewise.
37619 * sysvipc/sys/msg.h: Likewise.
37620 * sysvipc/sys/sem.h: Likewise.
37621 * sysvipc/sys/shm.h: Likewise.
37622 * termios/termios.h: Likewise.
37623 * time/sys/time.h: Likewise.
37624 * time/time.h: Likewise.
37625 * wcsmbs/bits/wchar2.h: Likewise.
37626 * wcsmbs/uchar.h: Likewise.
37627 * wcsmbs/wchar.h: Likewise.
37628 * wctype/wctype.h: Likewise.
37631 * Makeconfig: Remove all but ELF support including AIX support.
37632 * Makerules: Likewise.
37633 * config.h.in: Likewise.
37634 * config.make.in: Likewise.
37635 * configure: Likewise.
37636 * configure.in: Likewise.
37637 * csu/Makefile: Likewise.
37638 * csu/version.c: Likewise.
37639 * debug/Makefile: Likewise.
37640 * dlfcn/Makefile: Likewise.
37641 * elf/Makefile: Likewise.
37642 * extra-lib.mk: Likewise.
37643 * iconv/Makefile: Likewise.
37644 * include/libc-symbols.h: Likewise.
37645 * include/shlib-compat.h: Likewise.
37646 * resolv/Makefile: Likewise.
37647 * resolv/res_libc.c: Likewise.
37648 * rt/Makefile: Likewise.
37649 * sysdeps/i386/asm-syntax.h: Likewise.
37650 * sysdeps/i386/sysdep.h: Likewise.
37651 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37652 * sysdeps/mach/sysdep.h: Likewise.
37653 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37654 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37655 * sysdeps/s390/asm-syntax.h: Likewise.
37656 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37658 * sysdeps/sh/sysdep.h: Likewise.
37659 * sysdeps/unix/sparc/sysdep.h: Likewise.
37660 * sysdeps/wordsize-32/divdi3.c: Likewise.
37661 * sysdeps/x86_64/sysdep.h: Likewise.
37663 * argp/Versions: Remove _argp_unlock_xxx.
37666 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37667 * abilist/libBrokenLocale.abilist: Likewise.
37668 * abilist/libanl.abilist: Likewise.
37669 * abilist/libc.abilist: Likewise.
37670 * abilist/libcrypt.abilist: Likewise.
37671 * abilist/libdl.abilist: Likewise.
37672 * abilist/libm.abilist: Likewise.
37673 * abilist/libnsl.abilist: Likewise.
37674 * abilist/libpthread.abilist: Likewise.
37675 * abilist/libresolv.abilist: Likewise.
37676 * abilist/librt.abilist: Likewise.
37677 * abilist/libthread_db.abilist: Likewise.
37678 * abilist/libutil.abilist: Likewise.
37679 * abilist/libnss_db.abilist: New file.
37681 * scripts/abilist.awk: Add support for indirect functions.
37683 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37685 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37687 * shlib-versions: Remove entries for ports architectures.
37689 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37691 * elf/stackguard-macros.h: Remove support for IA-64.
37692 * elf/tst-auditmod1.c: Likewise.
37693 * sysdeps/generic/ldsodefs.h: Likewise.
37695 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37696 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37700 * configure.in: Remove --enable-omitfp support.
37702 * config.make.in: Likewise.
37703 * Makeconfig: Likewise.
37704 * manual/install.texi: Likewise.
37706 In case anyone cares, the IA-64 architecture could move to ports.
37707 * sysdeps/ia64/*: Removed.
37708 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37709 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37712 * configure.in: Remove entries for unsupported architectures.
37715 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37716 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37718 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37719 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37720 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37721 fall back to using wcrtomb.
37722 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37723 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37725 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37726 * wcsmbs/tst-c16c32-1.c: New file.
37728 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37731 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37733 * elf/tst-unique3.cc: Add explicit declaration of gets.
37734 * elf/tst-unique3lib.cc: Likewise.
37735 * elf/tst-unique3lib2.cc: Likewise.
37736 * elf/tst-unique4.cc: Likewise.
37738 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37740 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37743 * assert/assert.h (static_assert): Don't define for C++.
37744 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37745 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37747 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37749 * iconv/loop.c (single loop): Fix assertion in storing of
37752 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37754 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37756 * posix/getconf.c: Update copyright year.
37757 * nss/getent.c: Likewise.
37758 * nss/makedb.c: Likewise.
37759 * iconv/iconvconfig.c: Likewise.
37760 * iconv/iconv_prog.c: Likewise.
37761 * elf/ldconfig.c: Likewise.
37762 * elf/pldd.c: Likewise.
37763 * elf/sotruss.ksh: Likewise.
37764 * catgets/gencat.c: Likewise.
37765 * csu/version.c: Likewise.
37766 * elf/ldd.bash.in: Likewise.
37767 * elf/sprof.c (print_version): Likewise.
37768 * locale/programs/locale.c: Likewise.
37769 * locale/programs/localedef.c: Likewise.
37770 * login/programs/pt_chown.c: Likewise.
37771 * nscd/nscd.c (print_version): Likewise.
37772 * debug/xtrace.sh: Likewise.
37773 * malloc/memusage.sh: Likewise.
37774 * malloc/mtrace.pl: Likewise.
37775 * debug/catchsegv.sh: Likewise.
37777 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37779 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37782 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37785 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37786 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37788 * iconv/gconv_int.h: Likewise.
37789 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37790 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37791 from libc for GLIBC_2.16.
37792 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37793 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37794 * wcsmbs/uchar.h: Really define mbstate_t.
37795 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37796 * wcsmbs/c16rtomb.c: New file.
37797 * wcsmbs/mbrtoc16.c: New file.
37798 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37799 for C/POSIX locale.
37800 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37801 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37803 * wcsmbs/wchar.h: Add missing __restrict.
37805 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37808 * time/Makefile (routines): Add timespec_get.
37809 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37810 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37811 timespec for ISO C11.
37812 * time/timespec_get.c: New file.
37813 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37814 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37817 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37818 * stdlib/stdlib.h: Declare aligned_alloc.
37819 * Versions.def: Add GLIBC_2.16 for libc.
37820 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37823 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37826 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37830 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37833 * assert/assert.h (static_assert): Define.
37835 * version.h: Update for 2.16 development version.
37838 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37841 * version.h (RELEASE): Bump for 2.15 release.
37842 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37844 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37845 Patch by Marek Polacek <mpolacek@redhat.com>.
37847 * bits/byteswap.h: Protect long long constants with __extension__.
37848 * sysdeps/i386/bits/byteswap.h: Likewise.
37849 * sysdeps/ia64/bits/byteswap.h: Likewise.
37850 * sysdeps/s390/bits/byteswap.h: Likewise.
37851 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37853 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37856 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37857 destination buffer.
37858 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37860 2011-12-23 Marek Polacek <polacek@redhat.com>
37862 * elf/dl-addr.c (determine_info): Add inline keyword.
37863 * elf/tst-auditmod4b.c (check_avx): Likewise.
37864 * elf/tst-auditmod6b.c (check_avx): Likewise.
37865 * elf/tst-auditmod6c.c (check_avx): Likewise.
37866 * elf/tst-auditmod7b.c (check_avx): Likewise.
37868 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37870 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37873 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37876 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37877 processing for last bytes.
37879 2011-08-06 Bruno Haible <bruno@clisp.org>
37882 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37883 U+0385, not to U+1FEE.
37886 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37887 entry for U+00A5 U+0301.
37889 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37892 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37893 buffer for the output is too small.
37895 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37899 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37900 SSE flags if possible.
37902 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37906 processing for last bytes.
37908 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37910 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37911 (syscall-list-default-options, syscall-list-default-condition)
37912 (syscall-list-includes): Define.
37913 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37914 list of ABIs and options and #if conditions for each ABI. Do not
37915 handle common syscalls between ABIs specially.
37916 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37918 (syscall-list-variants, syscall-list-32bit-options)
37919 (syscall-list-32bit-condition, syscall-list-64bit-options)
37920 (syscall-list-64bit-condition): Define.
37921 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37922 (syscall-list-variants, syscall-list-32bit-options)
37923 (syscall-list-32bit-condition, syscall-list-64bit-options)
37924 (syscall-list-64bit-condition): Define.
37925 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37927 (syscall-list-variants, syscall-list-32bit-options)
37928 (syscall-list-32bit-condition, syscall-list-64bit-options)
37929 (syscall-list-64bit-condition): Define.
37930 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37932 (syscall-list-variants, syscall-list-32bit-options)
37933 (syscall-list-32bit-condition, syscall-list-64bit-options)
37934 (syscall-list-64bit-condition): Define.
37936 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37938 * locale/iso-639.def: Add brx entry.
37941 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37942 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37944 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37945 __feraiseexcept_renamed.
37947 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37950 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37951 EPOLLET with unsigned values.
37952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37953 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37955 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37956 to large cancellation.
37957 * math/s_cacoshf.c: Likewise.
37958 * math/s_cacoshl.c: Likewise.
37960 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37964 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37965 * math/s_cacoshf.c: Likewise.
37966 * math/s_cacoshl.c: Likewise.
37968 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37971 * iconv/gconv.h: Define __GCONV_SWAP.
37972 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37973 * iconvdata/utf-16.c: Likewise.
37974 * iconvdata/utf-32.c: Likewise.
37976 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37979 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37980 numerator after shifting it by one limb.
37982 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37984 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37985 under [__USE_EXTERN_INLINES].
37987 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37990 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37992 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37994 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37995 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37997 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37998 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37999 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38000 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38001 for strncasecmp/strncasecmp_l compilation.
38002 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38003 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38005 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38008 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38011 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38014 * time/tzfile.c (__tzfile_read): Check values from file header.
38016 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38018 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38019 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38020 * powerpc/powerpc32/dl-start.S: Likewise.
38021 * powerpc/powerpc32/elf/start.S: Likewise.
38022 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38023 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38024 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38025 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38026 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38027 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38028 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38029 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38030 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38031 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38032 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38033 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38034 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38035 * powerpc/powerpc32/memset.S: Likewise.
38036 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38037 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38038 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38039 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38040 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38041 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38042 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38043 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38044 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38045 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38046 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38047 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38048 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38050 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38052 * math/libm-test.inc: Added more nearbyint tests.
38053 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38055 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38058 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38060 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38063 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38065 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38066 Add wcscpy-ssse3 wcscpy-c.
38067 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38068 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38069 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38070 * sysdeps/x86_64/wcschr.S: New file.
38071 * sysdeps/x86_64/wcsrchr.S: New file.
38072 * string/test-strcmp.c: Remove checking of wcscmp function for
38074 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38075 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38076 wcsrchr-sse2 wcsrchr-c.
38077 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38078 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38079 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38080 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38081 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38082 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38083 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38084 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38085 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38086 * wcsmbc/wcschr.c (WCSCHR): New macro.
38088 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38090 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38091 * wcsmbs/test-wcsrchr.c: New file.
38092 * string/test-strrchr.c: Add wcsrchr support.
38094 * wcsmbs/test-wcscpy.c: New file.
38095 * string/test-strcpy.c: Add wcscpy support.
38098 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38100 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38103 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38106 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38108 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38110 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38111 Minor optimizations.
38113 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38114 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38115 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38117 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38119 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38120 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38121 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38122 for gcc to avoid warnings.
38123 * inet/Makefile (tests): Add tst-checks.
38124 * inet/tst-checks.c: New file.
38126 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38129 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38132 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38133 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38135 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38137 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38139 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38142 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38144 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38146 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38147 conditional on GCC version.
38148 (__arch_compare_and_exchange_val_8_acq)
38149 (__arch_compare_and_exchange_val_16_acq)
38150 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38151 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38152 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38154 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38156 * sysdeps/sh/backtrace.c: New file.
38158 2011-12-02 Andreas Schwab <schwab@redhat.com>
38160 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38163 2011-12-01 Andreas Schwab <schwab@redhat.com>
38165 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38166 falling back to utime.
38168 2011-11-30 Andreas Schwab <schwab@redhat.com>
38170 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38171 expectations for float.
38173 2011-11-29 Andreas Schwab <schwab@redhat.com>
38175 * locale/weight.h (findidx): Add parameter len.
38176 * locale/weightwc.h (findidx): Likewise.
38177 * posix/fnmatch_loop.c (FCT): Adjust caller.
38178 * posix/regcomp.c (build_equiv_class): Likewise.
38179 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38180 * posix/regexec.c (check_node_accept_bytes): Likewise.
38181 * string/strcoll_l.c (STRCOLL): Likewise.
38182 * string/strxfrm_l.c (STRXFRM): Likewise.
38184 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38186 * Makefile.in: Remove CVSOPT handling.
38187 * configure.in: Remove use of AC_REVISION.
38188 * iconvdata/Makefile (distribute): No need to filter out CVS.
38189 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38192 2011-11-16 Andreas Schwab <schwab@redhat.com>
38194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38195 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38196 [USE_AS_STRNCASECMP_L]: Likewise.
38197 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38198 NO_TLS_DIRECT_SEG_REFS.
38199 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38200 Fix argument offsets for non-PIC.
38201 [USE_AS_STRNCASECMP_L]: Likewise.
38202 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38203 NO_TLS_DIRECT_SEG_REFS.
38205 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38207 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38209 * locale/loadlocale.c (_nl_load_locale): Likewise.
38211 2011-11-15 Andreas Schwab <schwab@redhat.com>
38213 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38214 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38215 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38216 (SYSCALL_GETTIME): Set errno on error.
38218 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38219 count references to noai6ai_cached.
38221 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38223 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38225 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38226 FD_CLOEXEC for /proc/self/maps.
38228 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38229 FD_CLOEXEC for /proc/meminfo.
38231 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38234 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38235 FD_CLOEXEC for given file.
38237 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38239 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38240 FD_CLOEXEC for /etc/hosts.
38241 (_gethtent): Likewise.
38243 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38245 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38246 cancellation and set FD_CLOEXEC for /etc/netgroup.
38248 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38249 reading /etc/publickey.
38251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38252 allow cancellation when reading /etc/group.
38254 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38256 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38258 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38259 when using data file.
38261 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38263 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38264 (write_nis_obj): Use "c" and "e" in fopen.
38266 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38268 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38270 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38272 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38274 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38277 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38279 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38281 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38283 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38284 file parsing and set FD_CLOEXEC.
38286 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38288 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38290 2011-11-14 Andreas Schwab <schwab@redhat.com>
38292 * malloc/arena.c (arena_get2): Don't call reused_arena when
38293 _int_new_arena failed.
38295 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38297 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38298 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38300 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38301 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38303 to compile strcasecmp and strncasecmp.
38304 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38305 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38309 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38311 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38312 locale-defines.sym to gen-as-const-headers.
38313 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38314 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38316 to compile strcasecmp and strncasecmp.
38317 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38318 strcasecmp_l and strncasecmp_l.
38319 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38320 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38321 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38322 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38323 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38324 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38325 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38326 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38327 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38328 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38329 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38331 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38333 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38334 result of SYSDEP_GETTIME_CPU to retval.
38335 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38336 parameter list to macro. Remove trailing semicolon. Adjust users.
38338 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38341 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38343 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38345 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38346 from unused variable.
38348 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38350 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38353 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38356 * sunrpc/rpc_prot.c (rejected): Fix case value.
38358 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38359 unsigned long long int to avoid warnings in shift.
38361 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38363 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38366 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38367 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38368 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38370 * nis/nis_table.c (nis_list): Use variable of correct type for
38371 result of __follow_path call.
38373 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38375 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38376 of math functions ceil, trunc, floor, round, and sqrt, when
38377 avaliable on the platform.
38378 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38380 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38381 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38382 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38384 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38386 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38389 2011-11-11 Roland McGrath <roland@hack.frob.com>
38391 * include/unistd.h: Fix __readlink return type.
38392 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38394 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38396 * stdlib/ucontext.h: Undo last change for makecontext.
38398 2011-11-11 Andreas Schwab <schwab@redhat.com>
38400 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38402 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38403 * setjmp/setjmp.h: Mark functions as non-leaf.
38404 * setjmp/bits/setjmp2.h: Likewise.
38405 * stdlib/ucontext.h: Likewise.
38407 2011-11-10 Andreas Schwab <schwab@redhat.com>
38409 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38410 (reused_arena): Don't check arena limit.
38411 (arena_get2): Atomically check arena limit.
38413 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38415 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38416 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38421 2011-11-07 Andreas Schwab <schwab@redhat.com>
38423 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38424 handler when locking.
38426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38427 Fix size of allocated buffer.
38429 2011-11-04 Andreas Schwab <schwab@redhat.com>
38432 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38433 declarations for long double functions.
38434 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38436 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38438 2011-11-03 Andreas Schwab <schwab@redhat.com>
38440 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38443 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38446 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38448 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38450 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38452 * include/alloca.h (stackinfo_alloca_round): Define.
38453 (extend_alloca): Use it.
38454 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38455 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38458 * scripts/check-local-headers.sh: Ignore libaudit.h.
38460 * nscd/Makefile (extra-objs): Make recursively expanded.
38462 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38464 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38467 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38468 * posix/tst-rfc3484-2.c: Likewise.
38469 * posix/tst-rfc3484-3.c: Likewise.
38471 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38473 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38475 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38476 process_vm_writev from libc using GLIBC_2.15 version.
38478 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38480 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38482 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38485 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38488 * nss/getent.c (initgroups_keys): Show error message in case no group
38491 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38492 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38493 __bump_nl_timestamp.
38494 * nscd/connections (nscd_init): When host database is served open
38495 netlink socket and request notification about configuration changes.
38496 (main_loop_poll): Track netlink file descriptor and bump timestamp
38497 in case data becomes available.
38498 (main_loop_epoll): Likewise.
38499 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38500 (database_pers_head): Add extra_data fileds.
38501 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38502 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38503 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38506 in6ai data, call __free_in6ai.
38507 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38508 Add -DHAVE_NETLINK.
38509 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38510 interface information. Reuse previous data if netlink timestamp
38512 (__bump_nl_timestamp): New function.
38513 (__free_in6ai): New function.
38515 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38517 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38518 close_not_cancel_no_status here.
38519 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38521 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38524 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38527 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38528 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38529 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38531 2011-07-03 Andreas Jaeger <aj@suse.de>
38534 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38535 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38536 * math/libm-test.inc (sin_test): Add test case.
38538 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38541 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38542 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38544 * elf/chroot_canon.c (chroot_canon): Cleanups.
38546 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38549 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38550 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38552 * string/test-strchr.c: Make usable for strchrnul testing.
38553 * string/test-strchrnul.c: New file.
38554 * string/Makefile (strop-tests): Add strchrnul.
38556 * po/it.po: Update from translation team.
38557 * po/es.po: Likewise.
38559 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38561 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38562 the three constants needed as parameters. Drop the others.
38563 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38564 __m128i_strloadu_tolower.
38565 Create and initialize variable zero and use it in all the places
38566 where _mm_setzero_si128 was used.
38568 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38569 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38570 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38571 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38573 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38574 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38575 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38576 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38577 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38578 __mpranred, __mptan.
38579 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38580 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38581 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38582 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38583 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38584 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38585 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38586 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38587 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38589 2011-10-28 Andreas Schwab <schwab@redhat.com>
38591 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38592 redefine if SHARED.
38593 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38596 wide char related routines to wcsmbs subdir.
38598 2011-10-27 Andreas Schwab <schwab@redhat.com>
38601 * misc/sys/cdefs.h (__THROWNL): Define.
38602 * posix/unistd.h: Use __THREADNL instead of __THREAD
38603 for memory synchronization functions.
38605 2011-10-26 Roland McGrath <roland@hack.frob.com>
38608 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38610 * manual/stdio.texi (Obstack Streams): Node removed.
38612 2011-10-26 Andreas Schwab <schwab@redhat.com>
38614 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38615 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38618 * math/math_private.h (math_force_eval): Allow non-addressable
38620 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38622 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38624 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38625 file is not needed.
38627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38628 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38632 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38634 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38636 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38637 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38638 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38639 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38640 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38641 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38642 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38643 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38644 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38645 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38646 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38647 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38648 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38649 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38650 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38651 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38652 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38653 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38654 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38656 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38657 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38660 place. Use VEX encoding when compiling for AVX.
38662 2011-10-25 Andreas Schwab <schwab@redhat.com>
38664 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38665 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38667 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38669 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38671 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38672 useless if() expression.
38673 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38682 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38683 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38685 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38686 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38687 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38688 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38689 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38690 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38691 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38693 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38695 2011-10-25 Andreas Schwab <schwab@redhat.com>
38697 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38699 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38701 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38703 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38704 .text section. Avoid duplicate constants.
38705 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38715 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38717 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38720 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38722 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38729 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38730 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38731 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38732 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38733 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38734 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38735 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38736 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38737 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38738 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38739 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38740 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38741 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38743 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38744 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38745 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38746 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38747 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38748 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38749 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38751 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38753 * sysdeps/x86_64/dla.h: Move to ...
38754 * sysdeps/x86_64/fpu/dla.h: ...here.
38755 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38756 situations. Use __builtin_fma only for gcc 4.6 and up.
38758 * config.make.in: Add have-mfma4 entry.
38759 * configure.in: Substitute libc_cv_cc_fma4.
38760 * math/Makefile (dbl-only-routines): Add sincostab.
38761 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38762 Use __sincostab not sincos.
38763 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38770 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38771 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38772 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38773 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38775 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38776 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38778 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38779 define aliases when function name is a macro.
38780 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38781 sysdeps/ieee754/dbl-64/sincos.tbl.
38782 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38783 fma4-enabled routines.
38784 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38785 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38786 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38787 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38788 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38789 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38791 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38793 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38794 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38795 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38796 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38797 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38798 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38799 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38800 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38801 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38802 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38803 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38804 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38805 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38807 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38808 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38809 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38810 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38811 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38812 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38813 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38815 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38817 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38826 2011-10-24 Andreas Schwab <schwab@redhat.com>
38828 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38830 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38832 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38834 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38836 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38838 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38839 Remove unused variable magic_bits.
38840 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38842 * string/strnlen.c: Define and use STRNLEN macro.
38843 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38844 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38845 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38846 * wcsmbs/wcslen.c: Define and use WCSLEN.
38847 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38848 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38849 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38850 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38851 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38852 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38853 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38855 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38858 strnlen-sse2-no-bsf.
38859 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38860 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38861 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38862 Add strnlen support.
38863 (USE_AS_STRNLEN): New macro.
38864 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38865 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38866 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38867 * sysdeps/x86_64/wcslen.S: New file.
38869 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38871 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38872 XMM-moves are used for copying on small sizes.
38874 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38876 * wcsmbs/Makefile (strop-tests): Add wcschr.
38877 * wcsmbs/test-wcschr.c: New file.
38878 * string/test-strchr.c: Update.
38879 Add wcschr support.
38882 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38884 * wcsmbs/Makefile (strop-tests): Add wcslen.
38885 * wcsmbs/test-wcslen.c: New file.
38886 * string/test-strlen.c: Update.
38887 Add wcslen support.
38890 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38892 * po/it.po: Update from translation team.
38894 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38896 * sysdeps/x86_64/wcscmp.S: Update.
38897 Fix wrong comparison semantics.
38898 wcscmp shall use signed comparison not unsigned.
38899 Don't use substraction to avoid overflow bug.
38900 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38901 * wcsmbc/wcscmp.c: Likewise.
38902 * string/test-strcmp.c: Likewise.
38903 Add new tests to check cases with negative values.
38905 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38907 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38908 * sysdeps/x86_64/dla.h: ...here. New file.
38909 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38914 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38917 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38919 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38922 __ynl_finite aliases.
38924 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38928 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38930 [DLA_FMA] (EMULV): Use DLA_FMA.
38931 [DLA_FMA] (MUL12): Use EMULV.
38932 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38933 that are not needed.
38934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38939 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38940 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38942 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38944 * math/s_nan.c: Undef __nan.
38945 * math/s_nanf.c: Undef __nanf.
38946 * math/s_nanl.c: Undef __nanl.
38947 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38950 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38952 * math/s_catan.c: Add branch predictions.
38953 * math/s_catanf.c: Likewise.
38954 * math/s_catanh.c: Likewise.
38955 * math/s_catanhf.c: Likewise.
38956 * math/s_catanhl.c: Likewise.
38957 * math/s_catanl.c: Likewise.
38958 * math/s_cexp.c: Likewise.
38959 * math/s_cexpf.c: Likewise.
38960 * math/s_cexpl.c: Likewise.
38961 * math/s_clog.c: Likewise.
38962 * math/s_clog10.c: Likewise.
38963 * math/s_clog10f.c: Likewise.
38964 * math/s_clog10l.c: Likewise.
38965 * math/s_clogf.c: Likewise.
38966 * math/s_clogl.c: Likewise.
38967 * math/s_csqrt.c: Likewise.
38968 * math/s_csqrtf.c: Likewise.
38969 * math/s_csqrtl.c: Likewise.
38970 * math/s_ctanf.c: Likewise.
38971 * math/s_ctanh.c: Likewise.
38972 * math/s_ctanhf.c: Likewise.
38973 * math/s_ctanhl.c: Likewise.
38974 * math/s_ctanl.c: Likewise.
38976 * math/math_private.h: Define __nan, __nanf, __nanl.
38977 * math/s_cacosh.c: Include <math_private.h>.
38978 * math/s_cacoshl.c: Likewise.
38979 * math/s_casinh.c: Likewise.
38980 * math/s_casinhf.c: Likewise.
38981 * math/s_casinhl.c: Likewise.
38982 * math/s_ccos.c: Rely entire on ccosh.
38983 * math/s_ccosf.c: Rely entire on ccoshf.
38984 * math/s_ccosl.c: Rely entirely on ccoshl.
38985 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38986 Remove tests for FE_INVALID.
38987 * math/s_ccoshf.c: Likewise.
38988 * math/s_ccoshl.c: Likewise.
38989 * math/s_csin.c: Likewise.
38990 * math/s_csinf.c: Likewise.
38991 * math/s_csinh.c Likewise.
38992 * math/s_csinhf.c: Likewise.
38993 * math/s_csinhl.c: Likewise.
38994 * math/s_csinl.c: Likewise.
38995 * math/s_ctan.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38997 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38998 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39000 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39003 compilation problems.
39005 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39008 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39010 * sysdeps/i386/configure.in: Test for -mfma4 option.
39011 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39012 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39013 COMMON_CPUID_INDEX_80000001.
39014 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39015 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39016 use it if FMA3 is not supported.
39017 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39019 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39020 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39022 2011-10-20 Andreas Schwab <schwab@redhat.com>
39025 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39026 it would create a cycle with a link time dependency.
39028 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39030 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39032 * string/Makefile (strop-tests): Add rawmemchr.
39033 * string/test-rawmemchr.c: New file.
39035 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39036 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39037 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39038 when compiling str{,n}casecmp and when AVX is available. Hook up
39039 new optimized code in initializers.
39041 2011-10-19 Andreas Schwab <schwab@redhat.com>
39043 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39044 __feraiseexcept instead of feraiseexcept.
39046 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39048 * math/math_private.h: Define defaults for libc_fetestexcept and
39050 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39051 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39052 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39053 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39054 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39055 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39056 libc_fetestexcept and libc_feupdateenv.
39058 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39059 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39060 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39061 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39062 libc_feholdexcept_setround.
39064 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39065 Add s_nearbyint-c and s_nearbyintf-c.
39066 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39067 nearbyintf inlines.
39068 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39069 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39070 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39071 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39073 * math/math_private.h: Define defaults for libc_fegetround,
39074 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39075 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39076 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39077 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39078 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39079 standard functions.
39080 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39081 Remove comments and hacks for old compiler versions.
39082 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39083 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39084 libc_feholdexceptl.
39086 2011-10-18 Andreas Schwab <schwab@redhat.com>
39088 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39089 (__feraiseexcept_renamed): Add __NTH.
39090 (feraiseexcept): Add __NTH. Rename local variables to fix
39091 namespace violations.
39093 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39095 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39097 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39099 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39100 recently added interfaces.
39101 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39103 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39104 about macro parameter expansion.
39106 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39107 __NO_MATH_INLINES is defined. Cleanups.
39109 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39110 and __floorf is target has SSE4.1.
39111 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39112 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39113 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39114 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39116 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39118 (floorf): Likewise.
39120 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39122 2011-10-17 Andreas Schwab <schwab@redhat.com>
39124 * misc/sys/cdefs.h: Fix last change.
39126 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39129 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39131 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39133 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39134 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39135 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39136 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39137 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39138 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39139 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39140 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39141 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39142 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39143 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39144 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39145 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39146 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39147 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39148 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39149 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39150 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39151 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39152 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39153 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39154 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39156 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39157 ceil, ceilf, floor, floorf.
39159 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39160 Perform IRELATIVE relocations last.
39162 * elf/do-rel.h: Add another parameter nrelative, replacing the
39163 local variable with the same name. Change name of the function
39164 to end in Rel or Rela (uppercase).
39165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39166 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39167 elf_dynamic_do_##reloc function.
39169 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39171 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39172 is sufficient, at least on modern CPUs.
39174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39176 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39177 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39179 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39181 * math/bits/math-finite.h: Add entries for exp.
39182 * math/e_expl.c: Add __*_finite alias.
39183 * sysdeps/i386/fpu/e_exp.S: Likewise.
39184 * sysdeps/i386/fpu/e_expf.S: Likewise.
39185 * sysdeps/i386/fpu/e_expl.c: Likewise.
39186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39187 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39188 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39189 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39190 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39191 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39192 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39194 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39195 is sufficient, at least on modern CPUs.
39197 * ctype/ctype-info.c (__ctype_init): Define.
39198 * include/ctype.h (__ctype_init): Declare.
39199 (__ctype_b_loc): The variable is always initialized.
39200 (__ctype_toupper_loc): Likewise.
39201 (__ctype_tolower_loc): Likewise.
39202 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39203 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39205 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39207 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39209 * configure.in: Also look in $cxxmachine/include for C++ system
39212 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39214 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39215 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39216 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39217 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39218 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39219 (USE_AS_WMEMCMP): New macro.
39221 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39222 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39223 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39224 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39226 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39227 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39228 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39229 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39230 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39231 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39232 (USE_AS_WMEMCMP): New macro.
39233 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39234 * sysdeps/string/test-memcmp.c: Update.
39235 Fix simple_wmemcmp.
39237 * wcsmbs/wmemcmp.c: Update.
39238 (WMEMCMP): New macro.
39241 2011-10-12 Andreas Jaeger <aj@suse.de>
39244 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39246 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39248 * libio/iofwide.c (do_length): Avoid warning.
39250 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39252 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39254 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39256 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39257 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39258 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39259 * sysdeps/i386/i686/fpu/e_log.S: New file.
39260 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39261 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39263 * ctype/ctype.h: Add support for inlined isXXX functions when
39264 compiling C++ code.
39266 2011-10-14 Andreas Schwab <schwab@redhat.com>
39268 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39270 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39272 2011-10-13 Roland McGrath <roland@hack.frob.com>
39275 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39277 2011-10-13 Andreas Schwab <schwab@redhat.com>
39279 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39280 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39283 * sysdeps/x86_64/memrchr.S: Check for zero size.
39285 * string/stratcliff.c: Add memrchr tests.
39287 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39290 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39291 rawmemchr-sse2 rawmemchr-sse2-bsf.
39292 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39293 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39294 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39295 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39296 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39297 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39298 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39299 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39300 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39301 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39302 * string/memrchr.c (MEMRCHR): New macro.
39304 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39306 Add integration with gcc's -ffinite-math-only and optimize wrapper
39308 * Versions.def: Define GLIBC_2.15 version for libm.
39309 * math/Makefile (headers): Add bits/math-finite.h.
39310 * math/bits/math-finite.h: New file.
39311 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39312 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39313 * math/e_acoshl.c: Add __*_finite alias.
39314 * math/e_acosl.c: Likewise.
39315 * math/e_asinl.c: Likewise.
39316 * math/e_atan2l.c: Likewise.
39317 * math/e_atanhl.c: Likewise.
39318 * math/e_coshl.c: Likewise.
39319 * math/e_exp10.c: Likewise.
39320 * math/e_exp10f.c: Likewise.
39321 * math/e_exp10l.c: Likewise.
39322 * math/e_exp2l.c: Likewise.
39323 * math/e_fmodl.c: Likewise.
39324 * math/e_gammal_r.c: Likewise.
39325 * math/e_hypotl.c: Likewise.
39326 * math/e_j0l.c: Likewise.
39327 * math/e_j1l.c: Likewise.
39328 * math/e_jnl.c: Likewise.
39329 * math/e_lgammal_r.c: Likewise.
39330 * math/e_log10l.c: Likewise.
39331 * math/e_log2l.c: Likewise.
39332 * math/e_logl.c: Likewise.
39333 * math/e_powl.c: Likewise.
39334 * math/e_sinhl.c: Likewise.
39335 * math/e_sqrtl.c: Likewise.
39336 * math/e_scalb.c: Completely rewritten and optimized.
39337 * math/e_scalbf.c: Likewise.
39338 * math/e_scalbl.c: Likewise.
39339 * math/w_acos.c: Likewise.
39340 * math/w_acosf.c: Likewise.
39341 * math/w_acosl.c: Likewise.
39342 * math/w_acosh.c: Likewise.
39343 * math/w_acoshf.c: Likewise.
39344 * math/w_acoshl.c: Likewise.
39345 * math/w_asin.c: Likewise.
39346 * math/w_asinf.c: Likewise.
39347 * math/w_asinl.c: Likewise.
39348 * math/w_atan2.c: Likewise.
39349 * math/w_atan2f.c: Likewise.
39350 * math/w_atan2l.c: Likewise.
39351 * math/w_atanh.c: Likewise.
39352 * math/w_atanhf.c: Likewise.
39353 * math/w_atanhl.c: Likewise.
39354 * math/w_exp10.c: Likewise.
39355 * math/w_exp10f.c: Likewise.
39356 * math/w_exp10l.c: Likewise.
39357 * math/w_fmod.c: Likewise.
39358 * math/w_fmodf.c: Likewise.
39359 * math/w_fmodl.c: Likewise.
39360 * math/w_j0.c: Likewise.
39361 * math/w_j0f.c: Likewise.
39362 * math/w_j0l.c: Likewise.
39363 * math/w_j1.c: Likewise.
39364 * math/w_j1f.c: Likewise.
39365 * math/w_j1l.c: Likewise.
39366 * math/w_jn.c: Likewise.
39367 * math/w_jnf.c: Likewise.
39368 * math/w_log.c: Likewise.
39369 * math/w_logf.c: Likewise.
39370 * math/w_logl.c: Likewise.
39371 * math/w_log10.c: Likewise.
39372 * math/w_log10f.c: Likewise.
39373 * math/w_log10l.c: Likewise.
39374 * math/w_log2.c: Likewise.
39375 * math/w_log2f.c: Likewise.
39376 * math/w_log2l.c: Likewise.
39377 * math/w_pow.c: Likewise.
39378 * math/w_powf.c: Likewise.
39379 * math/w_powl.c: Likewise.
39380 * math/w_remainder.c: Likewise.
39381 * math/w_remainderf.c: Likewise.
39382 * math/w_remainderl.c: Likewise.
39383 * math/w_scalb.c: Likewise.
39384 * math/w_scalbf.c: Likewise.
39385 * math/w_scalbl.c: Likewise.
39386 * math/w_sqrt.c: Likewise.
39387 * math/w_sqrtf.c: Likewise.
39388 * math/w_sqrtl.c: Likewise.
39389 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39390 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39392 * math/math_private.h: Declare __kernel_standard_f.
39393 * math/w_cosh.c: Remove cruft and optimize a bit.
39394 * math/w_coshf.c: Likewise.
39395 * math/w_coshl.c: Likewise.
39396 * math/w_exp2.c: Likewise.
39397 * math/w_exp2f.c: Likewise.
39398 * math/w_exp2l.c: Likewise.
39399 * math/w_hypot.c: Likewise.
39400 * math/w_hypotf.c: Likewise.
39401 * math/w_hypotl.c: Likewise.
39402 * math/w_lgamma.c: Likewise.
39403 * math/w_lgamma_r.c: Likewise.
39404 * math/w_lgammaf.c: Likewise.
39405 * math/w_lgammaf_r.c: Likewise.
39406 * math/w_lgammal.c: Likewise.
39407 * math/w_lgammal_r.c: Likewise.
39408 * math/w_sinh.c: Likewise.
39409 * math/w_sinhf.c: Likewise.
39410 * math/w_sinhl.c: Likewise.
39411 * math/w_tgamma.c: Likewise.
39412 * math/w_tgammaf.c: Likewise.
39413 * math/w_tgammal.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39416 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39417 Minor optimizations. Pretty printing. Remove cruft.
39418 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39419 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39421 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39422 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39423 * sysdeps/i386/fpu/e_asin.S: Likewise.
39424 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39425 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39426 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39427 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39428 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39429 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39430 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39431 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39432 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39433 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39434 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39435 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39436 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39437 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39438 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39439 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39440 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39441 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39442 * sysdeps/i386/fpu/e_log.S: Likewise.
39443 * sysdeps/i386/fpu/e_log10.S: Likewise.
39444 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39445 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39446 * sysdeps/i386/fpu/e_log2.S: Likewise.
39447 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39448 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39449 * sysdeps/i386/fpu/e_logf.S: Likewise.
39450 * sysdeps/i386/fpu/e_logl.S: Likewise.
39451 * sysdeps/i386/fpu/e_pow.S: Likewise.
39452 * sysdeps/i386/fpu/e_powf.S: Likewise.
39453 * sysdeps/i386/fpu/e_powl.S: Likewise.
39454 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39455 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39456 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39457 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39458 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39459 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39460 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39461 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39462 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39474 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39476 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39477 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39479 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39484 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39485 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39486 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39487 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39488 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39489 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39490 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39491 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39492 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39493 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39494 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39495 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39496 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39497 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39498 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39499 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39500 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39501 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39502 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39503 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39504 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39505 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39508 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39509 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39510 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39511 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39512 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39513 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39514 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39515 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39516 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39518 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39519 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39520 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39521 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39522 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39523 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39527 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39528 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39531 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39532 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39533 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39534 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39546 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39548 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39549 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39551 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39552 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39554 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39555 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39556 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39557 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39558 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39559 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39560 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39561 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39562 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39563 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39564 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39565 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39566 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39567 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39568 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39569 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39570 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39571 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39572 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39573 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39574 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39575 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39576 (__isnanf): Likewise.
39577 (__isinf_ns): Likewise.
39578 (__isinf_nsf): Likewise.
39579 (__finite): Likewise.
39580 (__finitef): Likewise.
39581 (__ieee754_sqrt): Define as macro.
39582 (__ieee754_sqrtf): Define as macro.
39583 (__ieee754_sqrtl): Define as macro.
39584 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39586 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39587 __FINITE_MATH_ONLY__ consistent.
39588 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39590 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39592 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39595 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39597 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39599 * po/ja.po: Update from translation team.
39601 2011-10-08 Roland McGrath <roland@hack.frob.com>
39603 * locale/programs/locarchive.c (prepare_address_space): New function.
39604 (create_archive, enlarge_archive, open_archive): Use it.
39606 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39607 inside [SHARED], where it is used.
39609 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39611 * nss/getent.c (netgroup_keys): Remove unused variable.
39612 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39614 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39616 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39617 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39619 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39620 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39621 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39622 * math/Makefile (libm-calls): Add s_isinf_ns.
39623 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39624 * math/multc3.c: Likewise.
39625 * math/s_casin.c: Likewise.
39626 * math/s_casinf.c: Likewise.
39627 * math/s_casinl.c: Likewise.
39628 * math/s_ccos.c: Likewise.
39629 * math/s_ccosf.c: Likewise.
39630 * math/s_ccosl.c: Likewise.
39631 * math/s_ctan.c: Likewise.
39632 * math/s_ctanf.c: Likewise.
39633 * math/s_ctanh.c: Likewise.
39634 * math/s_ctanhf.c: Likewise.
39635 * math/s_ctanhl.c: Likewise.
39636 * math/s_ctanl.c: Likewise.
39637 * math/w_fmod.c: Likewise.
39638 * math/w_fmodf.c: Likewise.
39639 * math/w_fmodl.c: Likewise.
39640 * math/w_remainder.c: Likewise.
39641 * math/w_remainderf.c: Likewise.
39642 * math/w_remainderl.c: Likewise.
39643 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39644 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39645 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39647 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39648 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39649 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39650 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39652 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39654 * stdio-common/printf_fphex.c: Likewise.
39655 * stdio-common/printf_size.c: Likewise.
39657 * math/e_exp10.c: Include math_private.h using <...> not "...".
39658 * math/e_exp10f.c: Likewise.
39659 * math/e_exp10l.c: Likewise.
39660 * math/e_exp2l.c: Likewise.
39661 * math/e_j0l.c: Likewise.
39662 * math/e_j1l.c: Likewise.
39663 * math/e_jnl.c: Likewise.
39664 * math/e_lgammal_r.c: Likewise.
39665 * math/e_rem_pio2l.c: Likewise.
39666 * math/e_scalb.c: Likewise.
39667 * math/e_scalbf.c: Likewise.
39668 * math/e_scalbl.c: Likewise.
39669 * math/k_cosl.c: Likewise.
39670 * math/k_sinl.c: Likewise.
39671 * math/k_tanl.c: Likewise.
39672 * math/s_cacoshf.c: Likewise.
39673 * math/s_catan.c: Likewise.
39674 * math/s_catanf.c: Likewise.
39675 * math/s_catanh.c: Likewise.
39676 * math/s_catanhf.c: Likewise.
39677 * math/s_catanhl.c: Likewise.
39678 * math/s_catanl.c: Likewise.
39679 * math/s_ccosh.c: Likewise.
39680 * math/s_ccoshf.c: Likewise.
39681 * math/s_ccoshl.c: Likewise.
39682 * math/s_cexp.c: Likewise.
39683 * math/s_cexpf.c: Likewise.
39684 * math/s_cexpl.c: Likewise.
39685 * math/s_clog.c: Likewise.
39686 * math/s_clog10.c: Likewise.
39687 * math/s_clog10f.c: Likewise.
39688 * math/s_clog10l.c: Likewise.
39689 * math/s_clogf.c: Likewise.
39690 * math/s_clogl.c: Likewise.
39691 * math/s_csin.c: Likewise.
39692 * math/s_csinf.c: Likewise.
39693 * math/s_csinh.c: Likewise.
39694 * math/s_csinhf.c: Likewise.
39695 * math/s_csinhl.c: Likewise.
39696 * math/s_csinl.c: Likewise.
39697 * math/s_csqrt.c: Likewise.
39698 * math/s_csqrtf.c: Likewise.
39699 * math/s_csqrtl.c: Likewise.
39700 * math/s_ctan.c: Likewise.
39701 * math/s_ctanf.c: Likewise.
39702 * math/s_ctanh.c: Likewise.
39703 * math/s_ctanhf.c: Likewise.
39704 * math/s_ctanhl.c: Likewise.
39705 * math/s_ctanl.c: Likewise.
39706 * math/s_ldexp.c: Likewise.
39707 * math/s_ldexpf.c: Likewise.
39708 * math/s_ldexpl.c: Likewise.
39709 * math/s_significand.c: Likewise.
39710 * math/s_significandf.c: Likewise.
39711 * math/s_significandl.c: Likewise.
39712 * math/w_acos.c: Likewise.
39713 * math/w_acosf.c: Likewise.
39714 * math/w_acosh.c: Likewise.
39715 * math/w_acoshf.c: Likewise.
39716 * math/w_acoshl.c: Likewise.
39717 * math/w_acosl.c: Likewise.
39718 * math/w_asin.c: Likewise.
39719 * math/w_asinf.c: Likewise.
39720 * math/w_asinl.c: Likewise.
39721 * math/w_atan2.c: Likewise.
39722 * math/w_atan2f.c: Likewise.
39723 * math/w_atan2l.c: Likewise.
39724 * math/w_atanh.c: Likewise.
39725 * math/w_atanhf.c: Likewise.
39726 * math/w_atanhl.c: Likewise.
39727 * math/w_cosh.c: Likewise.
39728 * math/w_coshf.c: Likewise.
39729 * math/w_coshl.c: Likewise.
39730 * math/w_dremf.c: Likewise.
39731 * math/w_exp10.c: Likewise.
39732 * math/w_exp10f.c: Likewise.
39733 * math/w_exp10l.c: Likewise.
39734 * math/w_exp2.c: Likewise.
39735 * math/w_exp2f.c: Likewise.
39736 * math/w_fmod.c: Likewise.
39737 * math/w_fmodf.c: Likewise.
39738 * math/w_fmodl.c: Likewise.
39739 * math/w_hypot.c: Likewise.
39740 * math/w_hypotf.c: Likewise.
39741 * math/w_hypotl.c: Likewise.
39742 * math/w_j0.c: Likewise.
39743 * math/w_j0f.c: Likewise.
39744 * math/w_j0l.c: Likewise.
39745 * math/w_j1.c: Likewise.
39746 * math/w_j1f.c: Likewise.
39747 * math/w_j1l.c: Likewise.
39748 * math/w_jn.c: Likewise.
39749 * math/w_jnf.c: Likewise.
39750 * math/w_jnl.c: Likewise.
39751 * math/w_lgamma.c: Likewise.
39752 * math/w_lgamma_r.c: Likewise.
39753 * math/w_lgammaf.c: Likewise.
39754 * math/w_lgammaf_r.c: Likewise.
39755 * math/w_lgammal.c: Likewise.
39756 * math/w_lgammal_r.c: Likewise.
39757 * math/w_log.c: Likewise.
39758 * math/w_log10.c: Likewise.
39759 * math/w_log10f.c: Likewise.
39760 * math/w_log10l.c: Likewise.
39761 * math/w_log2.c: Likewise.
39762 * math/w_log2f.c: Likewise.
39763 * math/w_log2l.c: Likewise.
39764 * math/w_logf.c: Likewise.
39765 * math/w_logl.c: Likewise.
39766 * math/w_pow.c: Likewise.
39767 * math/w_powf.c: Likewise.
39768 * math/w_powl.c: Likewise.
39769 * math/w_remainder.c: Likewise.
39770 * math/w_remainderf.c: Likewise.
39771 * math/w_remainderl.c: Likewise.
39772 * math/w_scalb.c: Likewise.
39773 * math/w_scalbf.c: Likewise.
39774 * math/w_scalbl.c: Likewise.
39775 * math/w_sinh.c: Likewise.
39776 * math/w_sinhf.c: Likewise.
39777 * math/w_sinhl.c: Likewise.
39778 * math/w_sqrt.c: Likewise.
39779 * math/w_sqrtf.c: Likewise.
39780 * math/w_sqrtl.c: Likewise.
39781 * math/w_tgamma.c: Likewise.
39782 * math/w_tgammaf.c: Likewise.
39783 * math/w_tgammal.c: Likewise.
39785 * po/ja.po: Update from translation team.
39787 2011-09-29 Andreas Jaeger <aj@suse.de>
39790 * sunrpc/netname.c (netname2host): Fix logic.
39794 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39796 * math/w_remainder.c (__remainder): Likewise.
39797 * math/w_remainderf.c (__remainderf): Likewise.
39798 * math/libm-test.inc (remainder_test): Add test cases.
39800 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39802 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39805 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39807 * string/test-memcmp.c: Avoid unncessary #defines.
39808 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39810 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39812 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39813 Use new sse2 version for core i3 - i7 as it's faster
39814 than sse42 version.
39815 (bit_Prefer_PMINUB_for_stringop): New.
39816 * sysdeps/x86_64/rawmemchr.S: Update.
39817 Replace with faster SSE2 version.
39818 * sysdeps/x86_64/memrchr.S: New file.
39819 * sysdeps/x86_64/memchr.S: Update.
39820 Replace with faster SSE2 version.
39822 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39824 * elf/dl-load.c (lose): Add cast to avoid warning.
39826 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39828 * po/ca.po: Update from translation team.
39830 * inet/getnetgrent_r.c: Hook up nscd.
39831 * nscd/Makefile (routines): Add nscd_netgroup.
39832 (nscd-modules): Add netgroupcache.
39833 (CFLAGS-netgroupcache.c): Define.
39834 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39835 (cache_search): Add const to second parameter.
39836 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39838 (dbs): Add netgrdb entry.
39839 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39840 (verify_persistent_db): Handle netgrdb.
39841 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39842 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39844 (netgroup_response_header): Define.
39845 (innetgroup_response_header): Define.
39846 (datahead): Add netgroup_response_header and innetgroup_response_header
39848 * nscd/nscd.conf: Add entries for netgroup cache.
39849 * nscd/nscd.h (dbtype): Add netgrdb.
39850 (_PATH_NSCD_NETGROUP_DB): Define.
39851 (netgroup_iov_disabled): Declare.
39852 (xmalloc, xcalloc, xrealloc): Move declarations here.
39853 (cache_search): Adjust prototype.
39854 Add netgroup-related prototypes.
39855 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39856 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39857 (__nscd_innetgr): Declare.
39858 * nscd/selinux.c (perms): Use access_vector_t as element type and
39859 add netgroup-related initializers.
39860 * nscd/netgroupcache.c: New file.
39861 * nscd/nscd_netgroup.c: New file.
39862 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39863 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39864 For four parameters use innetgr.
39865 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39866 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39867 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39868 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39870 * nscd/connections.c (register_traced_file): Don't register file
39871 for disabled databases.
39873 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39875 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39877 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39878 from tree and freeing node.
39880 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39882 * nss/nsswitch.c (__nss_database_lookup): Handle
39883 nss_parse_service_list out of memory case.
39885 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39887 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39888 out of memory case.
39890 2011-10-04 Andreas Schwab <schwab@redhat.com>
39892 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39893 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39895 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39896 elf_machine_rela, elf_machine_lazy_rel.
39897 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39898 (ELF_DYNAMIC_DO_REL): Likewise.
39899 (ELF_DYNAMIC_DO_RELA): Likewise.
39900 (ELF_DYNAMIC_RELOCATE): Likewise.
39901 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39902 to ELF_DYNAMIC_DO_REL.
39903 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39904 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39905 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39907 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39908 skip_ifunc, don't call ifunc function if non-zero.
39909 (elf_machine_rela): Likewise.
39910 (elf_machine_lazy_rel): Likewise.
39911 (elf_machine_lazy_rela): Likewise.
39912 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39913 (elf_machine_lazy_rel): Likewise.
39914 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39916 (elf_machine_lazy_rel): Likewise.
39917 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39919 (elf_machine_lazy_rel): Likewise.
39920 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39921 (elf_machine_lazy_rel): Likewise.
39922 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39923 (elf_machine_lazy_rel): Likewise.
39924 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39925 (elf_machine_lazy_rel): Likewise.
39926 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39927 (elf_machine_lazy_rel): Likewise.
39928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39929 (elf_machine_lazy_rel): Likewise.
39930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39931 (elf_machine_lazy_rel): Likewise.
39933 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39935 * nss/nss_files/files-init.c (_nss_files_init): Use static
39936 initialization for all the *_traced_file variables.
39938 2011-09-28 Andreas Schwab <schwab@redhat.com>
39940 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39942 2011-09-27 Roland McGrath <roland@hack.frob.com>
39945 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39947 2011-09-27 Andreas Schwab <schwab@redhat.com>
39949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39950 Reread the line before reparsing it.
39952 2011-09-26 Andreas Schwab <schwab@redhat.com>
39954 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39956 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39957 Maxim Kuvyrkov <maxim@codesourcery.com>
39958 Joseph Myers <joseph@codesourcery.com>
39960 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39961 if needed for __stack_chk_guard.
39963 2011-09-19 Roland McGrath <roland@hack.frob.com>
39965 * sysdeps/posix/spawni.c (script_execute): Always define it.
39966 It will be optimized away if unused.
39967 (maybe_script_execute): New function.
39968 (__spawni): Call it.
39970 * Makerules: Don't include tls.make.
39971 (config-tls): Always set to thread.
39972 * tls.make.c: File removed.
39974 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39976 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39977 * config.make.in (CPPFLAGS-config): New substituted variable.
39979 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39981 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39984 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39985 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39987 2011-09-15 Roland McGrath <roland@hack.frob.com>
39989 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39990 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39992 (CALL_FAIL): Likewise.
39993 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39994 (CALL_FAIL): Macro removed.
39995 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39997 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39999 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40000 for __FINITE_MATH_ONLY__ == 1.
40002 2011-09-15 Andreas Schwab <schwab@redhat.com>
40004 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40005 __ieee754_sqrt instead of sqrt.
40006 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40007 __ieee754_sqrtf instead of sqrtf.
40008 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40009 __floorf instead of floorf.
40010 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40011 __floorf, __truncf instead of floorf, truncf.
40013 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40015 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40017 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40018 __extern_always_inline.
40019 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40022 2011-09-14 Andreas Schwab <schwab@redhat.com>
40024 * elf/rtld.c (dl_main): Also relocate in dependency order when
40025 doing symbol dependency testing.
40027 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40030 Always define `refsym'.
40032 2011-09-13 Andreas Schwab <schwab@redhat.com>
40034 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40035 (__FD_ELT): Renamed from __FDELT.
40036 * misc/bits/select2.h (__FD_ELT): Likewise.
40037 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40038 __FD_MASK instead of __FDELT, __FDMASK.
40039 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40041 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40044 * elf/Makefile (gen-ldd): Fix pattern.
40046 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40047 (init_tls): Likewise.
40049 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40051 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40053 2011-09-12 Andreas Schwab <schwab@redhat.com>
40055 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40056 `struct cmsghdr *' instead of `void *'.
40057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40060 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40062 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40064 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40065 ldd_rewrite_script.
40067 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40069 * configure.in: Remove --with-tls option.
40070 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40071 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40072 out in case it is missing.
40073 * sysdeps/ia64/elf/configure.in: Likewise.
40074 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40075 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40076 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40077 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40078 * sysdeps/sh/elf/configure.in: Likewise.
40079 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40080 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40081 * sysdeps/x86_64/elf/configure.in: Likewise.
40082 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40083 * sysdeps/mach/hurd/tls.h: Likewise.
40086 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40089 * configure.in: Fix use of AC_INIT.
40091 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40093 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40095 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40097 * malloc/hooks.c: Likewise.
40100 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40101 variables statically.
40102 (narenas): Initialize.
40103 (list_lock): Initialize.
40104 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40105 initializtion of main_arena and list_lock. Small cleanups.
40106 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40107 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40108 Add initializers to main_arena and mp_.
40109 (malloc_state): Remove pagesize member. Change all users to use
40112 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40113 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40114 is always initialized.
40116 * malloc/malloc.c: Removed unused configurations and dead code.
40117 * malloc/arena.c: Likewise.
40118 * malloc/hooks.c: Likewise.
40119 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40121 * include/tls.h: Removed. USE___THREAD must always be defined.
40122 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40123 * elf/dl-libc.c: Likewise.
40124 * elf/dl-tsd.c: Likewise.
40125 * include/errno.h: Likewise.
40126 * include/netdb.h: Likewise.
40127 * include/resolv.h: Likewise.
40128 * inet/herrno-loc.c: Likewise.
40129 * inet/herrno.c: Likewise.
40130 * malloc/arena.c: Likewise.
40131 * malloc/hooks.c: Likewise.
40132 * malloc/malloc.c: Likewise.
40133 * resolv/res-state.c: Likewise.
40134 * resolv/res_libc.c: Likewise.
40135 * sysdeps/i386/dl-machine.h: Likewise.
40136 * sysdeps/ia64/dl-machine.h: Likewise.
40137 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40138 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40139 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40140 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40141 * sysdeps/sh/dl-machine.h: Likewise.
40142 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40143 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40144 * sysdeps/unix/i386/sysdep.S: Likewise.
40145 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40146 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40149 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40151 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40155 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40156 * sysdeps/x86_64/dl-machine.h: Likewise.
40157 * tls.make.c: Likewise.
40159 * configure.in: Remove --with-__thread option. Make tests for
40160 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40161 tls_model attribute fail if no support is available. Remove
40163 * Makeconfig: Adjust for dropped configure option. All features are
40165 * Makerules: Likewise.
40166 * Versions.def: Likewise.
40167 * argp/argp-fmtstream.c: Likewise.
40168 * argp/argp-fmtstream.h: Likewise.
40169 * argp/argp-help.c: Likewise.
40170 * assert/assert.c: Likewise.
40171 * config.h.in: Likewise.
40172 * config.make.in: Likewise.
40173 * configure: Likewise.
40174 * configure.in: Likewise.
40175 * csu/Versions: Likewise.
40176 * csu/init.c: Likewise.
40177 * elf/tst-audit2.c: Likewise.
40178 * elf/tst-tls10.c: Likewise.
40179 * elf/tst-tls10.h: Likewise.
40180 * elf/tst-tls11.c: Likewise.
40181 * elf/tst-tls12.c: Likewise.
40182 * elf/tst-tls14.c: Likewise.
40183 * elf/tst-tlsmod11.c: Likewise.
40184 * elf/tst-tlsmod12.c: Likewise.
40185 * elf/tst-tlsmod13.c: Likewise.
40186 * elf/tst-tlsmod13a.c: Likewise.
40187 * elf/tst-tlsmod14a.c: Likewise.
40188 * elf/tst-tlsmod15b.c: Likewise.
40189 * elf/tst-tlsmod16a.c: Likewise.
40190 * elf/tst-tlsmod16b.c: Likewise.
40191 * elf/tst-tlsmod7.c: Likewise.
40192 * elf/tst-tlsmod8.c: Likewise.
40193 * elf/tst-tlsmod9.c: Likewise.
40194 * gmon/gmon.c: Likewise.
40195 * grp/fgetgrent_r.c: Likewise.
40196 * grp/putgrent.c: Likewise.
40197 * hurd/fopenport.c: Likewise.
40198 * include/libc-symbols.h: Likewise.
40199 * include/tls.h: Likewise.
40200 * intl/gettextP.h: Likewise.
40201 * intl/loadinfo.h: Likewise.
40202 * locale/global-locale.c: Likewise.
40203 * locale/localeinfo.h: Likewise.
40204 * mach/devstream.c: Likewise.
40205 * malloc/arena.c: Likewise.
40206 * malloc/set-freeres.c: Likewise.
40207 * misc/err.c: Likewise.
40208 * misc/getttyent.c: Likewise.
40209 * misc/mntent_r.c: Likewise.
40210 * posix/getopt.c: Likewise.
40211 * posix/wordexp.c: Likewise.
40212 * pwd/fgetpwent_r.c: Likewise.
40213 * resolv/Versions: Likewise.
40214 * resolv/res_hconf.c: Likewise.
40215 * shadow/fgetspent_r.c: Likewise.
40216 * shadow/putspent.c: Likewise.
40217 * stdio-common/printf_fphex.c: Likewise.
40218 * stdio-common/tmpfile.c: Likewise.
40219 * stdlib/abort.c: Likewise.
40220 * stdlib/fmtmsg.c: Likewise.
40221 * sunrpc/auth_unix.c: Likewise.
40222 * sunrpc/clnt_perr.c: Likewise.
40223 * sunrpc/clnt_tcp.c: Likewise.
40224 * sunrpc/clnt_udp.c: Likewise.
40225 * sunrpc/clnt_unix.c: Likewise.
40226 * sunrpc/openchild.c: Likewise.
40227 * sunrpc/svc_simple.c: Likewise.
40228 * sunrpc/svc_tcp.c: Likewise.
40229 * sunrpc/svc_udp.c: Likewise.
40230 * sunrpc/svc_unix.c: Likewise.
40231 * sunrpc/xdr.c: Likewise.
40232 * sunrpc/xdr_array.c: Likewise.
40233 * sunrpc/xdr_rec.c: Likewise.
40234 * sunrpc/xdr_ref.c: Likewise.
40235 * sunrpc/xdr_stdio.c: Likewise.
40237 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40239 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40241 2011-07-03 Andreas Jaeger <aj@suse.de>
40243 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40244 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40245 regenerate with gen-libm-tests.pl.
40247 2010-05-12 Petr Baudis <pasky@suse.cz>
40250 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40251 around j0() zero points by switching to j1().
40252 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40253 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40257 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40259 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40261 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40264 Patch in part by Pavel Roskin <proski@gnu.org>.
40267 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40269 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40270 Free memory block if necessary.
40273 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40274 be NULL. Don't lock in this case.
40276 2011-09-09 Roland McGrath <roland@hack.frob.com>
40278 * elf/elf.h (ELFOSABI_GNU): New macro.
40279 (ELFOSABI_LINUX): Define to that.
40281 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40283 * string/strncat.c (strncat): Undef the symbol in case it has been
40284 defined in bits/string.h.
40286 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40288 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40290 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40293 2011-08-17 Andreas Jaeger <aj@suse.de>
40295 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40297 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40298 Ian Lance Taylor <iant@google.com>
40300 * math/libm-test.inc (lround_test): New testcase.
40301 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40303 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40305 * Makefile: Remove support for automatic cvs check-ins.
40306 * Makerules: Likewise.
40307 * config.make.in: Likewise.
40308 * configure.in: Likewise.
40309 * intl/Makefile: Likewise.
40310 * locale/Makefile: Likewise.
40311 * po/Makefile: Likewise.
40312 * posix/Makefile: Likewise.
40313 * sysdeps/gnu/Makefile: Likewise.
40314 * sysdeps/mach/hurd/Makefile: Likewise.
40315 * sysdeps/sparc/sparc32/Makefile: Likewise.
40318 * posix/Makefile (bug-regex32-ENV): Define.
40319 Patch by John Stanley <jpsinthemix@verizon.net>.
40321 * misc/Makefile (headers): Add bits/select2.h.
40322 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40323 * misc/bits/select2.h: New file.
40324 * include/bits/select2.h: New file.
40325 * debug/Makefile (routines): Add fdelt_chk.
40326 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40327 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40329 * debug/fdelt_chk.c: New file.
40331 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40332 * wcsmbs/test-wmemcmp.c: Likewise.
40333 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40334 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40336 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40338 * string/Makefile (strop-tests): Add memcmp.
40339 * string/test-wmemcmp.c: New file.
40340 * string/test-memcmp.c: Add wmemcmp support.
40342 2011-09-08 Roland McGrath <roland@hack.frob.com>
40345 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40348 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40349 garbage value in a __mach_port_mod_refs call in the cases of the
40350 task-self and thread-self ports.
40352 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40354 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40356 2011-09-08 Andreas Schwab <schwab@redhat.com>
40358 * elf/dl-load.c (lose): Check for non-null L.
40360 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40362 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40364 * elf/dl-libc.c (dlerror_run): Pass back error code from
40368 * elf/dl-load.c (lose): Free l_origin if it is valid.
40370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40372 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40373 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40374 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40375 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40376 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40377 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40379 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40381 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40382 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40383 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40384 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40385 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40386 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40387 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40388 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40389 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40390 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40392 2011-08-15 Alan Modra <amodra@gmail.com>
40395 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40396 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40397 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40398 ppc_mcount to static-only-routines.
40399 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40401 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40402 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40404 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40406 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40407 for finite and infinity parameters.
40409 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40411 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40412 and add nop instructions for throughput optimization.
40413 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40415 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40417 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40418 aligned copy for power7 with vector-scalar instructions.
40419 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40421 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40426 2011-09-07 Andreas Schwab <schwab@redhat.com>
40429 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40432 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40434 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40435 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40436 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40437 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40440 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40442 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40443 Forgot to demangle the pointer.
40445 * sysdeps/i386/sysdep.h: Define atom_text_section.
40446 * sysdeps/x86_64/sysdep.h: Likewise.
40447 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40448 section with atom_text_section.
40449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40450 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40451 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40453 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40455 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40456 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40457 already be defined. Change to take two parameters and don't assign
40458 result to variable. Adjust all users.
40459 Define INTERNAL_GETTIME if not already defined.
40460 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40463 HAVE_CLOCK_GETTIME_VSYSCALL.
40464 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40466 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40467 gettimeofday vsyscall, just use time.
40469 2011-09-06 Andreas Schwab <schwab@redhat.com>
40471 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40474 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40476 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40478 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40480 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40481 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40482 syscall if possible.
40484 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40486 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40487 e_ident. Don't pass to find_mapsXX.
40488 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40490 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40493 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40494 * sysdeps/x86_64/multiarch/strchr.S: Update.
40495 Check bit_slow_BSF bit.
40496 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40497 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40498 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40500 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40503 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40505 (tryshell): Define.
40506 (__spawni): Change last parameter to be flag. Test
40507 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40508 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40509 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40510 * posix/spawni.c: Likewise.
40511 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40512 * posix/spawnp.c: Likewise. Change normal version to use
40513 SPAWN_XFLAGS_USE_PATH.
40514 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40515 SPAWN_XFLAGS_TRY_SHELL.
40518 * posix/glob.h: Remove gcc 1.x support.
40521 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40523 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40526 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40528 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40529 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40530 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40531 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40532 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40533 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40535 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40537 * sysdeps/x86_64/wcscmp.S: New file.
40539 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40540 wcscmp-c wcscmp-sse2
40541 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40542 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40543 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40544 * wcsmbs/wcscmp.c: Allow renaming.
40546 2011-09-05 David S. Miller <davem@davemloft.net>
40548 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40549 stack slot, rather than the struct return pointer slot.
40550 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40551 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40553 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40555 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40557 * po/ja.po: Update from translation team.
40560 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40561 kernel in 64-bit binaries.
40563 2011-09-01 David S. Miller <davem@davemloft.net>
40565 * elf/elf.h (HWCAP_SPARC_*): Move to..
40566 * sysdeps/sparc/sysdep.h: this new file and add new values.
40567 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40568 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40569 _DL_HWCAP_COUNT to 24.
40570 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40572 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40573 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40574 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40575 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40576 instead of magic constants.
40577 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40579 2011-08-31 David S. Miller <davem@davemloft.net>
40581 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40583 Reimplement to do errno handling inline.
40584 (SYSCALL_ERROR_HANDLER): New macro.
40585 (__SYSCALL_STRING): Do not do errno handling in asm.
40586 (__CLONE_SYSCALL_STRING): Delete.
40587 (__INTERNAL_SYSCALL_STRING): Delete.
40588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40589 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40590 (PSEUDO): Reimplement to do errno handling inline.
40591 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40592 (SYSCALL_ERROR_HANDLER): New macro.
40593 (__SYSCALL_STRING): Do not do errno handling in asm.
40594 (__CLONE_SYSCALL_STRING): Delete.
40595 (__INTERNAL_SYSCALL_STRING): Delete.
40596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40597 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40599 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40600 (inline_syscall*): Add 'err' argument.
40601 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40602 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40603 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40604 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40606 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40607 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40609 2011-08-30 Andreas Schwab <schwab@redhat.com>
40611 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40613 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40615 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40618 2011-08-24 David S. Miller <davem@davemloft.net>
40620 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40622 2011-08-24 Andreas Schwab <schwab@redhat.com>
40624 * elf/Makefile: Add rules to build and run unload8 test.
40625 * elf/unload8.c: New file.
40626 * elf/unload8mod1.c: New file.
40627 * elf/unload8mod1x.c: New file.
40628 * elf/unload8mod2.c: New file.
40629 * elf/unload8mod3.c: New file.
40631 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40634 2011-08-23 David S. Miller <davem@davemloft.net>
40636 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40637 subtract stack bias.
40638 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40639 %sp not %fp in calculations.
40640 (_JMPBUF_UNWINDS_ADJ): Likewise.
40642 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40643 (aio_suspend): Call it to force an exception region around the
40644 AIO_MISC_WAIT() invocation.
40646 2011-08-23 Andreas Schwab <schwab@redhat.com>
40648 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40651 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40653 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40655 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40656 and <dl-machine.h>.
40657 (Elf64_FuncDesc): Remove.
40659 2011-08-22 David S. Miller <davem@davemloft.net>
40661 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40662 sigaltstack check, add missing cfi directives.
40663 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40664 missing cfi directives, and sigaltstack handling.
40666 2011-08-16 Andreas Schwab <schwab@redhat.com>
40669 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40670 object is seen twice.
40671 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40673 * elf/Makefile (distribute): Add tst-initorder2.c.
40674 (tests): Add tst-initorder2.
40675 (modules-names): Add tst-initorder2a tst-initorder2b
40676 tst-initorder2c tst-initorder2d. Add rules to build them.
40677 ($(objpfx)tst-initorder2.out): New rule.
40678 * elf/tst-initorder2.c: New file.
40679 * elf/tst-initorder2.exp: New file.
40681 2011-08-22 Andreas Schwab <schwab@redhat.com>
40683 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40685 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40686 dependencies back to end of function.
40688 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40689 $(elfobjdir)/ld.so.
40691 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40694 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40696 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40697 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40698 of __vdso_gettimeofday.
40699 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40700 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40702 (_libc_vdso_platform_setup): Remove initialization of
40703 __vdso_gettimeofday and __vdso_time.
40705 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40707 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40708 and fgetc_unlocked.
40709 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40712 * elf/dl-open.c (add_to_global): Report additions to the global scope
40713 for LD_DEBUG=scopes.
40714 (dl_open_worker): Also print scope of newly loaded dependencies.
40715 (_dl_show_scope): Indicate if there is no scope.
40718 * stdio-common/Makefile (tests): Add bug24.
40719 * stdio-common/bug24.c: New file.
40721 2011-08-19 Andreas Jaeger <aj@suse.de>
40724 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40725 non-existant file when using close-on-exec mode.
40727 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40730 the very first instruction.
40732 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40733 the CFI state in the end.
40734 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40735 inclusion of dl-trampoline.h.
40736 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40738 2011-08-19 Andreas Schwab <schwab@redhat.com>
40740 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40741 expectations for long double.
40743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40744 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40746 2011-08-14 David S. Miller <davem@davemloft.net>
40748 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40749 artificual limit depends upon the system page size.
40751 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40753 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40754 * resolv/Makefile: Define CFLAGS-libresolv.
40756 2011-08-17 Andreas Schwab <schwab@redhat.com>
40758 * nss/makedb.c (compute_tables): Make variables used in nested
40761 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40763 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40764 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40765 if buffer was too small.
40767 * elf/pldd.c (main): Attach to all threads in the process.
40768 Rewrite /proc handling to use *at functions.
40770 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40772 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40773 specifies first scope to show.
40774 (dl_open_worker): Update callers. Move printing scope of new
40775 object to before the relocation.
40776 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40777 * sysdeps/generic/ldsodefs.h: Update declaration.
40779 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40780 string for the scope number.
40782 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40784 * nscd/servicescache.c (cache_addserv): Make sure written is always
40787 2011-08-14 Roland McGrath <roland@hack.frob.com>
40789 * sysdeps/i386/i486/bits/atomic.h
40790 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40791 statement expression, so as to suppress "set but not used" warning.
40792 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40794 * string/strncat.c (STRNCAT): Use prototype definition.
40796 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40797 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40799 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40800 (localedef-modules): Add localedef.
40801 (locale-modules): Add locale.
40803 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40804 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40805 to avoid a warning.
40807 2011-08-14 David S. Miller <davem@davemloft.net>
40809 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40810 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40812 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40814 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40815 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40816 * elf/rtld.c (dl_main): Set l_name of vDSO.
40817 Call _dl_show_scope when DL_DEBUG_SCOPES.
40818 (process_dl_debug): Recognize scopes flag and also set it for all.
40819 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40820 Declare _dl_show_scope.
40822 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40823 (do_dlopen): Pass caller_dlopen to dl_open.
40824 (__libc_dlopen_mode): Initialize caller_dlopen.
40826 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40827 of libc. Make tolower call locale-independent. Optimize a bit by
40828 using isdigit instead of isalnum.
40829 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40831 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40833 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40834 was a dependency or dynamically loaded.
40836 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40838 * intl/l10nflist.c: Allow architecture-specific pop function.
40839 * sysdeps/x86_64/l10nflist.c: New file.
40841 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40844 2011-08-10 Andreas Schwab <schwab@redhat.com>
40846 * include/dirent.h: Add libc_hidden_proto for scandirat and
40847 scandirat64. Don't declare __scandirat64.
40848 * dirent/scandirat.c: Add libc_hidden_def.
40849 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40850 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40852 2011-08-10 David S. Miller <davem@davemloft.net>
40854 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40856 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40857 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40860 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40862 * Versions.def [libc]: Add GLIBC_2.15.
40863 * dirent/Makefile (routines): Add scandirat and scandirat64.
40864 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40866 * dirent/dirent.h: Declare scandirat and scandirat64.
40867 * dirent/scandirat.c: New file.
40868 * dirent/scandirat64.c: New file.
40869 * sysdeps/wordsize-64/scandirat.c: New file.
40870 * sysdeps/wordsize-64/scandirat64.c: New file.
40871 * dirent/opendir.c: Define opendirat.
40872 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40874 * dirent/scandir64.c: Adjust for scandir.c change.
40875 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40876 __scandirat64, and __scandir_cancel_handler.
40877 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40878 additional parameter and use openat instead of open (outside of ld.so).
40879 Add new __opendir as wrapper around __opendirat.
40880 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40881 here without requiring old scandirat implementation.
40883 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40885 * dirent/scandir.c (cancel_handler): Renamed to
40886 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40887 defined. Adjust users.
40888 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40889 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40891 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40893 * string/test-string.h (IMPL): Use __STRING to expand name and then
40896 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40899 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40901 * string/Makefile: Update.
40902 (strop-tests): Append strncat.
40903 * string/test-wcscmp.c: New file.
40904 New comprehensive test for wcscmp.
40905 * string/test-strcmp.c: Update.
40906 (WIDE): New define.
40908 2011-07-22 Andreas Schwab <schwab@redhat.com>
40910 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40913 2011-07-26 Andreas Schwab <schwab@redhat.com>
40915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40916 encoding to ACE if AI_IDN.
40918 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40921 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40923 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40925 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40926 Fix overflow bug in strncat.
40927 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40929 * string/test-strncat.c: Update.
40930 Add new tests for checking overflow bugs.
40932 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40935 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40936 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40937 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40939 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40940 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40941 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40942 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40945 (USE_AS_STRCAT): Define.
40946 Add strcat and strncat support.
40947 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40949 2011-07-25 Andreas Schwab <schwab@redhat.com>
40951 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40952 __n bigger than INT_MAX+1.
40953 (__strncmp_g): Likewise.
40955 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40957 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40958 * libio/stido.h: Likewise.
40960 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40965 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40967 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40968 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40969 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40972 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40977 (_dl_x86_64_save_sse): Likewise.
40979 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40983 (_dl_x86_64_save_sse): Likewise.
40985 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40987 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40989 2011-07-21 Andreas Schwab <schwab@redhat.com>
40991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40993 (_dl_x86_64_save_sse): Use correct AVX check.
40995 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40998 bug in strncpy/strncat.
40999 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41001 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41003 * string/tester.c (test_strcat): Add tests for different alignments
41004 of source and destination.
41005 (test_strncat): Likewise.
41007 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41010 * posix/glob.c (glob): Check passed in values before using them in
41011 expressions to avoid some overflows.
41012 (glob_in_dir): Likewise.
41015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41016 check for AVX enablement so that we don't crash with old kernels and
41018 * elf/tst-audit4.c: Add same checks here.
41019 * elf/tst-audit6.c: Likewise.
41021 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41023 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41025 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41027 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41029 * po/cs.po: Update from translation team.
41030 * po/bg.po: Likewise.
41032 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41034 * misc/sys/cdefs.h: Add support for const attribute.
41035 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41036 to gnu_dev_{major,minor,makedev} functions.
41038 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41040 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41042 2011-07-20 Andreas Schwab <schwab@redhat.com>
41044 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41047 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41050 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41051 register in order to avoid conflicts with the soft frame pointer
41052 being held in r11 when necessary.
41053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41054 (INTERNAL_VSYSCALL_NCS): Likewise.
41056 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41058 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41059 * elf/dl-fini.c (_dl_fini): Adjust caller.
41060 * elf/dl-close.c (_dl_close_worker): Likewise.
41061 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41063 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41065 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41066 "aux_cache->nlibs < 0".
41068 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41069 in the reload-count case.
41071 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41074 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41075 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41076 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41077 * sysdeps/x86_64/multiarch/strcat.S: New file.
41078 * sysdeps/x86_64/multiarch/strncat.S: New file.
41079 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41080 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41081 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41082 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41083 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41084 (USE_AS_STRCAT): Define.
41085 Add strcat and strncat support.
41086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41087 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41088 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41089 * string/strncat.c: Update.
41090 (USE_AS_STRNCAT): Define.
41091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41092 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41094 * sysdeps/x86_64/multiarch/init-arch.h
41095 (bit_Prefer_PMINUB_for_stringop): New.
41096 (index_Prefer_PMINUB_for_stringop): Likewise.
41097 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41098 bit_Prefer_PMINUB_for_stringop.
41100 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41102 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41104 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41105 of casting of buffer.
41106 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41107 buffer32 and buffer64.
41108 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41109 writes instead of casting of buffer.
41110 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41112 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41115 2011-07-19 Andreas Schwab <schwab@redhat.com>
41117 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41119 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41121 * nscd/nscd.c (termination_handler): Don't do anything for a database
41122 if it has not yet been initialized.
41124 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41126 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41128 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41130 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41132 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41134 * po/nl.po: Update from translation team.
41135 * po/sv.po: Likewise.
41137 2011-07-16 Roland McGrath <roland@hack.frob.com>
41139 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41140 now disallowed by GCC.
41142 * configure.in (use-default-link): Default to yes if a test -shared
41143 link meets our qualifications.
41144 * configure: Regenerated.
41146 * config.make.in (output-format): New variable.
41147 * configure.in: Check for ld --print-output-format support.
41148 * configure: Regenerated.
41149 * Makerules ($(common-objpfx)format.lds)
41150 [$(output-format) != unknown]: Just use $(output-format),
41151 instead of the linker-script munging.
41153 2011-07-14 Roland McGrath <roland@hack.frob.com>
41155 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41156 of $(common-objpfx)shlib.lds.
41157 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41159 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41160 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41162 * configure.in (-z relro check): Adjust test code to add a large
41163 writable data section after it.
41164 * configure: Regenerated.
41166 2011-07-11 Roland McGrath <roland@hack.frob.com>
41168 * configure.in (-z relro check): Fix test code to make the variable
41170 * configure: Regenerated.
41172 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41174 * nscd/nscd.h (struct traced_file): Define.
41175 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41176 elements. Add traced_files.
41177 (inotify_fd): Declare.
41178 (register_traced_file): Declare.
41179 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41180 (inotify_fd): Export.
41181 (resolv_conf_descr): Remove.
41182 (nscd_init): Move inotify descriptor creation to main.
41183 Don't register files for notification here.
41184 (register_traced_file): New function.
41185 (invalidate_cache): Don't use reset_res to determine whether to call
41186 res_init, go through the list of registered files.
41187 (main_loop_poll): The inotify descriptors are now stored in the
41188 structures for the traced files.
41189 (main_loop_epoll): Likewise
41190 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41191 to __nss_disable_nscd.
41192 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41193 for a database anymore. Check the records for all the registered
41195 * nss/Makefile (libnss_files-routines): Add files-init.
41196 (libnss_db-routines): Add db-init.
41197 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41198 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41199 * nss/nss_db/db-init.c: New file.
41200 * nss/nss_files/files-init.c: New file.
41201 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41202 __nss_lookup_function.
41203 (__nss_lookup_function): Call nss_load_library.
41204 (nss_load_all_libraries): New function.
41205 (__nss_disable_nscd): Take parameter with callback function for files
41206 to register. Set is_nscd. Load all the DSOs for the NSS modules
41207 used for the cached services.
41208 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41209 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41210 options for features to all the files in nscd.
41212 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41214 2011-07-10 Roland McGrath <roland@hack.frob.com>
41216 * csu/elf-init.c (__libc_csu_init): Comment typo.
41218 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41220 * po/pl.po: Update from translation team.
41221 * po/ja.po: Likewise.
41222 * po/ru.po: Likewise.
41223 * po/ko.po: Likewise.
41224 * po/fr.po: Likewise.
41226 2011-07-09 Roland McGrath <roland@hack.frob.com>
41228 * configure.in (.ctors/.dtors header and trailer check):
41229 Use an empirical test on a built program.
41230 * configure: Regenerated.
41232 * configure.in (-z relro check): Use an empirical test on a built DSO.
41233 Detect, but do not require, on ia64.
41234 * configure: Regenerated.
41236 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41237 Update tests that use readelf to use $READELF instead.
41238 * configure: Regenerated.
41240 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41242 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41243 if the result is not used.
41245 2011-07-05 Andreas Jaeger <aj@suse.de>
41248 * stdlib/tst-strtod.c: Add testcase.
41250 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41252 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41253 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41254 The latter has a higher limit. Take additional parameter to pass to
41256 (__pathconf): Pass file to __statfs_link_max.
41257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41259 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41263 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41266 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41267 (__statfs_filesize_max): Likewise.
41268 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41270 2011-07-05 Andreas Jaeger <aj@suse.de>
41272 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41274 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41276 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41278 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41281 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41283 * Makefile (strop-tests): Add strncat.
41284 * string/test-strncat.c: New file.
41286 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41288 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41290 2011-06-21 Andreas Jaeger <aj@suse.de>
41292 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41293 Copy rule from iconvdata/Makefile.
41295 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41298 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41299 but no long options are defined, just return 'W'.
41301 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41304 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41306 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41308 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41310 (innetgr): Likewise.
41312 2011-07-05 Roland McGrath <roland@hack.frob.com>
41314 * config.make.in (install_root): Default to $(DESTDIR).
41316 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41318 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41320 2011-07-02 Roland McGrath <roland@hack.frob.com>
41322 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41324 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41325 containing directory rather than embedding absolute directory names.
41327 * scripts/check-local-headers.sh: Rewritten using awk.
41328 Match by word, not by line. Print error messages for matches.
41329 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41331 * Makerules [shlib-lds-flags empty]:
41332 ($(common-objpfx)libc_pic.opts): New target.
41333 ($(common-objpfx)libc_pic.os.clean): New target.
41334 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41336 * config.make.in (OBJCOPY): New variable.
41337 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41338 * configure: Regenerated.
41340 * config.make.in (use-default-link): New variable.
41341 * configure.in (use_default_link): Grok --with-default-link to set it.
41342 * configure: Regenerated.
41343 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41344 (shlib-lds, shlib-lds-flags): Define to empty.
41346 * Makerules (shlib-lds): New variable.
41347 (shlib-lds-flags): New variable.
41348 (build-shlib, build-moduile, build-module-asneeded): Use it.
41349 ($(common-objpfx)libc.so): Use $(shlib-lds).
41350 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41351 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41353 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41354 DT_FLAGS/DT_FLAGS_1 with zero flags.
41356 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41357 linker script munging.
41359 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41361 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41363 * crypt/sha512.c (sha512_process_block): Perform total addition using
41364 128-bit if possible.
41365 (__sha512_finish_ctx): Likewise.
41366 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41368 * crypt/sha256.c (SWAP64): Define.
41369 (sha256_process_block): Perform total addition using 64-bit if
41371 (__sha256_finish_ctx): Likewise.
41373 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41375 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41377 * nscd/hstcache.c (cache_addhst): Likewise.
41378 * nscd/grpcache.c (cache_addgr): Likewise.
41379 * nscd/aicache.c (addhstaiX): Likewise
41380 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41382 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41384 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41386 * nscd/hstcache.c (cache_addhst): Likewise.
41387 * nscd/grpcache.c (cache_addgr): Likewise.
41388 * nscd/aicache.c (addhstaiX): Likewise
41390 2011-07-01 Andreas Schwab <schwab@redhat.com>
41392 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41393 domain only when needed.
41395 2011-06-30 Andreas Schwab <schwab@redhat.com>
41397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41398 is always restored.
41400 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41402 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41403 are re-adding the entry.
41404 * nscd/servicescache.c (cache_addserv): Likewise.
41406 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41408 * sysdeps/generic/dl-irel.h: fix protection against multiple
41410 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41412 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41415 * malloc/memusage.sh: Fix quoting in message.
41416 * debug/xtrace.sh: Likewise.
41418 * configure.in: Remove support for --experimental-malloc option, make
41420 * config.make.in: Likewise.
41421 * malloc/Makefile: Likewise.
41423 2011-06-27 Andreas Schwab <schwab@redhat.com>
41425 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41426 two-byte characters.
41428 2011-06-27 Roland McGrath <roland@hack.frob.com>
41430 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41431 AC_CACHE_CHECK invocation.
41432 * configure: Regenerated.
41434 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41436 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41439 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41440 bit from old_res_options.
41442 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41444 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41445 value type for setfct.
41447 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41450 __gettimeofday instead of gettimeofday.
41452 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41454 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41456 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41458 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41460 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41463 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41466 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41467 strcpy-sse2-unaligned strncpy-sse2-unaligned
41468 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41469 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41470 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41471 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41472 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41473 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41474 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41475 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41476 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41477 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41478 (STRCPY): Support SSE2 and SSSE3 versions.
41480 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41483 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41484 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41485 kernels which artificially limit size of requests.
41487 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41490 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41491 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41492 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41493 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41494 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41495 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41496 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41497 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41498 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41499 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41500 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41501 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41502 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41503 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41505 Enable unaligned load optimization for Intel Core i3, i5 and i7
41507 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41509 (index_Fast_Unaligned_Load): Define.
41510 (HAS_FAST_UNALIGNED_LOAD): Define.
41512 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41514 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41516 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41520 until it is clear that the information is realy needed.
41521 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41523 2011-06-22 Andreas Schwab <schwab@redhat.com>
41525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41527 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41529 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41530 /sys/devices/system/cpu/online if it is usable.
41532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41533 reading the information from the /proc filesystem to once a second.
41535 2011-06-21 Andreas Jaeger <aj@suse.de>
41537 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41538 NULL after inclusion of kernel headers.
41540 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41542 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41543 calls to internal_setent.
41546 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41547 addresses using gethostbyname4_r ignore IPv4 addresses.
41549 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41550 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41552 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41554 2011-06-20 David S. Miller <davem@davemloft.net>
41556 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41558 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41560 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41561 (elf_irel): Use it.
41562 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41563 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41564 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41565 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41566 * sysdeps/x86_64/dl-irel.h: Likewise.
41568 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41569 * elf/dl-sym.c: Likewise.
41571 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41573 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41574 need to dereference resplen2.
41576 2011-06-14 Andreas Schwab <schwab@redhat.com>
41578 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41580 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41582 * Makeconfig: Define vardbdir and inst_vardbdir.
41583 * nss/Makefile: Add rules to install db-Makefile.
41585 * nss/nss_db/db-XXX.c: Cleanup.
41587 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41588 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41590 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41591 * nss/makedb.c: Implement -g option to specify that value strings
41592 are generated and should not be added to table iterated over for
41594 * nss/nss_db/db-initgroups.c: New file.
41596 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41599 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41600 (internal_getgrouplist): Adjust to name change.
41601 Update use_initgroups_entry if this is not the first call.
41602 * nss/databases.def: Add initgroups entry.
41604 * nss/makedb.c (compute_tables): Check result of multiple hash table
41605 sizes to minimize maximum chain length.
41607 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41609 * Versions.def: Add entry for libnss_db.
41610 * shlib-versions: Likewise.
41611 * nss/Makefile: Add rules to build libnss_db.
41612 * nss/Versions: Add libnss_db information. Organize libnss_files
41614 * nss/db-Makefile: Add gshadow support. Change rules for the new
41615 makedb progra. Some minor improvements to generate smaller files.
41616 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41618 * nss/makedb.c: ...here.
41619 Improve database format to be smaller and require less memory at
41621 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41623 * nss/nss_db/db-netgrp.c: Likewise.
41624 * nss/nss_db/db-open.c: Likewise.
41625 * nss/nss_files/flies-XXX.x: Adjust comments.
41626 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41627 * nss/nss_files/files-grp.c: Likewise.
41628 * nss/nss_files/files-hosts.c: Likewise.
41629 * nss/nss_files/files-network.c: Likewise.
41630 * nss/nss_files/files-proto.c: Likewise.
41631 * nss/nss_files/files-pwd.c: Likewise.
41632 * nss/nss_files/files-rpc.c: Likewise.
41633 * nss/nss_files/files-service.c: Likewise.
41634 * nss/nss_files/files-sgrp.c: Likewise.
41635 * nss/nss_files/files-spwd.c: Likewise.
41636 * nss/nss_db/db-alias.c: Removed.
41637 * nss/nss_db/dummy-db.h: Removed.
41639 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41641 * nss/makedb.c: Rewritten to not use database library.
41642 * nss/Makefile: Update to build new makedb program.
41644 2011-06-14 Andreas Jaeger <aj@suse.de>
41646 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41647 memset declaration.
41649 2011-06-10 Andreas Schwab <schwab@redhat.com>
41651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41654 2011-06-10 Roland McGrath <roland@hack.frob.com>
41656 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41657 * elf/Makefile ($(objpfx)ld.so): Likewise.
41659 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41660 Don't list ld.so twice in dependencies.
41662 * posix/bug-regex31.c: Include <stdlib.h>.
41664 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41666 * nis/nss_compat/compat-spwd.c
41667 (getspent_next_nss_netgr): Remove unused variable.
41668 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41670 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41671 nonmembers" output to use the right array.
41673 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41675 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41677 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41678 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41679 * catgets/gencat.c (read_input_file): Likewise.
41680 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41682 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41683 variable definition inside #if's controlling its use.
41685 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41687 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41689 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41691 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41694 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41696 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41697 * configure: Regenerated.
41699 * Makerules: Revert last change.
41700 * elf/Makefile: Likewise.
41702 2011-06-09 Roland McGrath <roland@hack.frob.com>
41704 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41705 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41706 (reloc-link): Likewise.
41708 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41710 * elf/Makefile: Add rules to build pldd.
41711 * elf/pldd.c: New file.
41712 * elf/pldd-xx.c: New file.
41714 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41716 * version.h: Update for 2.15 development version.
41718 2011-06-07 David S. Miller <davem@davemloft.net>
41720 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41723 elf_machine_lazy_rel): Likewise.
41724 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41725 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41726 elf_machine_lazy_rel): Likewise.
41727 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41728 dl_hwcap via passed in argument.
41729 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41732 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41734 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41736 2011-06-06 Roland McGrath <roland@hack.frob.com>
41739 * manual/fdl-1.1.texi: New file, verbatim from:
41740 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41741 * manual/lgpl-2.1.texi: New file, verbatim from:
41742 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41743 * manual/Makefile (licenses): New variable, list those new file names.
41745 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41747 * manual/fdl.texi: File removed.
41748 * manual/lesser.texi: File removed.
41749 * manual/libc.texinfo (Copying, Documentation License):
41750 Use new @include file names, put @appendix directive before @include.
41752 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41755 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41756 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41757 (mq_open): Add __NTH.
41759 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41762 Assume Intel Core i3/i5/i7 processor if AVX is available.
41764 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41766 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41769 2011-05-31 Andreas Schwab <schwab@redhat.com>
41771 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41772 memory. Use alloca_account. Fix memory leak when retrying.
41774 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41776 * version.h (RELEASE): Bump for 2.14 release.
41777 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41779 * config.make.in (RANLIB): Remove entry.
41781 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41783 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41784 (libc.pot): Work around missing support for .ksh extension in xgettext.
41787 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41788 if both request failed.
41789 (send_dg): In case of server errors clear resplen or *resplen2.
41792 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41793 when there are multiple maps.
41794 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41795 (_dl_fini): Remove test here.
41797 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41799 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41802 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41803 bit from old_res_options.
41804 (gaih_inet): Likewise.
41807 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41810 * resolv/res_init.c (res_setoptions): Make the code more compact.
41813 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41817 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41819 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41822 * malloc/malloc.h: Declare malloc hook variables as volatile.
41824 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41828 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41829 raise in the comment.
41830 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41832 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41834 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41837 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41838 grow the buffers more if it already has to be sufficient.
41839 (build_wcs_upper_buffer): Likewise.
41840 * posix/regexec.c (check_matching): Likewise.
41841 (clean_state_log_if_needed): Likewise.
41842 (extend_buffers): Don't enlarge buffers beyond size of the input
41844 Patches mostly by Emil Wojak <emil@wojak.eu>.
41845 * posix/bug-regex32.c: New file.
41846 * posix/Makefile (tests): Add bug-regex32.
41848 * locale/findlocale.c (_nl_find_locale): Return right away if
41849 _nl_explode_name failed.
41850 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41852 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41854 * debug/xtrace.sh: Unify messages.
41855 * malloc/memusage.sh: Likewise.
41858 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41859 time symbol from vDSO. Substitute with vsyscall if not available.
41860 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41863 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41864 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41865 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41866 Add sendmmsg and internal_sendmmsg.
41867 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41868 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41869 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41871 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41872 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41875 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41878 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41879 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41881 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41885 * iconvdata/Makefile (tests): Add bug-iconv9.
41886 * iconvdata/bug-iconv9.c: New file.
41888 2011-05-27 Andreas Schwab <schwab@redhat.com>
41891 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41893 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41896 (struct user_regs_struct): Change intcs field back to cs.
41898 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41900 * po/ja.po: Update from translation team.
41902 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41905 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41906 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41908 2011-05-20 Andreas Schwab <schwab@redhat.com>
41910 * stdlib/longlong.h: Update from GCC.
41912 2011-05-23 Andreas Schwab <schwab@redhat.com>
41914 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41916 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41917 Add parameter name.
41918 (__sysconf): Pass it down.
41920 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41923 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41926 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41927 add in in __libc_use_alloca calls. Adjust callers.
41928 (glob): Use malloc in some situations.
41930 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41931 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41934 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41936 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41937 and CLOCK_BOOTTIME_ALARM.
41940 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41943 * string/_strerror.c (__strerror_r): Print negative errors as signed
41947 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41948 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41949 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41951 * configure.in: Fix typo in redirection and correct removal of test
41952 files in two cases.
41955 * locale/setlocale.c (new_composite_name): Fix test to check for
41956 identical name of all categories.
41959 * libio/filedoalloc.c (local_isatty): New function.
41960 (_IO_file_doallocate): Use local_isatty.
41961 * stdio-common/perror.c (perror): In case a new stream is used
41962 forward the stream error.
41963 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41966 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41971 * include/alloca.h (extend_alloca_account): Define.
41974 * posix/regex.h: Fix comments with documentation of user-accessible
41975 fields after compilation and describe correct free'ing of pattern
41976 after re_compile_pattern.
41977 Patch by Reuben Thomas <rrt@sc3d.org>.
41979 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41981 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41982 and -mno-altivec to prevent the compiler from using Altivec and/or
41983 VSX instructions when the corresponding registers are not available.
41985 2011-05-19 Andreas Schwab <schwab@redhat.com>
41987 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41989 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41991 * libio/freopen.c (freopen): Use __dup2, not dup2.
41992 * libio/freopen64.c (freopen64): Likewise.
41994 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41997 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41998 * math/Makefile (tests): Add test-powl.
41999 (CFLAGS-test-powl.c): Define.
42000 * math/test-powl.c: New file.
42002 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42004 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42006 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42009 * iconvdata/gb18030.c: Update to GB18020-2005.
42011 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42013 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42014 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42015 Patch by Aharon Robbins <arnold@skeeve.com>.
42018 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42022 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42023 through underflows.
42026 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42027 point to strings before performing equality test for error_one_per_line
42031 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42034 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42035 (struct user_fpregs_struct): Avoid __uint*_t types.
42038 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42039 symbol info. Use it instead of calling _dl_addr locally.
42040 (lock_and_info): New function.
42041 (tr_freehook): Call lock_and_info and pass symbol info as additional
42042 parameter to tr_where.
42043 (tr_mallochook): Likewise.
42044 (tr_reallochook): Likewise.
42045 (tr_memalignhook): Likewise.
42047 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42048 used and couldn't be at all thread-safe.
42050 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42052 * libio/freopen.c (freopen): Don't close old file descriptor
42053 before the new one is opened. Instead dup the new file descriptor
42054 to the old one after the new stream is created.
42055 * libio/freopen64.c (freopen64): Likewise.
42056 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42057 * libio/fileops.c (_IO_new_file_close_it): Handle new
42058 _IO_FLAGS2_NOCLOSE flag.
42059 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42060 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42061 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42062 _IO_FLAGS2_NOCLOSE flag.
42063 * include/unistd.h: Add hidden_proto for dup3.
42064 Define __have_dup3.
42065 * io/dup3.c: Define hidden symbol.
42066 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42069 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42070 when an incomplete long option is used.
42071 * posix/tst-getopt_long1.c: New file.
42072 * posix/Makefile (tests): Add tst-getopt_long1.
42075 * scripts/config.guess: Update from autoconf-2.68.
42076 * scripts/config.sub: Likewise.
42079 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42081 (has_cpuclock): ...this. New function.
42082 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42083 macro here based on has_cpuclock code.
42086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42087 First byte (not low byte) is now always NUL.
42088 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42091 Use non-cancelable interfaces.
42094 * locale/iso-639.def: Add entry for Sorani.
42097 * include/stdlib.h: Move include protection to the right place.
42098 Define abort_msg_s. Declare __abort_msg with it.
42099 * stdlib/abort.c (__abort_msg): Adjust type.
42100 * assert/assert.c (__assert_fail_base): New function. Majority
42101 of code from __assert_fail. Allocate memory for __abort_msg with
42103 (__assert_fail): Now call __assert_fail_base.
42104 * assert/assert-perr.c: Remove bulk of implementation. Use
42105 __assert_fail_base.
42106 * include/assert.hL Declare __assert_fail_base.
42107 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42109 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42111 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42115 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42116 until all modules are registered in the DTV.
42117 * elf/Makefile: Add rules to build and run tst-tls19.
42118 * elf/tst-tls19.c: New file.
42119 * elf/tst-tls19mod1.c: New file.
42120 * elf/tst-tls19mod2.c: New file.
42121 * elf/tst-tls19mod3.c: New file.
42122 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42125 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42129 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42130 two-byte sequence errors.
42131 * iconvdata/Makefile (tests): Add bug-iconv8.
42132 * iconvdata/bug-iconv8.c: New file.
42135 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42138 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42141 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42142 (dummy_getcfa): New function.
42143 (init): Get _Unwind_GetCFA address, use dummy if not found.
42144 (backtrace_helper): In recursion check, also check whether CFA changes.
42145 (__backtrace): Completely initialize arg.
42147 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42148 storing incomplete byte sequence in state object. Avoid testing for
42149 guaranteed too small input if we know there is enough data available.
42151 2011-05-11 Andreas Schwab <schwab@redhat.com>
42153 * Makeconfig (+link-pie): Indent.
42154 * Rules (binaries-pie): Define if $(have-fpie) and
42156 (binaries-shared): Also filter out $(binaries-pie).
42157 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42158 * nscd/Makefile (others-pie): Add nscd.
42159 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42160 ($(objpfx)nscd): Remove command override.
42161 * login/Makefile (others-pie): Add pt_chown.
42162 ($(objpfx)pt_chown): Remove command override.
42163 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42164 remove command overrides.
42166 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42168 * libio/tst_putwc.c: Fix error messages.
42171 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42172 currently writing and seek to current position when not.
42173 * libio/Makefile (tests): Add bug-fclose1.
42174 * libio/bug-fclose1.c: New file.
42176 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42179 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42180 don't set DF_1_NODELETE here.
42181 (do_lookup_x): When entering new entry test for copy relocation
42182 and if necessary set DF_1_NODELETE flag.
42183 * elf/tst-unique4.cc: New file.
42184 * elf/tst-unique4.h: New file.
42185 * elf/tst-unique4lib.cc: New file.
42186 * elf/Makefile: Add rules to build and run tst-unique4.
42187 Patch by Piotr Bury <pbury@goahead.com>.
42189 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42192 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42195 * misc/mntent_r.c (addmntent): Flush the stream after the output
42198 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42199 (is_trusted_path_normalize): Skip initial colon. Append slash
42200 to empty buffer. Duplicate is_trusted_path code but allow
42201 constructed patch to be prefix.
42202 (is_dst): Allow $ORIGIN followed by /.
42203 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42204 Correct testing of result of is_trusted_path_normalize
42205 (decompose_rpath): Fix warning.
42207 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42210 * grp/initgroups.c (internal_getgrouplist): When we found the service
42211 list through the initgroups entry in nsswitch.conf do not always
42212 continue on a successful lookup. Don't always use the
42213 __nss_group_database value if it is set.
42214 * nss/nsswitch.conf (initgroups): Change action for successful db
42215 lookup to continue for compatibility.
42217 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42220 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42222 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42224 * iconvdata/tst-tables.sh: Likewise.
42225 * iconvdata/cp770.c: New file.
42226 * iconvdata/cp771.c: New file.
42227 * iconvdata/cp772.c: New file.
42228 * iconvdata/cp773.c: New file.
42229 * iconvdata/cp774.c: New file.
42230 * iconvdata/testdata/CP770: New file.
42231 * iconvdata/testdata/CP770..UTF8: New file.
42232 * iconvdata/testdata/CP771: New file.
42233 * iconvdata/testdata/CP771..UTF8: New file.
42234 * iconvdata/testdata/CP772: New file.
42235 * iconvdata/testdata/CP772..UTF8: New file.
42236 * iconvdata/testdata/CP773: New file.
42237 * iconvdata/testdata/CP773..UTF8: New file.
42238 * iconvdata/testdata/CP774: New file.
42239 * iconvdata/testdata/CP774..UTF8: New file.
42241 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42243 * iconvdata/gen-8bit-gap.sh: Likewise.
42244 * iconvdata/gen-8bit.sh: Likewise.
42246 * locale/iso-639.def: Add ary entry.
42249 * locale/C-translit.h.in: Add U20A1 transliteration.
42252 * locale/iso-639.def: Add wae entry.
42253 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42256 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42260 * locale/C-translit.h.in: Add entry for U20B9.
42261 Patch by pravin.d.s@gmail.com.
42263 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42266 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42267 ENAMETOOLONG use generic getcwd.
42268 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42269 in rtld. Use *stat64.
42270 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42271 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42272 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42273 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42274 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42275 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42276 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42277 __fstatat64 macros.
42278 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42279 * dirent/rewinddir.c: Add libc_hidden_def.
42280 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42281 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42283 * include/dirent.h (__alloc_dir): Add flags parameter.
42284 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42285 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42287 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42288 from fdopendir if O_CLOEXEC is already set.
42290 2011-03-15 Alan Modra <amodra@gmail.com>
42292 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42293 l_tls_firstbyte_offset non-zero. Save padding offset in
42294 l_tls_firstbyte_offset for later use.
42295 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42296 freeing static tls block.
42298 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42300 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42301 where #ifdef was intended. The intent is to prevent ARG_MAX from
42302 being defined by the kernel headers.
42304 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42307 * resolv/resolv.h: Define RES_NOTLDQUERY.
42308 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42309 no-tld-query and set RES_NOTLDQUERY.
42310 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42311 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42312 modern BIND to search name as TLD unless forbidden.
42314 2011-05-07 Petr Baudis <pasky@suse.cz>
42315 Ulrich Drepper <drepper@gmail.com>
42318 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42319 (is_trusted_path): ...to here.
42320 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42321 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42322 using is_trusted_path_normalize() in setuid scripts.
42324 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42326 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42327 __BEGIN/__END_DECLS.
42329 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42331 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42332 NSS_STATUS_NOTFOUND if no record was found.
42334 2011-05-05 Andreas Schwab <schwab@redhat.com>
42336 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42337 (headers-not-in-tirpc): Remove rpc/netdb.h
42338 * resolv/netdb.h: Revert last change.
42340 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42342 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42343 circular dependency between libgcc.a and libc.a.
42345 2011-05-05 Andreas Schwab <schwab@redhat.com>
42347 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42348 * nis/Makefile: Don't install rpcsvc/*.
42349 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42350 instead of <rpc/types.h>.
42351 (MAXHOSTNAMELEN): Define.
42353 2011-05-03 Andreas Schwab <schwab@redhat.com>
42355 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42357 2011-04-28 Maciej Babinski <mbabinski@google.com>
42360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42361 gethostbyname4_r when IPv6 results are possible.
42363 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42366 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42367 _PC_PIPE_BUF handling.
42369 2011-04-30 Bruno Haible <bruno@clisp.org>
42372 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42373 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42375 * inet/getnameinfo.c (getnameinfo): Likewise.
42377 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42379 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42380 to groups setting in database lookup.
42381 * nss/nsswitch.conf: Add initgroups entry.
42383 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42386 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42388 Patch by Eric Blake <eblake@redhat.com>.
42390 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42392 * sunrpc/Makefile (need-export-routines): Add svc_run.
42393 (routines): Remove svc_run.
42394 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42395 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42396 * sunrpc/svc_run.c (svc_run): Likewise.
42397 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42399 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42402 problem in reallocation in last patch.
42404 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42406 * sunrpc/Makefile: Move inclusion of Rules.
42408 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42410 * nss/nss_files/files-initgroups.c: New file.
42411 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42412 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42413 _nss_files_initgroups_dyn.
42415 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42417 * elf/elf.h (R_ARM_IRELATIVE): Define.
42419 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42421 * po/ru.po: Update from translation team.
42423 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42425 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42428 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42431 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42432 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42433 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42434 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42437 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42439 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42441 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42445 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42448 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42450 * stdlib/bug-getcontext.c: New file.
42451 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42453 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42455 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42456 instructions into .machine "z9-109".
42457 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42458 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42460 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42462 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42463 between environment variables and auxiliary vector.
42465 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42467 * Makefile: Add rules to build linkobj/libc.so.
42468 * include/libc-symbols.h: Define libc_hidden_nolink.
42469 * include/rpc/auth.h: Mark functions which are to be hidden.
42470 * include/rpc/auth_des.h: Likewise.
42471 * include/rpc/auth_unix.h: Likewise.
42472 * include/rpc/clnt.h: Likewise.
42473 * include/rpc/des_crypt.h: Likewise.
42474 * include/rpc/key_prot.h: Likewise.
42475 * include/rpc/pmap_clnt.h: Likewise.
42476 * include/rpc/pmap_prot.h: Likewise.
42477 * include/rpc/pmap_rmt.h: Likewise.
42478 * include/rpc/rpc_msg.h: Likewise.
42479 * include/rpc/svc.h: Likewise.
42480 * include/rpc/svc_auth.h: Likewise.
42481 * include/rpc/xdr.h: Likewise.
42482 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42483 * nss/Makefile: Likewise.
42484 * sunrpc/Makefile: Don't install headers. Build library with normal
42485 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42486 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42487 for the compat linking library. Remove use of INTDEF/INTUSE.
42488 * sunrpc/auth_none.c: Likewise.
42489 * sunrpc/auth_unix.c: Likewise.
42490 * sunrpc/authdes_prot.c: Likewise.
42491 * sunrpc/authuxprot.c: Likewise.
42492 * sunrpc/clnt_gen.c: Likewise.
42493 * sunrpc/clnt_perr.c: Likewise.
42494 * sunrpc/clnt_raw.c: Likewise.
42495 * sunrpc/clnt_simp.c: Likewise.
42496 * sunrpc/clnt_tcp.c: Likewise.
42497 * sunrpc/clnt_udp.c: Likewise.
42498 * sunrpc/clnt_unix.c: Likewise.
42499 * sunrpc/des_crypt.c: Likewise.
42500 * sunrpc/des_soft.c: Likewise.
42501 * sunrpc/get_myaddr.c: Likewise.
42502 * sunrpc/key_call.c: Likewise.
42503 * sunrpc/key_prot.c: Likewise.
42504 * sunrpc/netname.c: Likewise.
42505 * sunrpc/pm_getmaps.c: Likewise.
42506 * sunrpc/pm_getport.c: Likewise.
42507 * sunrpc/pmap_clnt.c: Likewise.
42508 * sunrpc/pmap_prot.c: Likewise.
42509 * sunrpc/pmap_prot2.c: Likewise.
42510 * sunrpc/pmap_rmt.c: Likewise.
42511 * sunrpc/publickey.c: Likewise.
42512 * sunrpc/rpc_cmsg.c: Likewise.
42513 * sunrpc/rpc_common.c: Likewise.
42514 * sunrpc/rpc_dtable.c: Likewise.
42515 * sunrpc/rpc_prot.c: Likewise.
42516 * sunrpc/rpc_thread.c: Likewise.
42517 * sunrpc/rtime.c: Likewise.
42518 * sunrpc/svc.c: Likewise.
42519 * sunrpc/svc_auth.c: Likewise.
42520 * sunrpc/svc_authux.c: Likewise.
42521 * sunrpc/svc_raw.c: Likewise.
42522 * sunrpc/svc_run.c: Likewise.
42523 * sunrpc/svc_simple.c: Likewise.
42524 * sunrpc/svc_tcp.c: Likewise.
42525 * sunrpc/svc_udp.c: Likewise.
42526 * sunrpc/svc_unix.c: Likewise.
42527 * sunrpc/svcauth_des.c: Likewise.
42528 * sunrpc/xcrypt.c: Likewise.
42529 * sunrpc/xdr.c: Likewise.
42530 * sunrpc/xdr_array.c: Likewise.
42531 * sunrpc/xdr_float.c: Likewise.
42532 * sunrpc/xdr_intXX_t.c: Likewise.
42533 * sunrpc/xdr_mem.c: Likewise.
42534 * sunrpc/xdr_rec.c: Likewise.
42535 * sunrpc/xdr_ref.c: Likewise.
42536 * sunrpc/xdr_sizeof.c: Likewise.
42537 * sunrpc/xdr_stdio.c: Likewise.
42539 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42542 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42543 * sysdeps/ia64/dl-tls.h: Likewise.
42544 * sysdeps/powerpc/dl-tls.h: Likewise.
42545 * sysdeps/s390/dl-tls.h: Likewise.
42546 * sysdeps/sh/dl-tls.h: Likewise.
42547 * sysdeps/sparc/dl-tls.h: Likewise.
42548 * sysdeps/x86_64/dl-tls.h: Likewise.
42549 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42551 2011-03-14 Andreas Schwab <schwab@redhat.com>
42553 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42554 rpath element also skip the following colon.
42555 (expand_dynamic_string_token): Add is_path parameter and pass
42556 down to DL_DST_REQUIRED and _dl_dst_substitute.
42557 (decompose_rpath): Call expand_dynamic_string_token with
42558 non-zero is_path. Ignore empty rpaths.
42559 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42562 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42567 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42570 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42571 Patch by Filipe David Manana <fdmanana@apache.org>.
42573 2011-04-07 Andreas Schwab <schwab@redhat.com>
42575 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42576 Maintain aligned stack.
42577 (CHECK_RSP): Remove unused macro.
42579 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42581 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42582 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42584 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42586 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42588 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42590 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42593 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42594 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42595 * sysdeps/x86_64/memmove.c: New file.
42596 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42597 (memcpy): Renamed to ...
42598 (__new_memcpy): This.
42599 (memcpy): Provide GLIBC_2_14 memcpy.
42600 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42601 (memcpy): Provide GLIBC_2_2_5 memcpy.
42603 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42606 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42608 2011-03-30 Andreas Schwab <schwab@redhat.com>
42610 * misc/syncfs.c: New file.
42611 * misc/Makefile (routines): Add syncfs.
42612 * posix/unistd.h: Declare syncfs.
42613 * sysdeps/unix/syscalls.list: Add syncfs.
42615 2011-04-01 Andreas Schwab <schwab@redhat.com>
42617 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42624 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42627 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42631 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42632 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42633 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42637 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42638 sync_file_range.c with -fexceptions.
42639 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42640 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42641 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42642 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42643 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42644 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42646 sync_file_range as cancellation point
42647 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42648 now a wrapper around __call_sync_file_range with cancellation handling.
42649 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42650 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42651 function name to __call_sync_file_range.
42652 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42653 Add call_sync_file_range.
42655 2011-04-01 Andreas Schwab <schwab@redhat.com>
42657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42660 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42662 * iconv/iconv.h: Fix typo in comment.
42663 * io/fcntl.h: Likewise.
42664 * libio/stdio.h: Likewise.
42665 * posix/spawn.h: Likewise.
42666 * posix/unistd.h: Likewise.
42667 * stdlib/stdlib.h: Likewise.
42668 * time/time.h: Likewise.
42669 * wcsmbs/wchar.h: Likewise.
42671 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42672 open_by_handle): Add.
42673 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42674 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42675 Augment a few comments.
42676 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42678 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42681 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42684 * io/fcntl.h (AT_EMPTY_PATH): Define.
42686 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42688 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42689 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42690 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42692 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42693 * Versions.def: Add GLIBC_2.14.
42694 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42697 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42699 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42701 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42703 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42706 * string/test-strncmp.c (do_page_test): New function.
42707 (check2): Likewise.
42708 (test_main): Call check2.
42709 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42711 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42714 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42715 Handle cache information in CPU leaf 4.
42716 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42718 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42721 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42722 character representation.
42723 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42725 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42727 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42728 END(__isnan) to END(__isnanf) to match function entry point/label
42729 EALIGN(__isnanf,...).
42731 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42733 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42735 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42738 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42739 copy from the symbol referenced in the relocation to initialize the
42741 Patch by Piotr Bury <pbury@goahead.com>.
42742 * elf/Makefile: Add rules to build and tst-unique3.
42743 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42744 * elf/tst-unique3.cc: New file.
42745 * elf/tst-unique3.h: New file.
42746 * elf/tst-unique3lib.cc: New file.
42747 * elf/tst-unique3lib2.cc: New file.
42749 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42751 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42753 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42754 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42757 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42759 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42760 to-be-loaded object along a path to loader is ld.so.
42762 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42763 Ulrich Drepper <drepper@gmail.com>
42765 * sysdeps/x86_64/memset.S: After aligning destination, code
42766 branches to different locations depending on the value of
42767 misalignment, when multiarch is enabled. Fix this.
42769 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42771 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42772 Set _x86_64_preferred_memory_instruction for AMD processsors.
42773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42774 Set bit_Prefer_SSE_for_memop for AMD processors.
42776 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42778 * libio/fmemopen.c (fmemopen): Optimize a bit.
42780 2011-03-03 Andreas Schwab <schwab@redhat.com>
42782 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42784 2011-03-03 Roland McGrath <roland@redhat.com>
42786 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42788 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42790 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42791 __bzero_ultra1 instead of __memset_ultra1.
42793 2011-02-23 Andreas Schwab <schwab@redhat.com>
42794 Ulrich Drepper <drepper@gmail.com>
42797 * include/link.h (struct link_map): Add l_orig_initfini.
42798 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42799 returning unsuccessfully.
42800 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42801 close of a file loaded at startup, restore the original l_initfini
42803 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42804 list, store the pointer.
42805 * elf/Makefile ($(objpfx)noload-mem): New rule.
42806 (noload-ENV): Define.
42807 (tests): Add $(objpfx)noload-mem.
42808 * elf/noload.c: Include <memcheck.h>.
42809 (main): Call mtrace. Close all opened handles.
42811 2011-02-17 Andreas Schwab <schwab@redhat.com>
42814 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42815 dependencies are missing.
42817 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42819 Fix __if_freereq crash: Unlike the generic version which uses free,
42821 * sysdeps/mach/hurd/ifreq.h: New file.
42823 2011-01-27 Petr Baudis <pasky@suse.cz>
42824 Ulrich Drepper <drepper@gmail.com>
42827 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42828 to extend_alloca().
42829 * stdio-common/bug23.c: New file.
42830 * stdio-common/Makefile (tests): Add bug23.
42832 2010-09-28 Andreas Schwab <schwab@redhat.com>
42833 Ulrich Drepper <drepper@gmail.com>
42836 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42837 before performing relro protection. At old place add assertion
42838 to make sure nothing changed.
42840 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42841 Glauber de Oliveira Costa <glommer@gmail.com>
42843 * elf/elf.h: Add new ARM TLS relocs.
42845 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42848 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42850 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42852 * sysdeps/wordsize-64/tst-writev.c: New file.
42854 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42856 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42857 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42858 insns in _dl_start to prevent a TOC reference before relocs are
42861 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42864 * Makeconfig: Remove RANLIB definition.
42865 * Makerules: Don't use RANLIB.
42866 * aclocal.m4: Remove ranlib test.
42867 * configure.in: No need to check for ranlib.
42868 * elf/rtld-Rules: Don't use RANLIB.
42870 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42872 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42874 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42875 inclusion protection macro.
42877 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42878 SIGRTMIN and SIGRTMAX and print information in that case only when
42879 SIGRTMIN is defined.
42881 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42883 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42884 arginfo fn returning -1.
42886 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42887 and thousands string is zero terminated.
42889 2011-02-03 Andreas Schwab <schwab@redhat.com>
42891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42892 sysdeps/unix/sysv/linux/bits/socket.h.
42894 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42896 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42897 (__CPU_COUNT): Remove old macros.
42898 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42899 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42900 (__CPU_ALLOC, __CPU_FREE): Add macros.
42901 (__sched_cpualloc, __sched_cpufree): Add declarations.
42903 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42905 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42906 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42907 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42908 (readdhstai): Return value of addhstaiX call.
42909 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42910 (addgrbyX): Return value returned by cache_addgr.
42911 (readdgrbyname): Return value returned by addgrbyX.
42912 (readdgrbygid): Likewise.
42913 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42914 (addpwbyX): Return value returned by cache_addpw.
42915 (readdpwbyname): Return value returned by addhstbyX.
42916 (readdpwbyuid): Likewise.
42917 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42918 (addservbyX): Return value returned by cache_addserv.
42919 (readdservbyname): Return value returned by addservbyX:
42920 (readdservbyport): Likewise.
42921 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42922 (addhstbyX): Return value returned by cache_addhst.
42923 (readdhstbyname): Return value returned by addhstbyX.
42924 (readdhstbyaddr): Likewise.
42925 (readdhstbynamev6): Likewise.
42926 (readdhstbyaddrv6): Likewise.
42927 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42928 (readdinitgroups): Return value returned by addinitgroupsX.
42929 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42930 (prune_cache): Keep track of timeout value of re-added entries.
42931 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42932 * nscd/nscd.h: Adjust prototypes of readd* functions.
42934 2011-02-04 Roland McGrath <roland@redhat.com>
42936 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42937 (nis_stats): Likewise.
42938 * nis/nis_modify.c (nis_modify): Likewise.
42939 * nis/nis_remove.c (nis_remove): Likewise.
42940 * nis/nis_add.c (nis_add): Likewise.
42942 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42944 * posix/fnmatch_loop.c: Add some consts.
42946 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42948 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42951 * config.make.in (config-cflags-novzeroupper): Define.
42952 * configure.in: Substitute libc_cv_cc_novzeroupper.
42953 * elf/Makefile (AVX-CFLAGS): Define.
42954 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42955 (CFLAGS-tst-auditmod4a.c): Likewise.
42956 (CFLAGS-tst-auditmod4b.c): Likewise.
42957 (CFLAGS-tst-auditmod6b.c): Likewise.
42958 (CFLAGS-tst-auditmod6c.c): Likewise.
42959 (CFLAGS-tst-auditmod7b.c): Likewise.
42960 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42962 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42964 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42965 function to the callback.
42966 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42968 2011-02-02 Andreas Schwab <schwab@redhat.com>
42970 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42973 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42976 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42978 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42980 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42983 * elf/Makefile: Add rules to build and run new test.
42984 * elf/tst-initorder.c: New file.
42985 * elf/tst-initorder.exp: New file.
42986 * elf/tst-initordera1.c: New file.
42987 * elf/tst-initordera2.c: New file.
42988 * elf/tst-initordera3.c: New file.
42989 * elf/tst-initordera4.c: New file.
42990 * elf/tst-initorderb1.c: New file.
42991 * elf/tst-initorderb2.c: New file.
42992 * elf/tst-order-a1.c: New file.
42993 * elf/tst-order-a2.c: New file.
42994 * elf/tst-order-a3.c: New file.
42995 * elf/tst-order-a4.c: New file.
42996 * elf/tst-order-b1.c: New file.
42997 * elf/tst-order-b2.c: New file.
42998 * elf/tst-order-main.c: New file.
42999 New test case by George Gensure <werkt0@gmail.com>.
43001 2010-10-01 Andreas Schwab <schwab@redhat.com>
43003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43004 decoding ACE if AI_CANONIDN.
43006 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43008 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43010 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43012 * version.h (RELEASE): Bump for 2.13 release.
43013 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43015 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43017 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43019 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43020 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43021 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43023 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43024 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43026 * posix/getconf.c: Update copyright year.
43027 * catgets/gencat.c: Likewise.
43028 * csu/version.c: Likewise.
43029 * debug/catchsegv.sh: Likewise.
43030 * debug/xtrace.sh: Likewise.
43031 * elf/ldconfig.c: Likewise.
43032 * elf/ldd.bash.in: Likewise.
43033 * elf/sprof.c (print_version): Likewise.
43034 * iconv/iconv_prog.c: Likewise.
43035 * iconv/iconvconfig.c: Likewise.
43036 * locale/programs/locale.c: Likewise.
43037 * locale/programs/localedef.c: Likewise.
43038 * malloc/memusage.sh: Likewise.
43039 * malloc/mtrace.pl: Likewise.
43040 * nscd/nscd.c (print_version): Likewise.
43041 * nss/getent.c: Likewise.
43043 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43044 PF_CAIF, and PF_ALG.
43045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43047 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43049 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43050 (modules-names): Use them.
43051 (ifunc-test-modules, ifunc-pie-tests): Define.
43052 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43053 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43054 (test-extras): Likewise.
43055 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43056 $(compile-command.c).
43057 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43058 (all-built-dso): Define.
43059 (check-textrel.out, check-execstack.out): Depend on it.
43061 * configure.in: Don't override --enable-multi-arch.
43063 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43066 * nscd/hstcache.c (tryagain): Define.
43067 (cache_addhst): Return tryagain not notfound for temporary errors.
43068 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43071 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43074 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43075 to make the syscall.
43076 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43079 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43080 and fall back to matching as normal character if the string ends before
43081 the matching ']' is found. This is what POSIX requires.
43082 * posix/testfnm.c: Adjust test result.
43083 * posix/globtest.sh: Adjust test result. Add new test.
43084 * posix/tst-fnmatch.input: Likewise.
43085 * posix/tst-fnmatch2.c: Add new test.
43087 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43089 * elf/Makefile (check-execstack): Revert last change. Depend on
43091 (check-execstack.h): New target.
43092 (generated): Add check-execstack.h.
43093 * elf/check-execstack.c: Include "check-execstack.h".
43094 (main): Revert last change.
43095 (handle_file): Return zero if GNU_STACK is absent and
43096 DEFAULT_STACK_PERMS doesn't include PF_X.
43098 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43100 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43101 in child fails because the descriptor is already closed.
43102 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43103 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43104 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43107 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43111 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43112 temporary buffer used to handle multi lookups locally.
43113 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43115 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43117 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43120 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43122 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43123 alignment for SSE2.
43125 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43128 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43129 characters. When rounding increased number of integer digits recompute
43131 * stdio-common/tst-grouping.c: New file.
43132 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43134 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43136 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43137 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43139 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43141 * bits/select.h: Likewise.
43143 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43145 * po/ja.po: Update from translation team.
43147 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43150 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43151 implementation just like for lxstat, fxstatat, et al.
43153 2010-12-27 Jim Meyering <meyering@redhat.com>
43156 * posix/regexec.c (build_trtable): Return failure indication upon
43157 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43159 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43162 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43163 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43164 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43165 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43168 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43171 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43172 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43174 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43176 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43177 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43178 script has SORT_BY_INIT_PRIORITY.
43179 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43180 NO_CTORS_DTORS_SECTIONS is defined.
43181 * elf/soinit.c: Likewise.
43182 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43183 NO_CTORS_DTORS_SECTIONS is defined.
43184 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43185 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43186 * sysdeps/sh/init-first.c: Likewise.
43187 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43189 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43191 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43192 always use the slow path.
43194 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43196 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43197 similar rule which adds the sysdep directories to the header search in
43198 order to pick up the correct platform stackinfo.h.
43199 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43200 perform test if it is, otherwise return successfully without testing.
43201 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43202 DEFAULT_STACK_PERMS define in stackinfo.h.
43203 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43204 defined in stackinfo.h.
43205 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43206 DEFAULT_STACK_PERMS defined in stackinfo.h.
43207 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43208 * sysdeps/ia64/stackinfo.h: Likewise.
43209 * sysdeps/s390/stackinfo.h: Likewise.
43210 * sysdeps/sh/stackinfo.h: Likewise.
43211 * sysdeps/sparc/stackinfo.h: Likewise.
43212 * sysdeps/x86_64/stackinfo.h: Likewise.
43213 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43214 PF_X for powerpc64. Retain PF_X for powerpc32.
43216 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43218 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43220 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43221 GETDENTS_64BIT_ALIGNED.
43223 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43225 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43227 2010-12-10 Andreas Schwab <schwab@redhat.com>
43229 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43232 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43233 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43235 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43236 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43238 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43241 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43244 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43246 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43248 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43250 * po/it.po: Update from translation team.
43252 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43257 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43259 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43261 2010-11-24 Andreas Schwab <schwab@redhat.com>
43263 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43265 (gaih_getanswer_slice): Likewise.
43267 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43271 2010-05-31 Petr Baudis <pasky@suse.cz>
43274 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43275 silently even in the chroot mode.
43277 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43279 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43280 last patch a bit. Pretty printing
43282 2010-05-31 Petr Baudis <pasky@suse.cz>
43285 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43286 initialization of skip_initgroups_dyn.
43288 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43290 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43291 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43293 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43295 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43297 2010-11-11 Andreas Schwab <schwab@redhat.com>
43299 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43300 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43301 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43302 ($(objpfx)tst-fnmatch-mem): New rule.
43303 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43304 * posix/tst-fnmatch.c (main): Call mtrace.
43306 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43309 Support Intel processor model 6 and model 0x2c.
43311 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43313 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43316 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43319 * string/test-strncasecmp.c (check_result): New function.
43320 (do_one_test): Use it.
43321 (check1): New function.
43322 (test_main): Use it.
43323 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43324 Support strcasecmp and strncasecmp.
43326 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43329 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43330 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43332 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43334 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43338 * sysdeps/x86_64/multiarch/bzero.S: New file.
43339 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43340 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43341 * sysdeps/x86_64/multiarch/memset.S: New file.
43342 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43344 Set bit_Prefer_SSE_for_memop for Intel processors.
43345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43347 (index_Prefer_SSE_for_memop): Define.
43348 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43350 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43352 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43353 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43355 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43358 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43359 (__x86_64_raw_data_cache_size_half): Likewise.
43360 (__x86_64_raw_shared_cache_size): Likewise.
43361 (__x86_64_raw_shared_cache_size_half): Likewise.
43363 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43364 (__x86_64_raw_data_cache_size_half): Likewise.
43365 (__x86_64_raw_shared_cache_size): Likewise.
43366 (__x86_64_raw_shared_cache_size_half): Likewise.
43367 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43368 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43369 and __x86_64_raw_shared_cache_size_half. Round
43370 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43371 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43372 to multiple of 256 bytes.
43374 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43377 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43378 of inacessible symlinks. Verify result of symlink before returning it.
43379 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43380 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43382 2010-10-28 Erich Ritz <erichritz@gmail.com>
43384 * math/math.h (isinf): Fix typo in comment.
43386 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43388 * po/da.po: Update from translation team.
43390 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43392 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43393 is added to the list.
43395 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43396 Ulrich Drepper <drepper@gmail.com>
43398 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43399 the global list here. Move code to...
43400 (_dl_add_to_namespace_list): ...here. New function.
43401 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43402 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43403 * elf/dl-load.c (lose): Don't remove the element from the list.
43404 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43405 (_dl_map_object): Likewise.
43407 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43410 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43411 into all bytes of SSE register.
43412 Patch by Richard Li <richardpku@gmail.com>.
43414 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43417 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43420 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43422 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43423 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43424 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43425 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43430 2010-10-22 Andreas Schwab <schwab@redhat.com>
43432 * include/dlfcn.h (__RTLD_SECURE): Define.
43433 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43434 mode & __RTLD_SECURE instead.
43435 (open_path): Rename preloaded parameter to secure.
43436 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43437 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43438 * elf/dl-deps.c (openaux): Likewise.
43439 * elf/rtld.c (struct map_args): Remove is_preloaded.
43440 (map_doit): Don't use it.
43441 (dl_main): Likewise.
43442 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43443 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43445 2010-09-09 Andreas Schwab <schwab@redhat.com>
43447 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43448 (sysd-rules-targets): Remove duplicates.
43449 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43450 rtld-%.$o dependency.
43452 2010-10-18 Andreas Schwab <schwab@redhat.com>
43454 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43455 _dl_map_object do it.
43457 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43459 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43460 fast fma builtins, define the macros in the C99 standard.
43461 (FP_FAST_FMAF): Likewise.
43462 (FP_FAST_FMAL): Likewise.
43463 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43465 * bits/mathdef.h: Update copyright year.
43466 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43468 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43470 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43471 builtins, define the macros in the C99 standard.
43472 (FP_FAST_FMAF): Likewise.
43473 (FP_FAST_FMAL): Likewise.
43474 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43476 (FP_FAST_FMAF): Likewise.
43478 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43481 * math/libm-test.inc (fma_test): Some new testcases.
43482 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43483 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43484 y and infinite z. Do multiplication by C already in long double.
43485 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43487 y and infinite z. Do bitwise or of inexact bit into u.d.
43488 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43489 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43490 * sysdeps/i386/fpu/s_fma.S: Removed.
43491 * sysdeps/i386/fpu/s_fmal.S: Removed.
43493 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43496 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43498 computation is not scheduled after fetestexcept. Fix value
43499 of minimum denormal long double.
43501 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43504 * math/libm-test.inc (fma_test): Add some more tests.
43505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43508 2010-10-15 Andreas Schwab <schwab@redhat.com>
43510 * scripts/data/localplt-s390-linux-gnu.data: New file.
43511 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43513 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43516 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43517 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43519 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43521 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43523 if one of x and y is very large and the other is subnormal.
43524 * sysdeps/s390/fpu/s_fmaf.c: New file.
43525 * sysdeps/s390/fpu/s_fma.c: New file.
43526 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43527 * sysdeps/powerpc/fpu/s_fma.S: New file.
43528 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43529 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43530 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43532 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43535 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43537 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43538 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43539 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43540 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43541 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43542 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43543 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43545 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43548 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43549 * posix/bug-regex31.input: Add test case.
43551 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43553 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43554 * posix/bug-regex31.input: New file.
43557 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43558 (parse_sub_exp): Fix last change, use postorder.
43560 * posix/bug-regex31.c: New file.
43561 * posix/Makefile: Add rules to build and run bug-regex31.
43563 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43566 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43569 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43570 to have entries in sys_siglist.
43573 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43576 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43579 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43580 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43581 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43582 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43583 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43584 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43585 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43586 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43587 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43588 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43589 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43590 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43591 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43592 * math/ftestexcept.c (fetestexcept): Likewise.
43593 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43594 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43595 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43596 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43597 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43598 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43599 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43601 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43604 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43607 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43609 * string/bug-strstr1.c: New file.
43610 * string/Makefile: Add rules to build and run bug-strstr1.
43612 2010-10-05 Eric Blake <eblake@redhat.com>
43615 * string/str-two-way.h (two_way_long_needle): Always clear memory
43616 when skipping input due to the shift table.
43618 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43621 * malloc/mcheck.c: Handle large requests.
43624 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43625 for strncmp and strncasecmp.
43626 * string/stratcliff.c: Add tests for strcmp and strncmp.
43627 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43629 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43631 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43634 2010-09-30 Andreas Jaeger <aj@suse.de>
43636 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43637 (CGROUP_SUPER_MAGIC): Define.
43638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43639 Handle btrfs and cgroup file systems.
43640 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43643 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43645 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43646 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43648 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43651 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43652 trying to locate the ELF header.
43654 2010-09-27 Andreas Schwab <schwab@redhat.com>
43657 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43658 Mask out sign-bit copies when constructing f_fsid.
43660 2010-09-24 Petr Baudis <pasky@suse.cz>
43662 * debug/stack_chk_fail_local.c: Add missing licence exception.
43663 * debug/warning-nop.c: Likewise.
43665 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43667 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43668 implementing getdents64 using getdents syscall, set d_type if
43669 __ASSUME_GETDENTS32_D_TYPE.
43671 2010-09-16 Andreas Schwab <schwab@redhat.com>
43673 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43674 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43676 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43679 * posix/unistd.h: Undo change of feature selection for ftruncate from
43682 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43684 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43687 2010-09-20 Andreas Schwab <schwab@redhat.com>
43689 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43691 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43693 2010-09-14 Andreas Schwab <schwab@redhat.com>
43695 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43696 variables after CHECK_SP call.
43697 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43699 2010-09-13 Andreas Schwab <schwab@redhat.com>
43700 Ulrich Drepper <drepper@redhat.com>
43702 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43703 re-relocationg ld.so.
43704 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43705 _dl_init_paths call.
43706 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43709 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43711 * resolv/res_init.c (__res_vinit): Count the default server we added.
43713 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43714 Ulrich Drepper <drepper@redhat.com>
43717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43718 (____longjmp_chk): Use %ebx for saving value across system call.
43721 2010-09-06 Andreas Schwab <schwab@redhat.com>
43723 * manual/Makefile: Don't mix pattern rules with normal rules.
43725 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43727 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43729 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43730 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43731 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43732 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43736 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43739 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43740 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43742 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43744 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43745 * sysdeps/x86_64/addmul_1.S: Likewise.
43746 * sysdeps/x86_64/lshift.S: Likewise.
43747 * sysdeps/x86_64/mul_1.S: Likewise.
43748 * sysdeps/x86_64/rshift.S: Likewise.
43749 * sysdeps/x86_64/sub_n.S: Likewise.
43750 * sysdeps/x86_64/submul_1.S: Likewise.
43752 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43754 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43755 Define __sched_param instead of SCHED_* and sched_param when
43756 <bits/sched.h> is included with __need_schedparam defined.
43757 * bits/sched.h [__need_schedparam]
43758 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43759 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43760 (__defined_schedparam): Define to 1.
43761 (__sched_param): New structure, identical to sched_param.
43762 (__need_schedparam): Undefine.
43764 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43767 (epoll_create1): Declare.
43769 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43771 2010-08-31 Andreas Schwab <schwab@redhat.com>
43774 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43775 shifting retval into place.
43777 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43779 * nis/rpcsvc/nis.h: Update copyright notice.
43780 * nis/rpcsvc/nis.x: Likewise.
43781 * nis/rpcsvc/nis_callback.h: Likewise.
43782 * nis/rpcsvc/nis_callback.x: Likewise.
43783 * nis/rpcsvc/nis_object.x: Likewise.
43784 * nis/rpcsvc/nis_tags.h: Likewise.
43785 * nis/rpcsvc/yp.h: Likewise.
43786 * nis/rpcsvc/yp.x: Likewise.
43787 * nis/rpcsvc/ypupd.h: Likewise.
43788 * nis/yp_xdr.c: Likewise.
43789 * nis/ypupdate_xdr.c: Likewise.
43791 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43792 mainly the body of pmap_getport. Add parameters to specify timeouts.
43793 (pmap_getport): Use __libc_rpc_getport.
43794 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43795 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43796 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43798 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43803 2010-08-27 Roland McGrath <roland@redhat.com>
43805 * sysdeps/i386/i686/multiarch/Makefile
43806 (CFLAGS-varshift.c): New variable.
43808 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43810 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43811 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43813 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43815 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43817 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43819 * sysdeps/x86_64/strlen.S: Unroll the loop.
43820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43821 strlen-sse2 strlen-sse2-bsf.
43822 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43823 __strlen_no_bsf if bit_Slow_BSF is set.
43824 (__strlen_sse42): Removed.
43825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43826 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43828 2010-08-25 Roland McGrath <roland@redhat.com>
43830 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43831 * sysdeps/x86_64/multiarch/varshift.c: New file.
43832 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43833 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43834 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43835 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43837 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43840 strlen-sse2 strlen-sse2-bsf.
43841 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43842 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43843 (__strlen_sse2): Removed.
43844 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43845 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43847 bit_Slow_BSF for Atom.
43848 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43849 (index_Slow_BSF): Define.
43850 (HAS_SLOW_BSF): Define.
43852 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43855 * resolv/res_init.c (__res_vinit): When no server address at all
43856 is given default to loopback.
43858 2010-08-24 Roland McGrath <roland@redhat.com>
43860 * configure.in: Remove config-name.h generation.
43861 * configure: Regenerated.
43862 * config-name.in: File removed.
43863 * scripts/config-uname.sh: New file.
43864 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43865 ($(objdir)config-name.h): New target.
43867 * sunrpc/rpc_parse.h: Avoid nested comment.
43869 2010-08-24 Richard Henderson <rth@redhat.com>
43870 Ulrich Drepper <drepper@redhat.com>
43871 H.J. Lu <hongjiu.lu@intel.com>
43873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43875 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43876 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43877 _mm_alignr_epi8 with _mm_loadu_si128.
43878 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43879 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43880 (__m128i_shift_right): Removed.
43881 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43882 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43883 * sysdeps/x86_64/multiarch/varshift.h: New file.
43884 * sysdeps/x86_64/multiarch/varshift.S: New file.
43886 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43888 * configure.in: Move assembler checks to before sysdep dir checking.
43890 2010-08-20 Petr Baudis <pasky@suse.cz>
43892 * LICENSES: Sync the sunrpc license.
43894 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43896 * sunrpc/auth_des.c: Update copyright notice once again.
43897 * sunrpc/auth_none.c: Likewise.
43898 * sunrpc/auth_unix.c: Likewise.
43899 * sunrpc/authdes_prot.c: Likewise.
43900 * sunrpc/authuxprot.c: Likewise.
43901 * sunrpc/bindrsvprt.c: Likewise.
43902 * sunrpc/clnt_gen.c: Likewise.
43903 * sunrpc/clnt_perr.c: Likewise.
43904 * sunrpc/clnt_raw.c: Likewise.
43905 * sunrpc/clnt_simp.c: Likewise.
43906 * sunrpc/clnt_tcp.c: Likewise.
43907 * sunrpc/clnt_udp.c: Likewise.
43908 * sunrpc/clnt_unix.c: Likewise.
43909 * sunrpc/des_crypt.c: Likewise.
43910 * sunrpc/des_soft.c: Likewise.
43911 * sunrpc/get_myaddr.c: Likewise.
43912 * sunrpc/getrpcport.c: Likewise.
43913 * sunrpc/key_call.c: Likewise.
43914 * sunrpc/key_prot.c: Likewise.
43915 * sunrpc/openchild.c: Likewise.
43916 * sunrpc/pm_getmaps.c: Likewise.
43917 * sunrpc/pm_getport.c: Likewise.
43918 * sunrpc/pmap_clnt.c: Likewise.
43919 * sunrpc/pmap_prot.c: Likewise.
43920 * sunrpc/pmap_prot2.c: Likewise.
43921 * sunrpc/pmap_rmt.c: Likewise.
43922 * sunrpc/rpc/auth.h: Likewise.
43923 * sunrpc/rpc/auth_unix.h: Likewise.
43924 * sunrpc/rpc/clnt.h: Likewise.
43925 * sunrpc/rpc/des_crypt.h: Likewise.
43926 * sunrpc/rpc/key_prot.h: Likewise.
43927 * sunrpc/rpc/netdb.h: Likewise.
43928 * sunrpc/rpc/pmap_clnt.h: Likewise.
43929 * sunrpc/rpc/pmap_prot.h: Likewise.
43930 * sunrpc/rpc/pmap_rmt.h: Likewise.
43931 * sunrpc/rpc/rpc.h: Likewise.
43932 * sunrpc/rpc/rpc_des.h: Likewise.
43933 * sunrpc/rpc/rpc_msg.h: Likewise.
43934 * sunrpc/rpc/svc.h: Likewise.
43935 * sunrpc/rpc/svc_auth.h: Likewise.
43936 * sunrpc/rpc/types.h: Likewise.
43937 * sunrpc/rpc/xdr.h: Likewise.
43938 * sunrpc/rpc_clntout.c: Likewise.
43939 * sunrpc/rpc_cmsg.c: Likewise.
43940 * sunrpc/rpc_common.c: Likewise.
43941 * sunrpc/rpc_cout.c: Likewise.
43942 * sunrpc/rpc_dtable.c: Likewise.
43943 * sunrpc/rpc_hout.c: Likewise.
43944 * sunrpc/rpc_main.c: Likewise.
43945 * sunrpc/rpc_parse.c: Likewise.
43946 * sunrpc/rpc_parse.h: Likewise.
43947 * sunrpc/rpc_prot.c: Likewise.
43948 * sunrpc/rpc_sample.c: Likewise.
43949 * sunrpc/rpc_scan.c: Likewise.
43950 * sunrpc/rpc_scan.h: Likewise.
43951 * sunrpc/rpc_svcout.c: Likewise.
43952 * sunrpc/rpc_tblout.c: Likewise.
43953 * sunrpc/rpc_util.c: Likewise.
43954 * sunrpc/rpc_util.h: Likewise.
43955 * sunrpc/rpcinfo.c: Likewise.
43956 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43957 * sunrpc/rpcsvc/key_prot.x: Likewise.
43958 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43959 * sunrpc/rpcsvc/mount.x: Likewise.
43960 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43961 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43962 * sunrpc/rpcsvc/rex.x: Likewise.
43963 * sunrpc/rpcsvc/rstat.x: Likewise.
43964 * sunrpc/rpcsvc/rusers.x: Likewise.
43965 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43966 * sunrpc/rpcsvc/spray.x: Likewise.
43967 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43968 * sunrpc/rtime.c: Likewise.
43969 * sunrpc/svc.c: Likewise.
43970 * sunrpc/svc_auth.c: Likewise.
43971 * sunrpc/svc_authux.c: Likewise.
43972 * sunrpc/svc_raw.c: Likewise.
43973 * sunrpc/svc_run.c: Likewise.
43974 * sunrpc/svc_simple.c: Likewise.
43975 * sunrpc/svc_tcp.c: Likewise.
43976 * sunrpc/svc_udp.c: Likewise.
43977 * sunrpc/svc_unix.c: Likewise.
43978 * sunrpc/svcauth_des.c: Likewise.
43979 * sunrpc/xcrypt.c: Likewise.
43980 * sunrpc/xdr.c: Likewise.
43981 * sunrpc/xdr_array.c: Likewise.
43982 * sunrpc/xdr_float.c: Likewise.
43983 * sunrpc/xdr_mem.c: Likewise.
43984 * sunrpc/xdr_rec.c: Likewise.
43985 * sunrpc/xdr_ref.c: Likewise.
43986 * sunrpc/xdr_sizeof.c: Likewise.
43987 * sunrpc/xdr_stdio.c: Likewise.
43989 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43992 2010-08-19 Andreas Schwab <schwab@redhat.com>
43994 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43996 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43998 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43999 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44000 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44001 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44002 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44003 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44004 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44005 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44006 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44007 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44008 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44009 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44010 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44011 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44013 2010-07-26 Anton Blanchard <anton@samba.org>
44015 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44016 * malloc/arena.c (heap_trim): Likewise.
44018 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44020 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44023 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44025 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44027 * sysdeps/i386/elf/Makefile: New file.
44029 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44031 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44032 from fanotify_init.
44033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44034 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44036 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44038 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44040 * sysdeps/multiarch/strcmp.S: Likewise.
44042 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44044 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44045 strncase_l-nonascii.
44046 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44047 Add strncase_l-ssse3.
44048 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44049 * sysdeps/x86_64/strcmp.S: Likewise.
44050 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44051 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44052 * sysdeps/x86_64/strncase.S: New file.
44053 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44054 * sysdeps/x86_64/strncase_l.S: New file.
44055 * string/Makefile (strop-tests): Add strncasecmp.
44056 * string/test-strncasecmp.c: New file.
44058 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44061 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44062 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44064 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44066 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44068 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44070 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44071 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44072 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44074 2010-05-01 Alan Modra <amodra@gmail.com>
44076 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44077 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44078 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44079 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44080 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44081 tidying. Don't tail-call __sigjmp_save for static lib.
44082 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44084 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44085 (CALL_MCOUNT): Add eh info, and nop after bl.
44086 (TAIL_CALL_SYSCALL_ERROR): New macro.
44087 (PSEUDO_RET): Use it.
44088 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44089 Correct save location of integer regs and cr.
44090 (_dl_profile_resolve): Correct cr save location. Delete nops
44091 after bl when SHARED. Reduce cfi size a little by better
44092 placement of cfi directives.
44093 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44094 make a stack frame. Instead use parm save area as a temp.
44095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44096 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44098 Don't make a stack frame for parent, use parm save area.
44099 Increase child stack frame to 112 bytes. Don't save unused reg,
44100 and adjust reg usage. Set up cfi on error recovery and
44101 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44103 (__makecontext): Add dummy nop after jump to exit.
44104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44105 Use correct parm save area and cr save, reduce stack frame.
44106 Correct cfi for possible PSEUDO_RET frame setup.
44107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44108 Branch to local label emitted by PSEUDO_RET rather than
44111 2010-08-12 Andreas Schwab <schwab@redhat.com>
44114 * locale/programs/locale.c (print_assignment): New function.
44115 (show_locale_vars): Use it.
44117 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44119 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44121 (struct statfs64): Likewise.
44122 (_STATFS_F_FLAGS): Define.
44123 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44124 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44125 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44126 (ST_VALID): Define locally.
44127 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44128 __statvfs_getflags, use the provided value.
44129 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44130 __ASSUME_STATFS_F_FLAGS.
44132 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44134 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44135 Add sys/fanotify.h.
44136 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44137 fanotify_mask for GLIBC_2.13.
44138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44139 fanotify_init and fanotify_mark.
44140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44141 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44143 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44145 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44146 prlimit64 for GLIBC_2.13.
44147 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44152 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44153 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44155 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44157 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44160 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44161 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44163 * nss/Makefile: Add rules to build and run tst-nss-test1.
44164 * shlib-versions: Add entry for libnss_test1.
44165 * nss/nss_test1.c: New file.
44166 * nss/tst-nss-test1.c: New file.
44168 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44169 (__nss_configure_lookup): Set appropriate entry in
44170 __nss_configure_lookup to true.
44171 * nss/nsswitch.h: Define enum with indeces of databases in
44172 databases and __nss_database_custom arrays. Declare
44173 __nss_database_custom.
44174 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44175 to avoid using nscd when custom rules are installed.
44176 * nss/getXXbyYY_r.c: Likewise.
44177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44179 * nss/nss_files/files-parse.c: Whitespace fixes.
44181 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44184 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44185 * posix/fnmatch_loop.c: Likewise.
44187 2010-07-17 Andi Kleen <ak@linux.intel.com>
44189 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44190 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44191 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44192 * Versions.def [GLIBC_2.13]: Add.
44194 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44196 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44197 Also fail if tpwd after pwuid call is NULL.
44199 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44201 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44202 when converting to ms.
44204 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44206 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44207 EOPNOTSUPP errors with ENOTTY.
44208 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44209 EOPNOTSUPP errors with ENOTTY.
44211 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44213 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44214 Add strcasecmp_l-ssse3.
44215 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44217 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44218 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44219 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44221 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44223 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44225 * string/Makefile (strop-tests): Add strcasecmp.
44226 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44227 strcasecmp_l-nonascii.
44228 (gen-as-const-headers): Add locale-defines.sym.
44229 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44230 * sysdeps/x86_64/strcasecmp.S: New file.
44231 * sysdeps/x86_64/strcasecmp_l.S: New file.
44232 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44233 * sysdeps/x86_64/locale-defines.sym: New file.
44234 * string/test-strcasecmp.c: New file.
44236 * string/test-strcasestr.c: Test both ends of the range of characters.
44237 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44239 2010-07-29 Roland McGrath <roland@redhat.com>
44242 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44244 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44246 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44249 2010-07-27 Andreas Schwab <schwab@redhat.com>
44251 * manual/memory.texi (Malloc Tunable Parameters): Document
44254 2010-07-26 Roland McGrath <roland@redhat.com>
44257 * configure.in (-fgnu89-inline check): Set and substitute
44258 gnu89_inline, not libc_cv_gnu89_inline.
44259 * configure: Regenerated.
44260 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44262 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44264 * string/test-strnlen.c: New file.
44265 * string/Makefile (strop-tests): Add strnlen.
44266 * string/tester.c (test_strnlen): Add a few more test cases.
44267 * string/tst-strlen.c: Better error reporting.
44269 * sysdeps/x86_64/strnlen.S: New file.
44271 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44273 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44274 lower-latency instructions.
44276 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44278 * string/test-strcasestr.c: New file.
44279 * string/test-strstr.c: New file.
44280 * string/Makefile (strop-tests): Add strstr and strcasestr.
44281 * string/str-two-way.h: Don't undefine MAX.
44282 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44284 2010-07-21 Andreas Schwab <schwab@redhat.com>
44286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44287 strcasestr-nonascii.
44288 (CFLAGS-strcasestr-nonascii.c): Define.
44289 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44290 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44291 Remove unused attribute.
44293 2010-07-20 Roland McGrath <roland@redhat.com>
44295 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44296 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44297 ld.so.cache was broken. With it, there is no way to disable dsocaps
44298 like LD_HWCAP_MASK can disable hwcaps.
44300 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44302 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44304 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44306 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44307 call in strcasestr.
44308 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44309 __strcasestr_sse42_nonascii.
44310 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44311 strcasestr-nonascii.c.
44312 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44314 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44316 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44317 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44318 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44319 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44321 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44326 2010-07-06 Andreas Schwab <schwab@redhat.com>
44329 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44332 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44334 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44335 _PC_PIPE_BUF using F_GETPIPE_SZ.
44337 2010-07-05 Roland McGrath <roland@redhat.com>
44339 * manual/arith.texi (Rounding Functions): Fix rint description
44340 implicit in round description.
44342 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44344 * elf/Makefile: Fix linking for a few tests to make recent linker
44347 2010-06-30 Andreas Schwab <schwab@redhat.com>
44349 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44350 $(common-objpfx)libc_nonshared.a.
44352 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44354 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44355 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44356 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44357 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44358 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44359 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44360 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44361 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44376 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44377 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44378 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44379 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44380 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44381 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44382 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44383 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44384 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44385 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44386 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44387 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44403 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44405 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44406 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44407 * string/memmove.c (memmove): Renamed to ...
44408 (MEMMOVE): ...this. Default to memmove.
44409 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44410 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44413 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44414 mempcpy-ssse3-back memmove-ssse3-back.
44415 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44416 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44417 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44418 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44419 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44420 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44421 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44422 * sysdeps/x86_64/multiarch/memmove.c: New file.
44423 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44424 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44425 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44426 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44427 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44428 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44430 (index_Fast_Copy_Backward): Define.
44431 (HAS_ARCH_FEATURE): Define.
44432 (HAS_FAST_REP_STRING): Define.
44433 (HAS_FAST_COPY_BACKWARD): Define.
44435 2010-06-21 Andreas Schwab <schwab@redhat.com>
44437 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44438 Restore proper fallback handling.
44440 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44443 * posix/group_member.c (__group_member): Correct checking loop.
44445 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44446 OOM in getpwuid_r correctly. Return error number when the caller
44447 should return, otherwise -1.
44448 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44449 call returning > 0 value.
44450 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44452 2010-06-07 Andreas Schwab <schwab@redhat.com>
44454 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44455 libc_nonshared.a from targets in modules-names.
44457 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44459 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44462 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44465 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44469 2010-06-02 Andreas Schwab <schwab@redhat.com>
44471 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44473 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44475 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44477 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44481 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44482 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44484 2010-06-14 Roland McGrath <roland@redhat.com>
44486 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44488 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44490 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44491 __REDIRECT followed by __THROW.
44492 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44493 * posix/getopt.h (getopt): Likewise.
44495 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44497 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44498 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44499 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44501 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44502 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44504 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44506 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44508 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44512 Properly check family and model.
44514 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44516 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44518 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44520 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44522 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44524 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44527 2010-05-19 Andreas Schwab <schwab@redhat.com>
44529 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44532 2010-05-21 Andreas Schwab <schwab@redhat.com>
44534 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44535 and internal_recvmmsg.
44536 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44537 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44538 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44539 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44541 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44542 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44543 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44545 2010-05-20 Andreas Schwab <schwab@redhat.com>
44547 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44549 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44551 POWER7 optimizations.
44552 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44553 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44555 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44557 * version.h: Update for 2.13 development version.
44559 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44561 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44562 exceptions. Return 0.
44564 2010-05-07 Roland McGrath <roland@redhat.com>
44566 * elf/ldconfig.c (main): Add a const.
44568 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44570 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44571 (args_options): Add no-idn option.
44572 (ahosts_keys_int): Add idn_flags to ai_flags.
44573 (parse_option): Handle 'i' option to clear idn_flags.
44575 * malloc/malloc.c (_int_free): Possible race in the most recently
44576 added check. Only act on the data if no current modification
44579 See ChangeLog.17 for earlier changes.