1 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3 * Makefile (LOCALES): Add en_GB.UTF-8.
5 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8 3 bytes for __pad1 for x32.
9 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12 H.J. Lu <hongjiu.lu@intel.com>
14 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
23 * posix/regcomp.c (parse_expression): Deallocate partially
24 constructed tree before returning error.
25 * posix/Makefile.c (tests): Add bug-regex36.
26 (generated): Add bug-regex36.mtrace.
27 (tests-special): Add $(objpfx)bug-regex36-mem.out
28 (bug-regex36-ENV): New variable.
29 ($(objpfx)bug-regex36-mem.out): New rule.
30 * posix/bug-regex36.c: New file.
32 2014-06-19 Will Newton <will.newton@linaro.org>
34 * malloc/malloc.c (systrim): If extra is zero then return
37 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
43 * sysdeps/aarch64/strchr.S: New file.
45 2014-06-18 Joseph Myers <joseph@codesourcery.com>
48 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49 from arguments -2 or below.
50 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
53 2014-06-18 Andreas Schwab <schwab@suse.de>
56 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
57 of a bracket expr not to run off the end of the string.
58 * posix/Makefile (tests): Add tst-fnmatch3.
59 * posix/tst-fnmatch3.c: New file.
61 2014-06-18 Joseph Myers <joseph@codesourcery.com>
63 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
64 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
65 [$(cross-compiling) = no]: Likewise.
66 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
67 [$(cross-compiling) = no]: Likewise.
69 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
72 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
73 double, adjusted for any remainder from the high double.
74 * math/libm-test.inc (nearbyint): Add tests.
77 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79 * nptl/sysdeps/powerpc/Makefile: Moved ...
80 * sysdeps/powerpc/nptl/Makefile: ... here.
81 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
82 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
83 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
84 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
85 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
86 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
87 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
88 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
89 * nptl/sysdeps/powerpc/tls.h: Moved ...
90 * sysdeps/powerpc/nptl/tls.h: ... here.
92 2014-06-16 Joseph Myers <joseph@codesourcery.com>
95 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
96 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
97 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
98 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
99 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
100 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
101 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
102 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
103 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
105 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
107 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
109 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
111 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
114 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
117 2014-06-16 Florian Weimer <fweimer@redhat.com>
120 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
121 non-executed part of the test.
123 2014-06-16 Andreas Schwab <schwab@suse.de>
125 * string/bits/string2.h (strdup, strndup): Update feature guard.
127 2014-06-14 David S. Miller <davem@davemloft.net>
129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
131 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
133 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
134 that was previously under [RESET_PID].
135 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
137 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
138 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
139 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
140 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
141 (__libc_vfork): New strong alias.
142 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
144 2014-06-14 Andi Kleen <ak@linux.intel.com>
146 * sysdeps/generic/elide.h: New file.
148 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
150 * Makefile (installed-headers): Adjust path of pthread.h header.
152 2014-06-13 Roland McGrath <roland@hack.frob.com>
154 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
155 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
156 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
157 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
159 * nptl/sysdeps/s390/Makefile: Moved ...
160 * sysdeps/s390/nptl/Makefile: ... here.
161 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
162 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
163 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
164 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
165 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
166 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
167 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
168 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
169 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
170 * sysdeps/s390/nptl/pthreaddef.h: ... here.
171 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
172 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
173 * nptl/sysdeps/s390/tls.h: Moved ...
174 * sysdeps/s390/nptl/tls.h: ... here.
176 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
177 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
179 2014-06-13 David S. Miller <davem@davemloft.net>
181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
184 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
188 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
189 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
190 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
191 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
192 Remove RESET_PID cpp guards.
193 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
194 Remove RESET_PID cpp guards.
195 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
197 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
199 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
202 2014-06-13 Andi Kleen <ak@linux.intel.com>
204 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
205 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
206 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
207 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
208 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
209 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
210 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
211 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
212 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
214 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
215 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
216 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
217 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
218 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
219 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
220 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
221 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
222 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
223 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
225 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
226 (pthread_rwlock_rdlock): Add elision.
227 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
228 (pthread_rwlock_wrlock): Add elision.
229 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
230 (pthread_rwlock_trywrlock): Add elision.
231 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
232 (pthread_rwlock_tryrdlock): Add elision.
233 * nptl/pthread_rwlock_unlock.c: Include elide.h.
234 (pthread_rwlock_tryrdlock): Add elision unlock.
235 * nptl/sysdeps/pthread/pthread.h:
236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
237 (PTHREAD_RWLOCK_INITIALIZER,
238 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
239 Handle new elision field.
240 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
241 * sysdeps/arm/nptl/bits/pthreadtypes.h
242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
243 * sysdeps/sh/nptl/bits/pthreadtypes.h
244 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
245 * sysdeps/tile/nptl/bits/pthreadtypes.h
246 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
247 * sysdeps/a/nptl/bits/pthreadtypes.h
248 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
249 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
250 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
251 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
252 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
253 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
254 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
255 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
256 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
257 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
258 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
259 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
260 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
261 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
262 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
263 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
264 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
265 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
266 (elision_init): Set try_xbegin to zero when no RTM.
267 * sysdeps/x86/nptl/bits/pthreadtypes.h
268 (pthread_rwlock_t): Change __pad1 to __rwelision.
269 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
271 2014-06-13 Andi Kleen <ak@linux.intel.com>
273 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
274 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
275 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
276 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
278 2014-06-13 Meador Inge <meadori@codesourcery.com>
281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
282 that the cached result has been set before returning it.
284 2014-06-12 Roland McGrath <roland@hack.frob.com>
286 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
287 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
288 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
289 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
290 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
291 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
293 * nptl/sysdeps/sparc/Makefile: Moved ...
294 * sysdeps/sparc/nptl/Makefile: ... here.
295 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
296 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
297 * nptl/sysdeps/sparc/tls.h: Moved ...
298 * sysdeps/sparc/nptl/tls.h: ... here.
299 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
300 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
301 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
302 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
303 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
304 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
305 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
306 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
307 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
308 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
309 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
310 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
311 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
312 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
313 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
314 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
315 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
316 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
318 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
319 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
321 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
322 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
324 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
325 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
328 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
330 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
331 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
333 * sysdeps/pthread/posix-timer.h: Include <list.h>.
334 (struct list_links): Type removed.
335 (struct thread_node, struct timer_node): Replace struct list_links
336 with struct list_head.
337 (list_unlink_ip): Likewise.
338 * sysdeps/pthread/timer_routines.c
339 (timer_free_list, thread_free_list, thread_active_list): Likewise.
340 (list_append, list_insbefore): Likewise.
341 (list_init): Function removed.
342 (thread_init, init_module): Use INIT_LIST_HEAD instead.
343 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
344 * sysdeps/pthread/Makefile: ... here, new file.
346 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
347 * sysdeps/nptl/Implies: ... here.
348 * sysdeps/unix/sysv/linux/Implies: Add nptl.
349 * nptl/sysdeps/pthread/list.h: Moved ...
350 * include/list.h: ... here.
351 * nptl/sysdeps/pthread/createthread.c: Moved ...
352 * nptl/createthread.c: ... here.
353 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
354 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
355 * nptl/pt-longjmp.c: ... here.
356 * nptl/sysdeps/pthread/Makefile: Moved ...
357 * sysdeps/nptl/Makefile: ... here.
358 * nptl/sysdeps/pthread/Subdirs: Moved ...
359 * sysdeps/nptl/Subdirs: ... here.
360 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
361 * sysdeps/nptl/aio_misc.h: ... here.
362 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
363 * sysdeps/nptl/bits/libc-lock.h: ... here.
364 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
365 * sysdeps/nptl/bits/libc-lockP.h: ... here.
366 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
367 * sysdeps/nptl/bits/stdio-lock.h: ... here.
368 * nptl/sysdeps/pthread/configure: Moved ...
369 * sysdeps/nptl/configure: ... here.
370 * nptl/sysdeps/pthread/configure.ac: Moved ...
371 * sysdeps/nptl/configure.ac: ... here.
372 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
373 * sysdeps/nptl/gai_misc.h: ... here.
374 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
375 * sysdeps/nptl/librt-cancellation.c: ... here.
376 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
377 * sysdeps/nptl/malloc-machine.h: ... here.
378 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
379 * sysdeps/nptl/pthread-functions.h: ... here.
380 * nptl/sysdeps/pthread/pthread.h: Moved ...
381 * sysdeps/nptl/pthread.h: ... here.
382 * nptl/sysdeps/pthread/setxid.h: Moved ...
383 * sysdeps/nptl/setxid.h: ... here.
384 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
385 * sysdeps/nptl/sigfillset.c: ... here.
386 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
387 * sysdeps/nptl/tcb-offsets.h: ... here.
388 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
389 * sysdeps/nptl/tst-mqueue8x.c: ... here.
390 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
391 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
392 * nptl/sysdeps/pthread/allocalim.h: Moved ...
393 * sysdeps/pthread/allocalim.h: ... here.
394 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
395 * sysdeps/pthread/bits/sigthread.h: ... here.
396 * nptl/sysdeps/pthread/flockfile.c: Moved ...
397 * sysdeps/pthread/flockfile.c: ... here.
398 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
399 * sysdeps/pthread/ftrylockfile.c: ... here.
400 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
401 * sysdeps/pthread/funlockfile.c: ... here.
402 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
403 * sysdeps/pthread/posix-timer.h: ... here.
404 * nptl/sysdeps/pthread/timer_create.c: Moved ...
405 * sysdeps/pthread/timer_create.c: ... here.
406 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
407 * sysdeps/pthread/timer_delete.c: ... here.
408 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
409 * sysdeps/pthread/timer_getoverr.c: ... here.
410 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
411 * sysdeps/pthread/timer_gettime.c: ... here.
412 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
413 * sysdeps/pthread/timer_routines.c: ... here.
414 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
415 * sysdeps/pthread/timer_settime.c: ... here.
416 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
417 * sysdeps/pthread/tst-timer.c: ... here.
418 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
419 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
421 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
422 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
424 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
425 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
426 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
427 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
428 Update #include target.
429 * nptl/sysdeps/i386/i686/Makefile: Moved ...
430 * sysdeps/i386/i686/nptl/Makefile: ... here.
431 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
432 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
433 Update #include target.
434 * nptl/sysdeps/i386/i686/tls.h: Moved ...
435 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
436 * nptl/sysdeps/i386/Makefile: Moved ...
437 * sysdeps/i386/nptl/Makefile: ... here.
438 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
439 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
440 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
441 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
442 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
443 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
444 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
445 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
446 * sysdeps/i386/nptl/pthreaddef.h: ... here.
447 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
448 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
449 * nptl/sysdeps/i386/tls.h: Moved ...
450 * sysdeps/i386/nptl/tls.h: ... here.
452 * sysdeps/sh/Makefile [$(subdir) = csu]
453 (gen-as-const-headers): Add tcb-offsets.sym.
454 * nptl/sysdeps/sh/Makefile: File removed.
455 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
456 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
457 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
458 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
459 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
460 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
461 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
462 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
463 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
464 * sysdeps/sh/nptl/pthreaddef.h: ... here.
465 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
466 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
467 * nptl/sysdeps/sh/tls.h: Moved ...
468 * sysdeps/sh/nptl/tls.h: ... here.
469 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
470 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
471 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
472 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
473 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
474 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
475 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
476 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
477 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
478 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
479 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
480 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
481 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
482 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
483 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
484 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
485 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
486 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
487 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
488 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
489 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
490 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
491 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
492 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
493 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
495 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
496 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
498 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
499 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
500 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
501 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
502 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
503 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
504 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
505 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
506 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
507 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
508 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
509 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
510 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
511 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
512 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
513 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
514 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
515 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
516 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
518 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
520 * posix/spawn_faction_addopen.c: Include string.h.
522 2014-06-11 Roland McGrath <roland@hack.frob.com>
524 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
525 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
526 * nptl/sysdeps/x86_64/Makefile: Moved ...
527 * sysdeps/x86_64/nptl/Makefile: ... here.
528 * nptl/sysdeps/x86_64/configure: Moved ...
529 * sysdeps/x86_64/nptl/configure: ... here.
530 * nptl/sysdeps/x86_64/configure.ac: Moved ...
531 * sysdeps/x86_64/nptl/configure.ac: ... here.
532 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
533 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
534 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
535 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
536 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
537 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
538 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
539 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
540 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
541 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
542 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
543 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
544 * nptl/sysdeps/x86_64/tls.h: Moved ...
545 * sysdeps/x86_64/nptl/tls.h: ... here.
546 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
547 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
548 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
549 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
551 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
553 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
557 2014-06-11 Joseph Myers <joseph@codesourcery.com>
559 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
561 [POSIX] (off_t): Likewise.
562 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
563 [POSIX] (S_ISBLK): Require macro.
564 [POSIX] (S_ISCHR): Likewise.
565 [POSIX] (S_ISDIR): Likewise.
566 [POSIX] (S_ISFIFO): Likewise.
567 [POSIX] (S_ISREG): Likewise.
568 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
570 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
572 [POSIX] (time_t): Likewise.
573 [POSIX] (timer_t): Likewise.
575 2014-06-11 Florian Weimer <fweimer@redhat.com>
578 * posix/spawn_int.h (struct __spawn_action): Make the path string
579 non-const to support deallocation.
580 * posix/spawn_faction_addopen.c
581 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
582 * posix/spawn_faction_destroy.c
583 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
584 path in all spawn_do_open actions.
585 * posix/tst-spawn.c (do_test): Exercise the copy operation in
586 posix_spawn_file_actions_addopen.
588 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
590 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
591 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
592 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
593 conditional code always true.
594 (__libc_vfork): New alias.
596 2014-06-11 Roland McGrath <roland@hack.frob.com>
598 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
599 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
601 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
603 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
604 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
606 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
607 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
609 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
610 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
612 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
614 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
615 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
616 multiarch strcmp for PPC64.
617 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
618 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
620 multiarch optimizations.
621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
622 (__libc_ifunc_impl_list): Likewise.
624 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
626 * benchtests/scripts/validate_benchout.py: New script.
627 * benchtests/Makefile (bench-func): Call it.
628 * benchtests/scripts/benchout.schema.json: New file.
630 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
632 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
633 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
634 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
635 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
636 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
637 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
638 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
639 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
640 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
641 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
642 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
643 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
644 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
645 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
646 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
647 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
752 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
753 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
755 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
757 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
759 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
761 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
763 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
767 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
769 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
771 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
773 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
774 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
776 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
777 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
779 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
781 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
782 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
783 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
784 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
785 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
786 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
787 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
789 2014-06-10 Wilco <wdijkstr@arm.com>
791 * math/test-fenv-return.c: New file.
792 * math/Makefile: Add new test test-fenv-return.
794 2014-06-10 Joseph Myers <joseph@codesourcery.com>
797 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
799 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
800 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
801 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
802 0.0L for an argument of 1.0L.
803 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
805 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
806 value when x - 1 is zero.
807 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
808 * sysdeps/i386/fpu/libm-test-ulps: Update.
809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
811 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
814 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
816 2014-06-09 Roland McGrath <roland@hack.frob.com>
818 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
819 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
821 2014-06-09 Roland McGrath <roland@hack.frob.com>
823 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
824 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
826 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
827 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
829 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
830 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
832 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
833 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
835 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
836 if not already defined.
837 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
838 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
839 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
840 (TLS_INIT_TP): Use it.
841 (TLS_DEFINE_INIT_TP): New macro.
842 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
844 2014-06-09 Joseph Myers <joseph@codesourcery.com>
846 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
848 [POSIX] (IXANY): Likewise.
849 [POSIX] (OLCUC): Likewise.
850 [POSIX || POSIX2008] (CBAUD): Do not allow.
851 [POSIX || POSIX2008] (DEFECHO): Likewise.
852 [POSIX || POSIX2008] (ECHOCTL): Likewise.
853 [POSIX || POSIX2008] (ECHOKE): Likewise.
854 [POSIX || POSIX2008] (ECHOPRT): Likewise.
855 [POSIX || POSIX2008] (EXTA): Likewise.
856 [POSIX || POSIX2008] (EXTB): Likewise.
857 [POSIX || POSIX2008] (FLUSHO): Likewise.
858 [POSIX || POSIX2008] (LOBLK): Likewise.
859 [POSIX || POSIX2008] (PENDIN): Likewise.
860 [POSIX || POSIX2008] (SWTCH): Likewise.
861 [POSIX || POSIX2008] (VDISCARD): Likewise.
862 [POSIX || POSIX2008] (VDSUSP): Likewise.
863 [POSIX || POSIX2008] (VLNEXT): Likewise.
864 [POSIX || POSIX2008] (VREPRINT): Likewise.
865 [POSIX || POSIX2008] (VSTATUS): Likewise.
866 [POSIX || POSIX2008] (VWERASE): Likewise.
867 (B*): Change to B[0123456789]*.
868 * conform/data/time.h-data [POSIX || UNIX98]
869 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
870 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
871 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
872 [POSIX] (tm_*): Do not allow.
874 2014-06-07 Joseph Myers <joseph@codesourcery.com>
876 * Makefile (install): Don't set LANGUAGE.
877 * Makefile.in (install): Likewise.
878 * assert/Makefile (test-assert-ENV): Remove variable.
879 (test-assert-perr-ENV): Likewise.
880 * elf/Makefile (neededtest4-ENV): Likewise.
881 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
882 [$(cross-compiling) = no]: Don't set LANGUAGE.
883 * io/ftwtest-sh (LANG): Remove variable.
884 * libio/Makefile (tst-widetext-ENV): Likewise.
885 * manual/install.texi (Running make install): Don't refer to
886 environment settings for make install.
887 * INSTALL: Regenerated.
888 * nptl/tst-tls6.sh: Don't set LANG.
889 * posix/globtest.sh (LANG): Remove variable.
890 * string/Makefile (tester-ENV): Likewise.
891 (inl-tester-ENV): Likewise.
892 (noinl-tester-ENV): Likewise.
893 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
894 [$(cross-compiling) = no]: Don't set LANGUAGE.
895 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
896 without explicit environment settings.
898 2014-06-06 Roland McGrath <roland@hack.frob.com>
900 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
901 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
902 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
903 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
905 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
907 * crypt/crypt-private.h [DOS]: Add some includes taken from the
908 other files in the crypt directory.
909 * crypt/crypt.c: Remove duplicate includes.
910 * crypt/crypt-entry.c: Likewise.
911 * crypt/crypt_util.c: Likewise.
913 2014-06-06 Joseph Myers <joseph@codesourcery.com>
915 * Makeconfig (run-program-env): New variable.
916 (run-program-prefix-before-env): Likewise.
917 (run-program-prefix-after-env): Likewise.
918 (run-program-prefix): Define in terms of new variables.
919 (built-program-cmd-before-env): New variable.
920 (built-program-cmd-after-env): Likewise.
921 (built-program-cmd): Define in terms of new variables.
922 (test-program-prefix-before-env): New variable.
923 (test-program-prefix-after-env): Likewise.
924 (test-program-prefix): Define in terms of new variables.
925 (test-program-cmd-before-env): New variable.
926 (test-program-cmd-after-env): Likewise.
927 (test-program-cmd): Define in terms of new variables.
928 * Rules (make-test-out): Use $(run-program-env).
929 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
930 (help): Do not mention environment variables. Mention
931 --timeoutfactor option.
932 (timeoutfactor): New variable.
933 (blacklist_exports): Remove function.
934 (exports): Remove variable.
935 (command): Do not include ${exports}.
936 * manual/install.texi (Configuring and compiling): Do not mention
937 test wrappers preserving environment variables. Mention that last
938 assignment to a variable must take precedence.
939 * INSTALL: Regenerated.
940 * benchtests/Makefile (run-bench): Use $(run-program-env).
941 * catgets/Makefile ($(objpfx)test1.cat): Use
942 $(built-program-cmd-before-env), $(run-program-env) and
943 $(built-program-cmd-after-env).
944 ($(objpfx)test2.cat): Do not specify environment variables
946 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
947 $(run-program-env) and $(built-program-cmd-after-env).
948 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
949 $(run-program-env) and $(test-program-cmd-after-env).
950 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
952 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
953 run_program_env and test_program_cmd_after_env arguments.
954 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
955 * elf/tst-pathopt.sh: Use run_program_env argument.
956 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
957 $(test-wrapper-env) and $(run-program-env).
958 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
959 run_program_env arguments.
960 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
961 * intl/Makefile ($(objpfx)tst-gettext.out): Use
962 $(test-program-prefix-before-env), $(run-program-env) and
963 $(test-program-prefix-after-env).
964 ($(objpfx)tst-gettext2.out): Likewise.
965 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
966 run_program_env and test_program_prefix_after_env arguments.
967 * intl/tst-gettext2.sh: Likewise.
968 * intl/tst-gettext4.sh: Do not set environment variables
970 * intl/tst-gettext6.sh: Likewise.
971 * intl/tst-translit.sh: Likewise.
972 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
973 $(test-program-prefix-before-env), $(run-program-env) and
974 $(test-program-prefix-after-env).
975 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
976 run_program_env and test_program_prefix_after_env arguments.
977 * math/Makefile (run-regen-ulps): Use $(run-program-env).
978 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
979 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
980 explicitly with each use of ${test_wrapper_env}.
981 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
982 $(test-program-prefix-before-env), $(run-program-env) and
983 $(test-program-prefix-after-env).
984 * posix/tst-getconf.sh: Do not set environment variables
986 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
987 run_program_env and test_program_prefix_after_env arguments.
988 * stdio-common/tst-printf.sh: Do not set environment variables
990 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
991 $(test-program-prefix-before-env), $(run-program-env) and
992 $(test-program-prefix-after-env).
993 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
994 run_program_env and test_program_prefix_after_env arguments.
995 Split $test calls into $test_pre and $test.
996 * timezone/Makefile (build-testdata): Use
997 $(built-program-cmd-before-env), $(run-program-env) and
998 $(built-program-cmd-after-env).
1000 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1003 strlen for non SHARED builds.
1005 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1007 * nptl/allocatestack.c (check_list): Inlined function...
1008 (__reclaim_stacks): ... here.
1010 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1013 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1016 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1018 * Rules (make-test-out): Include
1019 LOCPATH=$(common-objpfx)localedata in default environment.
1020 * debug/Makefile (tst-chk1-ENV): Remove variable.
1021 (tst-chk2-ENV): Likewise.
1022 (tst-chk3-ENV): Likewise.
1023 (tst-chk4-ENV): Likewise.
1024 (tst-chk5-ENV): Likewise.
1025 (tst-chk6-ENV): Likewise.
1026 (tst-lfschk1-ENV): Likewise.
1027 (tst-lfschk2-ENV): Likewise.
1028 (tst-lfschk3-ENV): Likewise.
1029 (tst-lfschk4-ENV): Likewise.
1030 (tst-lfschk5-ENV): Likewise.
1031 (tst-lfschk6-ENV): Likewise.
1032 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1033 (tst-iconv7-ENV): Likewise.
1034 * intl/Makefile (LOCPATH-ENV): Likewise.
1035 (tst-codeset-ENV): Likewise.
1036 (tst-gettext3-ENV): Likewise.
1037 (tst-gettext5-ENV): Likewise.
1038 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1039 (tst-fopenloc-ENV): Likewise.
1040 (tst-fgetws-ENV): Remove variable.
1041 (tst-ungetwc1-ENV): Likewise.
1042 (tst-ungetwc2-ENV): Likewise.
1043 (bug-ungetwc2-ENV): Likewise.
1044 (tst-swscanf-ENV): Likewise.
1045 (bug-ftell-ENV): Likewise.
1046 (tst-fgetwc-ENV): Likewise.
1047 (tst-fseek-ENV): Likewise.
1048 (tst-ftell-partial-wide-ENV): Likewise.
1049 (tst-ftell-active-handler-ENV): Likewise.
1050 (tst-ftell-append-ENV): Likewise.
1051 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1052 (tst-regexloc-ENV): Likewise.
1053 (bug-regex1-ENV): Likewise.
1054 (tst-regex-ENV): Likewise.
1055 (tst-regex2-ENV): Likewise.
1056 (bug-regex5-ENV): Likewise.
1057 (bug-regex6-ENV): Likewise.
1058 (bug-regex17-ENV): Likewise.
1059 (bug-regex18-ENV): Likewise.
1060 (bug-regex19-ENV): Likewise.
1061 (bug-regex20-ENV): Likewise.
1062 (bug-regex22-ENV): Likewise.
1063 (bug-regex23-ENV): Likewise.
1064 (bug-regex25-ENV): Likewise.
1065 (bug-regex26-ENV): Likewise.
1066 (bug-regex30-ENV): Likewise.
1067 (bug-regex32-ENV): Likewise.
1068 (bug-regex33-ENV): Likewise.
1069 (bug-regex34-ENV): Likewise.
1070 (bug-regex35-ENV): Likewise.
1071 (tst-rxspencer-ENV): Likewise.
1072 (tst-rxspencer-no-utf8-ENV): Likewise.
1073 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1074 (tst-sscanf-ENV): Likewise.
1075 (tst-swprintf-ENV): Likewise.
1076 (tst-swscanf-ENV): Likewise.
1077 (test-vfprintf-ENV): Likewise.
1078 (scanf13-ENV): Likewise.
1079 (bug14-ENV): Likewise.
1080 (tst-grouping-ENV): Likewise.
1081 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1082 (tst-strtod3-ENV): Likewise.
1083 (tst-strtod4-ENV): Likewise.
1084 (tst-strtod5-ENV): Likewise.
1085 (testmb2-ENV): Likewise./
1086 * string/Makefile (tst-strxfrm-ENV): Likewise.
1087 (tst-strxfrm2-ENV): Likewise.
1088 (bug-strcoll1-ENV): Likewise.
1089 (test-strcasecmp-ENV): Likewise.
1090 (test-strncasecmp-ENV): Likewise.
1091 * time/Makefile (tst-strptime-ENV): Likewise.
1092 (tst-ftime_l-ENV): Likewise.
1093 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1094 (tst-mbrtowc-ENV): Likewise.
1095 (tst-wcrtomb-ENV): Likewise.
1096 (tst-mbrtowc2-ENV): Likewise.
1097 (tst-c16c32-1-ENV): Likewise.
1098 (tst-mbsnrtowcs-ENV): Likewise.
1100 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1102 * manual/resource.texi (How to get information about the memory
1103 subsystem?): Fix typo.
1104 Reported by Peon de la Parra Ivan <peon@keba.com>
1106 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1109 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1110 (pthread_spin_lock): Branch out of spin loop to proper location.
1111 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1112 (pthread_spin_lock): Likewise.
1114 * nptl/tst-spin4.c: New test.
1115 * nptl/Makefile (tests): Add tst-spin4.
1117 2014-06-03 Andreas Schwab <schwab@suse.de>
1120 * resolv/res_send.c (send_dg): Reload file descriptor after
1123 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1125 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1127 2014-06-03 Richard Henderson <rth@redhat.com>
1129 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1130 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1131 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1132 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1133 in the SAVE_PID block.
1134 (__libc_vfork): New alias.
1135 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1137 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1138 child in registers, not on the stack. Remove RESET_PID conditionals.
1139 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1141 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1143 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1145 2014-06-03 Wilco <wdijkstr@arm.com>
1147 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1148 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1149 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1150 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1151 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1154 2014-06-03 Wilco <wdijkstr@arm.com>
1156 * sysdeps/aarch64/fpu/math_private.h
1157 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1158 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1159 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1160 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1163 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1165 * crypt/crypt-private.h: Include ufc-crypt.h.
1166 (__b64_from_24bit): Declare extern.
1167 * crypt/crypt_util.c(__b64_from_24bit): New function.
1168 (b64t): New static const variable.
1169 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1170 (b64t): Remove variable.
1171 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1172 * crypt/sha256-crypt.c: Include crypt-private.h.
1173 (b64t): Remove variable.
1174 (__sha256_crypt_r): Remove b64_from_24bit and replace
1175 with __b64_from_24bit.
1176 * crypt/sha512-crypt.c: Likewise.
1178 2014-06-02 Roland McGrath <roland@hack.frob.com>
1180 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1181 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1182 Label the code __libc_vfork rather than __vfork.
1183 [!NOT_IN_libc] (vfork): Define as weak alias.
1184 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1185 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1186 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1188 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1190 * malloc/malloc.c (malloc_info): Fix format specifier for
1193 2014-06-02 Wilco <wdijkstr@arm.com>
1195 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1198 2014-06-02 Wilco <wdijkstr@arm.com>
1201 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1202 Rewrite to reduce FPCR/FPSR accesses.
1204 2014-06-01 David S. Miller <davem@davemloft.net>
1206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1208 2014-05-31 David S. Miller <davem@davemloft.net>
1210 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1211 to occur in round to nearest mode when |x| >= 2.0
1213 2014-05-30 Richard Henderson <rth@twiddle.net>
1215 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1216 (PSEUDO_RET_NOERRNO): Remove.
1217 (ret): Don't redefine.
1218 (ret_NOERRNO): Define in terms of ret.
1219 (ret_ERRVAL): Likewise.
1221 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1222 use of PSEUDO_RET; perform the error check directly.
1224 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1226 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1229 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1231 * malloc/malloc (malloc_info): Fix formatting.
1233 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1234 Roland McGrath <roland@hack.frob.com>
1236 * malloc/malloc (malloc_info): Also print mmapped statistics.
1238 2014-05-30 Roland McGrath <roland@hack.frob.com>
1240 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1241 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1243 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1245 * malloc/malloc.c (malloc_info): Inline mi_arena.
1247 2014-05-29 Richard Henderson <rth@twiddle.net>
1249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1250 Remove comma before expanding ASM_ARGS_##nr.
1251 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1252 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1254 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1255 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1256 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1257 (ASM_ARGS_1): Add leading comma.
1259 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1260 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1261 to __errno_location.
1262 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1263 Remove the expected plt for __errno_location.
1265 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1266 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1269 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1270 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1271 it and break it down.
1272 (DOCARGS_0, DOCARGS_1): Do nothing.
1273 (DOCARGS_2): Update to store into the new stack frame.
1274 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1275 (UNDOCARGS_1): Update to restore from the new stack frame.
1276 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1277 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1279 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1280 (SINGLE_THREAD_P): New parameter for result regno.
1281 (PSEUDO): Update to match; use cbz instead of beq.
1283 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1284 Use ENTRY to define the _nocancel entry point. Share the syscall
1285 and syscall error check paths with the cancel path.
1288 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1289 whitespace; tabs before and after asm mnemonics.
1291 2014-05-29 Eric Wong <normalperson@yhbt.net>
1294 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1295 Call fstat64 or stat64 internally, depending on arguments passed.
1296 Replace stat buffer argument with file descriptor argument.
1297 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1298 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1299 Pass fd to __internal_statvfs instead of calling fstat64.
1300 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1301 Pass fd to __internal_statvfs64 instead of calling fstat64.
1302 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1303 Pass -1 to __internal_statvfs instead of calling stat64.
1304 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1305 Pass -1 to __internal_statvfs64 instead of calling stat64.
1307 2014-05-28 Roland McGrath <roland@hack.frob.com>
1309 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1310 that was previously under [RESET_PID].
1311 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1313 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1314 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1316 2014-05-27 Roland McGrath <roland@hack.frob.com>
1318 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1320 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1321 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1323 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1325 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1327 2014-05-27 Andreas Schwab <schwab@suse.de>
1329 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1331 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1332 * elf/rtld.c (init_tls, dl_main): Likewise.
1333 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1334 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1335 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1336 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1337 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1338 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1339 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1340 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1341 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1342 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1343 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1344 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1345 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1346 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1347 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1348 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1349 * sysdeps/generic/tls.h: Update description.
1351 2014-05-27 Will Newton <will.newton@linaro.org>
1354 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1355 and restore r2 rather than just restoring.
1357 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1360 * libio/tst-ftell-append.c: New test case.
1361 * libio/Makefile (tests): Add test case.
1362 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1364 * libio/wfileops.c (do_ftell_wide): Likewise.
1366 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1370 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1374 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1375 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1377 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1378 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1379 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1386 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1387 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1388 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1389 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1390 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1392 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1393 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1395 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1397 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1399 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1401 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1403 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1404 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1405 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1406 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1408 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1429 conditional [RESET_PID].
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1438 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1439 (__libc_vfork): New strong alias.
1440 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1447 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1448 (__libc_vfork): New strong alias.
1449 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1454 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1456 * malloc/malloc.c (mi_arena): New function.
1457 (malloc_info): Remove nested function mi_arena. Call non-nosted
1460 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1462 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1464 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1465 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1466 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1467 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1468 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1469 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1470 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1472 2014-05-26 Andreas Schwab <schwab@suse.de>
1475 * locale/programs/repertoire.c (repertoire_read): Add slash
1476 between I18NPATH element and file name.
1477 * locale/programs/locfile.c (locfile_read): Likewise.
1479 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1481 * nptl/pthread_mutexattr_settype.c
1482 (__pthread_mutexattr_settype):
1483 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1485 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1487 * nptl/tst-mutex5 (do_test):
1488 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1490 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1492 * benchtests/README: Document 'init' directive.
1493 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1495 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1496 (parse_file): Recognize 'init' directive.
1498 2014-05-26 Kyle McMartin <kyle@redhat.com>
1501 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1502 alignment of struct pthread.
1504 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1507 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1508 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1509 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1510 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1512 2014-05-25 Richard Henderson <rth@twiddle.net>
1514 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1515 (SINGLE_THREAD_P_PIC): Remove.
1516 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1517 (SINGLE_THREAD_P_PIC): Remove.
1519 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1520 branch to syscall error ...
1522 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1523 from __local_syscall_error to .Lsyscall_error.
1524 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1525 (SYSCALL_ERROR): Update label name.
1527 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1528 Do not use DOARGS/UNDOARGS.
1529 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1530 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1531 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1532 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1533 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1535 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1538 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1539 define if !NOT_IN_libc.
1540 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1541 define with non-default symbol versions.
1543 2014-05-23 Richard Henderson <rth@twiddle.net>
1545 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1546 (vfork, __vfork): Define via compat_symbol.
1548 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1549 [!HAVE_IFUNC] (vfork_compat): Remove.
1550 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1552 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1555 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1556 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1559 2014-05-23 Richard Henderson <rth@twiddle.net>
1561 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1562 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1563 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1564 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1566 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1567 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1568 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1569 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1570 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1571 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1572 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1573 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1574 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1575 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1576 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1577 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1578 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1579 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1580 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1581 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1582 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1583 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1584 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1585 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1587 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1589 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1591 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1592 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1593 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1595 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1596 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1597 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1599 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1601 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1605 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1606 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1607 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1608 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1609 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1610 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1611 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1612 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1613 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1614 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1615 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1616 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1617 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1618 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1619 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1620 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1621 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1623 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1624 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1625 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1626 before exiting on error.
1627 (__libc_vfork): New strong alias.
1628 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1629 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1631 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1632 that was previously under [RESET_PID].
1633 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1635 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1637 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1640 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1641 value when x - 1 is zero.
1642 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1643 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1644 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1645 0.0L for an argument of 1.0L.
1646 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1648 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1649 value when x - 1 is zero.
1650 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1651 * sysdeps/i386/fpu/libm-test-ulps: Update.
1652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1654 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1656 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1657 alphasort and versionsort.
1659 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1663 [copysignf]: Likewise.
1665 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 * crypt/md5-crypt.c: Fix formatting.
1669 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1671 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1672 (b64_from_24bit): New function.
1674 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1677 libc_hidden_builtin_def to ifunc.
1678 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1679 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1681 2014-05-21 Roland McGrath <roland@hack.frob.com>
1683 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1684 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1686 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1688 * nscd/Depend (linuxthreads): Remove.
1690 * resolv/Depend (linuxthreads): Remove.
1691 * rt/Depend (linuxthreads): Remove.
1693 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1694 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1695 $(common-objpfx)elf/.
1696 (link-libc-before-gnulib): Likewise.
1697 (elfobjdir): Remove variable.
1698 * Makefile (install): Use $(elf-objpfx) instead of
1699 $(common-objpfx)elf/.
1700 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1702 (link-libc-deps): Likewise.
1703 ($(common-objpfx)libc.so): Likewise.
1704 ($(common-objpfx)linkobj/libc.so): Likewise.
1705 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1706 instead of $(common-objpfx)elf/.
1707 (symbolic-link-list): Likewise.
1708 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1709 [$(cross-compiling) = no]: Likewise.
1710 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1712 (static-gnulib-arch): Likewise.
1713 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1714 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1715 $(common-objpfx)elf/.
1717 2014-05-21 Richard Henderson <rth@redhat.com>
1719 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1720 (SINGLE_THREAD_P): Use the correct width load. Fold
1721 into the ldr offset.
1723 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1724 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1726 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1728 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1729 (libgcc_s_resume): Use __attribute_used__.
1730 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1733 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1735 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1736 optimization when used with float constants.
1738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1740 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1743 * locale/nl_langinfo_l.c: Make direct reference to every
1744 _nl_current_CATEGORY symbol.
1745 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1746 (tests-static): Add tst-langinfo-static.
1747 (tests-special): Add tst-langinfo-static.out.
1748 ($(objpfx)tst-langinfo.out): Redirect output.
1749 ($(objpfx)tst-langinfo-static.out): New.
1750 * localedata/tst-langinfo.sh: Send output to stdout.
1751 * localedata/tst-langinfo-static.c: New file.
1754 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1755 when the shift amount is modulo the limb size.
1757 2014-05-20 Richard Henderson <rth@redhat.com>
1760 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1761 Change type of sa_flags from unsigned int to int.
1764 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1766 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1768 2014-05-20 Will Newton <will.newton@linaro.org>
1770 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1771 Test the return value of the system call in the nocancel case.
1773 2014-05-20 Will Newton <will.newton@linaro.org>
1774 Yvan Roux <yvan.roux@linaro.org>
1776 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1777 #include of asm/ptrace.h.
1778 (PTRACE_GET_THREAD_AREA): Remove #undef.
1779 (PTRACE_GETHBPREGS): Likewise.
1780 (PTRACE_SETHBPREGS): Likewise.
1781 (struct user_regs_struct): New structure.
1782 (struct user_fpsimd_struct): New structure.
1783 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1784 #include of asm/ptrace.h and second #include of sys/user.h.
1785 (PTRACE_GET_THREAD_AREA): Remove #undef.
1786 (PTRACE_GETHBPREGS): Likewise.
1787 (PTRACE_SETHBPREGS): Likewise.
1788 (ELF_NGREG): Use new struct user_regs_struct.
1789 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1791 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1793 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1794 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1796 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1799 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1800 membar to avoid block loads/stores to overlap previous stores.
1802 2014-05-17 Richard Henderson <rth@redhat.com>
1804 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1805 Create the __##syscall_name##_nocancel entry point.
1806 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1807 Remove; let the sysdep-cancel.h code create it.
1809 2014-05-17 David S. Miller <davem@davemloft.net>
1811 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1812 Protect with __USE_GNU.
1813 (TIOCSET_TEMPT): Likewise.
1814 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1815 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1816 these are already provided in bits/ioctl-types.h
1818 2014-05-16 Roland McGrath <roland@hack.frob.com>
1820 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1821 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1823 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1824 Use wait4 regardless of [__NR_waitpid].
1826 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1829 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1830 (_FP_NANSIGN_Q): Set the quiet bit.
1832 2014-05-16 Joseph Myers <joseph@codesourcery.com>
1834 * benchtests/Makefile
1835 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1836 not $(common-objpfx)math/libm.so.
1837 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1838 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1839 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1840 $(common-objpfx)dlfcn/libdl.so.
1841 ($(objpfx)tst-audit8): Depend on $(libm), not
1842 $(common-objpfx)math/libm.so.
1843 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1844 not $(common-objpfx)dlfcn/libdl.so.
1846 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1847 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1848 [$(build-shared) = yes].
1849 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1850 $(common-objpfx)nptl/libpthread.so.
1851 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1852 $(common-objpfx)math/libm.so$(libm.so-version) or
1853 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1854 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1855 $(common-objpfx)dlfcn/libdl.so.
1856 * setjmp/Makefile (link-libm): Remove variable.
1857 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1858 * stdio-common/Makefile (link-libm): Remove variable.
1859 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1860 * stdlib/Makefile (link-libm): Remove variable.
1861 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1862 ($(objpfx)tst-strtod-round): Likewise.
1863 ($(objpfx)tst-tininess): Likewise.
1864 ($(objpfx)tst-strtod-underflow): Likewise.
1865 ($(objpfx)tst-strtod6): Likewise.
1866 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1867 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1868 $(common-objpfx)dlfcn/libdl.so.
1870 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1873 BSD terminal modes definitions.
1875 2014-05-16 Roland McGrath <roland@hack.frob.com>
1877 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1878 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1880 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1881 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1882 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1883 Don't do #include_next.
1884 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1885 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1886 Don't do #include_next.
1887 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1888 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1889 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1890 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1892 2014-05-16 Allan McRae <allan@archlinux.org>
1894 * po/sv.po: Update Swedish translation from translation project.
1896 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1899 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1902 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1903 errno if the TIOCGPTN ioctl fails with an error different than
1905 * login/tst-ptsname.c: New file.
1906 * login/Makefile (tests): Add tst-ptsname.
1909 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1912 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1916 herrno to return EAI_AGAIN.
1918 2014-05-14 Roland McGrath <roland@hack.frob.com>
1920 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1921 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1922 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1945 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1946 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1947 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1948 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1949 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1951 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1953 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1956 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1976 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1978 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1980 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1982 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1985 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2001 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2006 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2008 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2011 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2012 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2013 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2014 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2016 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2017 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2018 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2019 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2020 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2021 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2022 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2023 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2024 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2025 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2026 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2027 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2028 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2029 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2030 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2032 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2033 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2034 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2035 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2036 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2037 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2038 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2039 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2040 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2042 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2043 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2045 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2046 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2047 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2049 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2052 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2053 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2055 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2056 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2058 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2059 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2061 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2062 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2063 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2064 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2066 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2067 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2068 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2069 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2070 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2071 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2072 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2073 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2075 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2076 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2078 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2080 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2081 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2082 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2083 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2084 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2086 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2088 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2090 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2091 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2092 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2093 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2094 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2095 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2097 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2098 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2100 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2101 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2103 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2104 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2106 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2107 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2108 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2109 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2111 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2112 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2113 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2114 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2115 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2116 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2117 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2118 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2120 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2121 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2123 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2125 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2126 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2127 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2128 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2129 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2131 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2133 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2135 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2136 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2137 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2138 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2139 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2140 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2141 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2142 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2143 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2144 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2147 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2149 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2150 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2152 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2153 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2155 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2156 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2157 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2158 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2159 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2160 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2162 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2163 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2164 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2165 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2166 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2167 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2168 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2169 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2171 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2172 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2174 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2176 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2177 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2178 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2179 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2180 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2182 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2184 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2186 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2187 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2188 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2189 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2190 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2191 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2192 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2193 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2194 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2195 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2196 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2198 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2199 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2201 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2202 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2204 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2205 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2206 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2207 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2208 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2209 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2210 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2211 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2212 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2213 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2214 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2215 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2216 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2217 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2218 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2219 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2220 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2221 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2223 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2224 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2225 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2226 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2228 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2230 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2231 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2232 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2234 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2235 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2237 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2238 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2240 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2241 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2242 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2243 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2244 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2245 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2246 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2247 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2248 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2249 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2250 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2251 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2252 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2253 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2254 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2255 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2256 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2258 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2259 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2260 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2261 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2262 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2264 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2265 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2266 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2267 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2268 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2269 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2270 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2271 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2272 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2273 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2275 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2276 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2278 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2279 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2280 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2281 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2282 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2283 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2284 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2285 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2286 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2287 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2288 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2289 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2290 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2291 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2316 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2317 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2318 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2319 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2320 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2321 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2322 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2323 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2324 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2325 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2326 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2328 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2329 that was previously under [RESET_PID].
2330 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2331 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2332 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2334 * sysdeps/i386/nptl/Implies: New file.
2335 * sysdeps/x86_64/nptl/Implies: New file.
2336 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2337 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2339 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2341 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2342 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2343 (__libc_vfork): New strong alias.
2344 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2345 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2347 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2348 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2349 (__libc_vfork): New strong alias.
2350 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2351 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2353 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2354 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2355 (__libc_vfork): New strong alias.
2356 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2357 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2358 * nptl/pt-vfork.c: New file.
2359 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2360 (libpthread: GLIBC_2.20): New version set (empty).
2362 2014-05-14 Will Newton <will.newton@linaro.org>
2364 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2367 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2370 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2371 arguments with exponent 65 or above.
2372 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2373 arguments 0x1p113L or above.
2374 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2375 to arguments 0x1p107L or above.
2376 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2377 positive arguments with exponent 65 or above.
2378 * math/auto-libm-test-in: Add more tests of log1p.
2379 * math/auto-libm-test-out: Regenerated.
2382 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2383 non-finite arguments is +0.
2384 * math/s_cacosf.c (__cacosf): Likewise.
2385 * math/s_cacosl.c (__cacosl): Likewise.
2386 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2387 * sysdeps/i386/fpu/libm-test-ulps: Update.
2388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2391 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2393 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2394 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2395 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2396 for explicit high bit of mantissa when testing for argument equal
2398 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2399 * sysdeps/i386/fpu/libm-test-ulps: Update.
2400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2403 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2404 (__erf): Scale by 16 instead of 8 in potentially underflowing
2405 case. Ensure exception if result actually underflows.
2406 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2407 (__erff): Scale by 16 instead of 8 in potentially underflowing
2408 case. Ensure exception if result actually underflows.
2409 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2410 (efx8): Remove variable.
2411 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2412 case. Ensure exception if result actually underflows.
2413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2414 (efx8): Remove variable.
2415 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2416 case. Ensure exception if result actually underflows.
2417 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2418 (efx8): Remove variable.
2419 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2420 case. Ensure exception if result actually underflows.
2421 * math/auto-libm-test-in: Add more tests of erf.
2422 * math/auto-libm-test-out: Regenerated.
2424 2014-05-14 Andreas Schwab <schwab@suse.de>
2426 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2427 Remove code conditionalized on USE___THREAD.
2429 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2430 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2433 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2435 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2436 Define unconditionally.
2437 (__ASSUME_O_CLOEXEC): Likewise.
2438 (__ASSUME_SOCK_CLOEXEC): Likewise.
2439 (__ASSUME_IN_NONBLOCK): Likewise.
2440 (__ASSUME_PIPE2): Likewise.
2441 (__ASSUME_EVENTFD2): Likewise.
2442 (__ASSUME_SIGNALFD4): Likewise.
2443 (__ASSUME_DUP3): Likewise.
2444 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2445 (__ASSUME_DUP3): Do not define.
2446 (__ASSUME_EVENTFD2): Likewise.
2447 (__ASSUME_IN_NONBLOCK): Likewise.
2448 (__ASSUME_O_CLOEXEC): Likewise.
2449 (__ASSUME_PIPE2): Likewise.
2450 (__ASSUME_SIGNALFD4): Likewise.
2451 (__ASSUME_SOCK_CLOEXEC): Likewise.
2452 (__ASSUME_UTIMES): Undefine.
2453 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2454 (__ASSUME_UTIMES): Do not define.
2455 (__ASSUME_O_CLOEXEC): Likewise.
2456 (__ASSUME_SOCK_CLOEXEC): Likewise.
2457 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2458 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2460 (__ASSUME_PIPE2): Likewise.
2461 (__ASSUME_EVENTFD2): Likewise.
2462 (__ASSUME_SIGNALFD4): Likewise.
2463 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2464 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2466 (__ASSUME_EVENTFD2): Likewise.
2467 (__ASSUME_SIGNALFD4): Likewise.
2468 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2469 (__ASSUME_32BITUIDS): Likewise.
2470 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2471 (__ASSUME_IPC64): Likewise.
2472 (__ASSUME_ST_INO_64_BIT): Likewise.
2473 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2474 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2475 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2476 (__ASSUME_UTIMES): Do not define.
2477 (__ASSUME_PSELECT): Likewise.
2478 (__ASSUME_PPOLL): Likewise.
2479 (__ASSUME_O_CLOEXEC): Likewise.
2480 (__ASSUME_SOCK_CLOEXEC): Likewise.
2481 (__ASSUME_IN_NONBLOCK): Likewise.
2482 (__ASSUME_PIPE2): Likewise.
2483 (__ASSUME_EVENTFD2): Likewise.
2484 (__ASSUME_SIGNALFD4): Likewise.
2485 (__ASSUME_DUP3): Likewise.
2486 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2487 (__ASSUME_UTIMES): Likewise.
2488 (__ASSUME_O_CLOEXEC): Likewise.
2489 (__ASSUME_SOCK_CLOEXEC): Likewise.
2490 (__ASSUME_IN_NONBLOCK): Likewise.
2491 (__ASSUME_PIPE2): Likewise.
2492 (__ASSUME_EVENTFD2): Likewise.
2493 (__ASSUME_SIGNALFD4): Likewise.
2494 (__ASSUME_DUP3): Likewise.
2495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2496 (__ASSUME_UTIMES): Likewise.
2497 (__ASSUME_O_CLOEXEC): Likewise.
2498 (__ASSUME_SOCK_CLOEXEC): Likewise.
2499 (__ASSUME_IN_NONBLOCK): Likewise.
2500 (__ASSUME_PIPE2): Likewise.
2501 (__ASSUME_EVENTFD2): Likewise.
2502 (__ASSUME_SIGNALFD4): Likewise.
2503 (__ASSUME_DUP3): Likewise.
2504 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2506 (__ASSUME_UTIMES): Likewise.
2507 (__ASSUME_EVENTFD2): Likewise.
2508 (__ASSUME_SIGNALFD4): Likewise.
2509 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2510 (__ASSUME_O_CLOEXEC): Likewise.
2511 (__ASSUME_SOCK_CLOEXEC): Likewise.
2512 (__ASSUME_IN_NONBLOCK): Likewise.
2513 (__ASSUME_PIPE2): Likewise.
2514 (__ASSUME_EVENTFD2): Likewise.
2515 (__ASSUME_SIGNALFD4): Likewise.
2516 (__ASSUME_DUP3): Likewise.
2517 (__ASSUME_UTIMES): Undefine.
2519 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2520 feclearexcept. Remove symbol versioning code.
2521 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2522 symbol versioning code.
2523 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2524 symbol versioning code.
2525 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2526 feupdateenv. Remove symbol versioning code.
2527 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2528 fegetexceptflag. Remove symbol versioning code.
2529 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2530 fesetexceptflag. Remove symbol versioning code.
2531 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2532 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2533 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2534 (__posix_fadvise64_l32): Remove prototype.
2535 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2538 2014-05-13 Roland McGrath <roland@hack.frob.com>
2540 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2541 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2542 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2543 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2545 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2547 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2548 current working directory
2550 2014-05-13 Roland McGrath <roland@hack.frob.com>
2552 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2553 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2554 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2555 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2556 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2557 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2558 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2559 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2560 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2561 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2562 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2563 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2564 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2565 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2566 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2567 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2568 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2569 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2570 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2571 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2572 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2573 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2574 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2575 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2576 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2577 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2578 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2579 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2580 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2581 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2582 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2583 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2585 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2586 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2587 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2588 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2589 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2590 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2591 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2592 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2593 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2595 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2596 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2598 * sysdeps/unix/sysv/linux/arm/Makefile
2599 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2600 Add rt-aeabi_unwind_cpp_pr1.
2601 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2602 Add nptl-aeabi_unwind_cpp_pr1.
2603 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2604 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2605 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2606 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2607 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2608 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2610 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2611 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2612 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2613 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2615 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2616 Deconditionalize the code that was previously under [RESET_PID].
2617 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2619 * sysdeps/generic/exit-thread.h: New file.
2620 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2621 * include/unistd.h (__exit_thread): Remove declaration.
2622 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2623 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2624 * csu/libc-start.c: Include <exit-thread.h>.
2625 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2626 * nptl/pthread_create.c: Include <exit-thread.h>.
2627 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2628 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2629 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2630 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2631 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2632 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2633 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2634 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2635 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2636 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2637 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2638 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2639 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2640 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2641 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2642 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2643 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2645 2014-05-13 Andreas Schwab <schwab@suse.de>
2647 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2649 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2651 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2652 (__ASSUME_UTIMES): Do not condition on kernel version.
2653 (__ASSUME_PSELECT): Define unconditionally.
2654 (__ASSUME_PPOLL): Likewise.
2655 (__ASSUME_ATFCTS): Likewise.
2656 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2657 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2658 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2659 (__ASSUME_UTIMENSAT): Define unconditionally.
2660 (__ASSUME_PRIVATE_FUTEX): Likewise.
2661 (__ASSUME_FALLOCATE): Likewise.
2662 (__ASSUME_O_CLOEXEC): Likewise.
2663 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2664 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2665 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2666 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2667 (__ASSUME_IN_NONBLOCK): Likewise.
2668 (__ASSUME_PIPE2): Likewise.
2669 (__ASSUME_EVENTFD2): Likewise.
2670 (__ASSUME_SIGNALFD4): Likewise.
2671 (__ASSUME_DUP3): Likewise.
2672 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2673 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2674 (__ASSUME_AT_RANDOM): Likewise.
2675 (__ASSUME_PREADV): Likewise.
2676 (__ASSUME_PWRITEV): Likewise.
2677 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2678 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2679 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2680 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2681 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2682 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2683 (__ASSUME_O_CLOEXEC): Define unconditionally.
2684 (__ASSUME_PSELECT): Do not undefine conditionally.
2685 (__ASSUME_PPOLL): Likewise.
2686 (__ASSUME_ATFCTS): Likewise.
2687 (__ASSUME_SET_ROBUST_LIST): Likewise.
2688 (__ASSUME_UTIMENSAT): Likewise.
2689 (__ASSUME_FDATASYNC): Define unconditionally.
2690 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2691 (__ASSUME_SIGFRAME_V2): Likewise.
2692 )__ASSUME_EVENTFD2): Likewise.
2693 (__ASSUME_SIGNALFD4): Likewise.
2694 (__ASSUME_PSELECT): Do not undefine conditionally.
2695 (__ASSUME_PPOLL): Likewise.
2696 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2697 (__ASSUME_PSELECT): Define unconditionally.
2698 (__ASSUME_PPOLL): Likewise.
2699 (__ASSUME_O_CLOEXEC): Likewise.
2700 (__ASSUME_SOCK_CLOEXEC): Likewise.
2701 (__ASSUME_IN_NONBLOCK): Likewise.
2702 (__ASSUME_PIPE2): Likewise.
2703 (__ASSUME_EVENTFD2): Likewise.
2704 (__ASSUME_SIGNALFD4): Likewise.
2705 (__ASSUME_DUP3): Likewise.
2706 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2707 (__ASSUME_O_CLOEXEC): Likewise.
2708 (__ASSUME_SOCK_CLOEXEC): Likewise.
2709 (__ASSUME_IN_NONBLOCK): Likewise.
2710 (__ASSUME_PIPE2): Likewise.
2711 (__ASSUME_EVENTFD2): Likewise.
2712 (__ASSUME_SIGNALFD4): Likewise.
2713 (__ASSUME_DUP3): Likewise.
2714 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2715 (__ASSUME_EVENTFD2): Likewise.
2716 (__ASSUME_SIGNALFD4): Likewise.
2717 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2719 2014-05-12 Andreas Schwab <schwab@suse.de>
2722 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2723 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2724 than maximum RPC packet size.
2725 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2726 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2727 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2728 (_nss_nis_getservbyport_r): Likewise.
2730 2014-05-12 Will Newton <will.newton@linaro.org>
2732 * malloc/Makefile (tests): Add tst-mallopt.
2733 * malloc/tst-mallopt.c: New file.
2735 2014-05-09 Roland McGrath <roland@hack.frob.com>
2737 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2738 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2740 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2742 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2743 (tst-tlsmod6.so): Likewise.
2745 2014-05-09 Roland McGrath <roland@hack.frob.com>
2747 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2749 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2752 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2753 and <dl-procinfo.h>.
2754 (__fegetenv): Save SSE state in envp->__eip if supported.
2755 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2756 envp->__eip if supported.
2757 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2758 and <dl-procinfo.h>.
2759 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2760 __data_offset and __data_selector in environment to 0. Set SSE
2762 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2764 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2766 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2768 2014-05-09 Will Newton <will.newton@linaro.org>
2770 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2771 and libc_relro_required for ARM.
2772 * sysdeps/arm/preconfigure: Regenerate.
2774 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2775 Stefan Liebler <stli@linux.vnet.ibm.com>
2777 * config.make.in (enable-lock-elision): New Makefile variable.
2778 * configure.ac: Likewise.
2779 * configure: Regenerate.
2780 * sysdeps/s390/configure.ac:
2781 Add check for gcc transactions support.
2782 * sysdeps/s390/configure: Regenerate.
2783 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2784 Build elision files if enabled.
2785 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2786 Add lock elision support for s390.
2787 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2788 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2789 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2790 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2791 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2792 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2793 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2795 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2797 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2799 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2801 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2802 (__lll_timedlock_elision, __lll_lock_elision)
2803 (__lll_unlock_elision, __lll_trylock_elision)
2804 (lll_timedlock_elision, lll_lock_elision)
2805 (lll_unlock_elision, lll_trylock_elision): Add.
2806 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2807 (pthread_mutex_t): Add lock elision support for s390.
2809 2014-05-14 Wilco <wdijkstr@arm.com>
2811 * sysdeps/arm/fclrexcpt.c: Cleanup.
2812 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2813 * sysdeps/arm/feenablxcpt.c: Cleanup.
2814 * sysdeps/arm/fegetenv.c: Cleanup.
2815 * sysdeps/arm/fegetexcept.c: Cleanup.
2816 * sysdeps/arm/fegetround.c: Cleanup.
2817 * sysdeps/arm/feholdexcpt.c: Cleanup.
2818 * sysdeps/arm/fesetenv.c: Cleanup.
2819 * sysdeps/arm/fesetround.c: Cleanup.
2820 * sysdeps/arm/feupdateenv.c: Cleanup.
2821 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2822 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2823 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2824 * sysdeps/arm/ftestexcept.c: Cleanup.
2825 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2826 * sysdeps/arm/setfpucw.c: Cleanup.
2828 2014-05-09 Will Newton <will.newton@linaro.org>
2830 * sysdeps/arm/armv7/strcmp.S: New file.
2831 * NEWS: Mention addition of ARMv7 optimized strcmp.
2833 2014-05-08 Roland McGrath <roland@hack.frob.com>
2835 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2836 look for %.ac rather than %.in.
2838 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2839 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2840 * sysdeps/mach/hurd/configure: Regenerated.
2841 * sysdeps/unix/sysv/linux/configure: Regenerated.
2843 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2845 2014-05-07 Steve Ellcey <sellcey@mips.com>
2848 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2852 2014-05-07 Andreas Schwab <schwab@suse.de>
2854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2855 when skipping over non-matching result from nscd.
2857 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
2860 * nptl/sockperf.c (client): Check socket return value.
2863 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2864 nscd security class.
2866 2014-05-06 Roland McGrath <roland@hack.frob.com>
2868 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2869 * sysdeps/arm/unwind.h: ... here.
2871 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2874 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2877 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2879 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2880 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2881 multiarch strncpy for PPC64.
2882 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2883 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2885 multiarch optimizations.
2886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2887 (__libc_ifunc_impl_list): Likewise.
2888 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2889 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2890 multiarch stpncpy for PPC64.
2891 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2892 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2894 2014-05-06 Andreas Schwab <schwab@suse.de>
2897 * gmon/mcount.c (_MCOUNT_DECL): Use
2898 atomic_compare_and_exchange_bool_acq instead of
2899 catomic_compare_and_exchange_bool_acq.
2901 2014-05-05 Roland McGrath <roland@hack.frob.com>
2903 * elf/Makefile (others, install-bin): Remove pldd.
2904 (pldd-modules): Variable removed.
2905 ($(objpfx)pldd): Target removed.
2906 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2907 (others, install-bin): Append pldd here.
2908 ($(objpfx)pldd): New target.
2910 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2911 to 0, so the first #if test emitted later doesn't see it undefined.
2912 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2913 * sysdeps/gnu/errlist.c: Regenerated.
2915 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2918 [libc_hidden_builtin_def]: Define to empty value.
2919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2920 [libc_hidden_builtin_def]: Likewise.
2921 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2922 [libc_hidden_builtin_def]: Likewise.
2923 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2924 [libc_hidden_builtin_def]: Likewise.
2925 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2926 __redirect_memcpy and define ifunc as default hidden symbol.
2927 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2928 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2930 2014-05-04 Adam Conrad <adconrad@0c3.net>
2932 * locale/iso-4217.def: Reintroduce XDR currency.
2934 2014-05-04 Allan McRae <allan@archlinux.org>
2936 * po/eo.po: Update Esperanto translation from translation project.
2938 2014-05-02 Carlos O'Donell <carlos@redhat.com>
2940 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2941 and FEATURE_INDEX_MAX to 1.
2942 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2944 2014-05-01 Steve Ellcey <sellcey@mips.com>
2946 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2947 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2948 * iconvdata/big5.c (ONE_DIRECTION): Define.
2949 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2950 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2951 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2952 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2953 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2954 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2955 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2956 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2957 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2958 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2959 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2960 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2961 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2962 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2963 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2964 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2965 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2966 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2967 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2968 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2969 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2970 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2971 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2972 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2973 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2974 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2975 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2976 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2977 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2978 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2979 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2980 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2981 * iconvdata/johab.c (ONE_DIRECTION): Define.
2982 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2983 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2984 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2985 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2986 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2987 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2988 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2989 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2990 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2991 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2993 2014-05-01 Roland McGrath <roland@hack.frob.com>
2995 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2996 (_IO_JUMPS_OFFSET): Define to 0.
2998 * nptl/sysdeps/pthread/bits/libc-lock.h
2999 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3000 (__libc_lock_define_initialized_recursive): Always define using
3001 initializer. Modern compilers treat uninitialized (implicit zero) and
3002 explicit zero initializers the same (i.e. put the datum in bss).
3004 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3006 * nscd/nscd-client.h: Include <string.h>.
3008 2014-05-01 David S. Miller <davem@davemloft.net>
3011 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3012 multiple zero bytes exist at the end of a string.
3013 Reported by Aurelien Jarno <aurelien@aurel32.net>
3015 * string/test-strcmp.c (check): Add explicit test for situations where
3016 there are multiple zero bytes after the first.
3018 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3021 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3022 when compiling wprintf.
3023 * stdio-common/tstdiomisc.c (t3): New function.
3026 2014-05-01 Steve Ellcey <sellcey@mips.com>
3028 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3029 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3030 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3031 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3033 2014-05-01 Steve Ellcey <sellcey@mips.com>
3035 * stdlib/longlong.h: Updated from GCC.
3037 2014-05-01 Will Newton <will.newton@linaro.org>
3038 Bernard Ogden <bernie.ogden@linaro.org>
3040 * NEWS: Update fixed bug list.
3043 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3045 2014-04-30 David S. Miller <davem@davemloft.net>
3047 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3048 (libc_feholdexcept_setround_sparc_ctx): New function.
3049 (libc_fesetenv_sparc_ctx): Likewise.
3050 (libc_feupdateenv_sparc_ctx): Likewise.
3051 (libc_feholdsetround_sparc_ctx): Likewise.
3052 (libc_feholdexcept_setround_ctx): Define.
3053 (libc_feholdexcept_setroundf_ctx): Likewise.
3054 (libc_feholdexcept_setroundl_ctx): Likewise.
3055 (libc_fesetenv_ctx): Likewise.
3056 (libc_fesetenvf_ctx): Likewise.
3057 (libc_fesetenvl_ctx): Likewise.
3058 (libc_feupdateenv_ctx): Likewise.
3059 (libc_feupdateenvf_ctx): Likewise.
3060 (libc_feupdateenvl_ctx): Likewise.
3061 (libc_feresetround_ctx): Likewise.
3062 (libc_feresetroundf_ctx): Likewise.
3063 (libc_feresetroundl_ctx): Likewise.
3064 (libc_feholdsetround_ctx): Likewise.
3065 (libc_feholdsetroundf_ctx): Likewise.
3066 (libc_feholdsetroundl_ctx): Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3069 with __USE_GNU instead of XOPEN cpp guards.
3071 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3074 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3075 with XOPEN cpp guards.
3077 2014-04-30 Julian Brown <julian@codesourcery.com>
3080 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3083 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3086 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3088 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3089 * sysdeps/unix/sysv/linux/configure: Regenerated.
3090 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3091 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3092 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3093 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3094 * README: Update reference to required Linux kernel version.
3095 * manual/install.texi (Linux): Update reference to required Linux
3096 kernel headers version.
3097 * INSTALL: Regenerated.
3099 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3101 [POSIX] (limits.h): Likewise.
3102 [POSIX] (math.h): Likewise.
3103 [POSIX] (sys/wait.h): Likewise.
3104 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3106 [POSIX] (stddef.h): Do not allow header inclusion.
3108 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3110 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3112 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3114 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3115 Return immediately after lll_futex_wake.
3117 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3120 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3122 (datahead_init_pos): Call datahead_init_common early.
3123 (datahead_init_neg): Likewise.
3125 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3126 datahead_init_neg): New functions.
3127 * nscd/aicache.c (addhstaiX): Use them.
3128 * nscd/grpcache.c (cache_addgr): Likewise.
3129 * nscd/hstcache.c (cache_addhst): Likewise.
3130 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3131 * nscd/netgroupcache.c (do_notfound): Likewise.
3132 (addgetnetgrentX): Likewise.
3133 (addinnetgrX): Likewise.
3134 * nscd/pwdcache.c (cache_addpw): Likewise.
3135 * nscd/servicescache.c (cache_addserv): Likewise.
3137 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3138 Atsushi Onoe <atsushi@onoe.org>
3143 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3144 one response is valid.
3145 * resolv/res_send.c (send_dg): Check for validity of other
3146 response if the current response is a referral.
3148 2014-04-29 Steve Ellcey <sellcey@mips.com>
3150 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3152 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3155 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3156 Always divide by positive zero when computing -Inf result.
3157 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3158 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3160 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3162 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3163 FPSCR if value do not change.
3164 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3165 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3166 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3167 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3168 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3169 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3172 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3174 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3175 * sysdeps/unix/sysv/linux/hppa: Move directory from
3176 ports/systeps/unix/sysv/linux/hppa.
3177 * README: Update listing for hppa-*-linux-gnu.
3179 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3182 * manual/stdio.texi (Hook functions): Fix types of stream hook
3185 * socket/sys/socket.h: Fix typo in comment.
3187 2014-04-28 Wilco <wdijkstr@arm.com>
3189 * sysdeps/arm/fenv_private.h: New file.
3190 * sysdeps/arm/math_private.h: New file.
3191 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3193 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3195 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3197 (La_x86_64_retval): Likewise.
3199 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3201 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3202 fpsr if value didn't change.
3203 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3204 to fpcr if value didn't change.
3205 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3206 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3207 fpsr or fpcr if value didn't change.
3208 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3209 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3210 fpcr if value didn't change.
3211 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3212 to fpsr if value didn't change.
3214 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3216 * nptl/tst-sem3.c: Use test-skeleton.c
3217 (main): Rename to do_test. Use return instead of
3219 * nptl/tst-sem4.c: Use test-skeleton.c
3220 (main): Rename to do_test.
3222 2014-04-22 David S. Miller <davem@davemloft.net>
3224 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3225 (struct sigaction): New struct member __glibc_reserved0, change
3226 type of sa_flags to int.
3228 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3230 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3231 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3233 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3235 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3236 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3238 2014-04-22 Will Newton <will.newton@linaro.org>
3239 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3241 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3242 (__longjmp): Add longjmp and longjmp_target SystemTap
3244 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3245 (__sigsetjmp): Add setjmp SystemTap probe.
3247 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3249 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3252 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3254 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3256 * sysdeps/powerpc/fpu/fenv_private.h
3257 (libc_feholdexcept_setroundl_ctx): Define to
3258 libc_feholdexcept_setround_ppc_ctx.
3259 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3260 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3261 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3262 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3264 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3266 * sysdeps/aarch64/math-tests.h: New file.
3268 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3270 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3273 Check and set bit_AVX2_Usable.
3274 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3276 (bit_AVX2): Likewise.
3277 (index_AVX2_Usable): Likewise.
3278 (CPUID_AVX2): Likewise.
3279 (HAS_AVX2): Likewise.
3281 2014-04-17 Will Newton <will.newton@linaro.org>
3283 * manual/setjmp.texi (System V contexts): Add note that
3284 calling setcontext on a context created by a call to a
3285 signal handler is undefined. Update text to note that
3286 setcontext from a signal handler is possible but not
3290 * stdlib/tst-setcontext.c: Include signal.h.
3291 (main): Check that the signal stack before and
3292 after swapcontext is the same.
3294 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3295 Re-implement to restore registers in user code and avoid
3296 rt_sigreturn system call.
3298 2014-04-17 Wilco <wdijkstr@arm.com>
3300 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3301 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3302 * math/test-fenv.c: Skip exception trap tests on targets which only
3303 support non-stop mode.
3305 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3306 Wilco Dijkstra <wilco.dijkstra@arm.com>
3308 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3309 (libc_feholdsetround_aarch64_ctx)
3310 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3311 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3312 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3313 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3314 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3315 (libc_feresetround_noexl_ctx): Define.
3317 2014-04-16 Richard Henderson <rth@redhat.com>
3319 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3321 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3324 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3325 const from the non-libc, non-ldso copy.
3327 * sysdeps/alpha/libm-test-ulps: Regenerate.
3329 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3330 Wilco Dijkstra <wilco.dijkstra@arm.com>
3332 * sysdeps/aarch64/fpu/math_private.h: New file.
3334 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3336 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3338 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3340 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3341 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3342 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3343 Intel MPX bound registers before _dl_profile_fixup.
3344 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3345 registers after _dl_profile_fixup. Save and restore bound
3346 registers bnd0/bnd1 when calling _dl_call_pltexit.
3347 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3348 (LR_BND_OFFSET): Likewise.
3349 (LRV_BND0_OFFSET): Likewise.
3350 (LRV_BND1_OFFSET): Likewise.
3352 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3354 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3356 * sysdeps/mach/hurd/i386/tls.h: ... here.
3357 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3358 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3361 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3363 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3365 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3367 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3369 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3372 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3373 * sysdeps/s390/configure: Regenerate.
3376 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3377 Set round-to-nearest internally to reduce error accumulation.
3379 2014-04-16 Alan Modra <amodra@gmail.com>
3383 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3384 * math/libm-test.inc (frexp_test_data): Add tests.
3385 * NEWS: Update fixed bug list.
3387 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3389 * benchtests/Makefile: Depend on libraries in build directory.
3390 (bench-math): Separate out math tests.
3391 (bench-pthread): Separate out pthread tests.
3392 (bench): Include math and pthread tests.
3394 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3397 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3398 _dl_debug_initialize.
3400 * configure.ac: Remove SELinux header check.
3401 * configure: Regenerate.
3402 * nscd/selinux.c (perms): Array of const char* to permission names.
3403 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3404 default policy. Call string_to_security_class and string_to_av_perm to
3405 translate strings. Enforce default policy and call avs_has_perm with
3406 results of translated strings.
3408 2014-04-13 David S. Miller <davem@davemloft.net>
3410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3412 2014-04-12 Allan McRae <allan@archlinux.org>
3415 * manual/string.texi (Collation Functions): Fix qsort argument
3417 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3419 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3421 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3422 Make the test a no-op if there are no exceptions defined.
3424 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3426 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3427 enable-hardcoded-path-in-tests
3429 2014-04-11 Will Newton <will.newton@linaro.org>
3431 * benchtests/Makefile (extra-objs): Add json-lib.o.
3432 (bench-func): Tidy up JSON output.
3433 * benchtests/bench-skeleton.c: Include json-lib.h.
3434 (main): Use JSON library functions to do output of
3436 * benchtests/bench-timing-type.c (main): Output the
3437 timing type simply, leaving formatting to the user.
3438 * benchtests/json-lib.c: New file.
3439 * benchtests/json-lib.h: Likewise.
3441 2014-04-11 Torvald Riegel <triegel@redhat.com>
3444 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3445 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3446 memory barriers. Add comments.
3447 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3448 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3449 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3450 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3451 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3452 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3454 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3456 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3457 * sysdeps/s390/s390-64/configure.ac: ... this ...
3458 * sysdeps/s390/configure.ac: ... to here.
3459 * sysdeps/s390/s390-32/configure: Delete file.
3460 * sysdeps/s390/s390-64/configure: Delete file.
3461 * sysdeps/s390/configure: Regenerate.
3463 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3465 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3467 2014-04-11 Will Newton <will.newton@linaro.org>
3469 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3470 to zero if it is not defined elsewhere. (mtrim): Test
3471 the value of MALLOC_DEBUG with #if rather than #ifdef.
3473 2014-04-10 Torvald Riegel <triegel@redhat.com>
3475 * benchtests/pthread_once-inputs: New file.
3476 * benchtests/pthread_once-source.c: New file.
3477 * benchtests/README: Update documentation.
3479 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3480 H.J. Lu <hongjiu.lu@intel.com>
3482 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3483 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3484 * sysdeps/x86_64/configure: Regenerated.
3485 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3487 (REGISTER_SAVE_RAX): Likewise.
3488 (REGISTER_SAVE_RCX): Likewise.
3489 (REGISTER_SAVE_RDX): Likewise.
3490 (REGISTER_SAVE_RSI): Likewise.
3491 (REGISTER_SAVE_RDI): Likewise.
3492 (REGISTER_SAVE_R8): Likewise.
3493 (REGISTER_SAVE_R9): Likewise.
3494 (REGISTER_SAVE_BND0): Likewise.
3495 (REGISTER_SAVE_BND1): Likewise.
3496 (REGISTER_SAVE_BND2): Likewise.
3497 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3498 bound registers when calling _dl_fixup.
3500 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3503 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3505 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3506 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3507 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3508 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3509 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3510 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3511 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3513 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3516 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3517 pathconf(_PC_NAME_MAX).
3519 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3521 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3523 (__PTHREAD_SPINS): Move definition to ...
3524 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3525 (__PTHREAD_SPINS): ... here.
3526 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3527 (__PTHREAD_SPIN): Likewise.
3528 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3529 (__PTHREAD_SPIN): Likewise.
3530 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3531 (__PTHREAD_SPIN): Likewise.
3532 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3533 (__PTHREAD_SPIN): Likewise.
3534 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3535 (__PTHREAD_SPIN): Likewise.
3536 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3537 (__PTHREAD_SPIN): Likewise.
3538 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3539 (__PTHREAD_SPIN): Likewise.
3540 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3541 (__PTHREAD_SPIN): Likewise.
3542 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3543 (__PTHREAD_SPIN): Likewise.
3544 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3545 (__PTHREAD_SPIN): Likewise.
3546 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3547 (__PTHREAD_SPIN): Likewise.
3548 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3549 (__PTHREAD_SPIN): Likewise.
3551 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3552 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3553 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3554 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3556 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3557 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3558 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3559 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3561 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3562 strlen symbol for non multi-arch builds.
3563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3564 missing hidden_def and weak_alias.
3566 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3568 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3570 2014-04-07 Will Newton <will.newton@linaro.org>
3572 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3573 and contents. [!_LIBC] Remove #ifndef and contents.
3574 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3575 * string/memccpy.c (__memccpy): Use ANSI prototype.
3576 * string/memfrob.c (memfrob): Likewise.
3577 * string/strcoll.c (STRCOLL): Likewise.
3578 * string/strlen.c (strlen): Likewise.
3579 * string/strtok.c (STRTOK): Likewise.
3580 * string/strcat.c: Remove unused #include of memcopy.h.
3581 (strcat): Use ANSI prototype.
3582 * string/strchr.c: Remove unused #include of memcopy.h.
3583 (strchr): Use ANSI prototype.
3584 * string/strcmp.c: Remove unused #include of memcopy.h.
3585 (strcmp): Use ANSI prototype.
3586 * string/strcpy.c: Remove unused #include of memcopy.h.
3587 (strcpy): Use ANSI prototype.
3589 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3591 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3592 * config.make.in (config-extra-cppflags): Set it from
3593 libc_extra_cppflags.
3594 * configure.ac (libc_extra_cflags): Make it accumulate over
3595 configure fragments.
3596 (libc_extra_cppflags): New flag.
3597 * configure. Regenerate.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3599 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3600 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3605 result for FE_DOWNWARD rounding mode.
3606 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3610 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3612 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3613 in function argument name.
3615 2014-04-03 David Svoboda <svoboda@cert.org>
3618 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3621 2014-04-03 Roland McGrath <roland@hack.frob.com>
3623 * elf/dl-unmap-segments.h: New file.
3624 * sysdeps/generic/ldsodefs.h
3625 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3626 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3627 * elf/dl-fptr.c: Likewise.
3628 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3629 * sysdeps/aarch64/tlsdesc.c: Likewise.
3630 * sysdeps/arm/tlsdesc.c: Likewise.
3631 * sysdeps/i386/tlsdesc.c: Likewise.
3632 * sysdeps/tile/dl-runtime.c: Likewise.
3633 * sysdeps/x86_64/tlsdesc.c: Likewise.
3634 * elf/dl-load.h: New file.
3635 * elf/dl-load.c: Include it.
3636 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3637 Macros moved to dl-load.h.
3638 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3639 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3640 Use _dl_unmap_segments in place of __munmap.
3641 Break out segment-mapping loop into ...
3642 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3644 2014-04-03 Will Newton <will.newton@linaro.org>
3646 * elf/dl-lookup.c (do_lookup_x): Remove comment
3647 referring to nested function and move variable
3648 declarations down to before first use.
3650 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3654 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3656 * math/s_catanf.c (__catanf): Likewise.
3657 * math/s_catanh.c (__catanh): Likewise.
3658 * math/s_catanhf.c (__catanhf): Likewise.
3659 * math/s_catanhl.c (__catanhl): Likewise.
3660 * math/s_catanl.c (__catanl): Likewise.
3661 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3662 by positive zero when computing -Inf result.
3663 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3664 (catanh_test): Likewise.
3665 * sysdeps/i386/fpu/libm-test-ulps: Update.
3666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3669 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3670 instead of using underflowing value in computing result.
3671 * math/s_clog10.c (__clog10): Likewise.
3672 * math/s_clog10f.c (__clog10f): Likewise.
3673 * math/s_clog10l.c (__clog10l): Likewise.
3674 * math/s_clogf.c (__clogf): Likewise.
3675 * math/s_clogl.c (__clogl): Likewise.
3676 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3677 (clog10_test): Likewise.
3678 * sysdeps/i386/fpu/libm-test-ulps: Update.
3679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3681 2014-04-02 Alan Modra <amodra@gmail.com>
3684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3685 output when value is near a power of two. Use int64_t for lx and
3686 remove casts. Use decimal rather than hex exponent constants.
3687 Don't use long double multiplication when double will suffice.
3688 * math/libm-test.inc (nextafter_test_data): Add tests.
3689 * NEWS: Add 16739 and 16786 to bug list.
3691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3693 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3695 2014-04-01 Will Newton <will.newton@linaro.org>
3697 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3698 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3700 2014-04-01 Florian Weimer <fweimer@redhat.com>
3703 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3704 * nptl/tst-setuid2.c: New file.
3705 * nptl/Makefile (xtests): Add tst-setuid2.
3707 2014-04-01 Alan Modra <amodra@gmail.com>
3710 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3712 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3716 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3717 set errno as appropriate.
3718 * math/w_scalbf.c (__scalbf): Likewise.
3719 * math/w_scalbl.c (__scalbl): Likewise.
3720 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3721 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3722 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3726 * math/w_atan2.c: Include <errno.h>.
3727 (__atan2): Set errno for result underflowing to zero.
3728 * math/w_atan2f.c: Include <errno.h>.
3729 (__atan2f): Set errno for result underflowing to zero.
3730 * math/w_atan2l.c: Include <errno.h>.
3731 (__atan2l): Set errno for result underflowing to zero.
3732 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3734 * math/auto-libm-test-out: Regenerated.
3736 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3739 Encode instruction correctly in little endian.
3740 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3742 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3744 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3746 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3749 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3752 * sysdeps/unix/sysv/linux/kernel-features.h
3753 [__sparc__ && !__arch64__ && !__sparc_v9__]
3754 (__ASSUME_SET_ROBUST_LIST): Do not define.
3755 [__sparc__ && !__arch64__ && !__sparc_v9__]
3756 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3757 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3759 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3760 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3761 (__ASSUME_REQUEUE_PI): Likewise.
3762 (__ASSUME_SET_ROBUST_LIST): Likewise.
3763 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3764 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3766 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3767 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3769 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3771 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3773 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3774 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3776 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3777 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3782 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3783 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3785 2014-03-31 Will Newton <will.newton@linaro.org>
3787 * benchtests/Makefile (bench): Add ffs and ffsll to list
3789 * benchtests/ffs-inputs: New file.
3790 * benchtests/ffsll-inputs: Likewise.
3792 2014-03-29 Joseph Myers <joseph@codesourcery.com>
3795 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3796 too large before casting to int.
3797 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3798 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3799 * math/libm-test.inc (scalb_test_data): Add more tests.
3801 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3803 * benchtests/Makefile (DETAILED_OPT): New make option.
3804 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3806 * benchtests/bench-skeleton.c: Include stdbool.h.
3807 (main): Store and print timings per input.
3808 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3809 member to each argument value.
3810 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3811 (_print_arg_data): Initialize per-input timing to 0.
3813 * benchtests/Makefile (timing-type): New binary.
3814 (bench-clean): Also remove bench-timing-type.
3815 (bench): New target for timing-type.
3816 (bench-func): Print output in JSON format.
3817 * benchtests/bench-skeleton.c (main): Print output in JSON
3819 * benchtests/bench-timing-type.c: New file.
3820 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3821 (TIMING_PRINT_STATS): Remove.
3822 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3825 * benchtests/bench-modf.c: Remove.
3826 * benchtests/modf-inputs: New inputs file.
3828 2014-03-28 Joseph Myers <joseph@codesourcery.com>
3831 * math/s_clog10.c (M_PI_LOG10E): New macro.
3832 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3833 imaginary parts are 0.
3834 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3835 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3836 imaginary parts are 0.
3837 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3838 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3839 imaginary parts are 0.
3840 * math/libm-test.inc (clog10_test_data): Update expected results
3841 for when real and imaginary parts are 0.
3843 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3845 * elf/dl-load.c: Finish conversion of __builtin_expect into
3848 2014-03-27 Joseph Myers <joseph@codesourcery.com>
3851 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3852 1+x for argument with exponent below -67.
3853 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3855 * math/auto-libm-test-in: Add more tests of exp.
3856 * math/auto-libm-test-out: Regenerated.
3858 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3861 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3862 (nscd_getnetgrent): Use it.
3865 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3868 2014-03-27 Andi Kleen <ak@linux.intel.com>
3870 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3871 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3872 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3873 (lll_robust_unlock): Remove out of line section. Use cfi
3875 (LLL_STUB_UNWIND_INFO*): Remove.
3876 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3877 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3878 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3879 (lll_robust_unlock): Remove out of line section. Use cfi
3881 (LLL_STUB_UNWIND_INFO*): Remove.
3883 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3886 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3889 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3891 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3893 2014-03-26 Joseph Myers <joseph@codesourcery.com>
3896 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3898 * math/test-fenv-preserve.c: New file.
3899 * math/Makefile (tests): Add test-fenv-preserve.
3901 2014-03-26 Will Newton <will.newton@linaro.org>
3903 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3905 2014-03-25 Roland McGrath <roland@hack.frob.com>
3907 * scripts/versionlist.awk: Partition the version sets and emit all
3908 GLIBC_* (sorted) before all others (sorted).
3910 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3912 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3913 GLIBC_2.2.5 version.
3915 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3917 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3920 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3925 2014-03-25 Andreas Schwab <schwab@suse.de>
3927 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3928 label to be used after in6ailist is initialized.
3930 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3932 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3933 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3935 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3939 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3941 (fp_formats): Update initializers.
3942 (init_fp_formats): Initialize new field.
3943 (output_for_one_input_case): Allow underflow for results up to
3945 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3946 * math/auto-libm-test-in: Don't mark some underflows from asin and
3948 * math/auto-libm-test-out: Regenerated.
3949 * sysdeps/i386/fpu/libm-test-ulps: Update.
3950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3952 2014-03-25 Andreas Schwab <schwab@suse.de>
3954 * libio/Makefile (tst-ftell-partial-wide-ENV)
3955 (tst-ftell-active-handler-ENV): Define.
3957 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3959 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3961 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3963 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3965 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3967 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3968 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3969 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3971 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3974 * elf/dl-load.c (open_verify): Add mode parameter.
3975 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3976 (open_path): Change from boolean 'secure' to complete flag 'mode'
3977 (_dl_map_object): Adjust.
3978 * elf/Makefile (tests): Add tst-dlopen-aout.
3979 * elf/tst-dlopen-aout.c: New test.
3981 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3984 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3985 (struct stat): Rename member pad0 to __glibc_reserved0.
3988 * sysdeps/s390/s390-32/bits/wordsize.h
3989 (__WORDSIZE32_SIZE_ULONG): New define.
3990 * sysdeps/s390/s390-64/bits/wordsize.h
3991 (__WORDSIZE32_SIZE_ULONG): Likewise.
3992 * sysdeps/generic/stdint.h (SIZE_MAX):
3993 Define as UL if __WORDSIZE32_SIZE_ULONG.
3996 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3997 (__glibc_reserved0): New variable.
3998 (sa_flags): Change type to int.
4000 * posix/Makefile (before-compile): Use += before-compile instead
4003 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4004 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4006 2014-03-20 Andreas Schwab <schwab@suse.de>
4009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4010 non-matching result from nscd.
4012 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4014 * scripts/bench.py: Moved to ...
4015 * benchtests/scripts/bench.py: ... here.
4016 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4018 2014-03-24 Andreas Schwab <schwab@suse.de>
4021 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4022 alloca_account and account alloca use for struct in6ailist.
4024 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4027 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4028 rounding mode to recompute results that overflow to infinity or
4030 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4032 * math/auto-libm-test-out: Regenerated.
4033 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4034 (ccosh_test): Likewise.
4035 (csin_test_data): Use plus_oflow.
4036 (csin_test): Use ALL_RM_TEST.
4037 (csinh_test_data): Use plus_oflow.
4038 (csinh_test): Use ALL_RM_TEST.
4039 * sysdeps/i386/fpu/libm-test-ulps: Update.
4040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4042 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4044 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4045 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4046 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4049 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4051 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4052 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4053 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4054 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4056 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4057 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4059 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4060 * sysdeps/i386/fpu/libm-test-ulps: Update.
4061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4063 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4065 * scripts/bench.pl: Remove file.
4066 * scripts/bench.py: New benchmark script.
4067 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4068 * benchtests/README: Mention python dependency.
4069 * scripts/pylintrc: New file.
4070 * scripts/pylint: New file.
4072 * bits/mathdef.h: Use #ifdef instead of #if.
4073 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4074 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4075 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4076 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4077 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4078 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4080 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4083 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4085 and strpbrk-ppc64 objects.
4086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4087 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4088 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4089 multiarch strpbrk for POWER7.
4090 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4091 multiarch strpbrk for PPC64.
4092 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4094 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4097 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4099 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4100 (atan_test): Likewise.
4101 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4102 (atanh_test): Use ALL_RM_TEST.
4103 (atan2_test_data): Likewise.
4104 (cabs_test): Likewise.
4105 (cacosh_test): Likewise.
4106 (carg_test): Likewise.
4107 (casin_test): Likewise.
4108 (casinh_test): Likewise.
4109 (cbrt_test): Likewise.
4110 (csqrt_test): Likewise.
4111 (erf_test): Likewise.
4112 (erfc_test): Likewise.
4113 (pow10_test): Likewise.
4114 (exp2_test): Likewise.
4115 (hypot_test): Likewise.
4116 (j0_test): Likewise.
4117 (j1_test): Likewise.
4118 (lgamma_test): Likewise.
4119 (gamma_test): Likewise.
4120 (sincos_test): Likewise.
4121 (tanh_test): Likewise.
4122 (y0_test): Likewise.
4123 (y1_test): Likewise.
4124 * sysdeps/i386/fpu/libm-test-ulps: Update.
4125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4127 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4129 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4131 and strcspn-ppc64 objects.
4132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4133 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4134 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4135 multiarch strcspn for POWER7.
4136 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4137 multiarch strcspn for PPC64.
4138 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4140 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4143 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4145 * math/gen-libm-test.pl (generate_testfile): Expect only function
4146 name as argument to AUTO_TESTS_* and pass results for all rounding
4147 modes to parse_args.
4148 (parse_auto_input): Separate inputs of automatic tests from
4149 outputs before storing in %auto_tests.
4150 * math/libm-test.inc (acos_test_data): Update call to
4152 (acos_test): Use ALL_RM_TEST.
4153 (acos_tonearest_test_data): Remove.
4154 (acos_test_tonearest): Likewise.
4155 (acos_towardzero_test_data): Likewise.
4156 (acos_test_towardzero): Likewise.
4157 (acos_downward_test_data): Likewise.
4158 (acos_test_downward): Likewise.
4159 (acos_upward_test_data): Likewise.
4160 (acos_test_upward): Likewise.
4161 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4162 (asin_test_data): Likewise.
4163 (asin_test): Use ALL_RM_TEST.
4164 (asin_tonearest_test_data): Remove.
4165 (asin_test_tonearest): Likewise.
4166 (asin_towardzero_test_data): Likewise.
4167 (asin_test_towardzero): Likewise.
4168 (asin_downward_test_data): Likewise.
4169 (asin_test_downward): Likewise.
4170 (asin_upward_test_data): Likewise.
4171 (asin_test_upward): Likewise.
4172 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4173 (atan_test_data): Likewise.
4174 (atanh_test_data): Likewise.
4175 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4176 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4177 (carg_test_data): Likewise.
4178 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4179 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4180 (ccosh_test_data): Likewise.
4181 (cexp_test_data): Likewise.
4182 (clog_test_data): Likewise.
4183 (clog10_test_data): Likewise.
4184 (cos_test_data): Update call to AUTO_TESTS_f_f.
4185 (cos_test): Use ALL_RM_TEST.
4186 (cos_tonearest_test_data): Remove.
4187 (cos_test_tonearest): Likewise.
4188 (cos_towardzero_test_data): Likewise.
4189 (cos_test_towardzero): Likewise.
4190 (cos_downward_test_data): Likewise.
4191 (cos_test_downward): Likewise.
4192 (cos_upward_test_data): Likewise.
4193 (cos_test_upward): Likewise.
4194 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4195 (cosh_test): Use ALL_RM_TEST.
4196 (cosh_tonearest_test_data): Remove.
4197 (cosh_test_tonearest): Likewise.
4198 (cosh_towardzero_test_data): Likewise.
4199 (cosh_test_towardzero): Likewise.
4200 (cosh_downward_test_data): Likewise.
4201 (cosh_test_downward): Likewise.
4202 (cosh_upward_test_data): Likewise.
4203 (cosh_test_upward): Likewise.
4204 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4205 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4206 (ctan_test_data): Likewise.
4207 (ctan_test): Use ALL_RM_TEST.
4208 (ctan_tonearest_test_data): Remove.
4209 (ctan_test_tonearest): Likewise.
4210 (ctan_towardzero_test_data): Likewise.
4211 (ctan_test_towardzero): Likewise.
4212 (ctan_downward_test_data): Likewise.
4213 (ctan_test_downward): Likewise.
4214 (ctan_upward_test_data): Likewise.
4215 (ctan_test_upward): Likewise.
4216 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4217 (ctanh_test): Use ALL_RM_TEST.
4218 (ctanh_tonearest_test_data): Remove.
4219 (ctanh_test_tonearest): Likewise.
4220 (ctanh_towardzero_test_data): Likewise.
4221 (ctanh_test_towardzero): Likewise.
4222 (ctanh_downward_test_data): Likewise.
4223 (ctanh_test_downward): Likewise.
4224 (ctanh_upward_test_data): Likewise.
4225 (ctanh_test_upward): Likewise.
4226 (erf_test_data): Update call to AUTO_TESTS_f_f.
4227 (erfc_test_data): Likewise.
4228 (exp_test_data): Likewise.
4229 (exp_test): Use ALL_RM_TEST.
4230 (exp_tonearest_test_data): Remove.
4231 (exp_test_tonearest): Likewise.
4232 (exp_towardzero_test_data): Likewise.
4233 (exp_test_towardzero): Likewise.
4234 (exp_downward_test_data): Likewise.
4235 (exp_test_downward): Likewise.
4236 (exp_upward_test_data): Likewise.
4237 (exp_test_upward): Likewise.
4238 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4239 (exp10_test): Use ALL_RM_TEST.
4240 (exp10_tonearest_test_data): Remove.
4241 (exp10_test_tonearest): Likewise.
4242 (exp10_towardzero_test_data): Likewise.
4243 (exp10_test_towardzero): Likewise.
4244 (exp10_downward_test_data): Likewise.
4245 (exp10_test_downward): Likewise.
4246 (exp10_upward_test_data): Likewise.
4247 (exp10_test_upward): Likewise.
4248 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4249 (expm1_test_data): Likewise.
4250 (expm1_test): Use ALL_RM_TEST.
4251 (expm1_tonearest_test_data): Remove.
4252 (expm1_test_tonearest): Likewise.
4253 (expm1_towardzero_test_data): Likewise.
4254 (expm1_test_towardzero): Likewise.
4255 (expm1_downward_test_data): Likewise.
4256 (expm1_test_downward): Likewise.
4257 (expm1_upward_test_data): Likewise.
4258 (expm1_test_upward): Likewise.
4259 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4260 (fma_test): Use ALL_RM_TEST.
4261 (fma_towardzero_test_data): Remove.
4262 (fma_test_towardzero): Likewise.
4263 (fma_downward_test_data): Likewise.
4264 (fma_test_downward): Likewise.
4265 (fma_upward_test_data): Likewise.
4266 (fma_test_upward): Likewise.
4267 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4268 (j0_test_data): Update call to AUTO_TESTS_f_f.
4269 (j1_test_data): Likewise.
4270 (jn_test_data): Update call to AUTO_TESTS_if_f.
4271 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4272 (log_test_data): Update call to AUTO_TESTS_f_f.
4273 (log10_test_data): Likewise.
4274 (log1p_test_data): Likewise.
4275 (log2_test_data): Likewise.
4276 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4277 (pow_tonearest_test_data): Likewise.
4278 (sin_test_data): Update call to AUTO_TESTS_f_f.
4279 (sin_test): Use ALL_RM_TEST.
4280 (sin_tonearest_test_data): Remove.
4281 (sin_test_tonearest): Likewise.
4282 (sin_towardzero_test_data): Likewise.
4283 (sin_test_towardzero): Likewise.
4284 (sin_downward_test_data): Likewise.
4285 (sin_test_downward): Likewise.
4286 (sin_upward_test_data): Likewise.
4287 (sin_test_upward): Likewise.
4288 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4289 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4290 (sinh_test): Use ALL_RM_TEST.
4291 (sinh_tonearest_test_data): Remove.
4292 (sinh_test_tonearest): Likewise.
4293 (sinh_towardzero_test_data): Likewise.
4294 (sinh_test_towardzero): Likewise.
4295 (sinh_downward_test_data): Likewise.
4296 (sinh_test_downward): Likewise.
4297 (sinh_upward_test_data): Likewise.
4298 (sinh_test_upward): Likewise.
4299 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4300 (sqrt_test): Use ALL_RM_TEST.
4301 (sqrt_tonearest_test_data): Remove.
4302 (sqrt_test_tonearest): Likewise.
4303 (sqrt_towardzero_test_data): Likewise.
4304 (sqrt_test_towardzero): Likewise.
4305 (sqrt_downward_test_data): Likewise.
4306 (sqrt_test_downward): Likewise.
4307 (sqrt_upward_test_data): Likewise.
4308 (sqrt_test_upward): Likewise.
4309 (tan_test_data): Update call to AUTO_TESTS_f_f.
4310 (tan_test): Use ALL_RM_TEST.
4311 (tan_tonearest_test_data): Remove.
4312 (tan_test_tonearest): Likewise.
4313 (tan_towardzero_test_data): Likewise.
4314 (tan_test_towardzero): Likewise.
4315 (tan_downward_test_data): Likewise.
4316 (tan_test_downward): Likewise.
4317 (tan_upward_test_data): Likewise.
4318 (tan_test_upward): Likewise.
4319 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4320 (tgamma_test_data): Likewise.
4321 (y0_test_data): Likewise.
4322 (y1_test_data): Likewise.
4323 (yn_test_data): Update call to AUTO_TESTS_if_f.
4324 (main): Do not call removed functions.
4326 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4328 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4329 (ldexp_test_data): Remove.
4330 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4332 (scalb_test): Use ALL_RM_TEST.
4334 2014-03-19 Andreas Schwab <schwab@suse.de>
4336 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4338 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4341 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4342 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4343 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4344 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4345 (__ASSUME_PREADV): Undefine.
4346 (__ASSUME_PWRITEV): Likewise.
4348 2014-03-18 Roland McGrath <roland@hack.frob.com>
4350 * bits/mman-linux.h: Add comment about non-Linux use.
4351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4352 bits/mman-linux.h resting place.
4354 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4355 * bits/mman-linux.h: ... here.
4357 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4359 * conform/conformtest.pl: Add standard definition when calling C
4360 preprocessor on data files.
4361 (checknamespace): Remove unused variable.
4363 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4365 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4366 minus_oflow, plus_uflow and minus_uflow in expected results.
4367 * math/libm-test.inc (scalbn_test_data): Add more tests of
4368 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4370 (scalbn_test): Use ALL_RM_TEST.
4371 (scalbln_test_data): Add more tests of negative arguments. Use
4372 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4373 (scalbln_test): Use ALL_RM_TEST.
4375 2014-03-18 Roland McGrath <roland@hack.frob.com>
4377 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4379 2014-03-18 Will Newton <will.newton@linaro.org>
4381 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4384 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4386 * Makerules [!subdir] (check-abi): Exit with error status if a
4389 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4391 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4392 for rint. Include results for all rounding modes.
4393 (nearbyint_test): Use ALL_RM_TEST.
4394 (rint_test_data): Include all tests used for nearbyint.
4396 2014-03-17 Will Newton <will.newton@linaro.org>
4398 * nptl/sysdeps/pthread/pthread.h: Revert previous
4401 * sysdeps/generic/ldsodefs.h: Revert previous
4404 * libio/genops.c: Revert previous change.
4405 * libio/libioP.h: Likewise.
4406 * stdio-common/vfprintf.c: Likewise.
4408 * sysdeps/generic/math_private.h: Revert previous
4411 * sysdeps/generic/math_private.h: Check whether
4412 HAVE_RM_CTX is defined with #ifdef rather
4415 * argp/argp-fmtstream.h: Check whether
4416 __STRICT_ANSI__ is defined with #ifdef rather
4418 * argp/argp.h: Likewise.
4420 * libio/genops.c: Check whether
4421 _IO_JUMPS_OFFSET is defined with #ifdef rather
4423 * libio/libioP.h: Likewise.
4424 * stdio-common/vfprintf.c: Likewise.
4426 * sysdeps/generic/ldsodefs.h: Check whether
4427 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4430 * nptl/sysdeps/pthread/pthread.h: Check
4431 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4434 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4436 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4438 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4442 * libio/fileops.c (_IO_file_open): Seek to end of file but
4443 don't cache the offset.
4444 (get_file_offset): Remove function.
4445 (do_ftell): Use cached offset when available.
4446 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4447 don't cache the offset.
4448 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4450 (do_one_test): Call it.
4451 (do_ftell_test): Fix up expected old offset for a+ mode.
4452 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4455 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4456 up test status with function return status.
4457 (do_write_test): Likewise.
4458 (do_append_test): Likewise.
4460 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4461 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4464 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4466 * math/gen-libm-test.pl (parse_args): Handle results specified for
4467 each rounding mode separately.
4468 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4469 tests and results from lrint_tonearest_test_data,
4470 lrint_towardzero_test_data, lrint_downward_test_data and
4471 lrint_upward_test_data.
4472 (lrint_test): Use ALL_RM_TEST.
4473 (lrint_tonearest_test_data): Remove.
4474 (lrint_test_tonearest): Likewise.
4475 (lrint_towardzero_test_data): Likewise.
4476 (lrint_test_towardzero): Likewise.
4477 (lrint_downward_test_data): Likewise.
4478 (lrint_test_downward): Likewise.
4479 (lrint_upward_test_data): Likewise.
4480 (lrint_test_upward): Likewise.
4481 (llrint_test_data): Merge in per-rounding-mode tests and results
4482 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4483 llrint_downward_test_data and llrint_upward_test_data.
4484 (llrint_test): Use ALL_RM_TEST.
4485 (llrint_tonearest_test_data): Remove.
4486 (llrint_test_tonearest): Likewise.
4487 (llrint_towardzero_test_data): Likewise.
4488 (llrint_test_towardzero): Likewise.
4489 (llrint_downward_test_data): Likewise.
4490 (llrint_test_downward): Likewise.
4491 (llrint_upward_test_data): Likewise.
4492 (llrint_test_upward): Likewise.
4493 (rint_test_data): Merge in per-rounding-mode tests and results
4494 from rint_tonearest_test_data, rint_towardzero_test_data,
4495 rint_downward_test_data and rint_upward_test_data. Add
4496 per-rounding-mode results for tests not in those arrays.
4497 (rint_test): Use ALL_RM_TEST.
4498 (rint_tonearest_test_data): Remove.
4499 (rint_test_tonearest): Likewise.
4500 (rint_towardzero_test_data): Likewise.
4501 (rint_test_towardzero): Likewise.
4502 (rint_downward_test_data): Likewise.
4503 (rint_test_downward): Likewise.
4504 (rint_upward_test_data): Likewise.
4505 (rint_test_upward): Likewise.
4506 (main): Don't call removed functions.
4508 2014-03-14 Roland McGrath <roland@hack.frob.com>
4510 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4511 "Compiled on ..." crapola. It is anti-useful.
4513 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4515 * scripts/evaluate-test.sh: Handle fourth argument to determine
4516 whether test run should stop on failure.
4517 * Makeconfig (stop-on-test-failure): New variable.
4518 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4519 $(stop-on-test-failure).
4520 * Makefile (tests): Give a summary of results from testing and
4521 exit with failure status if they include an ERROR or FAIL.
4523 * manual/install.texi (Configuring and compiling): Mention
4524 stop-on-test-failure=y.
4525 * INSTALL: Regenerated.
4527 2014-03-14 Roland McGrath <roland@hack.frob.com>
4529 * scripts/versionlist.awk: New file.
4530 * Makerules [$(build-shared) = yes]
4531 (postclean-generated): Add Versions.def, not Versions.def.v and
4533 ($(common-objpfx)Versions.def.v.i): Target removed.
4534 ($(common-objpfx)Versions.def): New target.
4535 ($(common-objpfx)Versions.all): Depend on that rather that
4536 $(common-objpfx)Versions.def.v.
4537 * Versions.def: File removed.
4539 * Makeconfig (+gccwarn): Add -Wundef.
4540 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4541 a dl-sysdep.h breaking its contract.
4542 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4543 * include/stackinfo.h: New file.
4544 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4545 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4546 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4547 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4548 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4549 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4550 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4551 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4552 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4553 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4554 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4555 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4556 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4557 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4558 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4560 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4563 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4565 * math/libm-test.inc (round_test_data): Add more tests.
4568 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4570 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4573 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4575 * math/libm-test.inc (ceil_test_data): Add more tests.
4577 * math/libm-test.inc (trunc_test_data): Add more tests related to
4580 2014-03-14 Roland McGrath <roland@hack.frob.com>
4582 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4583 with #if rather than #ifdef.
4584 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4586 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4588 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4589 first. Disable AVX-512 GCC support if assembler doesn't support
4591 * sysdeps/x86_64/configure: Regenerated.
4593 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4595 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4596 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4597 (__old_pthread_attr_setstack): Likewise.
4598 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4599 [!_STACK_GROWS_DOWN]: Likewise.
4601 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4603 * config.make.in (have-bash2): Delete.
4604 * configure.ac (libc_cv_have_bash2): Delete.
4605 * configure: Regenerate.
4606 * elf/Makefile (common-ldd-rewrite): Rename to ...
4607 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4608 (sh-ldd-rewrite): Delete.
4609 (bash-ldd-rewrite): Delete.
4610 (have-bash2): Delete checks.
4611 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4614 * config.make.in (have-ksh): Delete.
4616 * configure.ac (libc_cv_have_ksh): Delete.
4617 * configure: Regenerate.
4619 * elf/Makefile: Delete $(have-ksh) check.
4620 ($(objpfx)sotruss): Change KSH to BASH.
4621 * elf/sotruss.ksh: Rename to ...
4622 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4623 function style to match POSIX. Drop ksh vim mode setting.
4625 * manual/time.texi (Specifying the Time Zone with TZ): Change
4626 Tuesday to Thursday.
4628 * debug/tst-longjmp_chk2.c: Update header comment.
4629 (stackoverflow_handler): Add comment. Call assert on pass value.
4631 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4633 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4634 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4635 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4636 (La_x86_64_vector): Add zmm.
4637 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4638 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4639 ($(objpfx)tst-audit10): New target.
4640 ($(objpfx)tst-audit10.out): Likewise.
4641 (tst-audit10-ENV): New.
4642 (AVX512-CFLAGS): Likewise.
4643 (CFLAGS-tst-audit10.c): Likewise.
4644 (CFLAGS-tst-auditmod10a.c): Likewise.
4645 (CFLAGS-tst-auditmod10b.c): Likewise.
4646 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4647 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4648 * sysdeps/x86_64/configure: Regenerated.
4649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4650 AVX-512 zmm register support.
4651 (_dl_x86_64_save_sse): Likewise.
4652 (_dl_x86_64_restore_sse): Likewise.
4653 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4654 size vector registers.
4655 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4656 (ZMM_SIZE): Likewise.
4657 * sysdeps/x86_64/tst-audit10.c: New file.
4658 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4659 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4661 2014-03-13 Roland McGrath <roland@hack.frob.com>
4663 * configure.ac (HAVE_EHDR_START): New check.
4664 * configure: Regenerated.
4665 * config.h.in (HAVE_EHDR_START): New #undef.
4666 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4667 assuming the lowest-addressed segment maps the start of the file.
4669 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4671 * INSTALL: Regenerated.
4673 2014-03-13 Will Newton <will.newton@linaro.org>
4675 * manual/setjmp.texi (System V contexts): Improve
4676 clarity and grammar of documentation.
4678 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4681 * elf/Makefile (tests): Add tst-pie2.
4682 (tests-pie): Add tst-pie2.
4683 * elf/tst-pie2.c: New file.
4684 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4686 * elf/rtld.c (map_doit): Load executable as lt_executable.
4687 (dl_main): Likewise.
4689 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4692 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4693 (__ASSUME_PSELECT): Undefine.
4695 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4699 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4701 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4702 selector for static builds.
4704 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4707 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4710 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4712 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4713 IFUNC selector for static builds.
4715 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4717 * sysdeps/mips/math_private.h [__mips_hard_float]
4718 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4719 libc_feresetround_mips_ctx.
4720 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4721 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4722 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4725 * math/s_nextafter.c (__nextafter): Do not return value from
4726 overflowing computation.
4727 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4728 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4729 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4733 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4734 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4736 2014-03-11 Roland McGrath <roland@hack.frob.com>
4738 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4739 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4740 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4741 the new mov targetting sp.
4743 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4746 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4747 Define it for static builds as well.
4748 (NO_BZERO_IMPL): Likewise.
4750 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4752 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4753 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4754 multiarch strspn for PPC64.
4755 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4756 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4758 (__libc_ifunc_impl_list): Likewise.
4759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4760 multiarch optimizations
4761 * string/strspn.c (strspn): Using macro to redefine symbol name.
4763 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4764 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4766 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4767 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4768 multiarch strncat for PPC64.
4769 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4770 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4772 (__libc_ifunc_impl_list): Likewise.
4773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4774 multiarch optimizations
4776 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4779 * nscd/nscd.service: Make service type forking.
4781 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4783 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4784 sign in non default rounding modes.
4785 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4787 2014-03-08 Joseph Myers <joseph@codesourcery.com>
4789 * math/libm-test.inc (ALL_RM_TEST): New macro.
4790 (ceil_test): Use ALL_RM_TEST.
4791 (cimag_test): Likewise.
4792 (conj_test): Likewise.
4793 (copysign_test): Likewise.
4794 (cproj_test): Likewise.
4795 (creal_test): Likewise.
4796 (fabs_test): Likewise.
4797 (floor_test): Likewise.
4798 (fmax_test): Likewise.
4799 (fmin_test): Likewise.
4800 (fmod_test): Likewise.
4801 (fpclassify_test): Likewise.
4802 (frexp_test): Likewise.
4803 (ilogb_test): Likewise.
4804 (isfinite_test): Likewise.
4805 (finite_test): Likewise.
4806 (isgreater_test): Likewise.
4807 (isgreaterequal_test): Likewise.
4808 (isinf_test): Likewise.
4809 (isless_test): Likewise.
4810 (islessequal_test): Likewise.
4811 (islessgreater_test): Likewise.
4812 (isnan_test): Likewise.
4813 (isnormal_test): Likewise.
4814 (issignaling_test): Likewise.
4815 (isunordered_test): Likewise.
4816 (logb_test): Likewise.
4817 (logb_downward_test_data): Remove.
4818 (logb_test_downward): Likewise.
4819 (lround_test): Use ALL_RM_TEST.
4820 (llround_test): Likewise.
4821 (modf_test): Likewise.
4822 (nexttoward_test): Likewise.
4823 (remainder_test): Likewise.
4824 (drem_test): Likewise.
4825 (remainder_tonearest_test_data): Likewise.
4826 (remainder_test_tonearest): Likewise.
4827 (drem_test_tonearest): Likewise.
4828 (remainder_towardzero_test_data): Likewise.
4829 (remainder_test_towardzero): Likewise.
4830 (drem_test_towardzero): Likewise.
4831 (remainder_downward_test_data): Likewise.
4832 (remainder_test_downward): Likewise.
4833 (drem_test_downward): Likewise.
4834 (remainder_upward_test_data): Likewise.
4835 (remainder_test_upward): Likewise.
4836 (drem_test_upward): Likewise.
4837 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4838 (round_test): Use ALL_RM_TEST.
4839 (signbit_test): Likewise.
4840 (trunc_test): Likewise.
4841 (significand_test): Likewise.
4842 (main): Don't call removed functions.
4844 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4847 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4849 (ILL_ILLOPN): Likewise.
4850 (ILL_ILLADR): Likewise.
4851 (ILL_ILLTRP): Likewise.
4852 (ILL_PRVOPC): Likewise.
4853 (ILL_PRVREG): Likewise.
4854 (ILL_COPROC): Likewise.
4855 (ILL_BADSTK): Likewise.
4856 (FPE_INTDIV): Likewise.
4857 (FPE_INTOVF): Likewise.
4858 (FPE_FLTDIV): Likewise.
4859 (FPE_FLTOVF): Likewise.
4860 (FPE_FLTUND): Likewise.
4861 (FPE_FLTRES): Likewise.
4862 (FPE_FLTINV): Likewise.
4863 (FPE_FLTSUB): Likewise.
4864 (SEGV_MAPERR): Likewise.
4865 (SEGV_ACCERR): Likewise.
4866 (BUS_ADRALN): Likewise.
4867 (BUS_ADRERR): Likewise.
4868 (BUS_OBJERR): Likewise.
4869 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4870 (TRAP_TRACE): Likewise.
4871 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4873 (CLD_KILLED): Likewise.
4874 (CLD_DUMPED): Likewise.
4875 (CLD_TRAPPED): Likewise.
4876 (CLD_STOPPED): Likewise.
4877 (CLD_CONTINUED): Likewise.
4878 (POLL_IN): Likewise.
4879 (POLL_OUT): Likewise.
4880 (POLL_MSG): Likewise.
4881 (POLL_ERR): Likewise.
4882 (POLL_PRI): Likewise.
4883 (POLL_HUP): Likewise.
4884 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4886 (ILL_ILLOPN): Likewise.
4887 (ILL_ILLADR): Likewise.
4888 (ILL_ILLTRP): Likewise.
4889 (ILL_PRVOPC): Likewise.
4890 (ILL_PRVREG): Likewise.
4891 (ILL_COPROC): Likewise.
4892 (ILL_BADSTK): Likewise.
4893 (FPE_INTDIV): Likewise.
4894 (FPE_INTOVF): Likewise.
4895 (FPE_FLTDIV): Likewise.
4896 (FPE_FLTOVF): Likewise.
4897 (FPE_FLTUND): Likewise.
4898 (FPE_FLTRES): Likewise.
4899 (FPE_FLTINV): Likewise.
4900 (FPE_FLTSUB): Likewise.
4901 (SEGV_MAPERR): Likewise.
4902 (SEGV_ACCERR): Likewise.
4903 (BUS_ADRALN): Likewise.
4904 (BUS_ADRERR): Likewise.
4905 (BUS_OBJERR): Likewise.
4906 (BUS_MCEERR_AR): Likewise.
4907 (BUS_MCEERR_AO): Likewise.
4908 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4909 (TRAP_TRACE): Likewise.
4910 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4912 (CLD_KILLED): Likewise.
4913 (CLD_DUMPED): Likewise.
4914 (CLD_TRAPPED): Likewise.
4915 (CLD_STOPPED): Likewise.
4916 (CLD_CONTINUED): Likewise.
4917 (POLL_IN): Likewise.
4918 (POLL_OUT): Likewise.
4919 (POLL_MSG): Likewise.
4920 (POLL_ERR): Likewise.
4921 (POLL_PRI): Likewise.
4922 (POLL_HUP): Likewise.
4923 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4924 (ILL_ILLOPN): Likewise.
4925 (ILL_ILLADR): Likewise.
4926 (ILL_ILLTRP): Likewise.
4927 (ILL_PRVOPC): Likewise.
4928 (ILL_PRVREG): Likewise.
4929 (ILL_COPROC): Likewise.
4930 (ILL_BADSTK): Likewise.
4931 (FPE_INTDIV): Likewise.
4932 (FPE_INTOVF): Likewise.
4933 (FPE_FLTDIV): Likewise.
4934 (FPE_FLTOVF): Likewise.
4935 (FPE_FLTUND): Likewise.
4936 (FPE_FLTRES): Likewise.
4937 (FPE_FLTINV): Likewise.
4938 (FPE_FLTSUB): Likewise.
4939 (SEGV_MAPERR): Likewise.
4940 (SEGV_ACCERR): Likewise.
4941 (BUS_ADRALN): Likewise.
4942 (BUS_ADRERR): Likewise.
4943 (BUS_OBJERR): Likewise.
4944 (BUS_MCEERR_AR): Likewise.
4945 (BUS_MCEERR_AO): Likewise.
4946 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4947 (TRAP_TRACE): Likewise.
4948 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4950 (CLD_KILLED): Likewise.
4951 (CLD_DUMPED): Likewise.
4952 (CLD_TRAPPED): Likewise.
4953 (CLD_STOPPED): Likewise.
4954 (CLD_CONTINUED): Likewise.
4955 (POLL_IN): Likewise.
4956 (POLL_OUT): Likewise.
4957 (POLL_MSG): Likewise.
4958 (POLL_ERR): Likewise.
4959 (POLL_PRI): Likewise.
4960 (POLL_HUP): Likewise.
4961 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4963 (ILL_ILLOPN): Likewise.
4964 (ILL_ILLADR): Likewise.
4965 (ILL_ILLTRP): Likewise.
4966 (ILL_PRVOPC): Likewise.
4967 (ILL_PRVREG): Likewise.
4968 (ILL_COPROC): Likewise.
4969 (ILL_BADSTK): Likewise.
4970 (ILL_BADIADDR): Likewise.
4971 (ILL_BREAK): Likewise.
4972 (FPE_INTDIV): Likewise.
4973 (FPE_INTOVF): Likewise.
4974 (FPE_FLTDIV): Likewise.
4975 (FPE_FLTOVF): Likewise.
4976 (FPE_FLTUND): Likewise.
4977 (FPE_FLTRES): Likewise.
4978 (FPE_FLTINV): Likewise.
4979 (FPE_FLTSUB): Likewise.
4980 (FPE_DECOVF): Likewise.
4981 (FPE_DECDIV): Likewise.
4982 (FPE_DECERR): Likewise.
4983 (FPE_INVASC): Likewise.
4984 (FPE_INVDEC): Likewise.
4985 (SEGV_MAPERR): Likewise.
4986 (SEGV_ACCERR): Likewise.
4987 (SEGV_PSTKOVF): Likewise.
4988 (BUS_ADRALN): Likewise.
4989 (BUS_ADRERR): Likewise.
4990 (BUS_OBJERR): Likewise.
4991 (BUS_MCEERR_AR): Likewise.
4992 (BUS_MCEERR_AO): Likewise.
4993 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4994 (TRAP_TRACE): Likewise.
4995 (TRAP_BRANCH): Likewise.
4996 (TRAP_HWBKPT): Likewise.
4997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4999 (CLD_KILLED): Likewise.
5000 (CLD_DUMPED): Likewise.
5001 (CLD_TRAPPED): Likewise.
5002 (CLD_STOPPED): Likewise.
5003 (CLD_CONTINUED): Likewise.
5004 (POLL_IN): Likewise.
5005 (POLL_OUT): Likewise.
5006 (POLL_MSG): Likewise.
5007 (POLL_ERR): Likewise.
5008 (POLL_PRI): Likewise.
5009 (POLL_HUP): Likewise.
5010 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5011 (ILL_ILLOPN): Likewise.
5012 (ILL_ILLADR): Likewise.
5013 (ILL_ILLTRP): Likewise.
5014 (ILL_PRVOPC): Likewise.
5015 (ILL_PRVREG): Likewise.
5016 (ILL_COPROC): Likewise.
5017 (ILL_BADSTK): Likewise.
5018 (FPE_INTDIV): Likewise.
5019 (FPE_INTOVF): Likewise.
5020 (FPE_FLTDIV): Likewise.
5021 (FPE_FLTOVF): Likewise.
5022 (FPE_FLTUND): Likewise.
5023 (FPE_FLTRES): Likewise.
5024 (FPE_FLTINV): Likewise.
5025 (FPE_FLTSUB): Likewise.
5026 (SEGV_MAPERR): Likewise.
5027 (SEGV_ACCERR): Likewise.
5028 (BUS_ADRALN): Likewise.
5029 (BUS_ADRERR): Likewise.
5030 (BUS_OBJERR): Likewise.
5031 (BUS_MCEERR_AR): Likewise.
5032 (BUS_MCEERR_AO): Likewise.
5033 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5034 (TRAP_TRACE): Likewise.
5035 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5037 (CLD_KILLED): Likewise.
5038 (CLD_DUMPED): Likewise.
5039 (CLD_TRAPPED): Likewise.
5040 (CLD_STOPPED): Likewise.
5041 (CLD_CONTINUED): Likewise.
5042 (POLL_IN): Likewise.
5043 (POLL_OUT): Likewise.
5044 (POLL_MSG): Likewise.
5045 (POLL_ERR): Likewise.
5046 (POLL_PRI): Likewise.
5047 (POLL_HUP): Likewise.
5048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5049 (ILL_ILLOPN): Likewise.
5050 (ILL_ILLADR): Likewise.
5051 (ILL_ILLTRP): Likewise.
5052 (ILL_PRVOPC): Likewise.
5053 (ILL_PRVREG): Likewise.
5054 (ILL_COPROC): Likewise.
5055 (ILL_BADSTK): Likewise.
5056 (FPE_INTDIV): Likewise.
5057 (FPE_INTOVF): Likewise.
5058 (FPE_FLTDIV): Likewise.
5059 (FPE_FLTOVF): Likewise.
5060 (FPE_FLTUND): Likewise.
5061 (FPE_FLTRES): Likewise.
5062 (FPE_FLTINV): Likewise.
5063 (FPE_FLTSUB): Likewise.
5064 (SEGV_MAPERR): Likewise.
5065 (SEGV_ACCERR): Likewise.
5066 (BUS_ADRALN): Likewise.
5067 (BUS_ADRERR): Likewise.
5068 (BUS_OBJERR): Likewise.
5069 (BUS_MCEERR_AR): Likewise.
5070 (BUS_MCEERR_AO): Likewise.
5071 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5072 (TRAP_TRACE): Likewise.
5073 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5075 (CLD_KILLED): Likewise.
5076 (CLD_DUMPED): Likewise.
5077 (CLD_TRAPPED): Likewise.
5078 (CLD_STOPPED): Likewise.
5079 (CLD_CONTINUED): Likewise.
5080 (POLL_IN): Likewise.
5081 (POLL_OUT): Likewise.
5082 (POLL_MSG): Likewise.
5083 (POLL_ERR): Likewise.
5084 (POLL_PRI): Likewise.
5085 (POLL_HUP): Likewise.
5086 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5087 (ILL_ILLOPN): Likewise.
5088 (ILL_ILLADR): Likewise.
5089 (ILL_ILLTRP): Likewise.
5090 (ILL_PRVOPC): Likewise.
5091 (ILL_PRVREG): Likewise.
5092 (ILL_COPROC): Likewise.
5093 (ILL_BADSTK): Likewise.
5094 (FPE_INTDIV): Likewise.
5095 (FPE_INTOVF): Likewise.
5096 (FPE_FLTDIV): Likewise.
5097 (FPE_FLTOVF): Likewise.
5098 (FPE_FLTUND): Likewise.
5099 (FPE_FLTRES): Likewise.
5100 (FPE_FLTINV): Likewise.
5101 (FPE_FLTSUB): Likewise.
5102 (SEGV_MAPERR): Likewise.
5103 (SEGV_ACCERR): Likewise.
5104 (BUS_ADRALN): Likewise.
5105 (BUS_ADRERR): Likewise.
5106 (BUS_OBJERR): Likewise.
5107 (BUS_MCEERR_AR): Likewise.
5108 (BUS_MCEERR_AO): Likewise.
5109 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5110 (TRAP_TRACE): Likewise.
5111 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5113 (CLD_KILLED): Likewise.
5114 (CLD_DUMPED): Likewise.
5115 (CLD_TRAPPED): Likewise.
5116 (CLD_STOPPED): Likewise.
5117 (CLD_CONTINUED): Likewise.
5118 (POLL_IN): Likewise.
5119 (POLL_OUT): Likewise.
5120 (POLL_MSG): Likewise.
5121 (POLL_ERR): Likewise.
5122 (POLL_PRI): Likewise.
5123 (POLL_HUP): Likewise.
5124 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5125 (ILL_ILLOPN): Likewise.
5126 (ILL_ILLADR): Likewise.
5127 (ILL_ILLTRP): Likewise.
5128 (ILL_PRVOPC): Likewise.
5129 (ILL_PRVREG): Likewise.
5130 (ILL_COPROC): Likewise.
5131 (ILL_BADSTK): Likewise.
5132 (ILL_DBLFLT): Likewise.
5133 (ILL_HARDWALL): Likewise.
5134 (FPE_INTDIV): Likewise.
5135 (FPE_INTOVF): Likewise.
5136 (FPE_FLTDIV): Likewise.
5137 (FPE_FLTOVF): Likewise.
5138 (FPE_FLTUND): Likewise.
5139 (FPE_FLTRES): Likewise.
5140 (FPE_FLTINV): Likewise.
5141 (FPE_FLTSUB): Likewise.
5142 (SEGV_MAPERR): Likewise.
5143 (SEGV_ACCERR): Likewise.
5144 (BUS_ADRALN): Likewise.
5145 (BUS_ADRERR): Likewise.
5146 (BUS_OBJERR): Likewise.
5147 (BUS_MCEERR_AR): Likewise.
5148 (BUS_MCEERR_AO): Likewise.
5149 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5150 (TRAP_TRACE): Likewise.
5151 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5153 (CLD_KILLED): Likewise.
5154 (CLD_DUMPED): Likewise.
5155 (CLD_TRAPPED): Likewise.
5156 (CLD_STOPPED): Likewise.
5157 (CLD_CONTINUED): Likewise.
5158 (POLL_IN): Likewise.
5159 (POLL_OUT): Likewise.
5160 (POLL_MSG): Likewise.
5161 (POLL_ERR): Likewise.
5162 (POLL_PRI): Likewise.
5163 (POLL_HUP): Likewise.
5164 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5165 (ILL_ILLOPN): Likewise.
5166 (ILL_ILLADR): Likewise.
5167 (ILL_ILLTRP): Likewise.
5168 (ILL_PRVOPC): Likewise.
5169 (ILL_PRVREG): Likewise.
5170 (ILL_COPROC): Likewise.
5171 (ILL_BADSTK): Likewise.
5172 (FPE_INTDIV): Likewise.
5173 (FPE_INTOVF): Likewise.
5174 (FPE_FLTDIV): Likewise.
5175 (FPE_FLTOVF): Likewise.
5176 (FPE_FLTUND): Likewise.
5177 (FPE_FLTRES): Likewise.
5178 (FPE_FLTINV): Likewise.
5179 (FPE_FLTSUB): Likewise.
5180 (SEGV_MAPERR): Likewise.
5181 (SEGV_ACCERR): Likewise.
5182 (BUS_ADRALN): Likewise.
5183 (BUS_ADRERR): Likewise.
5184 (BUS_OBJERR): Likewise.
5185 (BUS_MCEERR_AR): Likewise.
5186 (BUS_MCEERR_AO): Likewise.
5187 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5188 (TRAP_TRACE): Likewise.
5189 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5191 (CLD_KILLED): Likewise.
5192 (CLD_DUMPED): Likewise.
5193 (CLD_TRAPPED): Likewise.
5194 (CLD_STOPPED): Likewise.
5195 (CLD_CONTINUED): Likewise.
5196 (POLL_IN): Likewise.
5197 (POLL_OUT): Likewise.
5198 (POLL_MSG): Likewise.
5199 (POLL_ERR): Likewise.
5200 (POLL_PRI): Likewise.
5201 (POLL_HUP): Likewise.
5202 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5203 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5206 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5207 before #include of <time.h>.
5208 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5209 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5210 (test-xfail-UNIX98/sched.h/conform): Likewise.
5212 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5214 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5215 error absence of trapping exception support.
5216 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5218 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5220 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5221 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5222 * timezone/Makefile (testdata): Move definition above include of
5224 (test-zones): New variable.
5225 (tests-special): Add zone files.
5226 (build-testdata): Use $(evaluate-test).
5228 * elf/Makefile (tests-special): Rename tests to end with .out.
5229 ($(objpfx)noload-mem): Likewise.
5230 ($(objpfx)tst-leaks1-mem): Likewise.
5231 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5232 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5233 $(objpfx)test-iconvconfig.out.
5234 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5235 set -e inside subshell and redirect output to file.
5236 * iconvdata/Makefile (generated): Rename tests to end with .out.
5238 (tests-special): Rename tests to end with .out.
5239 ($(objpfx)mtrace-tst-loading): Likewise.
5240 * intl/Makefile (generated): Likewise.
5241 (tests-special): Likewise.
5242 ($(objpfx)mtrace-tst-gettext): Likewise.
5243 * misc/Makefile (generated): Likewise.
5244 (tests-special): Likewise.
5245 ($(objpfx)tst-error1-mem): Likewise.
5246 * nptl/Makefile (tests-special): Likewise.
5247 ($(objpfx)tst-stack3-mem): Likewise.
5248 (generated): Likewise.
5249 * posix/Makefile (generated): Likewise.
5250 (tests-special): Likewise.
5251 (xtests-special): Likewise.
5252 ($(objpfx)tst-fnmatch-mem): Likewise.
5253 ($(objpfx)bug-regex2-mem): Likewise.
5254 ($(objpfx)bug-regex14-mem): Likewise.
5255 ($(objpfx)bug-regex21-mem): Likewise.
5256 ($(objpfx)bug-regex31-mem): Likewise.
5257 ($(objpfx)tst-vfork3-mem): Likewise.
5258 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5259 ($(objpfx)tst-pcre-mem): Likewise.
5260 ($(objpfx)tst-boost-mem): Likewise.
5261 ($(objpfx)bug-ga2-mem): Likewise.
5262 ($(objpfx)bug-glob2-mem): Likewise.
5263 * resolv/Makefile (generate): Likewise.
5264 (tests-special): Likewise.
5265 (xtests-special): Likewise.
5266 (generated): Likewise.
5267 ($(objpfx)mtrace-tst-leaks): Likewise.
5268 ($(objpfx)mtrace-tst-leaks2): Likewise.
5270 * scripts/merge-test-results.sh: New file.
5271 * Makefile (tests-special-notdir): New variable.
5272 (tests): Run merge-test-results.sh.
5274 * Rules (tests-special-notdir): New variable.
5275 (xtests-special-notdir): Likewise.
5276 (tests): Run merge-test-results.sh
5279 * Makeconfig (test-xfail-name): New variable.
5280 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5281 compute variable name for expected failures.
5282 * conform/Makefile (conformtest-headers-data): New variable.
5283 (conformtest-standards): Likewise.
5284 (conformtest-headers-ISO): Likewise.
5285 (conformtest-headers-ISO99): Likewise.
5286 (conformtest-headers-ISO11): Likewise.
5287 (conformtest-headers-POSIX): Likewise.
5288 (conformtest-headers-XPG3): Likewise.
5289 (conformtest-headers-XPG4): Likewise.
5290 (conformtest-headers-UNIX98): Likewise.
5291 (conformtest-headers-XOPEN2K): Likewise.
5292 (conformtest-headers-POSIX2008): Likewise.
5293 (conformtest-headers-XOPEN2K8): Likewise.
5294 (conformtest-header-list-base): Likewise.
5295 (conformtest-header-list-tests): Likewise.
5296 (conformtest-header-base): Likewise.
5297 (conformtest-header-tests): Likewise.
5298 (tests-special): Add $(conformtest-header-list-tests). If
5299 [$(fast-check) && !$(cross-compiling)], add
5300 $(conformtest-header-tests) instead of
5301 $(objpfx)run-conformtest.out.
5302 (generated): Add $(conformtest-header-list-base). If
5303 [$(fast-check) && !$(cross-compiling)], add
5304 $(conformtest-header-base). Remove previous setting.
5305 ($(conformtest-header-list-tests)): New target.
5306 (test-xfail-run-conformtest): Remove variable.
5307 ($(objpfx)run-conformtest.out): Remove target.
5308 (test-xfail-ISO11/complex.h/conform): New variable.
5309 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5310 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5311 (test-xfail-XPG3/varargs.h/conform): Likewise.
5312 (test-xfail-XPG4/varargs.h/conform): Likewise.
5313 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5314 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5315 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5316 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5317 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5318 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5319 (test-xfail-XPG3/ftw.h/conform): Likewise.
5320 (test-xfail-XPG3/grp.h/conform): Likewise.
5321 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5322 (test-xfail-XPG3/limits.h/conform): Likewise.
5323 (test-xfail-XPG3/pwd.h/conform): Likewise.
5324 (test-xfail-XPG3/search.h/conform): Likewise.
5325 (test-xfail-XPG3/signal.h/conform): Likewise.
5326 (test-xfail-XPG3/stdio.h/conform): Likewise.
5327 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5328 (test-xfail-XPG3/string.h/conform): Likewise.
5329 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5330 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5331 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5332 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5333 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5334 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5335 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5336 (test-xfail-XPG3/termios.h/conform): Likewise.
5337 (test-xfail-XPG3/time.h/conform): Likewise.
5338 (test-xfail-XPG3/unistd.h/conform): Likewise.
5339 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5340 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5341 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5342 (test-xfail-XPG4/netdb.h/conform): Likewise.
5343 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5344 (test-xfail-XPG4/signal.h/conform): Likewise.
5345 (test-xfail-XPG4/stdio.h/conform): Likewise.
5346 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5347 (test-xfail-XPG4/stropts.h/conform): Likewise.
5348 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5349 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5350 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5351 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5352 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5353 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5354 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5355 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5356 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5357 (test-xfail-XPG4/termios.h/conform): Likewise.
5358 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5359 (test-xfail-XPG4/unistd.h/conform): Likewise.
5360 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5361 (test-xfail-POSIX/sched.h/conform): Likewise.
5362 (test-xfail-POSIX/signal.h/conform): Likewise.
5363 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5364 (test-xfail-POSIX/tar.h/conform): Likewise.
5365 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5366 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5367 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5368 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5369 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5370 (test-xfail-UNIX98/sched.h/conform): Likewise.
5371 (test-xfail-UNIX98/signal.h/conform): Likewise.
5372 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5373 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5374 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5375 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5376 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5377 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5378 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5379 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5380 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5381 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5382 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5383 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5384 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5385 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5386 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5387 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5388 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5389 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5390 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5391 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5392 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5393 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5394 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5395 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5396 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5397 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5398 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5399 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5400 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5401 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5402 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5403 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5404 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5405 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5406 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5407 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5408 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5409 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5410 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5411 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5412 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5413 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5414 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5415 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5416 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5417 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5418 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5419 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5420 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5421 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5422 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5423 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5424 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5425 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5426 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5427 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5428 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5429 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5430 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5431 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5432 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5433 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5434 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5435 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5436 (conformtest-cc-flags): Likewise.
5437 ($(conformtest-header-tests): New target.
5438 * conform/check-header-lists.sh: New file.
5439 * conform/run-conformtest.sh: Remove.
5441 * conform/conformtest.pl: Allow ' and \ in values given for
5443 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5445 [POSIX] (sys/types.h): Likewise.
5446 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5448 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5450 * conform/data/signal.h-data (SIGIO): Remove expectation.
5451 [XPG3] (SIGBUS): Do not expect.
5452 [POSIX || XPG3] (SIGPOLL): Likewise.
5453 [POSIX || XPG3] (SIGPROF): Likewise.
5454 [POSIX || XPG3] (SIGSYS): Likewise.
5455 [XPG3] (SIGTRAP): Likewise.
5456 [POSIX || XPG3] (SIGURG): Likewise.
5457 [POSIX || XPG3] (SIGVTALRM): Likewise.
5458 [POSIX || XPG3] (SIGXCPU): Likewise.
5459 [POSIX || XPG3] (SIGXFSZ): Likewise.
5460 [POSIX] (SA_SIGINFO): Expect.
5461 [XPG3] (siginfo_t): Do not expect type or contents.
5462 [POSIX] (si_pid): Do not expect element.
5463 [POSIX] (si_uid): Likewise.
5464 [POSIX] (si_addr): Likewise.
5465 [POSIX] (si_status): Likewise.
5466 [POSIX] (si_band): Likewise.
5467 [XPG4] (si_value): Likewise.
5468 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5469 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5470 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5471 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5472 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5473 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5474 [POSIX || XPG3] (ILL_COPROC): Likewise.
5475 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5476 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5477 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5478 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5479 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5480 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5481 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5482 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5483 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5484 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5485 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5486 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5487 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5488 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5489 [POSIX || XPG3] (CLD_EXITED): Likewise.
5490 [POSIX || XPG3] (CLD_KILLED): Likewise.
5491 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5492 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5493 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5494 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5495 [POSIX || XPG3] (POLL_IN): Likewise.
5496 [POSIX || XPG3] (POLL_OUT): Likewise.
5497 [POSIX || XPG3] (POLL_MSG): Likewise.
5498 [POSIX || XPG3] (POLL_ERR): Likewise.
5499 [POSIX || XPG3] (POLL_PRI): Likewise.
5500 [POSIX || XPG3] (POLL_HUP): Likewise.
5501 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5502 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5503 (SIG*): Do not allow.
5504 [XPG3] (si_*): Likewise.
5505 [XPG3] (SI_*): Likewise.
5506 [XPG3 || XPG4] (sigev_*): Likewise.
5507 [XPG3 || XPG4] (SIGEV_*): Likewise.
5508 [XPG3 || XPG4] (sival_*): Likewise.
5509 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5510 [POSIX || XPG3] (BUS_*): Likewise.
5511 [POSIX || XPG3] (CLD_*): Likewise.
5512 [POSIX || XPG3] (FPE_*): Likewise.
5513 [POSIX || XPG3] (ILL_*): Likewise.
5514 [POSIX || XPG3] (POLL_*): Likewise.
5515 [POSIX || XPG3] (SEGV_*): Likewise.
5516 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5517 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5518 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5519 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5520 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5521 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5522 Specify type and value.
5523 (TVERSLEN): Likewise.
5524 (REGTYPE): Likewise.
5525 (AREGTYPE): Likewise.
5526 (LNKTYPE): Likewise.
5527 (SYMTYPE): Likewise.
5528 (CHRTYPE): Likewise.
5529 (BLKTYPE): Likewise.
5530 (DIRTYPE): Likewise.
5531 (FIFOTYPE): Likewise.
5532 (CONTTYPE): Likewise.
5537 (TUWRITE): Likewise.
5540 (TGWRITE): Likewise.
5543 (TOWRITE): Likewise.
5545 [POSIX] (TSVTX): Expect constant.
5547 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5549 * Makefile (tests): Change dependencies to ....
5550 (tests-special): ... additions to this variable.
5551 (tests): Depend on $(tests-special).
5552 * Makerules (check-abi-list): New variable.
5553 (check-abi): Depend on $(check-abi-list).
5554 [$(subdir) = elf] (tests-special): Add
5555 $(objpfx)check-abi-libc.out.
5556 [$(build-shared) = yes && subdir] (tests-special): Add
5558 [$(build-shared) = yes && subdir] (tests): Do not depend on
5560 * Rules (tests): Depend on $(tests-special).
5561 (xtests): Depend on $(xtests-special).
5562 * catgets/Makefile (tests): Change dependencies to ....
5563 (tests-special): ... additions to this variable.
5564 * conform/Makefile (tests): Change dependencies to ....
5565 (tests-special): ... additions to this variable.
5566 * elf/Makefile (tests): Change dependencies to ....
5567 (tests-special): ... additions to this variable.
5568 * grp/Makefile (tests): Change dependencies to ....
5569 (tests-special): ... additions to this variable.
5570 * iconv/Makefile (xtests): Change dependencies to ....
5571 (xtests-special): ... additions to this variable.
5572 * iconvdata/Makefile (tests): Change dependencies to ....
5573 (tests-special): ... additions to this variable.
5574 * intl/Makefile (tests): Change dependencies to ....
5575 (tests-special): ... additions to this variable. Also add
5576 $(objpfx)tst-gettext.out.
5577 * io/Makefile (tests): Change dependencies to ....
5578 (tests-special): ... additions to this variable.
5579 * libio/Makefile (tests): Change dependencies to ....
5580 (tests-special): ... additions to this variable.
5581 * malloc/Makefile (tests): Change dependencies to ....
5582 (tests-special): ... additions to this variable.
5583 * misc/Makefile (tests): Change dependencies to ....
5584 (tests-special): ... additions to this variable.
5585 * nptl/Makefile (tests): Change dependencies to ....
5586 (tests-special): ... additions to this variable.
5587 * nptl_db/Makefile (tests): Change dependencies to ....
5588 (tests-special): ... additions to this variable.
5589 * posix/Makefile (tests): Change dependencies to ....
5590 (tests-special): ... additions to this variable.
5591 (xtests): Change dependencies to ....
5592 (xtests-special): ... additions to this variable.
5593 * resolv/Makefile (tests): Change dependencies to ....
5594 (tests-special): ... additions to this variable.
5595 (xtests): Change dependencies to ....
5596 (xtests-special): ... additions to this variable.
5597 * stdio-common/Makefile (tests): Change dependencies to ....
5598 (tests-special): ... additions to this variable.
5599 (do-tst-unbputc): Remove target.
5600 (do-tst-printf): Likewise.
5601 * stdlib/Makefile (tests): Change dependencies to ....
5602 (tests-special): ... additions to this variable.
5603 * string/Makefile (tests): Change dependencies to ....
5604 (tests-special): ... additions to this variable.
5605 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5606 (tests-special): ... additions to this variable.
5608 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5610 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5612 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5613 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5615 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5616 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5617 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5618 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5619 * conform/data/libgen.h-data [XPG3]: Likewise.
5620 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5621 * conform/data/ndbm.h-data [XPG3]: Likewise.
5622 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5623 * conform/data/netdb.h-data [XPG3]: Likewise.
5624 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5625 * conform/data/poll.h-data [XPG3]: Likewise.
5626 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5627 * conform/data/strings.h-data [XPG3]: Likewise.
5628 * conform/data/stropts.h-data [XPG3]: Likewise.
5629 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5630 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5631 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5633 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5634 * conform/data/sys/time.h-data [XPG3]: Likewise.
5635 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5636 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5637 * conform/data/sys/un.h-data [XPG3]: Likewise.
5638 * conform/data/syslog.h-data [XPG3]: Likewise.
5639 * conform/data/ucontext.h-data [XPG3]: Likewise.
5640 * conform/data/utmpx.h-data [XPG3]: Likewise.
5641 * conform/data/varargs.h-data [UNIX98]: Enable file.
5643 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5645 * math/libm-test.inc (struct test_f_f_data): Move expected results
5646 into structure for each rounding mode.
5647 (struct test_ff_f_data): Likewise.
5648 (struct test_ff_f_data_nexttoward): Likewise.
5649 (struct test_fi_f_data): Likewise.
5650 (struct test_fl_f_data): Likewise.
5651 (struct test_if_f_data): Likewise.
5652 (struct test_fff_f_data): Likewise.
5653 (struct test_c_f_data): Likewise.
5654 (struct test_f_f1_data): Likewise.
5655 (struct test_fF_f1_data): Likewise.
5656 (struct test_ffI_f1_data): Likewise.
5657 (struct test_c_c_data): Likewise.
5658 (struct test_cc_c_data): Likewise.
5659 (struct test_f_i_data): Likewise.
5660 (struct test_ff_i_data): Likewise.
5661 (struct test_f_l_data): Likewise.
5662 (struct test_f_L_data): Likewise.
5663 (struct test_fFF_11_data): Likewise.
5665 (RM_FE_DOWNWARD): Likewise.
5666 (RM_FE_TONEAREST): Likewise.
5667 (RM_FE_TOWARDZERO): Likewise.
5668 (RM_FE_UPWARD): Likewise.
5669 (RUN_TEST_LOOP_f_f): Update references to expected results.
5670 (RUN_TEST_LOOP_2_f): Likewise.
5671 (RUN_TEST_LOOP_fff_f): Likewise.
5672 (RUN_TEST_LOOP_c_f): Likewise.
5673 (RUN_TEST_LOOP_f_f1): Likewise.
5674 (RUN_TEST_LOOP_fF_f1): Likewise.
5675 (RUN_TEST_LOOP_fI_f1): Likewise.
5676 (RUN_TEST_LOOP_ffI_f1): Likewise.
5677 (RUN_TEST_LOOP_c_c): Likewise.
5678 (RUN_TEST_LOOP_cc_c): Likewise.
5679 (RUN_TEST_LOOP_f_i): Likewise.
5680 (RUN_TEST_LOOP_f_i_tg): Likewise.
5681 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5682 (RUN_TEST_LOOP_f_b): Likewise.
5683 (RUN_TEST_LOOP_f_b_tg): Likewise.
5684 (RUN_TEST_LOOP_f_l): Likewise.
5685 (RUN_TEST_LOOP_f_L): Likewise.
5686 (RUN_TEST_LOOP_fFF_11): Likewise.
5687 * math/gen-libm-test.pl (parse_args): Output four copies of
5688 expected results for each test.
5690 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5691 (__ASSUME_UTIMES): Remove.
5692 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5693 (__ASSUME_UTIMES): Likewise.
5695 * math/gen-auto-libm-tests.c: Update comment on output format.
5696 (output_for_one_input_case): Generate before-rounding and
5697 after-rounding information as conditions on output flags not
5698 floating-point format.
5699 * math/auto-libm-test-out: Regenerated.
5700 * math/gen-libm-test.pl (cond_value): New function.
5701 (or_cond_value): Use cond_value.
5702 (generate_testfile): Handle conditional exceptions.
5704 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5706 * math/libm-test.inc (max_valid_error): New variable.
5707 (init_max_error): Take new argument specifying whether function
5708 results are exactly determined. Set max_valid_error and bound
5709 other variables for errors based on this argument.
5710 (set_max_error): Do not record results above max_valid_error.
5711 (check_float_internal): Only accept errors of up to 0.5ulps if
5712 also at most max_valid_error.
5713 (START): Take new argument EXACT and pass it to init_max_error.
5714 (acos_test): Update call to START.
5715 (acos_test_tonearest): Likewise.
5716 (acos_test_towardzero): Likewise.
5717 (acos_test_downward): Likewise.
5718 (acos_test_upward): Likewise.
5719 (acosh_test): Likewise.
5720 (asin_test): Likewise.
5721 (asin_test_tonearest): Likewise.
5722 (asin_test_towardzero): Likewise.
5723 (asin_test_downward): Likewise.
5724 (asin_test_upward): Likewise.
5725 (asinh_test): Likewise.
5726 (atan_test): Likewise.
5727 (atanh_test): Likewise.
5728 (atan2_test): Likewise.
5729 (cabs_test): Likewise.
5730 (cacos_test): Likewise.
5731 (cacosh_test): Likewise.
5732 (carg_test): Likewise.
5733 (casin_test): Likewise.
5734 (casinh_test): Likewise.
5735 (catan_test): Likewise.
5736 (catanh_test): Likewise.
5737 (cbrt_test): Likewise.
5738 (ccos_test): Likewise.
5739 (ccosh_test): Likewise.
5740 (ceil_test): Likewise.
5741 (cexp_test): Likewise.
5742 (cimag_test): Likewise.
5743 (clog_test): Likewise.
5744 (clog10_test): Likewise.
5745 (conj_test): Likewise.
5746 (copysign_test): Likewise.
5747 (cos_test): Likewise.
5748 (cos_test_tonearest): Likewise.
5749 (cos_test_towardzero): Likewise.
5750 (cos_test_downward): Likewise.
5751 (cos_test_upward): Likewise.
5752 (cosh_test): Likewise.
5753 (cosh_test_tonearest): Likewise.
5754 (cosh_test_towardzero): Likewise.
5755 (cosh_test_downward): Likewise.
5756 (cosh_test_upward): Likewise.
5757 (cpow_test): Likewise.
5758 (cproj_test): Likewise.
5759 (creal_test): Likewise.
5760 (csin_test): Likewise.
5761 (csinh_test): Likewise.
5762 (csqrt_test): Likewise.
5763 (ctan_test): Likewise.
5764 (ctan_test_tonearest): Likewise.
5765 (ctan_test_towardzero): Likewise.
5766 (ctan_test_downward): Likewise.
5767 (ctan_test_upward): Likewise.
5768 (ctanh_test): Likewise.
5769 (ctanh_test_tonearest): Likewise.
5770 (ctanh_test_towardzero): Likewise.
5771 (ctanh_test_downward): Likewise.
5772 (ctanh_test_upward): Likewise.
5773 (erf_test): Likewise.
5774 (erfc_test): Likewise.
5775 (exp_test): Likewise.
5776 (exp_test_tonearest): Likewise.
5777 (exp_test_towardzero): Likewise.
5778 (exp_test_downward): Likewise.
5779 (exp_test_upward): Likewise.
5780 (exp10_test): Likewise.
5781 (exp10_test_tonearest): Likewise.
5782 (exp10_test_towardzero): Likewise.
5783 (exp10_test_downward): Likewise.
5784 (exp10_test_upward): Likewise.
5785 (pow10_test): Likewise.
5786 (exp2_test): Likewise.
5787 (expm1_test): Likewise.
5788 (expm1_test_tonearest): Likewise.
5789 (expm1_test_towardzero): Likewise.
5790 (expm1_test_downward): Likewise.
5791 (expm1_test_upward): Likewise.
5792 (fabs_test): Likewise.
5793 (fdim_test): Likewise.
5794 (floor_test): Likewise.
5795 (fma_test): Likewise.
5796 (fma_test_towardzero): Likewise.
5797 (fma_test_downward): Likewise.
5798 (fma_test_upward): Likewise.
5799 (fmax_test): Likewise.
5800 (fmin_test): Likewise.
5801 (fmod_test): Likewise.
5802 (fpclassify_test): Likewise.
5803 (frexp_test): Likewise.
5804 (hypot_test): Likewise.
5805 (ilogb_test): Likewise.
5806 (isfinite_test): Likewise.
5807 (finite_test): Likewise.
5808 (isgreater_test): Likewise.
5809 (isgreaterequal_test): Likewise.
5810 (isinf_test): Likewise.
5811 (isless_test): Likewise.
5812 (islessequal_test): Likewise.
5813 (islessgreater_test): Likewise.
5814 (isnan_test): Likewise.
5815 (isnormal_test): Likewise.
5816 (issignaling_test): Likewise.
5817 (isunordered_test): Likewise.
5818 (j0_test): Likewise.
5819 (j1_test): Likewise.
5820 (jn_test): Likewise.
5821 (ldexp_test): Likewise.
5822 (lgamma_test): Likewise.
5823 (gamma_test): Likewise.
5824 (lrint_test): Likewise.
5825 (lrint_test_tonearest): Likewise.
5826 (lrint_test_towardzero): Likewise.
5827 (lrint_test_downward): Likewise.
5828 (lrint_test_upward): Likewise.
5829 (llrint_test): Likewise.
5830 (llrint_test_tonearest): Likewise.
5831 (llrint_test_towardzero): Likewise.
5832 (llrint_test_downward): Likewise.
5833 (llrint_test_upward): Likewise.
5834 (log_test): Likewise.
5835 (log10_test): Likewise.
5836 (log1p_test): Likewise.
5837 (log2_test): Likewise.
5838 (logb_test): Likewise.
5839 (logb_test_downward): Likewise.
5840 (lround_test): Likewise.
5841 (llround_test): Likewise.
5842 (modf_test): Likewise.
5843 (nearbyint_test): Likewise.
5844 (nextafter_test): Likewise.
5845 (nexttoward_test): Likewise.
5846 (pow_test): Likewise.
5847 (pow_test_tonearest): Likewise.
5848 (pow_test_towardzero): Likewise.
5849 (pow_test_downward): Likewise.
5850 (pow_test_upward): Likewise.
5851 (remainder_test): Likewise.
5852 (drem_test): Likewise.
5853 (remainder_test_tonearest): Likewise.
5854 (drem_test_tonearest): Likewise.
5855 (remainder_test_towardzero): Likewise.
5856 (drem_test_towardzero): Likewise.
5857 (remainder_test_downward): Likewise.
5858 (drem_test_downward): Likewise.
5859 (remainder_test_upward): Likewise.
5860 (drem_test_upward): Likewise.
5861 (remquo_test): Likewise.
5862 (rint_test): Likewise.
5863 (rint_test_tonearest): Likewise.
5864 (rint_test_towardzero): Likewise.
5865 (rint_test_downward): Likewise.
5866 (rint_test_upward): Likewise.
5867 (round_test): Likewise.
5868 (scalb_test): Likewise.
5869 (scalbn_test): Likewise.
5870 (scalbln_test): Likewise.
5871 (signbit_test): Likewise.
5872 (sin_test): Likewise.
5873 (sin_test_tonearest): Likewise.
5874 (sin_test_towardzero): Likewise.
5875 (sin_test_downward): Likewise.
5876 (sin_test_upward): Likewise.
5877 (sincos_test): Likewise.
5878 (sinh_test): Likewise.
5879 (sinh_test_tonearest): Likewise.
5880 (sinh_test_towardzero): Likewise.
5881 (sinh_test_downward): Likewise.
5882 (sinh_test_upward): Likewise.
5883 (sqrt_test): Likewise.
5884 (sqrt_test_tonearest): Likewise.
5885 (sqrt_test_towardzero): Likewise.
5886 (sqrt_test_downward): Likewise.
5887 (sqrt_test_upward): Likewise.
5888 (tan_test): Likewise.
5889 (tan_test_tonearest): Likewise.
5890 (tan_test_towardzero): Likewise.
5891 (tan_test_downward): Likewise.
5892 (tan_test_upward): Likewise.
5893 (tanh_test): Likewise.
5894 (tgamma_test): Likewise.
5895 (trunc_test): Likewise.
5896 (y0_test): Likewise.
5897 (y1_test): Likewise.
5898 (yn_test): Likewise.
5899 (significand_test): Likewise.
5901 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5902 individual tests in comment.
5903 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5904 (prev_max_error): New variable.
5905 (prev_real_max_error): Likewise.
5906 (prev_imag_max_error): Likewise.
5907 (compare_ulp_data): Don't refer to test names in comment.
5908 (find_test_ulps): Remove function.
5909 (find_function_ulps): Likewise.
5910 (find_complex_function_ulps): Likewise.
5911 (init_max_error): Take function name as argument. Look up ulps
5913 (print_ulps): Remove function.
5914 (print_max_error): Use prev_max_error instead of calling
5916 (print_complex_max_error): Use prev_real_max_error and
5917 prev_imag_max_error instead of calling find_complex_function_ulps.
5918 (check_float_internal): Take max_ulp parameter instead of calling
5919 find_test_ulps. Don't call print_ulps.
5920 (check_float): Update call to check_float_internal.
5921 (check_complex): Update calls to check_float_internal.
5922 (START): Pass argument to init_max_error.
5923 * math/gen-libm-test.pl (%results): Don't include "kind"
5925 (parse_ulps): Don't handle ulps of individual tests.
5926 (print_ulps_file): Likewise.
5927 (output_ulps): Likewise.
5928 * math/README.libm-test: Update.
5929 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5931 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5932 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5933 * sysdeps/arm/libm-test-ulps: Likewise.
5934 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5935 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5936 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5937 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5938 * sysdeps/microblaze/libm-test-ulps: Likewise.
5939 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5940 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5942 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5943 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5944 * sysdeps/sh/libm-test-ulps: Likewise.
5945 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5946 * sysdeps/tile/libm-test-ulps: Likewise.
5947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5949 2014-03-04 Joseph Myers <joseph@codesourcery.com>
5951 * math/libm-test.inc (print_complex_max_error): Check separately
5952 whether real and imaginary errors are within allowed range and
5953 pass 0 to print_complex_function_ulps instead of value within
5956 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5958 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5960 (get_handles_fopen): Likewise.
5961 (do_write_test): Likewise.
5963 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5965 * libio/fileops.c (do_ftell): Use cached offset when
5967 * libio/iofwide.c (do_ftell_wide): Likewise.
5968 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5970 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5973 * libio/libioP.h (get_file_offset): New function.
5974 * libio/fileops.c (get_file_offset): Likewise.
5975 (do_ftell): Likewise.
5976 (_IO_new_file_seekoff): Split out ftell logic.
5977 * libio/wfileops.c (do_ftell_wide): Likewise.
5978 (_IO_wfile_seekoff): Split out ftell logic.
5979 * libio/tst-ftell-active-handler.c: New test case.
5980 * libio/Makefile (tests): Add it.
5982 2014-03-03 Roland McGrath <roland@hack.frob.com>
5984 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5985 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5987 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5990 * nscd/connections.c (nscd_init): Call do_exit.
5991 (start_threads): Call do_exit and notify_parent.
5992 (begin_drop_privileges): Call do_exit.
5993 (finish_drop_privileges): Likewise.
5994 * nscd/selinux.c (preserve_capabilities): Likewise.
5995 (install_real_capabilities): Likewise.
5996 (nscd_selinux_enabled): Likewise.
5997 (avc_create_thread): Likewise.
5998 (avc_alloc_lock): Likewise.
5999 (nscd_avc_init): Likewise.
6000 * nscd/nscd.c (parent_fd): New static variable.
6001 (main): Create a pipe between parent and child processes.
6002 Skip closing parent_fd.
6003 (monitor_child): New function.
6004 (do_exit): Likewise.
6005 (notify_parent): Likewise.
6006 * nscd/nscd.h (notify_parent): Likewise.
6007 (do_exit): Likewise.
6009 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6011 * malloc/malloc.c (__libc_calloc): Revert last change.
6013 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6017 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6019 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6023 (__libc_ifunc_impl_list): Likewise.
6024 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6025 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6026 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6027 * string/strrchr.c: Define STRRCHR.
6029 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6031 * benchtest/bench-strtok.c (simple_strtok): Delete.
6032 (strtok_string): Use as benchmark.
6033 * string/strtok (STRTOK): New macro.
6035 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6037 * manual/threads.texi: Add header and standard comments to all
6040 * elf/dl-lookup.c (check_match): New function.
6041 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6042 (do_lookup_x): Remove nested function check_match. Use non-nested
6043 function check_match.
6045 2014-02-28 Roland McGrath <roland@hack.frob.com>
6047 * csu/Makefile (generated, before-compile): Use += rather than =.
6048 * catgets/Makefile (generated, generated-dirs): Likewise.
6049 * debug/Makefile (generated): Likewise.
6050 * dlfcn/Makefile (generated): Likewise.
6051 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6052 * iconvdata/Makefile (before-compile, generated): Likewise.
6053 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6054 * libio/Makefile (generated): Likewise.
6055 * malloc/Makefile (generated): Likewise.
6056 * manual/Makefile (generated, generated-dirs): Likewise.
6057 * misc/Makefile (generated): Likewise.
6058 * posix/Makefile (generated): Likewise.
6059 * resolv/Makefile (generated): Likewise.
6060 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6061 * timezone/Makefile (generated, generated-dirs): Likewise.
6063 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6065 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6068 power8 implementation.
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6070 file: POWER8 llround ifunc implementation.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6072 (__lllround): Add POWER8 implementation.
6073 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6074 POWER8 llround implementation.
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6077 power8 implementation.
6078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6079 file: POWER8 llrint ifunc implementation.
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6081 Add POWER8 implementation.
6082 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6083 POWER8 llrint implementation.
6085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6086 power8 implementation.
6087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6088 file: POWER8 finite ifunc implementation.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6090 Add POWER8 implementation.
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6093 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6094 POWER8 finite implementation.
6095 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6098 power8 implementation.
6099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6100 file: POWER8 isinf ifunc implementation.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6102 POWER8 implementation.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6105 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6106 isinf implementation.
6107 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6109 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6110 (INIT_ARCH): Add hwcap2 initialization.
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6112 power8 implementation.
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6114 file: POWER8 isnan ifunc implementation.
6115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6116 POWER8 implementation.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6119 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6120 isnan implementation.
6121 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6123 2014-02-27 Joey Ye <joey.ye@arm.com>
6125 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6126 (_FP_NANFRAC_Q): Set to zero.
6128 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6131 * math/auto-libm-test-in: New test inputs.
6132 * math/auto-libm-test-out: Regenerate.
6133 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6136 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6138 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6140 * scripts/evaluate-test.sh: Take new argument indicating whether
6141 failure is expected.
6142 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6143 indicating whether failure is expected.
6144 * conform/Makefile (test-xfail-run-conformtest): New variable.
6145 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6147 * posix/Makefile (test-xfail-annexc): New variable.
6148 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6150 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6152 * argp/Makefile: Include Makeconfig immediately after defining
6154 * assert/Makefile: Likewise.
6155 * benchtests/Makefile: Likewise.
6156 * catgets/Makefile: Likewise.
6157 * conform/Makefile: Likewise.
6158 * crypt/Makefile: Likewise.
6159 * csu/Makefile: Likewise.
6160 (all): Remove target.
6161 * ctype/Makefile: Include Makeconfig immediately after defining
6163 * debug/Makefile: Likewise.
6164 * dirent/Makefile: Likewise.
6165 * dlfcn/Makefile: Likewise.
6166 * gmon/Makefile: Likewise.
6167 * gnulib/Makefile: Likewise.
6168 * grp/Makefile: Likewise.
6169 * gshadow/Makefile: Likewise.
6170 * hesiod/Makefile: Likewise.
6171 * hurd/Makefile: Likewise.
6172 (all): Remove target.
6173 * iconvdata/Makefile: Include Makeconfig immediately after
6175 * inet/Makefile: Likewise.
6176 * intl/Makefile: Likewise.
6177 * io/Makefile: Likewise.
6178 * libio/Makefile: Likewise.
6179 (all): Remove target.
6180 * locale/Makefile: Include Makeconfig immediately after defining
6182 * login/Makefile: Likewise.
6183 * mach/Makefile: Likewise.
6184 (all): Remove target.
6185 * malloc/Makefile: Include Makeconfig immediately after defining
6187 (all): Remove target.
6188 * manual/Makefile: Include Makeconfig immediately after defining
6190 * math/Makefile: Likewise.
6191 * misc/Makefile: Likewise.
6192 * nis/Makefile: Likewise.
6193 * nss/Makefile: Likewise.
6194 * po/Makefile: Likewise.
6195 (all): Remove target.
6196 * posix/Makefile: Include Makeconfig immediately after defining
6198 * pwd/Makefile: Likewise.
6199 * resolv/Makefile: Likewise.
6200 * resource/Makefile: Likewise.
6201 * rt/Makefile: Likewise.
6202 * setjmp/Makefile: Likewise.
6203 * shadow/Makefile: Likewise.
6204 * signal/Makefile: Likewise.
6205 * socket/Makefile: Likewise.
6206 * soft-fp/Makefile: Likewise.
6207 * stdio-common/Makefile: Likewise.
6208 * stdlib/Makefile: Likewise.
6209 * streams/Makefile: Likewise.
6210 * string/Makefile: Likewise.
6211 * sunrpc/Makefile: Likewise.
6212 (all): Remove target.
6213 * sysvipc/Makefile: Include Makeconfig immediately after defining
6215 * termios/Makefile: Likewise.
6216 * time/Makefile: Likewise.
6217 * timezone/Makefile: Likewise.
6218 (all): Remove target.
6219 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6221 * wctype/Makefile: Likewise.
6223 2014-02-26 Steve Ellcey <sellcey@mips.com>
6225 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6226 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6227 (libc_feholdexcept_setround_mips): Ditto.
6228 (libc_feholdsetround): New.
6229 (libc_feholdsetroundf): New.
6230 (libc_feholdsetroundl): New.
6231 (libc_feupdateenv_test_mips): New.
6232 (libc_feupdateenv_test): New.
6233 (libc_feupdateenv_testf): New.
6234 (libc_feupdateenv_testl): New.
6235 (libc_feresetround): New.
6236 (libc_feresetroundf): New.
6237 (libc_feresetroundl): New.
6238 (libc_fetestexcept_mips): New.
6239 (libc_fetestexcept): New.
6240 (libc_fetestexceptf): New.
6241 (libc_fetestexceptl): New.
6243 (libc_feholdexcept_setround_mips_ctx): New.
6244 (libc_feholdexcept_setround_ctx): New.
6245 (libc_feholdexcept_setroundf_ctx): New.
6246 (libc_feholdexcept_setroundl_ctx): New.
6247 (libc_fesetenv_mips_ctx): New.
6248 (libc_fesetenv_ctx): New.
6249 (libc_fesetenv_ctxf): New.
6250 (libc_fesetenv_ctxl): New.
6251 (libc_feupdateenv_mips_ctx): New.
6252 (libc_feupdateenv_ctx): New.
6253 (libc_feupdateenvf_ctx): New.
6254 (libc_feupdateenvl_ctx): New.
6255 (libc_feholdsetround_mips_ctx): New.
6256 (libc_feholdsetround_ctx): New.
6257 (libc_feholdsetroundf_ctx): New.
6258 (libc_feholdsetroundl_ctx): New.
6259 (libc_feresetround_mips_ctx): New.
6260 (libc_feresetround_ctx): New.
6261 (libc_feresetroundf_ctx): New.
6262 (libc_feresetroundl_ctx): New.
6264 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6266 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6268 * manual/ipc.texi: New file.
6269 * manual/Makefile (chapters): Add ipc.
6270 * manual/job.texi: Add "Inter-Process Communication" to next.
6271 * manual/process.texi: Add "Inter-Process Communication" to prev.
6273 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6277 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6279 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6281 * manual/arith.texi: Fix spaces after sentences.
6282 * manual/charset.texi: Likewise.
6283 * manual/errno.texi: Likewise.
6284 * manual/install.texi: Likewise.
6285 * manual/llio.texi: Likewise.
6286 * manual/locale.texi: Likewise.
6287 * manual/maint.texi: Likewise.
6288 * manual/math.texi: Likewise.
6289 * manual/memory.texi: Likewise.
6290 * manual/message.texi: Likewise.
6291 * manual/probes.texi: Likewise.
6292 * manual/resource.texi: Likewise.
6293 * manual/signal.texi: Likewise.
6294 * manual/socket.texi: Likewise.
6295 * manual/stdio.texi: Likewise.
6296 * manual/string.texi: Likewise.
6297 * manual/time.texi: Likewise.
6298 * manual/users.texi: Likewise.
6300 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6303 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6304 _DEFAULT_SOURCE is defined.
6306 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6307 Carlos O'Donell <carlos@redhat.com>
6310 * elf/dl-tls.c (_dl_count_modids): New function.
6311 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6312 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6313 audit library and increment generation counter.
6314 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6315 * elf/tst-audit9.c: New file.
6316 * elf/tst-auditmod9a.c: New file.
6317 * elf/tst-auditmod9b.c: New file.
6318 * elf/Makefile: Add rules to build and run tst-audit9.
6320 2014-02-25 Florian Weimer <fweimer@redhat.com>
6323 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6325 2014-02-25 Will Newton <will.newton@linaro.org>
6327 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6328 (__longjmp): Restore sp and lr before restoring callee
6329 saved registers. Add longjmp and longjmp_target
6330 SystemTap probe point.
6331 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6332 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6333 Define to zero to match jmpbuf layout.
6334 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6335 (__sigsetjmp): Save sp and lr before saving callee
6336 saved registers. Add setjmp SystemTap probe point.
6338 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6340 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6342 2014-02-24 Andreas Schwab <schwab@suse.de>
6345 * elf/pldd.c (wait_for_ptrace_stop): New function.
6346 (main): Call it after attaching.
6348 2014-02-22 Roland McGrath <roland@hack.frob.com>
6350 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6351 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6352 Versions files is now verboten.
6353 * hurd/Versions (libc: GLIBC_2.0):
6354 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6355 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6356 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6357 * mach/Versions: Likewise.
6359 * csu/Versions: Remove unused %include.
6360 * resolv/Versions: Likewise.
6362 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6364 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6365 ($(objpfx)check-local-headers.out): Likewise.
6366 ($(objpfx)begin-end-check.out): Likewise.
6367 * Makerules (check-abi-%.out): Likewise.
6368 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6369 ($(objpfx)test2.cat): Likewise.
6370 ($(objpfx)de/libc.cat): Likewise.
6371 ($(objpfx)test-gencat.out): Likewise.
6372 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6373 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6374 ($(objpfx)noload-mem): Likewise.
6375 ($(objpfx)tst-pathopt.out): Likewise.
6376 ($(objpfx)tst-rtld-load-self.out): Likewise.
6377 ($(objpfx)tst-array1-cmp.out): Likewise.
6378 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6379 ($(objpfx)tst-array2-cmp.out): Likewise.
6380 ($(objpfx)tst-array3-cmp.out): Likewise.
6381 ($(objpfx)tst-array4-cmp.out): Likewise.
6382 ($(objpfx)tst-array5-cmp.out): Likewise.
6383 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6384 ($(objpfx)check-textrel.out): Likewise.
6385 ($(objpfx)check-execstack.out): Likewise.
6386 ($(objpfx)check-localplt.out): Likewise.
6387 ($(objpfx)order2-cmp.out): Likewise.
6388 ($(objpfx)tst-leaks1-mem): Likewise.
6389 ($(objpfx)tst-leaks1-static-mem): Likewise.
6390 ($(objpfx)tst-initorder-cmp.out): Likewise.
6391 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6392 ($(objpfx)tst-unused-dep.out): Likewise.
6393 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6394 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6395 * iconv/Makefile (test-iconvconfig): Likewise.
6396 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6397 ($(objpfx)iconv-test.out): Likewise.
6398 ($(objpfx)tst-tables.out): Likewise.
6399 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6400 ($(objpfx)tst-gettext.out): Likewise.
6401 ($(objpfx)tst-translit.out): Likewise.
6402 ($(objpfx)tst-gettext2.out): Likewise.
6403 ($(objpfx)tst-gettext4.out): Likewise.
6404 ($(objpfx)tst-gettext6.out): Likewise.
6405 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6406 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6407 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6408 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6409 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6410 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6411 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6412 ($(objpfx)wordexp-tst.out): Likewise.
6413 ($(objpfx)annexc.out): Likewise.
6414 ($(objpfx)tst-fnmatch-mem): Likewise.
6415 ($(objpfx)bug-regex2-mem): Likewise.
6416 ($(objpfx)bug-regex14-mem): Likewise.
6417 ($(objpfx)bug-regex21-mem): Likewise.
6418 ($(objpfx)bug-regex31-mem): Likewise.
6419 ($(objpfx)tst-vfork3-mem): Likewise.
6420 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6421 ($(objpfx)tst-pcre-mem): Likewise.
6422 ($(objpfx)tst-boost-mem): Likewise.
6423 ($(objpfx)tst-getconf.out): Likewise.
6424 ($(objpfx)bug-ga2-mem): Likewise.
6425 ($(objpfx)bug-glob2-mem): Likewise.
6426 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6427 ($(objpfx)mtrace-tst-leaks2): Likewise.
6428 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6429 ($(objpfx)tst-printf.out): Likewise.
6430 ($(objpfx)tst-setvbuf1.out): Likewise.
6431 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6432 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6433 ($(objpfx)tst-fmtmsg.out): Likewise.
6434 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6435 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6437 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6438 * bits/sigaction.h [__USE_MISC]: Likewise.
6439 * bits/waitstatus.h: Update #endif comments.
6440 * ctype/ctype.h: Likewise.
6441 * dirent/dirent.h: Likewise.
6442 [__USE_MISC]: Remove redundant conditionals.
6443 * grp/grp.h: Update #endif comments.
6444 [__USE_GNU]: Remove redundant conditionals.
6445 [__USE_MISC]: Likewise.
6446 * inet/netinet/in.h [__USE_GNU]: Likewise.
6447 * io/sys/stat.h [__USE_MISC]: Likewise.
6448 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6449 * libio/bits/stdio.h: Update #endif comments.
6450 [__USE_MISC]: Remove redundant conditionals.
6451 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6452 * libio/stdio.h: Update #endif comments.
6453 [__USE_MISC]: Remove redundant conditionals.
6454 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6455 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6456 * math/math.h: Update #else and #endif comments.
6457 [__USE_MISC]: Remove redundant conditionals.
6458 * misc/sys/uio.h: Update #endif comments.
6459 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6460 * posix/glob.h [__USE_MISC]: Likewise.
6461 * posix/sys/types.h: Update #endif comments.
6462 [__USE_MISC]: Remove redundant conditionals.
6463 * posix/sys/wait.h: Update #endif comments.
6464 [__USE_MISC]: Remove redundant conditionals.
6465 * posix/unistd.h: Update #endif comments.
6466 [__USE_MISC]: Remove redundant conditionals.
6467 * pwd/pwd.h [__USE_GNU]: Likewise.
6468 [__USE_MISC]: Likewise.
6469 * resolv/netdb.h [__USE_GNU]: Likewise.
6470 * signal/signal.h: Update #endif comments.
6471 [__USE_MISC]: Remove redundant conditionals.
6472 * stdlib/stdlib.h: Update #else and #endif comments.
6473 [__USE_MISC]: Remove redundant conditionals.
6474 [__USE_GNU]: Likewise.
6475 * string/bits/string2.h [__USE_MISC]: Likewise.
6476 * string/string.h: Update #endif comments.
6477 [__USE_MISC]: Remove redundant conditionals.
6478 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6480 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6481 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6482 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6484 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6486 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6488 [__USE_MISC]: Remove redundant conditionals.
6489 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6490 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6491 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6492 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6493 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6495 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6496 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6498 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6501 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6503 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6504 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6506 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6508 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6509 * sysdeps/x86/bits/string.h: Update #endif comments.
6510 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6512 * time/sys/time.h: Update #endif comments.
6513 * time/time.h: Likewise.
6514 [__USE_MISC]: Remove redundant conditionals.
6516 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6519 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6521 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6523 * Versions.def (librt): Add GLIBC_2.17.
6525 2014-02-21 Adam Conrad <adconrad@0c3.net>
6527 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6528 synonym for _SYS_AUXV_H to allow direct inclusion.
6529 * sysdeps/sparc/bits/hwcap.h: Likewise.
6530 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6531 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6532 * sysdeps/sparc/sysdep.h: Likewise.
6534 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6536 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6538 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6540 * benchtests/bench-strrchr.c: Print length instead of position.
6542 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6545 * sysdeps/unix/sysv/linux/kernel-features.h
6546 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6547 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6548 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6549 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6551 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6552 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6553 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6554 (__ASSUME_SENDMMSG): Define instead of using previous
6555 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6556 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6557 (__ASSUME_SENDMMSG_SYSCALL): Define.
6558 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6559 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6561 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6562 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6564 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6565 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6567 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6568 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6569 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6570 [__ASSUME_SENDMMSG]: Change conditionals to
6571 [__ASSUME_SENDMMSG_SOCKETCALL].
6572 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6573 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6575 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6576 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6578 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6579 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6580 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6581 [!__ASSUME_SENDMMSG]: Change conditional to
6582 [!__ASSUME_SENDMMSG_SOCKETCALL].
6583 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6584 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6588 * sysdeps/unix/sysv/linux/kernel-features.h
6589 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6590 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6591 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6592 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6593 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6594 [__i386__ || __sparc__]
6595 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6596 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6597 (__ASSUME_RECVMMSG): Define instead of using previous
6598 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6599 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6600 (__ASSUME_RECVMMSG_SYSCALL): Define.
6601 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6602 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6604 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6605 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6607 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6608 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6610 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6611 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6612 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6613 [__ASSUME_RECVMMSG]: Change condition to
6614 [__ASSUME_RECVMMSG_SOCKETCALL].
6615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6616 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6618 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6619 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6622 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6623 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6624 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6625 [!__ASSUME_RECVMMSG]: Change condition to
6626 [!__ASSUME_RECVMMSG_SOCKETCALL].
6627 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6628 (__ASSUME_RECVMMSG_SYSCALL): Define.
6631 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6632 __powerpc__ || __s390__ || __sh__ || __sparc__]
6633 (__ASSUME_SOCKETCALL): Define.
6634 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6635 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6636 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6637 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6638 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6639 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6640 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6641 (__ASSUME_ACCEPT4): Define instead of using previous
6642 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6643 __powerpc__ || __sparc__ || __s390__)] condition.
6644 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6645 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6646 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6647 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6648 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6649 [!__ASSUME_ACCEPT4]: Change condition to
6650 [!__ASSUME_ACCEPT4_SOCKETCALL].
6651 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6652 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6653 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6654 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6655 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6656 __ASSUME_ACCEPT4_SYSCALL.
6657 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6658 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6659 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6660 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6661 __ASSUME_ACCEPT4_SYSCALL.
6662 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6663 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6664 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6665 [__ASSUME_ACCEPT4]: Change condition to
6666 [__ASSUME_ACCEPT4_SOCKETCALL].
6667 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6668 (__ASSUME_SOCKETCALL): Define.
6669 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6670 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6671 (__ASSUME_SOCKETCALL): Define.
6672 (__ASSUME_ACCEPT4): Remove.
6673 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6675 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6676 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6678 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6679 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6681 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6683 (HWCAP_ARM_LPAE): Likewise.
6684 (HWCAP_ARM_EVTSTRM): Likewise.
6685 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6686 Add vpfd32, lpae and evtstrm.
6687 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6690 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6692 * math/auto-libm-test-in: Add tests of clog10.
6693 * math/auto-libm-test-out: Regenerated.
6694 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6695 * sysdeps/i386/fpu/libm-test-ulps: Update.
6696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6698 2014-02-18 Andreas Schwab <schwab@suse.de>
6701 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6702 Store non-zero if the second buffer was newly allocated.
6703 (send_dg): Likewise.
6704 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6705 to send_vc and send_dg.
6706 (res_nsend): Pass NULL for ansp2_malloced.
6707 * resolv/res_query.c (__libc_res_nquery): Add parameter
6708 answerp2_malloced and pass it down to __libc_res_nsend.
6709 (res_nquery): Pass additional NULL to __libc_res_nquery.
6710 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6711 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6712 second answer buffer if answerp2_malloced was set.
6713 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6714 (__libc_res_nquerydomain): Add parameter
6715 answerp2_malloced and pass it down to __libc_res_nquery.
6716 (res_nquerydomain): Pass additional NULL to
6717 __libc_res_nquerydomain.
6718 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6719 additional NULL to __libc_res_nsend and __libc_res_nquery.
6720 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6721 additional NULL to __libc_res_nsearch.
6722 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6723 parameter of __libc_res_nsearch to check for separately allocated
6725 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6727 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6728 additional NULL to __libc_res_nquery.
6729 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6731 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6732 * include/resolv.h: Update prototypes of __libc_res_nquery,
6733 __libc_res_nsearch, __libc_res_nsend.
6735 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6737 * math/auto-libm-test-in: Add tests of fma.
6738 * math/auto-libm-test-out: Regenerated.
6739 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6740 (fma_towardzero_test_data): Likewise.
6741 (fma_downward_test_data): Likewise.
6742 (fma_upward_test_data): Likewise.
6743 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6745 (rounding_modes): Add values for new field.
6746 (func_calc_method): Add value mpfr_fff_f.
6747 (func_calc_desc): Add mpfr_fff_f union field.
6748 (test_function): Add field exact_args.
6749 (FUNC): Add macro argument EXACT_ARGS.
6750 (FUNC_mpfr_f_f): Update call to FUNC.
6751 (FUNC_mpfr_f_f): Likewise.
6752 (FUNC_mpfr_ff_f): Likewise.
6753 (FUNC_mpfr_if_f): Likewise.
6754 (FUNC_mpc_c_f): Likewise.
6755 (FUNC_mpc_c_c): Likewise.
6756 (test_functions): Add fma. Update calls to FUNC.
6757 (handle_input_arg): Add argument exact_args.
6758 (add_test): Update call to handle_input_arg.
6759 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6760 (output_for_one_input_case): Update call to calc_generic_results.
6761 Recalculate exact zero results in each rounding mode.
6763 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6764 non-negative before setting low bit.
6765 * math/auto-libm-test-in: Mark one asin test possibly having
6767 * math/auto-libm-test-out: Regenerated.
6768 * sysdeps/i386/fpu/libm-test-ulps: Update.
6769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6771 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6773 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6774 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6775 ports/sysdeps/unix/sysv/linux/microblaze.
6776 * README: Add missing listing for microblaze*-*-linux-gnu.
6778 2014-02-16 Mike Frysinger <vapier@gentoo.org>
6780 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6781 * sysdeps/unix/sysv/linux/ia64: Move directory from
6782 ports/sysdeps/unix/sysv/linux/ia64.
6783 * README: Update listing for ia64-*-linux-gnu.
6785 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6786 Joseph Myers <joseph@codesourcery.com>
6788 * Makeconfig (test-name): New variable.
6789 (evaluate-test): Likewise.
6790 * Makerules (do-test-clean): Remove .test-result files.
6791 (common-mostlyclean): Likewise.
6792 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6793 * scripts/evaluate-test.sh: New file.
6795 2014-02-14 Joseph Myers <joseph@codesourcery.com>
6797 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6798 separate $(objpfx)tst-fopenloc-cmp.out and
6799 $(objpfx)tst-fopenloc-mem.out targets.
6800 (tests): Update dependencies.
6801 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6802 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6803 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6804 (tst-rxspencer-no-utf8-ARGS): New variable.
6805 (tst-rxspencer-no-utf8-ENV): Likewise.
6806 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6807 instead of $(objpfx)tst-rxspencer-mem.
6808 ($(objpfx)tst-rxspencer-mem): Change target to
6809 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6810 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6811 * posix/tst-rxspencer-no-utf8.c: New file.
6813 * elf/Makefile ($(objpfx)order.out): Remove rule.
6814 [$(run-built-tests) = yes] (tests): Depend on
6815 $(objpfx)order-cmp.out.
6816 ($(objpfx)order-cmp.out): New rule.
6817 [$(run-built-tests) = yes] (tests): Depend on
6818 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6819 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6820 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6821 $(objpfx)tst-array5-static-cmp.out.
6822 ($(objpfx)tst-array1.out): Remove rule.
6823 ($(objpfx)tst-array1-cmp.out): New rule.
6824 ($(objpfx)tst-array1-static.out): Remove rule.
6825 ($(objpfx)tst-array1-static-cmp.out): New rule.
6826 ($(objpfx)tst-array2.out): Remove rule.
6827 ($(objpfx)tst-array2-cmp.out): New rule.
6828 ($(objpfx)tst-array3.out): Remove rule.
6829 ($(objpfx)tst-array3-cmp.out): New rule.
6830 ($(objpfx)tst-array4.out): Remove rule.
6831 ($(objpfx)tst-array4-cmp.out): New rule.
6832 ($(objpfx)tst-array5.out): Remove rule.
6833 ($(objpfx)tst-array5-cmp.out): New rule.
6834 ($(objpfx)tst-array5-static.out): Remove rule.
6835 ($(objpfx)tst-array5-static-cmp.out): New rule.
6836 [$(run-built-tests) = yes] (tests): Depend on
6837 $(objpfx)order2-cmp.out.
6838 ($(objpfx)order2.out): Remove rule.
6839 ($(objpfx)order2-cmp.out): New rule.
6840 ($(objpfx)tst-initorder.out): Remove rule.
6841 [$(run-built-tests) = yes] (tests): Depend on
6842 $(objpfx)tst-initorder-cmp.out.
6843 ($(objpfx)tst-initorder-cmp.out): New rule.
6844 ($(objpfx)tst-initorder2.out): Remove rule.
6845 [$(run-built-tests) = yes] (tests): Depend on
6846 $(objpfx)tst-initorder2-cmp.out.
6847 ($(objpfx)tst-initorder2-cmp.out): New rule.
6848 [$(run-built-tests) = yes] (tests): Depend on
6849 $(objpfx)tst-unused-dep-cmp.out.
6850 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6851 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6852 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6853 on $(objpfx)tst-setvbuf1-cmp.out.
6854 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6855 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6856 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6857 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6858 ($(objpfx)tst-svc.out): Remove rule.
6859 ($(objpfx)tst-svc-cmp.out): New rule.
6861 2014-02-13 Joseph Myers <joseph@codesourcery.com>
6863 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6864 * ctype/ctype.h [__USE_MISC]: Likewise.
6865 * dirent/dirent.h [__USE_MISC]: Likewise.
6866 * grp/grp.h [__USE_MISC]: Likewise.
6867 * io/fcntl.h [__USE_MISC]: Likewise.
6868 * io/sys/stat.h [__USE_MISC]: Likewise.
6869 * libio/stdio.h [__USE_MISC]: Likewise.
6870 * posix/unistd.h [__USE_MISC]: Likewise.
6871 * pwd/pwd.h [__USE_MISC]: Likewise.
6872 * stdlib.h [__USE_MISC]: Likewise.
6873 * string/bits/string2.h [__USE_MISC]: Likewise.
6874 * string/string.h [__USE_MISC]: Likewise.
6875 * time/time.h [__USE_MISC]: Likewise.
6877 2014-02-13 Andreas Schwab <schwab@suse.de>
6880 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6881 second answer buffer if it was separately allocated.
6883 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6885 * sysdeps/mips/math-tests.h: Include <features.h>.
6886 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6887 (ROUNDING_TESTS_long_double): Do not define.
6888 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6889 (EXCEPTION_TESTS_long_double): Likewise.
6890 * sysdeps/mips/mips64/libm-test-ulps: Update.
6892 * include/features.h (__USE_BSD): Remove macro definitions.
6893 (__USE_SVID): Likewise.
6894 (_BSD_SOURCE): Likewise.
6895 (_SVID_SOURCE): Likewise.
6896 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6897 from definition of _DEFAULT_SOURCE.
6898 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6900 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6901 * bits/mman.h [__USE_BSD]: Likewise.
6902 * bits/termios.h [__USE_BSD]: Likewise.
6903 * bits/waitstatus.h [__USE_BSD]: Likewise.
6904 * ctype/ctype.h [__USE_SVID]: Likewise.
6905 * dirent/dirent.h [__USE_BSD]: Likewise.
6906 * grp/grp.h [__USE_SVID]: Likewise.
6907 [__USE_BSD]: Likewise.
6908 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6909 * io/fcntl.h [__USE_BSD]: Likewise.
6910 * io/ftw.h [__USE_BSD]: Likewise.
6911 * io/sys/stat.h [__USE_BSD]: Likewise.
6912 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6913 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6914 * libio/stdio.h [__USE_SVID]: Likewise.
6915 [__USE_BSD]: Likewise.
6916 * math/math.h [__USE_SVID]: Likewise.
6917 [__USE_BSD]: Likewise.
6918 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6919 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6920 * misc/search.h [__USE_SVID]: Likewise.
6921 * misc/sys/mman.h [__USE_BSD]: Likewise.
6922 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6923 * misc/sys/uio.h [__USE_BSD]: Likewise.
6924 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6925 * posix/glob.h [__USE_BSD]: Likewise.
6926 * posix/regex.h [__USE_BSD]: Likewise.
6927 * posix/sys/types.h [__USE_BSD]: Likewise.
6928 [__USE_SVID]: Likewise.
6929 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6930 * posix/sys/wait.h [__USE_BSD]: Likewise.
6931 [__USE_SVID]: Likewise.
6932 * posix/unistd.h [__USE_BSD]: Likewise.
6933 [__USE_SVID]: Likewise.
6934 * pwd/pwd.h [__USE_SVID]: Likewise.
6935 * resolv/netdb.h [__USE_BSD]: Likewise.
6936 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6937 * signal/signal.h [__USE_BSD]: Likewise.
6938 [__USE_SVID]: Likewise.
6939 * socket/sys/socket.h [__USE_BSD]: Likewise.
6940 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6941 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6942 [__USE_SVID]: Likewise.
6943 * string/bits/string2.h [__USE_BSD]: Likewise.
6944 [__USE_SVID]: Likewise.
6945 * string/bits/string3.h [__USE_BSD]: Likewise.
6946 * string/endian.h [__USE_BSD]: Likewise.
6947 * string/string.h [__USE_SVID]: Likewise.
6948 [__USE_BSD]: Likewise.
6949 * string/strings.h [__USE_BSD]: Likewise.
6950 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6951 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6952 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6953 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6954 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6955 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6957 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6959 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6960 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6962 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6963 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6965 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6967 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6968 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6969 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6971 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6973 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6974 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6975 * termios/termios.h [__USE_BSD]: Likewise.
6976 * time/sys/time.h [__USE_BSD]: Likewise.
6977 * time/time.h [__USE_BSD]: Likewise.
6978 [__USE_SVID]: Likewise.
6980 * Makefile (subdir_targets): Remove subdir_lint.out.
6982 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6983 (do-tst-printf): Likewise.
6984 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6985 $(objpfx)tst-printf.out.
6987 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6989 * Makerules (check-abi-%): Change target to
6990 $(objpfx)check-abi-%.out.
6991 (check-abi target): Update dependencies.
6992 (check-abi-pattern variable): Redirect output of diff to $@.
6993 (check-abi variable): Likewise.
6994 * elf/Makefile (check-abi): Update dependencies.
6996 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6998 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6999 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7001 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7002 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7003 value has largest subnormal exponent.
7004 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7005 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7006 * sysdeps/aarch64/soft-fp/sfp-machine.h
7007 (_FP_TININESS_AFTER_ROUNDING): New macro.
7008 * sysdeps/alpha/soft-fp/sfp-machine.h
7009 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7010 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7012 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7013 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7014 * sysdeps/mips/soft-fp/sfp-machine.h
7015 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7016 * sysdeps/powerpc/soft-fp/sfp-machine.h
7017 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7018 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7020 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7021 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7022 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7023 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7024 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7027 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7030 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7033 2014-02-12 Richard Henderson <rth@redhat.com>
7035 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7036 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7037 * sysdeps/unix/sysv/linux/alpha: Move directory from
7038 ports/sysdeps/unix/sysv/linux/alpha.
7039 * README: Update listing for alpha-*-linux-gnu.
7041 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7043 * include/features.h: Update comment documenting feature test
7045 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7047 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7048 (_SVID_SOURCE): Likewise.
7049 (_DEFAULT_SOURCE): Update description of default features.
7050 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7052 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7053 (S_ISVTX): Likewise.
7054 * manual/math.texi (Mathematical Constants): Likewise.
7055 * manual/signal.texi (Interrupted Primitives): Likewise.
7056 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7057 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7058 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7059 Don't refer to _SVID_SOURCE in warning text.
7061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7063 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7065 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7066 * sysdeps/mips/dl-lookup.c: Remove.
7067 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7069 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7072 * math/auto-libm-test-in: Add testcase for expl.
7073 * math/auto-libm-test-out: Regenerate.
7074 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7075 calculation of unsafe.
7076 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7078 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7080 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7081 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7082 ports/sysdeps/unix/sysv/linux/aarch64.
7083 * README: Update listing for aarch64*-*-linux-gnu.
7085 2014-02-11 Will Newton <will.newton@linaro.org>
7087 * manual/probes.texi (Mathematical Function Probes): Use
7088 "triggered" instead of "hit".
7090 * manual/probes.texi (Internal Probes): Add documentation
7091 of setjmp, longjmp and longjmp_target probes.
7093 * include/stap-probe.h: Add comment about probe argument
7096 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7097 definition. (tr_where, tr_freehook, tr_mallochook,
7098 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7100 2014-02-11 David S. Miller <davem@davemloft.net>
7102 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7103 processing int_tests.
7105 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7107 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7108 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7109 * sysdeps/unix/sysv/linux/mips: Move directory from
7110 ports/sysdeps/unix/sysv/linux/mips.
7111 * README: Update listing for mips-*-linux-gnu and
7114 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7116 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7117 * sysdeps/unix/sysv/linux/m68k: Move directory from
7118 ports/sysdeps/unix/sysv/linux/m68k.
7119 * README: Update listing for m68k-*-linux-gnu.
7121 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7123 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7124 * sysdeps/unix/sysv/linux/generic: Move directory from
7125 ports/sysdeps/unix/sysv/linux/generic.
7126 * sysdeps/unix/sysv/linux/tile: Move directory from
7127 ports/sysdeps/unix/sysv/linux/tile.
7128 * README: Update listing for tile*-*-linux-gnu.
7130 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7132 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7134 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7135 * catgets/open_catalog.c (__open_catalog): Likewise.
7136 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7137 * debug/confstr_chk.c: Likewise.
7138 * debug/fread_chk.c (__fread_chk): Likewise.
7139 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7140 * debug/getgroups_chk.c: Likewise.
7141 * debug/mbsnrtowcs_chk.c: Likewise.
7142 * debug/mbsrtowcs_chk.c: Likewise.
7143 * debug/mbstowcs_chk.c: Likewise.
7144 * debug/memcpy_chk.c: Likewise.
7145 * debug/memmove_chk.c: Likewise.
7146 * debug/mempcpy_chk.c: Likewise.
7147 * debug/memset_chk.c: Likewise.
7148 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7149 * debug/strcat_chk.c (__strcat_chk): Likewise.
7150 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7151 * debug/strncat_chk.c (__strncat_chk): Likewise.
7152 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7153 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7154 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7155 * debug/wcpncpy_chk.c: Likewise.
7156 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7157 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7158 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7159 * debug/wcsncpy_chk.c: Likewise.
7160 * debug/wcsnrtombs_chk.c: Likewise.
7161 * debug/wcsrtombs_chk.c: Likewise.
7162 * debug/wcstombs_chk.c: Likewise.
7163 * debug/wmemcpy_chk.c: Likewise.
7164 * debug/wmemmove_chk.c: Likewise.
7165 * debug/wmempcpy_chk.c: Likewise.
7166 * debug/wmemset_chk.c: Likewise.
7167 * dirent/scandirat.c (SCANDIRAT): Likewise.
7168 * dlfcn/dladdr1.c (dladdr1): Likewise.
7169 * dlfcn/dladdr.c (dladdr): Likewise.
7170 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7171 * dlfcn/dlerror.c (__dlerror): Likewise.
7172 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7173 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7174 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7175 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7176 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7177 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7178 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7179 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7181 * elf/dl-conflict.c: Likewise.
7182 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7183 * elf/dl-dst.h: Likewise.
7184 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7185 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7186 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7187 * elf/dl-init.c (call_init, _dl_init): Likewise.
7188 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7189 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7190 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7192 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7194 * elf/dl-minimal.c (__libc_memalign): Likewise.
7195 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7196 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7197 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7198 * elf/dl-sym.c (do_sym): Likewise.
7199 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7200 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7201 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7202 * elf/dl-writev.h (_dl_writev): Likewise.
7203 * elf/ldconfig.c (search_dir): Likewise.
7204 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7205 (dl_main): Likewise.
7206 * elf/setup-vdso.h (setup_vdso): Likewise.
7207 * grp/compat-initgroups.c (compat_call): Likewise.
7208 * grp/fgetgrent.c (fgetgrent): Likewise.
7209 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7210 * grp/putgrent.c (putgrent): Likewise.
7211 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7213 * hurd/hurdinit.c: Likewise.
7214 * iconvdata/8bit-gap.c (struct): Likewise.
7215 * iconvdata/ansi_x3.110.c : Likewise.
7216 * iconvdata/big5.c : Likewise.
7217 * iconvdata/big5hkscs.c : Likewise.
7218 * iconvdata/cp1255.c: Likewise.
7219 * iconvdata/cp1258.c : Likewise.
7220 * iconvdata/cp932.c : Likewise.
7221 * iconvdata/euc-cn.c: Likewise.
7222 * iconvdata/euc-jisx0213.c : Likewise.
7223 * iconvdata/euc-jp.c: Likewise.
7224 * iconvdata/euc-jp-ms.c : Likewise.
7225 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7226 * iconvdata/gb18030.c : Likewise.
7227 * iconvdata/gbbig5.c (const): Likewise.
7228 * iconvdata/gbgbk.c: Likewise.
7229 * iconvdata/gbk.c : Likewise.
7230 * iconvdata/ibm1364.c : Likewise.
7231 * iconvdata/ibm930.c : Likewise.
7232 * iconvdata/ibm932.c: Likewise.
7233 * iconvdata/ibm933.c : Likewise.
7234 * iconvdata/ibm935.c : Likewise.
7235 * iconvdata/ibm937.c : Likewise.
7236 * iconvdata/ibm939.c : Likewise.
7237 * iconvdata/ibm943.c: Likewise.
7238 * iconvdata/iso_11548-1.c: Likewise.
7239 * iconvdata/iso-2022-cn.c : Likewise.
7240 * iconvdata/iso-2022-cn-ext.c : Likewise.
7241 * iconvdata/iso-2022-jp-3.c: Likewise.
7242 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7243 * iconvdata/iso-2022-kr.c : Likewise.
7244 * iconvdata/iso646.c (gconv_end): Likewise.
7245 * iconvdata/iso_6937-2.c : Likewise.
7246 * iconvdata/iso_6937.c : Likewise.
7247 * iconvdata/iso8859-1.c: Likewise.
7248 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7249 * iconvdata/shift_jisx0213.c : Likewise.
7250 * iconvdata/sjis.c : Likewise.
7251 * iconvdata/t.61.c : Likewise.
7252 * iconvdata/tcvn5712-1.c : Likewise.
7253 * iconvdata/tscii.c: Likewise.
7254 * iconvdata/uhc.c : Likewise.
7255 * iconvdata/unicode.c (gconv_end): Likewise.
7256 * iconvdata/utf-16.c (gconv_end): Likewise.
7257 * iconvdata/utf-32.c (gconv_end): Likewise.
7258 * iconvdata/utf-7.c (base64): Likewise.
7259 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7260 * iconv/gconv_close.c (__gconv_close): Likewise.
7261 * iconv/gconv_open.c (__gconv_open): Likewise.
7262 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7263 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7264 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7265 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7266 (ucs4le_internal_loop_single): Likewise.
7267 * iconv/iconv.c (iconv): Likewise.
7268 * iconv/iconv_close.c: Likewise.
7269 * iconv/loop.c (SINGLE): Likewise.
7270 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7271 * include/atomic.h: Likewise.
7272 * inet/inet6_option.c (option_alloc): Likewise.
7273 * intl/bindtextdom.c (set_binding_values): Likewise.
7274 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7275 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7276 * intl/localealias.c (read_alias_file): Likewise.
7277 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7278 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7279 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7280 * libio/fmemopen.c (fmemopen): Likewise.
7281 * libio/iofgets.c (_IO_fgets): Likewise.
7282 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7283 * libio/iofgetws.c (fgetws): Likewise.
7284 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7285 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7286 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7287 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7288 * locale/findlocale.c (_nl_find_locale): Likewise.
7289 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7290 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7292 * locale/setlocale.c (setlocale): Likewise.
7293 * login/programs/pt_chown.c (main): Likewise.
7294 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7295 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7296 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7297 (mmap, mmap64, mremap, munmap): Likewise.
7298 * math/e_exp2l.c: Likewise.
7299 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7300 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7301 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7302 * math/s_catan.c (__catan): Likewise.
7303 * math/s_catanf.c (__catanf): Likewise.
7304 * math/s_catanh.c (__catanh): Likewise.
7305 * math/s_catanhf.c (__catanhf): Likewise.
7306 * math/s_catanhl.c (__catanhl): Likewise.
7307 * math/s_catanl.c (__catanl): Likewise.
7308 * math/s_ccosh.c (__ccosh): Likewise.
7309 * math/s_ccoshf.c (__ccoshf): Likewise.
7310 * math/s_ccoshl.c (__ccoshl): Likewise.
7311 * math/s_cexp.c (__cexp): Likewise.
7312 * math/s_cexpf.c (__cexpf): Likewise.
7313 * math/s_cexpl.c (__cexpl): Likewise.
7314 * math/s_clog10.c (__clog10): Likewise.
7315 * math/s_clog10f.c (__clog10f): Likewise.
7316 * math/s_clog10l.c (__clog10l): Likewise.
7317 * math/s_clog.c (__clog): Likewise.
7318 * math/s_clogf.c (__clogf): Likewise.
7319 * math/s_clogl.c (__clogl): Likewise.
7320 * math/s_csin.c (__csin): Likewise.
7321 * math/s_csinf.c (__csinf): Likewise.
7322 * math/s_csinh.c (__csinh): Likewise.
7323 * math/s_csinhf.c (__csinhf): Likewise.
7324 * math/s_csinhl.c (__csinhl): Likewise.
7325 * math/s_csinl.c (__csinl): Likewise.
7326 * math/s_csqrt.c (__csqrt): Likewise.
7327 * math/s_csqrtf.c (__csqrtf): Likewise.
7328 * math/s_csqrtl.c (__csqrtl): Likewise.
7329 * math/s_ctan.c (__ctan): Likewise.
7330 * math/s_ctanf.c (__ctanf): Likewise.
7331 * math/s_ctanh.c (__ctanh): Likewise.
7332 * math/s_ctanhf.c (__ctanhf): Likewise.
7333 * math/s_ctanhl.c (__ctanhl): Likewise.
7334 * math/s_ctanl.c (__ctanl): Likewise.
7335 * math/w_pow.c: Likewise.
7336 * math/w_powf.c: Likewise.
7337 * math/w_powl.c: Likewise.
7338 * math/w_scalb.c (sysv_scalb): Likewise.
7339 * math/w_scalbf.c (sysv_scalbf): Likewise.
7340 * math/w_scalbl.c (sysv_scalbl): Likewise.
7341 * misc/error.c (error_tail): Likewise.
7342 * misc/pselect.c (__pselect): Likewise.
7343 * nis/nis_callback.c (__nis_create_callback): Likewise.
7344 * nis/nis_call.c (__nisfind_server): Likewise.
7345 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7346 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7347 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7348 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7349 * nis/nis_lookup.c (nis_lookup): Likewise.
7350 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7351 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7352 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7353 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7354 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7355 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7356 * nis/nss_compat/compat-initgroups.c (add_group)
7357 (internal_getgrent_r): Likewise.
7358 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7359 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7360 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7361 (internal_getspnam_r): Likewise.
7362 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7363 (_nss_nis_getaliasbyname_r): Likewise.
7364 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7365 (_nss_nis_getntohost_r): Likewise.
7366 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7367 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7368 (_nss_nis_getgrgid_r): Likewise.
7369 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7370 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7371 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7372 (_nss_nis_gethostbyname4_r): Likewise.
7373 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7374 (initgroups_netid): Likewise.
7375 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7376 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7377 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7378 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7379 (_nss_nis_getprotobynumber_r): Likewise.
7380 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7381 (_nss_nis_getsecretkey): Likewise.
7382 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7383 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7384 (_nss_nis_getpwuid_r): Likewise.
7385 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7386 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7387 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7388 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7389 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7390 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7391 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7393 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7394 (_nss_nisplus_getntohost_r): Likewise.
7395 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7396 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7397 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7398 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7400 * nis/nss_nisplus/nisplus-initgroups.c
7401 (_nss_nisplus_initgroups_dyn): Likewise.
7402 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7403 (_nss_nisplus_getnetbyaddr_r): Likewise.
7404 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7405 (_nss_nisplus_getprotobynumber_r): Likewise.
7406 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7407 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7408 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7410 * nis/nss_nisplus/nisplus-service.c
7411 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7412 (_nss_nisplus_getservbyport_r): Likewise.
7413 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7414 (_nss_nisplus_getspnam_r): Likewise.
7415 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7417 * nscd/aicache.c (addhstaiX): Likewise.
7418 * nscd/cache.c (cache_search, prune_cache): Likewise.
7419 * nscd/connections.c (register_traced_file, send_ro_fd)
7420 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7421 (main_loop_epoll): Likewise.
7422 * nscd/grpcache.c (addgrbyX): Likewise.
7423 * nscd/hstcache.c (addhstbyX): Likewise.
7424 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7425 * nscd/mem.c (gc, mempool_alloc): Likewise.
7426 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7427 (addinnetgrX): Likewise.
7428 * nscd/nscd-client.h (__nscd_acquire_maplock)
7429 (__nscd_drop_map_ref): Likewise.
7430 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7431 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7432 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7434 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7435 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7436 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7437 (__nscd_get_map_ref): Likewise.
7438 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7439 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7441 * nscd/pwdcache.c (addpwbyX): Likewise.
7442 * nscd/selinux.c (preserve_capabilities): Likewise.
7443 * nscd/servicescache.c (addservbyX): Likewise.
7444 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7445 * posix/fnmatch.c (fnmatch): Likewise.
7446 * posix/getopt.c (_getopt_internal_r): Likewise.
7447 * posix/glob.c (glob, glob_in_dir): Likewise.
7448 * posix/wordexp.c (exec_comm_child): Likewise.
7449 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7450 (getanswer_r, gaih_getanswer_slice): Likewise.
7451 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7452 * resolv/res_init.c: Likewise.
7453 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7454 * resolv/res_query.c (__libc_res_nquery): Likewise.
7455 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7457 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7458 * stdio-common/perror.c (perror): Likewise.
7459 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7460 * stdio-common/tmpnam.c (tmpnam): Likewise.
7461 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7462 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7463 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7465 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7466 * stdlib/putenv.c (putenv): Likewise.
7467 * stdlib/setenv.c (__add_to_environ): Likewise.
7468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7469 * stdlib/strtol_l.c (INTERNAL): Likewise.
7470 * string/memmem.c (memmem): Likewise.
7471 * string/strerror.c (strerror): Likewise.
7472 * string/strnlen.c (__strnlen): Likewise.
7473 * string/test-memmem.c (simple_memmem): Likewise.
7474 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7475 * sunrpc/pm_getport.c (__get_socket): Likewise.
7476 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7477 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7478 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7479 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7481 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7482 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7483 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7484 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7485 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7486 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7488 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7490 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7491 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7492 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7493 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7494 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7496 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7497 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7498 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7499 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7500 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7501 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7503 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7505 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7507 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7508 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7509 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7510 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7511 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7512 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7513 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7514 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7515 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7516 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7517 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7519 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7520 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7524 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7526 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7528 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7530 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7532 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7534 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7535 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7536 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7537 * sysdeps/posix/sleep.c: Likewise.
7538 * sysdeps/posix/tempname.c: Likewise.
7539 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7540 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7542 * sysdeps/powerpc/powerpc32/dl-machine.h
7543 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7544 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7546 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7547 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7549 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7550 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7551 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7552 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7553 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7554 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7555 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7556 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7557 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7558 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7560 (elf_machine_lazy_rel): Likewise.
7561 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7563 (elf_machine_lazy_rel): Likewise.
7564 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7565 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7566 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7567 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7568 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7569 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7570 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7573 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7574 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7575 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7576 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7577 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7578 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7579 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7580 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7581 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7582 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7583 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7585 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7586 (__posix_fallocate64_l64): Likewise.
7587 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7588 (posix_fallocate): Likewise.
7589 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7592 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7593 (getifaddrs_internal): Likewise.
7594 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7595 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7596 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7597 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7598 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7599 (__posix_fallocate64_l64): Likewise.
7600 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7602 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7603 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7604 (__get_clockfreq): Likewise.
7605 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7606 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7607 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7610 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7611 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7612 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7614 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7615 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7616 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7618 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7619 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7620 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7622 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7623 (posix_fallocate): Likewise.
7624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7625 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7626 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7627 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7628 (elf_machine_rela, elf_machine_rela_relative)
7629 (elf_machine_lazy_rel): Likewise.
7630 * time/asctime.c (asctime_internal): Likewise.
7631 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7632 * time/tzset.c (__tzset_parse_tz): Likewise.
7633 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7634 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7635 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7636 * wcsmbs/wcsmbsload.h: Likewise.
7639 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7641 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7642 (arena_get2): Remove THREAD_STATS conditionals.
7643 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7644 (__malloc_stats, int): Likewise.
7646 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7648 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7649 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7651 * manual/setjmp.texi: Fix typos/grammar errors.
7653 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7654 Only return early when n is <= 0. Delete unused return statement.
7656 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7657 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7658 * debug/tst-longjmp_chk3.c: New file.
7660 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7661 (test_main): Replace code with set_fortify_handler call.
7662 * debug/test-strcpy_chk.c: Likewise.
7663 * debug/tst-chk1.c: Likewise.
7664 * debug/tst-longjmp_chk.c: Likewise.
7665 * test-skeleton.c: Include fcntl.h & paths.h
7666 (set_fortify_handler): Define.
7668 * debug/tst-longjmp_chk.c: Add header comment and include
7670 (do_test): Mark static.
7671 (TEST_FUNCTION): Define.
7673 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7674 (IP_PMTUDISC_INTERFACE): Likewise.
7675 (IP_MULTICAST_IF): Likewise.
7676 (IP_MULTICAST_TTL): Likewise.
7677 (IP_MULTICAST_LOOP): Likewise.
7678 (IP_ADD_MEMBERSHIP): Likewise.
7679 (IP_DROP_MEMBERSHIP): Likewise.
7680 (IP_UNBLOCK_SOURCE): Likewise.
7681 (IP_BLOCK_SOURCE): Likewise.
7682 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7683 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7684 (IP_MSFILTER): Likewise.
7685 (MCAST_JOIN_GROUP): Likewise.
7686 (MCAST_BLOCK_SOURCE): Likewise.
7687 (MCAST_UNBLOCK_SOURCE): Likewise.
7688 (MCAST_LEAVE_GROUP): Likewise.
7689 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7690 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7691 (MCAST_MSFILTER): Likewise.
7692 (IP_MULTICAST_ALL): Likewise.
7693 (IP_UNICAST_IF): Likewise.
7695 * timezone/Makefile: Delete $(have-ksh) check.
7696 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7697 * timezone/tzselect.ksh: Add +x mode bits.
7699 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7700 (ANON_INODE_FS_MAGIC): Likewise.
7701 (BDEVFS_MAGIC): Likewise.
7702 (BINFMTFS_MAGIC): Likewise.
7703 (BTRFS_TEST_MAGIC): Likewise.
7704 (CRAMFS_MAGIC_WEND): Likewise.
7705 (DEBUGFS_MAGIC): Likewise.
7706 (ECRYPTFS_SUPER_MAGIC): Likewise.
7707 (EXT3_SUPER_MAGIC): Likewise.
7708 (EXT4_SUPER_MAGIC): Likewise.
7709 (FUTEXFS_SUPER_MAGIC): Likewise.
7710 (HOSTFS_SUPER_MAGIC): Likewise.
7711 (HUGETLBFS_MAGIC): Likewise.
7712 (MINIX3_SUPER_MAGIC): Likewise.
7713 (MTD_INODE_FS_MAGIC): Likewise.
7714 (NILFS_SUPER_MAGIC): Likewise.
7715 (OPENPROM_SUPER_MAGIC): Likewise.
7716 (PIPEFS_MAGIC): Likewise.
7717 (PSTOREFS_MAGIC): Likewise.
7718 (QNX6_SUPER_MAGIC): Likewise.
7719 (RAMFS_MAGIC): Likewise.
7720 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7721 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7722 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7723 (SECURITYFS_MAGIC): Likewise.
7724 (SELINUX_MAGIC): Likewise.
7725 (SMACK_MAGIC): Likewise.
7726 (SOCKFS_MAGIC): Likewise.
7727 (SQUASHFS_MAGIC): Likewise.
7728 (STACK_END_MAGIC): Likewise.
7729 (TMPFS_MAGIC): Likewise.
7730 (USBDEVICE_SUPER_MAGIC): Likewise.
7731 (V9FS_MAGIC): Likewise.
7732 (XENFS_SUPER_MAGIC): Likewise.
7733 (CRAMFS_MAGIC): Fix typo in comment.
7734 (EXT2_SUPER_MAGIC): Update comment.
7735 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7737 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7739 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7740 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7741 * sysdeps/unix/sysv/linux/arm: Move directory from
7742 ports/sysdeps/unix/sysv/linux/arm.
7743 * README: Update listing for arm-*-linux-gnueabi.
7745 * README: Remove mention of am33.
7747 2014-02-07 Roland McGrath <roland@hack.frob.com>
7749 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7750 than the comma operator, to avoid "rhs of comma has no effect"
7752 (__sigfillset, __sigandset, __sigorset): Likewise.
7753 * include/signal.h (__sigemptyset): Likewise.
7754 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7756 2014-02-07 Allan McRae <allan@archlinux.org>
7758 * version.h (RELEASE): Set to "development".
7759 (VERSION): Set to "2.19.90"
7760 * NEWS: Add 2.20 section.
7762 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7765 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7767 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7769 * manual/contrib.texi: Update entry for Carlos O'Donell,
7770 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7772 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
7774 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7776 * sysdeps/unix/sysv/linux/kernel-features.h
7777 [__LINUX_KERNEL_VERSION >= 0x020621]
7778 (__ASSUME_PROC_PID_TASK_COMM): Define.
7780 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7783 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7784 conversion when destination buffer does not have enough space.
7785 * libio/tst-ftell-partial-wide.c: New test case.
7786 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7788 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7789 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7790 Leonard and Allan McRae.
7792 2014-02-04 David S. Miller <davem@davemloft.net>
7794 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7797 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7826 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7828 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7829 * shlib-versions: Likewise.
7831 2014-02-04 Roland McGrath <roland@hack.frob.com>
7832 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7835 (abilist-pattern): New variable, set to %-le.abilist.
7837 * Makerules (abilist-pattern): New variable.
7838 (vpath): Use $(abilist-pattern) in place of %.abilist.
7839 (check-abi-% pattern rule): Likewise.
7840 (check-abi, update-abi): Likewise.
7842 2014-02-04 Eric Wong <normalperson@yhbt.net>
7844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7846 2014-02-03 Carlos O'Donell <carlos@redhat.com>
7848 * manual/startup.texi: Add next, previous, and top entries for
7849 the `Program Arguments' and `Environment Variables' nodes.
7851 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
7853 * manual/macros.texi: Add comments before MTASC-safety macros.
7855 * manual/users.texi: Document MTASC-safety properties.
7857 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7858 (pthread_getspecific, pthread_setspecific): Format with
7859 @deftypefun, and add @safety note.
7860 * manual/signal.texi: Move comments that analyze the above
7861 functions to their home place.
7863 2014-02-03 Allan McRae <allan@archlinux.org>
7865 * po/sl.po: Update Slovenian translation from translation project.
7867 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
7869 * manual/time.texi (timegm): Add missing blank after @c.
7870 Reported by Joseph Myers <joseph@codesourcery.com>.
7872 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
7874 * manual/check-safety.sh: New.
7875 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7877 * manual/terminal.texi: Document MTASC-safety properties.
7879 * manual/filesys.texi: Document MTASC-safety properties.
7881 * manual/errno.texi: Document MTASC-safety properties.
7883 * manual/intro.texi: Document safety identifiers and
7886 * manual/string.texi (wcstok): Fix prototype.
7887 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7889 * manual/time.texi: Document MTASC-safety properties.
7891 * manual/string.texi: Document MTASC-safety properties.
7893 * manual/threads.texi: Document MTASC-safety properties.
7895 * manual/stdio.texi: Document MTASC-safety properties.
7897 * manual/syslog.texi: Document MTASC-safety properties.
7899 * manual/sysinfo.texi: Document MTASC-safety properties.
7901 * manual/startup.texi: Document MTASC-safety properties.
7903 * manual/socket.texi: Document MTASC-safety properties.
7905 * manual/signal.texi: Document MTASC-safety properties.
7907 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7909 * manual/setjmp.texi: Document MTASC-safety properties.
7911 * manual/search.texi: Document MTASC-safety properties.
7913 * manual/resource.texi: Document MTASC-safety properties.
7915 * manual/process.texi: Document MTASC-safety properties.
7917 * manual/platform.texi: Document MTASC-safety properties.
7919 * manual/pipe.texi: Document MTASC-safety properties.
7921 * manual/pattern.texi: Document MTASC-safety properties.
7923 * manual/message.texi: Document MTASC-safety properties.
7926 * manual/memory.texi: Document MTASC-safety properties.
7928 * manual/math.texi: Document MTASC-safety properties.
7930 * manual/locale.texi: Document MTASC-safety properties.
7932 * manual/llio.texi: Document MTASC-safety properties.
7934 * manual/libdl.texi: New.
7936 * manual/lang.texi: Document MTASC-safety properties.
7938 * manual/job.texi: Document MTASC-safety properties.
7940 * manual/getopt.texi: Document MTASC-safety properties.
7942 * manual/ctype.texi: Document MTASC-safety properties.
7944 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7947 * csu/libc-tls.c (static_map): Remove variable.
7948 (__libc_setup_tls): Use main executable's link map for TLS data.
7949 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7950 casing for LM_ID_BASE and GL(dl_nns).
7951 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7952 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7953 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7954 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7955 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7957 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7960 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
7962 * manual/debug.texi: Document MTASC-safety properties.
7964 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7967 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7968 of __x86_64__ when disabling x87 inline functions.
7970 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
7972 * manual/charset.texi: Document MTASC-safety properties.
7974 * manual/crypt.texi: Document MTASC-safety properties.
7976 * manual/conf.texi: Document MTASC-safety properties.
7978 * manual/arith.texi: Document MTASC-safety properties.
7980 * manual/argp.texi: Document MTASC-safety properties.
7982 * manual/macros.texi: Introduce macros to document multi
7983 thread, asynchronous signal and asynchronous cancellation
7985 * manual/intro.texi: Introduce the properties themselves.
7987 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7989 * sysdeps/sh/sh4/Makefile: New file.
7991 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7993 * math/gen-libm-test.pl ($srcdir): New variable.
7994 ($auto_input): Use it.
7996 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7999 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8000 access beyond array bounds when parsing netgroups file.
8002 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8003 the old buffer before realloc.
8005 2014-01-27 Allan McRae <allan@archlinux.org>
8007 * po/fr.po: Update French translation from translation project.
8009 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8011 * sysdeps/sh/libm-test-ulps: Regenerate.
8013 2014-01-24 David S. Miller <davem@davemloft.net>
8015 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8017 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8019 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8020 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8022 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8025 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8026 string pointers after reallocation.
8028 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8030 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8031 __SH4A__ instead of __SH_FPU_ANY__.
8033 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8035 * sysdeps/sh/fpu_control.h: New file.
8036 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8037 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8038 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8039 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8040 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8041 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8042 * sysdeps/sh/sys/ucontext.h: Remove.
8043 * sysdeps/sh/sys: Remove directory.
8045 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8047 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8048 s390/sys/ucontext.h.
8049 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8050 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8052 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8055 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8057 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8060 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8061 Adjust the vDSO correctly for internal calls.
8062 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8064 2014-01-20 Allan McRae <allan@archlinux.org>
8066 * po/ca.po: Update Catalan translation from translation project.
8068 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8070 * sysdeps/s390/sotruss-lib.c: New file.
8072 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8075 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8076 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8077 local calls issues by not having a PLT stub required for IFUNC calls.
8078 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8080 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8082 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8083 * math/test-fpucw-static.c: Likewise.
8085 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8088 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8090 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8092 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8093 implementation for powerpc.
8095 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8098 * sysdeps/posix/system.c (__libc_system): Do not enable
8099 asynchronous cancellation.
8101 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8104 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8105 handling only for numbers special also in the IEEE case.
8107 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8109 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8111 2014-01-11 Allan McRae <allan@archlinux.org>
8113 * po/bg.po: Update Bulgarian translation from translation project.
8115 * po/de.po: Update German translation from translation project.
8117 2014-01-10 Roland McGrath <roland@hack.frob.com>
8119 * sysdeps/generic/gcc-compat.h: New file.
8121 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8123 * benchtests/asin-inputs: Correct slow inputs.
8124 * benchtests/acos-inputs: Likewise.
8126 2014-01-10 Allan McRae <allan@archlinux.org>
8128 * po:sv.po: Update Swedish translation from translation project.
8130 * po/vi.po: Update Vietnamese translation from translation project.
8132 * po/eo.po: Update Esperanto translation from translation project.
8134 * po/cs.po: Update Czech translation from translation project.
8136 * po/nl.po: Update Dutch translation from translation project.
8138 * po/pl.po: Update Polish translation from translation project.
8140 * po/ru.po: Update Russian translation from translation project.
8142 * po/uk.po: Update Ukrainian translation from translation project.
8144 2014-01-08 Brooks Moses <bmoses@google.com>
8146 * elf/dl-load.c: Fix comment typo.
8148 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8150 * po/header.pot: Rename to...
8151 * po/pot.header: ... this.
8152 * po/Makefile: Use pot.header.
8154 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8155 Maxim Kuvyrkov <maxim@kugelworks.com>
8158 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8159 SRC and DEST against LEN.
8161 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8164 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8166 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8168 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8172 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8175 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8176 for large positive arguments.
8178 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8180 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8182 * math/auto-libm-test-in: Mark various tests with
8183 xfail-rounding:ldbl-128ibm.
8184 * math/auto-libm-test-out: Regenerated.
8187 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8188 Increase overflow threshold.
8190 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8193 * stdio-common/vfprintf.c: Check for integer overflow.
8195 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8197 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8198 the first argument and return value of __tls_get_addr_internal.
8200 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8202 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8203 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8205 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8207 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8208 * sysdeps/s390/rtld-global-offsets.sym: New file.
8209 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8211 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8212 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8213 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8215 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8216 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8222 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8223 halfs of GPRs for high_gprs contexts.
8224 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8225 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8227 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8229 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8231 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8232 for high GPRs (uc_high_gprs) and for future extensions
8234 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8235 for future extensions (__reserved).
8236 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8238 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8239 SC_HIGHGPRS offset definition.
8240 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8241 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8243 * Versions.def: Add GLIBC_2.19 for libpthread.
8244 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8245 siglongjmp for libpthread with GLIBC_2.19 symver.
8246 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8247 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8248 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8249 * sysdeps/s390/__longjmp.c: New file.
8250 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8251 * sysdeps/s390/longjmp.c: New file.
8252 * sysdeps/s390/setjmp.S: New file.
8253 * sysdeps/s390/sigjmp.S: New file.
8254 * sysdeps/s390/v1-longjmp.c: New file.
8255 * sysdeps/s390/v1-setjmp.h: New file.
8256 * sysdeps/s390/v1-sigjmp.c: New file.
8257 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8258 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8260 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8261 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8262 versioned symbols for ____longjmp_chk.
8263 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8273 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8274 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8275 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8276 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8277 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8278 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8279 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8280 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8281 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8282 * sysdeps/s390/rtld-__longjmp.c: New file.
8283 * sysdeps/s390/rtld-setjmp.S: New file.
8285 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8289 Return -__logl (x) for small positive arguments without evaluating
8292 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8294 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8296 (__ptrace_peeksiginfo_args): ... this.
8297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8301 2014-01-06 Allan McRae <allan@archlinux.org>
8303 * inet/netinet/in.h: Fix typo in comment.
8305 2014-01-05 Andreas Jaeger <aj@suse.de>
8307 * sysdeps/i386/fpu/libm-test-ulps: Update.
8309 2014-01-05 Allan McRae <allan@archlinux.org>
8311 * po/libc.pot: Regenerated.
8313 * malloc/memusagestat.c: Fix gettext call formatting.
8315 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8317 * nscd/nscd.c: Improve usage() output.
8319 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8321 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8322 * sysdeps/unix/sysv/linux/configure: Regenerated.
8323 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8324 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8326 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8329 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8330 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8332 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8334 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8335 extra tokens at end of #undef directive.
8336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8337 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8338 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8340 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8342 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8344 * math/auto-libm-test-in: Mark various tests with
8345 xfail-rounding:ldbl-128ibm.
8346 * math/auto-libm-test-out: Regenerated.
8348 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8351 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8352 numbers with subnormal high part when calculating exponent.
8355 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8359 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8361 (__ieee754_acoshl): Use __log1pl not __log1p.
8363 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8365 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8366 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8367 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8368 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8369 (reused_arena, arena_get2): Convert to GNU style.
8370 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8371 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8372 (memalign_check, __malloc_set_state): Likewise.
8373 * malloc/mallocbug.c (main): Likewise.
8374 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8375 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8376 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8377 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8378 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8379 (__posix_memalign, malloc_info): Likewise.
8380 * malloc/malloc.h: Likewise.
8381 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8382 (mallochook, memalignhook, reallochook, mabort): Likewise.
8383 * malloc/mcheck.h: Likewise.
8384 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8385 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8386 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8387 * malloc/morecore.c (__default_morecore): Likewise.
8388 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8389 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8390 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8391 (print_and_abort): Likewise.
8392 * malloc/obstack.h: Likewise.
8393 * malloc/set-freeres.c (__libc_freeres): Likewise.
8394 * malloc/tst-mallocstate.c (main): Likewise.
8395 * malloc/tst-mtrace.c (main): Likewise.
8396 * malloc/tst-realloc.c (do_test): Likewise.
8398 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8401 * nscd/netgroupcache.c (do_notfound): New function.
8402 (addgetnetgrentX): Use it.
8405 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8406 NSS_STATUS_NOTFOUND.
8408 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8410 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8413 2014-01-01 Allan McRae <allan@archlinux.org>
8415 * scripts/update-copyrights: Update configure input file suffix.
8417 * NEWS: Update copyright year.
8418 * catgets/gencat.c: Likewise.
8419 * csu/version.c: Likewise.
8420 * debug/catchsegv.sh: Likewise.
8421 * debug/pcprofiledump.c: Likewise.
8422 * debug/xtrace.sh: Likewise.
8423 * elf/ldconfig.c: Likewise.
8424 * elf/ldd.bash.in: Likewise.
8425 * elf/pldd.c: Likewise.
8426 * elf/sotruss.ksh: Likewise.
8427 * elf/sprof.c: Likewise.
8428 * iconv/iconv_prog.c: Likewise.
8429 * iconv/iconvconfig.c: Likewise.
8430 * locale/programs/locale.c: Likewise.
8431 * locale/programs/localedef.c: Likewise.
8432 * login/programs/pt_chown.c: Likewise.
8433 * malloc/memusage.sh: Likewise.
8434 * malloc/memusagestat.c: Likewise.
8435 * malloc/mtrace.pl: Likewise.
8436 * manual/libc.texinfo: Likewise.
8437 * nscd/nscd.c: Likewise.
8438 * nss/getent.c: Likewise.
8439 * nss/makedb.c: Likewise.
8440 * posix/getconf.c: Likewise.
8441 * scripts/test-installation.pl: Likewise.
8443 * All files with FSF copyright notices: Update copyright dates
8444 using scripts/update-copyrights.
8445 * intl/plural.c: Regenerated.
8446 * locale/programs/charmap-kw.h: Likewise.
8447 * locale/programs/locfile-kw.h: Likewise.
8449 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8451 * sysdeps/unix/sysv/linux/configure: Regenerated.
8452 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8453 the linux/fanotify.h header.
8454 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8455 HAVE_LINUX_FANOTIFY_H is defined.
8457 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8459 * benchtests/cos-inputs: New inputs.
8460 * benchtests/sin-inputs: Likewise.
8462 * benchtests/atan-inputs: New inputs. Fix name of multiple
8463 precision fallback inputs.
8465 * benchtests/atanh-inputs: New inputs.
8466 * benchtests/tanh-inputs: Likewise.
8468 * benchtests/acosh-inputs: New inputs.
8469 * benchtests/asinh-inputs: Likewise.
8471 * benchtests/cosh-inputs: New inputs.
8472 * benchtests/sinh-inputs: Likewise.
8474 * benchtests/acos-inputs: Add more inputs.
8475 * benchtests/asin-inputs: Likewise.
8477 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8480 * manual/arith.texi: Fix spelling.
8481 * manual/charset.texi: Likewise.
8482 * manual/errno.texi: Likewise.
8483 * manual/filesys.texi: Likewise.
8484 * manual/lang.texi: Likewise.
8485 * manual/llio.texi: Likewise.
8486 * manual/locale.texi: Likewise.
8487 * manual/message.texi: Likewise.
8488 * manual/resource.texi: Likewise.
8489 * manual/search.texi: Likewise.
8490 * manual/setjmp.texi: Likewise.
8491 * manual/stdio.texi: Likewise.
8492 * manual/string.texi: Likewise.
8493 * manual/sysinfo.texi: Likewise.
8494 * manual/time.texi: Likewise.
8496 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8498 * po/sl.po: New file.
8500 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8502 * .gitignore: Add core/.gdbinit/.gdb_history.
8504 2013-12-27 Allan McRae <allan@archlinux.org>
8507 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8508 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8510 2013-12-24 Brooks Moses <bmoses@google.com>
8512 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8513 all compilers that claim C++98 compliance, not just GCC.
8514 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8517 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8519 * NEWS: Restore accidentally deleted bug-fix entries.
8521 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8522 Ondřej Bílka <neleai@seznam.cz>
8525 * malloc/malloc.c (_int_free): Perform sanity check only if we
8528 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8531 * manual/stdio.texi (String Input Conversions): Clarify that character
8532 classes are not supported.
8534 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8538 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8541 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8542 Calculate results for small negative arguments directly rather
8543 than using reflection formula with special underflow handling.
8545 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8546 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8547 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8548 (fchflags): Likewise.
8550 (setlogin): Likewise.
8551 (sigaltstack): Likewise.
8554 (sigsetmask): Likewise.
8556 (waitpid): Likewise.
8557 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8558 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8560 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8561 * sysdeps/unix/bsd/Makefile: ... here.
8562 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8563 * sysdeps/unix/bsd/Versions: ... here.
8564 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8565 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8566 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8567 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8568 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8569 * sysdeps/unix/bsd/sigblock.c: ... here.
8570 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8571 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8572 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8573 * sysdeps/unix/bsd/sigvec.c: ... here.
8574 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8575 * sysdeps/unix/bsd/tcdrain.c: ... here.
8576 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8577 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8578 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8579 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8580 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8581 * sysdeps/unix/bsd/wait.c: ... here.
8582 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8583 * sysdeps/unix/bsd/wait3.c: ... here.
8584 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8585 * sysdeps/unix/bsd/waitpid.c: ... here.
8587 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8590 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8591 round-to-nearest for [!USE_AS_EXPM1L].
8592 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8593 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8594 more tests of exp and exp10. Expect some exp10 tests to miss
8595 exceptions or fail in directed rounding modes.
8596 * math/auto-libm-test-out: Regenerated.
8597 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8598 (exp10_test_tonearest): New function.
8599 (exp10_towardzero_test_data): New array.
8600 (exp10_test_towardzero): New function.
8601 (exp10_downward_test_data): New array.
8602 (exp10_test_downward): New function.
8603 (exp10_upward_test_data): New array.
8604 (exp10_test_upward): New function.
8605 (main): Call the new functions.
8606 * sysdeps/i386/fpu/libm-test-ulps: Update.
8607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8609 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8611 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8612 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8613 * math/auto-libm-test-out: Regenerated.
8614 * math/libm-test.inc (acosh_test_data): Add more tests.
8615 (atanh_test_data): Likewise.
8616 (ceil_test_data): Likewise.
8617 (copysign_test_data): Likewise.
8618 * sysdeps/i386/fpu/libm-test-ulps: Update.
8619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8621 * timezone/checktab.awk: Update from tzcode 2013i.
8622 * timezone/private.h: Likewise.
8623 * timezone/scheck.c: Likewise.
8624 * timezone/tzfile.h: Likewise.
8625 * timezone/tzselect.ksh: Likewise.
8626 * timezone/zdump.c: Likewise.
8627 * timezone/zic.c: Likewise.
8629 * math/auto-libm-test-in: Add tests of cpow.
8630 * math/auto-libm-test-out: Regenerated.
8631 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8632 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8634 (func_calc_desc): Add mpc_cc_c union field.
8635 (test_functions): Add cpow.
8636 (special_fill_2pi): New function.
8637 (special_real_inputs): Add 2pi.
8638 (calc_generic_results): Handle mpc_cc_c.
8639 * sysdeps/i386/fpu/libm-test-ulps: Update.
8640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8642 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8643 csqrt, ctan and ctanh.
8644 * math/auto-libm-test-out: Regenerated.
8645 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8646 (TEST_COND_x86): Likewise.
8647 (ccos_test_data): Use AUTO_TESTS_c_c.
8648 (ccosh_test_data): Likewise.
8649 (cexp_test_data): Likewise.
8650 (clog_test_data): Likewise.
8651 (csqrt_test_data): Likewise.
8652 (ctan_test_data): Likewise.
8653 (ctan_tonearest_test_data): Likewise.
8654 (ctan_towardzero_test_data): Likewise.
8655 (ctan_downward_test_data): Likewise.
8656 (ctan_upward_test_data): Likewise.
8657 (ctanh_test_data): Likewise.
8658 (ctanh_tonearest_test_data): Likewise.
8659 (ctanh_towardzero_test_data): Likewise.
8660 (ctanh_downward_test_data): Likewise.
8661 (ctanh_upward_test_data): Likewise.
8662 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8664 (func_calc_desc): Add mpc_c_c union field.
8665 (FUNC_mpc_c_c): New macro.
8666 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8667 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8669 (special_fill_min_subnorm_p120): New function.
8670 (special_real_inputs): Add min_subnorm_p120.
8671 (calc_generic_results): Handle mpc_c_c.
8672 * sysdeps/i386/fpu/libm-test-ulps: Update.
8673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8677 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8678 (do_sin_slow): New functions.
8679 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8680 (cslow2, csloww1, csloww2): Use the new functions.
8682 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8683 Use M to change sign of result instead of X. Assume X is
8685 (csloww1): Likewise.
8689 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8696 (sloww1): Don't adjust sign of DX.
8697 (csloww1): Likewise.
8698 (sloww2): Use X directly and don't adjust sign of DX.
8699 (csloww2): Likewise.
8701 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8703 * math/auto-libm-test-in: Add tests of cabs and carg.
8704 * math/auto-libm-test-out: Regenerated.
8705 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8706 (carg_test_data): Likewise.
8707 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8709 (func_calc_desc): Add mpc_c_f union field.
8710 (test_functions): Add cabs and carg.
8711 (calc_generic_results): Handle mpc_c_f.
8713 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8714 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8715 as a macro and a compat symbol.
8716 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8717 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8718 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8719 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8720 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8721 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8723 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8725 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8727 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8729 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8731 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8733 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8734 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8737 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8741 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8743 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8744 trailing whitespace removed.
8745 * scripts/config.guess: Update to version 2013-11-29.
8746 * scripts/config.sub: Update to version 2013-10-01.
8748 * math/auto-libm-test-in: Add tests of sincos.
8749 * math/auto-libm-test-out: Regenerated.
8750 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8751 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8753 (func_calc_desc): Add mpfr_f_11 union field.
8754 (test_functions): Add sincos.
8755 (calc_generic_results): Handle mpfr_f_11.
8756 * sysdeps/i386/fpu/libm-test-ulps: Update.
8757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8759 2013-12-19 Andreas Schwab <schwab@suse.de>
8761 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8763 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8764 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8765 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8767 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8769 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8770 * sysdeps/i386/fpu/libm-test-ulps: Update.
8771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8774 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8775 round-to-nearest mode when using frndint.
8776 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8777 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8778 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8780 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8782 * math/auto-libm-test-out: Regenerated.
8783 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8784 (TEST_COND_x86): Likewise.
8785 (expm1_tonearest_test_data): New array.
8786 (expm1_test_tonearest): New function.
8787 (expm1_towardzero_test_data): New array.
8788 (expm1_test_towardzero): New function.
8789 (expm1_downward_test_data): New array.
8790 (expm1_test_downward): New function.
8791 (expm1_upward_test_data): New array.
8792 (expm1_test_upward): New function.
8793 (main): Run the new test functions.
8794 * sysdeps/i386/fpu/libm-test-ulps: Update.
8795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8797 * include/features.h: Update comment documenting feature test
8798 macros. Mention _DEFAULT_SOURCE in comment.
8799 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8800 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8801 _BSD_SOURCE and _SVID_SOURCE.
8802 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8803 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8804 !_SVID_SOURCE]: Likewise.
8805 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8806 (__USE_POSIX_IMPLICITLY): Define.
8807 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8808 (_POSIX_SOURCE): Undefine and redefine.
8809 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8810 (_POSIX_C_SOURCE): Likewise.
8811 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8812 (Feature Test Macros): Update documentation of default features.
8814 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8816 * benchtests/Makefile: Add bench-strtok.
8817 * benchtests/bench-strtok.c: New file: strtok benchtest.
8819 2013-12-19 Allan McRae <allan@archlinux.org>
8821 * manual/install.texi: Suppress menu for plain text output.
8822 * INSTALL: Regenerated.
8824 2013-12-18 Brooks Moses <bmoses@google.com>
8827 * misc/getauxval.c: Include errno.h.
8828 (__getauxval): Set errno to ENOENT if the requested type is not
8830 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8831 don't declare with __attribute_const__.
8832 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8833 * manual/startup.texi: Document that getauxval sets errno.
8835 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8837 * math/auto-libm-test-in: Add tests of jn and yn.
8838 * math/auto-libm-test-out: Regenerated.
8839 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8840 (yn_test_data): Likewise.
8841 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8843 (func_calc_desc): Add mpfr_if_f union field.
8844 (FUNC_mpfr_if_f): New macro.
8845 (test_functions): Add jn and yn.
8846 (calc_generic_results): Assert type of second input for
8847 mpfr_ff_f. Handle mpfr_if_f.
8848 (output_for_one_input_case): Disable all checking for arguments
8849 fitting floating-point types in case of an integer argument.
8850 * sysdeps/i386/fpu/libm-test-ulps: Update.
8851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8854 Don't expect fegetround reference in libm.so.
8856 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8858 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8859 $(config-cflags-nofma).
8861 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8863 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8864 * math/auto-libm-test-out: Regenerated.
8867 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8868 to determine exponent and adjust argument to have exponent of -1.
8869 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8871 * math/auto-libm-test-out: Regenerated.
8872 * sysdeps/i386/fpu/libm-test-ulps: Update.
8873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8875 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
8877 * manual/probes.texi: Remove cases when per-thread arenas are
8880 2013-12-18 Andreas Schwab <schwab@suse.de>
8882 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8883 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8884 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8885 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8886 * sysdeps/i386/i686/multiarch/Makefile: Update.
8887 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8889 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8891 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8892 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8894 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8897 Support TZ transition times < 00:00:00.
8898 This is needed for version-3 tz-format files; it supports time
8899 stamps past 2037 for America/Godthab (the only entry in the tz
8900 database for which this change is relevant).
8901 * manual/time.texi (TZ Variable): Document transition times
8902 from -167:59:59 through -00:00:01.
8903 * time/tzset.c (tz_rule): Time of day is now signed.
8904 (__tzset_parse_tz): Parse negative time of day.
8906 Document TZ transition times >= 25:00:00.
8907 * manual/time.texi (TZ Variable): Document transition times from
8908 25:00:00 through 167:59:59. These are already supported, and this
8909 support will help with version-3 tz-format files.
8911 * manual/time.texi (TZ Variable): Modernize North America example
8912 to reflect current (i.e., 2007-and-later) daylight saving rules.
8914 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8916 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8918 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8919 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8920 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8922 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8923 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8924 * sysdeps/unix/bsd/clock.c: Likewise.
8925 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8926 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8927 * sysdeps/unix/bsd/init-posix.c: Likewise.
8928 * sysdeps/unix/bsd/poll.c: Likewise.
8929 * sysdeps/unix/bsd/ptsname.c: Likewise.
8930 * sysdeps/unix/bsd/seekdir.c: Likewise.
8931 * sysdeps/unix/bsd/setegid.c: Likewise.
8932 * sysdeps/unix/bsd/seteuid.c: Likewise.
8933 * sysdeps/unix/bsd/setgid.c: Likewise.
8934 * sysdeps/unix/bsd/setrgid.c: Likewise.
8935 * sysdeps/unix/bsd/setruid.c: Likewise.
8936 * sysdeps/unix/bsd/setsid.c: Likewise.
8937 * sysdeps/unix/bsd/setuid.c: Likewise.
8938 * sysdeps/unix/bsd/sigaction.c: Likewise.
8939 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8940 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8941 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8942 * sysdeps/unix/bsd/telldir.c: Likewise.
8943 * sysdeps/unix/bsd/times.c: Likewise.
8944 * sysdeps/unix/bsd/usleep.c: Likewise.
8946 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8947 ($(objpfx)libbsd-compat.a): Remove rule.
8949 * include/features.h (__FAVOR_BSD): Do not define.
8950 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8951 features conflicting with POSIX.
8952 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8953 (_BSD_SOURCE): Remove description of not being a subset of other
8954 feature test macros.
8955 * manual/job.texi (getpgrp): Do not document BSD version.
8956 (getpgid): Do not document by reference to BSD getpgrp.
8957 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8958 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8959 * signal/signal.h [__FAVOR_BSD]: Likewise.
8960 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8961 instead of making contents conditional on [__FAVOR_BSD].
8962 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8964 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8968 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8971 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8972 values below 2**-450, not 2**-500.
8973 * math/auto-libm-test-in: Don't allow spurious underflow from
8975 * math/auto-libm-test-out: Regenerated.
8979 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8980 values of ha and hb and sort them after adjusting subnormal
8982 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8984 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8985 values of ea and eb and sort them after adjusting subnormal
8987 * math/auto-libm-test-in: Do not expect some hypot tests of
8988 subnormals to fail. Add more hypot tests.
8989 * math/auto-libm-test-out: Regenerated.
8991 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8994 * sysdeps/sh/s_fma.c: New file.
8995 * sysdeps/sh/s_fmaf.c: New file.
8996 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8998 * sysdeps/sh/Implies: Add sh/soft-fp.
9000 2013-12-16 Roland McGrath <roland@hack.frob.com>
9002 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9003 level of indirection to members `objname', `errstring', `malloced'.
9004 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9005 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9006 it as the __longjmp argument (just pass 1 instead).
9007 (_dl_catch_error): Initialize C with argument pointers and address of
9008 volatile local ERRCODE rather than copying values out of C at return.
9010 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9012 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9013 * math/auto-libm-test-out: Regenerated.
9014 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9015 (hypot_test_data): Likewise.
9016 (pow_test_data): Likewise.
9017 (pow_tonearest_test_data): Likewise.
9018 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9020 (func_calc_desc): Add mpfr_ff_f union field.
9021 (FUNC_mpfr_ff_f): New macro.
9022 (test_functions): Add atan2, hypot and pow.
9023 (special_fill_min): New function.
9024 (special_fill_minus_min): Likewise.
9025 (special_fill_min_subnorm): Likewise.
9026 (special_fill_minus_min_subnorm): Likewise.
9027 (special_real_inputs): Add min, -min, min_subnorm and
9029 (calc_generic_results): Handle mpfr_ff_f.
9030 * sysdeps/i386/fpu/libm-test-ulps: Update.
9031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9033 2013-12-16 Will Newton <will.newton@linaro.org>
9035 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9036 (Aligned Memory Blocks): Add documentation for aligned_alloc
9037 and suggest it as an alternative to posix_memalign.
9038 (Hooks for Malloc): Document __memalign_hook is also called
9039 for aligned_alloc. (Summary of Malloc): Add summary for
9040 aligned alloc. Document __memalign_hook is also called
9043 2013-12-16 Will Newton <will.newton@linaro.org>
9045 * manual/memory.texi (Malloc Examples): Clarify default
9046 alignment documentation. Suggest posix_memalign rather
9047 than memalign or valloc.
9048 (Aligned Memory Blocks): Remove suggestion to use memalign
9049 or valloc. Remove obsolete comment about BSD.
9050 Document memalign errno values and mark the function obsolete.
9051 Document posix_memalign returned error codes. Mark valloc
9052 as obsolete. (Hooks for Malloc): __memalign_hook is also
9053 called for posix_memalign and valloc.
9054 (Summary of Malloc): Add posix_memalign to function summary.
9055 __memalign_hook is also called for posix_memalign and valloc.
9057 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9059 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9063 (sloww): Use mynumber union. Expand ternary operator into
9065 (cslow): use mynumber union.
9067 2013-12-16 Allan McRae <allan@archlinux.org>
9069 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9070 * configure: Regenerated.
9072 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9075 * configure.ac: Added --enable-maintainer-mode. Check for
9076 autoconf when enabled.
9077 * configure: Regenerated.
9079 * nscd/nscd.service: New file.
9080 * nscd/nscd.tmpfiles: New file.
9082 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9085 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9086 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9087 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9088 (strstr): Add __strstr_sse2_unaligned ifunc.
9089 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9090 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9091 (strcasestr): Remove __strcasestr_sse42 ifunc.
9092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9096 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9098 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9099 * sysdeps/sh/bits/fenv.h: ... here.
9100 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9102 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9104 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9107 hypotf multiarch implementations.
9108 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9110 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9111 multiarch hypot for PPC64.
9112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9113 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9114 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9115 multiarch hypotf for PPC64.
9117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9118 modff multiarch implementations.
9119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9122 multiarch modf for PPC64.
9123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9126 multiarch modff for PPC64.
9128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9129 and logl multiarch implementations.
9130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9133 multiarch logb for PPC64.
9134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9137 multiarch logb for PPC64.
9138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9141 multiarch logb for PPC64.
9143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9144 isinff multiarch implementation.
9145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9149 multiarch isinf for PPC64.
9150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9153 multiarch isinff for PPC64.
9155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9156 finitef multiarch implementation.
9157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9161 multiarch finite for PPC64.
9162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9165 multiarch finitef for PPC64.
9167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9168 lrint multiarch implementation.
9169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9173 multiarch llrint for PPC64.
9174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9175 multiarch lrint for PPC64.
9177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9178 copysignf multiarch implementation.
9179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9184 multiarch copysign for PPC64.
9185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9186 multiarch copysignf for PPC64.
9188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9189 multiarch implementation.
9190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9198 multiarch llround for PPC64.
9199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9200 multiarch trunc for PPC64.
9201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9202 multiarch truncf for PPC64.
9204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9205 multiarch implementation.
9206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9214 multiarch llround for PPC64.
9215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9216 multiarch round for PPC64.
9217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9218 multiarch roundf for PPC64.
9220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9221 multiarch implementation.
9222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9230 multiarch llround for PPC64.
9231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9232 multiarch floor for PPC64.
9233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9234 multiarch floorf for PPC64.
9236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9237 multiarch implementation.
9238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9246 multiarch llround for PPC64.
9247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9248 multiarch ceil for PPC64.
9249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9250 multiarch ceilf for PPC64.
9252 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9253 multiarch implementation.
9254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9261 multiarch llround for PPC64.
9262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9263 multiarch lround for PPC64.
9265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9266 multiarch implementation.
9267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9274 multiarch isnan for PPC64.
9275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9276 multiarch isnanf for PPC64.
9278 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9279 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9280 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9281 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9282 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9285 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9286 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9287 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9291 multiarch implementations.
9292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9293 (__libc_ifunc_impl_list): Likewise.
9294 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9295 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9296 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9297 multiarch stpcpy for PPC64.
9299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9300 multiarch implementations.
9301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9302 (__libc_ifunc_impl_list): Likewise.
9303 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9304 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9305 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9306 multiarch strcpy for PPC64.
9308 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9309 redefine function name.
9310 (_wordcopy_fwd_dest_aligned): Likewise.
9311 (_wordcopy_bwd_aligned): Likewise.
9312 (_wordcopy_bwd_dest_aligned): Likewise.
9313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9314 multiarch implementations.
9315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9316 (__libc_ifunc_impl_list): Likewise.
9317 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9318 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9319 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9320 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9321 multiarch wcscpy for PPC64.
9323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9324 multiarch implementations.
9325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9326 (__libc_ifunc_impl_list): Likewise.
9327 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9328 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9329 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9330 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9331 multiarch wcscpy for PPC64.
9333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9334 multiarch implementations.
9335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9336 (__libc_ifunc_impl_list): Likewise.
9337 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9338 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9339 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9340 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9341 multiarch wcsrchr for PPC64.
9343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9344 multiarch implementations.
9345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9346 (__libc_ifunc_impl_list): Likewise.
9347 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9348 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9349 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9350 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9351 multiarch wcschr for PPC64.
9353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9354 multiarch implementations.
9355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9356 (__libc_ifunc_impl_list): Likewise.
9357 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9358 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9359 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9360 multiarch strchrnul for PPC64.
9362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9365 (__libc_ifunc_impl_list): Likewise.
9366 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9367 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9368 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9369 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9375 (__libc_ifunc_impl_list): Likewise.
9376 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9377 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9378 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9379 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9383 multiarch implementations.
9384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9385 (__libc_ifunc_impl_list): Likewise.
9386 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9387 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9388 strncasecmp for PPC64.
9389 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9390 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9391 multiarch strncasecmp_l for PPC64.
9393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9394 multiarch implementations.
9395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9396 (__libc_ifunc_impl_list): Likewise.
9397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9398 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9399 multiarch strcasecmp for PPC64.
9400 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9403 multiarch strcasecmp_l for PPC64.
9405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9408 (__libc_ifunc_impl_list): Likewise.
9409 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9410 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9411 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9417 (__libc_ifunc_impl_list): Likewise.
9418 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9419 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9420 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9426 (__libc_ifunc_impl_list): Likewise.
9427 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9428 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9429 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9430 rawmemrchr for PPC64.
9432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9435 (__libc_ifunc_impl_list): Likewise.
9436 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9437 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9438 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9444 (__libc_ifunc_impl_list): Likewise.
9445 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9446 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9447 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9453 (__libc_ifunc_impl_list): Likewise.
9454 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9455 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9456 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9459 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9460 avoid cretion of __bzero symbol.
9461 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9463 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9465 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9468 multiarch implementations.
9469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9470 (__libc_ifunc_impl_list): Likewise.
9471 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9472 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9473 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9474 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9476 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9477 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9478 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9479 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9480 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9482 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9484 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9488 (__libc_ifunc_impl_list): Likewise.
9489 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9490 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9491 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9492 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9496 multiarch for POWER/PPC64.
9497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9498 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9504 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9505 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9508 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9509 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9510 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9511 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9512 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9513 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9514 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9515 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9516 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9517 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9518 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9519 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9520 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9521 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9522 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9531 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9533 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9535 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9537 * benchtests/Makefile (bench): Add exp2 and log2.
9538 (LDLIBS-bench-exp2): Add -lm.
9539 (LDLIBS-bench-log2): Likewise.
9540 * benchtests/exp2-inputs: New inputs file.
9541 * benchtests/log2-inputs: New inputs file.
9542 * benchtests/log-inputs: Add new inputs.
9543 * benchtests/tan-inputs: Likewise.
9545 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9547 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9549 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9550 (csloww2): ... from here.
9552 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9553 instead of structures.
9554 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9555 (POLYNOMIAL): Likewise.
9556 (TAYLOR_SLOW): Likewise.
9564 (bsloww1): Likewise.
9565 (bsloww2): Likewise.
9568 (csloww1): Likewise.
9569 (csloww2): Likewise.
9571 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9573 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9574 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9575 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9576 * malloc/hooks.c (realloc_check): Likewise.
9578 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9579 * malloc/arena.c: Remove PER_THREAD conditional.
9580 [!PER_THREAD]: Remove code.
9581 (ptmalloc_unlock_all2): Likewise.
9582 (ptmalloc_init): Likewise.
9583 (_int_new_arena): Likewise.
9584 (arena_get2): Likewise.
9585 * malloc/hooks.c (__malloc_get_state): Likewise.
9586 (__malloc_set_state): Likewise.
9587 * malloc/malloc.c: Likewise.
9588 (struct malloc_state): Likewise.
9589 (struct malloc_par): Likewise.
9590 (__libc_realloc): Likewise.
9591 (__libc_mallopt): Likewise.
9593 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9595 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9597 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9599 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9600 macro to a function. Check for zero perturb_byte.
9601 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9603 * malloc/malloc.c: (force_reg): Remove.
9604 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9605 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9606 force_reg by atomic_forced_read.
9607 * malloc/arena.c (ptmalloc_init): Likewise.
9608 * malloc/hooks.c (top_check): Likewise.
9610 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9614 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9618 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9620 * math/auto-libm-test-in: Add tests of lgamma.
9621 * math/auto-libm-test-out: Regenerated.
9622 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9623 (M_LOG_2_SQRT_PIl): Likewise.
9624 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9625 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9627 (func_calc_desc): Add mpfr_f_f1 union field.
9636 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9637 (test_functions): Add lgamma.
9638 (calc_generic_results): Handle mpfr_f_f1.
9639 * sysdeps/i386/fpu/libm-test-ulps: Update.
9640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9642 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9644 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9645 __mpn_add_n for PowerPC64/POWER7.
9646 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9647 __mpn_sub_n for PowerPC64/POWER7.
9649 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9650 __mpn_addmul_1 for PowerPC64.
9651 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9652 __mpn_submul_1 for PowerPC64.
9653 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9655 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9658 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9661 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9663 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9665 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9667 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9668 add multiarch folders.
9669 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9670 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9671 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9672 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9673 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9674 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9675 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9676 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9677 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9678 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9679 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9688 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9694 multiarch __ieee754_hypot for PowerPC32.
9695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9700 multiarch __ieee754_hypotf for PowerPC32.
9702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9703 long_double_symbol only if __logbl is defined.
9704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9705 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9707 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9709 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9710 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9711 path for implementation.
9712 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9713 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9715 logb, and logbl multiarch implementations for PowerPC32.
9716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9721 multiarch logb for PowerPC32.
9722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9727 multiarch logbf for PowerPC32.
9728 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9732 multiarch logbl implementation for PowerPC32.
9734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9735 and modff multiarch implementations.
9736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9741 multiarch modf for PowerPC32.
9742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9747 multiarch modff for PowerPC32.
9749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9750 and lrintf multiarch implementations.
9751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9756 multiarch lrint for PowerPC32.
9757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9758 file: multiarch lrintf for PowerPC32.
9760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9761 and lroundf multiarch implementations.
9762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9769 multiarch lround for PowerPC32.
9770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9771 file: multiarch lroundf for PowerPC32.
9773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9774 copysign and copysignf multiarch implementations.
9775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9780 file: multiarch copysign for PowerPC32.
9781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9782 file: multiarch copysignf for PowerPC32.
9784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9785 and truncf multiarch implementations.
9786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9791 multiarch trunc for PowerPC32.
9792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9797 multiarch truncf for PowerPC32.
9799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9800 and roundf multiarch implementations.
9801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9806 multiarch round for PowerPC32.
9807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9812 multiarch roundf for PowerPC32.
9814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9815 and floorf multiarch implementations.
9816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9821 multiarch floor for PowerPC32.
9822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9827 multiarch floorf for PowerPC32.
9829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9830 and ceilf multiarch implementations.
9831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9836 multiarch ceil for PowerPC32.
9837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9842 multiarch ceilf for PowerPC32.
9844 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9846 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9849 and finitef multiarch implementations.
9850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9855 multiarch finite for PowerPC32.
9856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9859 file: multiarch finitef for PowerPC32.
9861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9862 and isinff multiarch implementations.
9863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9868 multiarch isinf for PowerPC32.
9869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9872 multiarch isinff for PowerPC32.
9874 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9875 alias when __isnan is defined.
9876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9877 and isnanf multiarch implementations.
9878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9887 multiarch isnan for PowerPC32.
9888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9893 multiarch isnanf for PowerPC32.
9895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9896 and sqrtf multiarch implementations.
9897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9902 multiarch sqrt for PowerPC32.
9903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9908 multiarch sqrtf for PowerPC32.
9910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9911 and llroundf multiarch implementations.
9912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9919 file: multiarch llround for PowerPC32.
9920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9921 file: multiarch llroundf for PowerPC32.
9923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9924 multiarch PowerPC32 fpu implementations.
9925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9930 multiarch llrint for PowerPC32.
9931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9942 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9946 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9947 multiarch wordcopy for PPC32.
9948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9951 (__libc_ifunc_impl_list): Likewise.
9952 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9953 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9954 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9955 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9956 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9957 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9959 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9967 multiarch wcscpy for PPC32.
9968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9971 (__libc_ifunc_impl_list): Likewise.
9972 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9973 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9974 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9975 sysdeps/powerpc/power6/wcscpy.c.
9977 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9985 multiarch wcsrchr for PPC32.
9986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9989 (__libc_ifunc_impl_list): Likewise.
9990 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9991 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9992 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9993 sysdeps/powerpc/power6/wcsrchr.c.
9995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10001 multiarch wcschr for PPc32.
10002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10005 (__libc_ifunc_impl_list): Likewise.
10006 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10007 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10008 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10009 sysdeps/powerpc/power6/wcschr.c.
10011 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10012 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10014 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10015 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10016 file: multiarch strchr for PPC32.
10017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10020 (__libc_ifunc_impl_list): Likewise.
10022 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10024 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10026 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10028 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10029 multiarch strchrnul for PPC32.
10030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10033 (__libc_ifunc_impl_list): Likewise.
10035 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10038 multiarch strncasecmp for PPC32.
10039 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10041 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10042 multiarch strncasecmp_l for PPC32.
10043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10044 strncasecmp multiarch objects.
10045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10046 (__libc_ifunc_impl_list): Likewise.
10048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10051 multiarch strncasecmp for PPC32.
10052 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10054 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10055 multiarch strcasecmp_l for PPC32.
10056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10059 (__libc_ifunc_impl_list): Likewise.
10061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10065 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10066 multiarch strncmp for PPC32.
10067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10070 (__libc_ifunc_impl_list): Likewise.
10072 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10073 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10075 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10076 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10077 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10079 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10080 (__libc_ifunc_impl_list): Likewise.
10082 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10084 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10086 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10090 (__libc_ifunc_impl_list): Likewise.
10092 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10094 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10096 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10097 multiarch rawmemchr for PPC32.
10098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10101 (__libc_ifunc_impl_list): Likewise.
10103 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10105 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10107 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10108 file: memrchr multiarch for PPC32.
10109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10112 (__libc_ifunc_impl_list): Likewise.
10114 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10115 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10117 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10118 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10119 multiarch memchr for PPC32.
10120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10123 (__libc_ifunc_impl_list): Likewise.
10125 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10126 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10128 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10130 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10131 file: multiarch mempcpy for PPC32.
10132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10135 (__libc_ifunc_impl_list): Likewise.
10137 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10138 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10139 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10140 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10141 multiarch bzero for PPC32.
10142 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10144 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10146 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10147 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10148 file: multiarch memset for PPC32.
10149 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10151 memset multiarch objects.
10152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10153 (__libc_ifunc_impl_list): Likewise.
10155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10157 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10158 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10160 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10164 (__libc_ifunc_impl_list): Likewise.
10166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10172 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10174 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10175 multiarch memcpy for PPC32.
10176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10179 (__libc_ifunc_impl_list): Likewise.
10181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10182 support multiarch for POWER/PPC32.
10183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10185 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10187 Implies file to make multiarch folder appers before the fpu and
10188 default folder for power4 configuration.
10190 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10192 * scripts/bench.pl: Append volatile keyword to type.
10194 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10196 * sysdeps/sh/sotruss-lib.c: New file.
10197 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10199 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10203 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10206 * math/w_tgamma.c: Include <errno.h>.
10207 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10208 * math/w_tgammaf.c: Include <errno.h>.
10209 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10210 * math/w_tgammal.c: Include <errno.h>.
10211 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10212 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10213 underflow. Add more tgamma tests.
10214 * math/auto-libm-test-out: Regenerated.
10215 * sysdeps/i386/fpu/libm-test-ulps: Update.
10216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10218 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10219 sin, sinh, tan, tanh, tgamma, y0 and y1.
10220 * math/auto-libm-test-out: Regenerated.
10221 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10222 (TEST_COND_x86): Likewise.
10223 (M_E2l): Remove macro.
10225 (M_2_SQRT_PIl): Likewise.
10226 (M_SQRT_PIl): Likewise.
10227 (M_1_DIV_El): Likewise.
10228 (log_test_data): Use AUTO_TESTS_f_f.
10229 (log10_test_data): Likewise.
10230 (log1p_test_data): Likewise.
10231 (log2_test_data): Likewise.
10232 (sin_test_data): Likewise.
10233 (sin_tonearest_test_data): Likewise.
10234 (sin_towardzero_test_data): Likewise.
10235 (sin_downward_test_data): Likewise.
10236 (sin_upward_test_data): Likewise.
10237 (sinh_test_data): Likewise.
10238 (sinh_tonearest_test_data): Likewise.
10239 (sinh_towardzero_test_data): Likewise.
10240 (sinh_downward_test_data): Likewise.
10241 (sinh_upward_test_data): Likewise.
10242 (tan_test_data): Likewise.
10243 (tan_tonearest_test_data): Likewise.
10244 (tan_towardzero_test_data): Likewise.
10245 (tan_downward_test_data): Likewise.
10246 (tan_upward_test_data): Likewise.
10247 (tanh_test_data): Likewise.
10248 (tgamma_test_data): Likewise.
10249 (y0_test_data): Likewise.
10250 (y1_test_data): Likewise.
10251 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10252 (special_real_inputs): Add pi/4.
10253 * sysdeps/i386/fpu/libm-test-ulps: Update.
10254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10256 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10258 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10259 "longjmp_target" static probes.
10260 (__longjmp): Rename to __longjmp_symbol.
10261 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10262 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10263 on which longjmp to generate.
10264 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10265 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10267 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10268 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10269 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10270 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10271 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10272 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10274 __longjmp_symbol based on which __longjmp to generate.
10275 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10277 (setjmp): Rename to setjmp_symbol.
10278 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10279 (_setjmp): Rename to _setjmp_symbol.
10280 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10281 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10282 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10283 which setjmp to generate.
10284 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10285 "longjmp_target" static probes.
10287 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10289 * benchtests/README: Add note about output arguments.
10290 * benchtests/bench-sincos.c: Remove file.
10291 * benchtests/sincos-inputs: New file.
10292 * scripts/bench.pl: Identify output arguments and define
10293 static variables for them.
10295 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10298 * Makefile (INSTALL): Add install-plain.texi as the primary
10300 * manual/install-plain.texi: New file.
10301 * manual/install.texi: Include node directive only for
10302 non-plaintext output.
10304 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10306 * stdlib/longlong.h: Update from GCC.
10310 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10311 * math/w_j0f.c (y0f): Likewise.
10312 * math/w_j0l.c (__y0l): Likewise.
10313 * math/w_j1.c (y1): Likewise.
10314 * math/w_j1f.c (y1f): Likewise.
10315 * math/w_j1l.c (__y1l): Likewise
10316 * math/w_jn.c (yn): Likewise.
10317 * math/w_jnf.c (ynf): Likewise.
10318 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10319 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10320 value for Bessel function domain errors outside _SVID_ mode.
10321 Adjust sign of return value for yn (negative integer, 0).
10322 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10323 by zero in return for negative x and set sign appropriately for
10325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10326 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10327 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10328 expectations in error cases.
10329 (y1_test_data): Likewise.
10330 (yn_test_data): Likewise.
10331 * sysdeps/i386/fpu/libm-test-ulps: Update.
10332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10334 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10336 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10337 "64" to "64-v1". Add "64-v2".
10338 (abi-64-options): Rename to ...
10339 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10340 (abi-64-condition): Rename to ...
10341 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10342 (abi-64-ld-soname): Rename to ...
10343 (abi-64-v1-ld-soname): ... this.
10344 (abi-64-v2-options): Define.
10345 (abi-64-v2-condition): Likewise.
10346 (abi-64-v2-ld-soname): Likewise.
10347 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10348 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10353 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10354 Alan Modra <amodra@gmail.com>
10356 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10357 New versions for use with the ELFv2 ABI.
10358 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10359 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10361 (struct La_ppc64v2_retval): Likewise.
10362 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10363 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10364 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10365 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10366 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10367 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10368 Do not save or restore CR.
10369 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10370 (_dl_profile_resolve): Do no save or restore CR. Support extended
10371 return values for ELFv2 ABI. Fix location of FPR return registers.
10372 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10373 updated values for _CALL_ELF == 2.
10374 (La_regs, La_retval, int_retval): Likewise.
10376 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10378 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10379 (FRAME_MIN_SIZE_PARM): Likewise.
10380 (FRAME_BACKCHAIN): Likewise.
10381 (FRAME_CR_SAVE): Likewise.
10382 (FRAME_LR_SAVE): Likewise.
10383 (FRAME_TOC_SAVE): Likewise.
10384 (FRAME_PARM_SAVE): Likewise.
10385 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10386 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10387 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10388 (call_mcount_parm_offset): New macro.
10389 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10390 (PROF): Use symbolic stack frame offsets.
10391 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10392 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10393 Redefine in terms of FRAME_MIN_SIZE.
10394 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10395 (_dl_profile_resolve): Likewise. Update comment.
10396 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10397 symbols stack frame offsets.
10398 (__sigsetjmp): Likewise.
10399 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10400 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10401 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10402 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10405 (FRAME_BACKCHAIN): Remove.
10406 (FRAME_CR_SAVE): Likewise.
10407 (FRAME_LR_SAVE): Likewise.
10408 (FRAME_COMPILER_DW): Likewise.
10409 (FRAME_LINKER_DW): Likewise.
10410 (FRAME_TOC_SAVE): Likewise.
10411 (FRAME_PARM_SAVE): Likewise.
10412 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10413 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10414 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10416 (CHECK_SP): Use symbolic stack frame offsets.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10418 zone" instead of caller's parameter save area for temp storage.
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10420 Likewise. Also, use symbolic stack frame offsets.
10421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10422 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10423 our own stack frame instead of the caller's.
10424 (__socket): Use symbolic stack frame offsets.
10426 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10427 Alan Modra <amodra@gmail.com>
10429 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10431 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10432 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10433 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10435 (elf_machine_fixup_plt): Call it.
10436 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10438 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10439 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10440 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10441 r2 before calling target.
10443 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10444 Alan Modra <amodra@gmail.com>
10446 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10447 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10448 versions of macros to support ELFv2 ABI.
10449 (LOCALENTRY): New macro.
10450 (ENTRY, EALIGN): Use it.
10451 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10452 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10453 fall through into ENTRY entry point.
10454 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10455 Only define if _CALL_ELF != 2.
10457 (elf_machine_matches_host): Verify ABI version matches.
10458 (RTLD_START): Use LOCALENTRY.
10459 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10460 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10461 (PLT_ENTRY_WORDS): New macro.
10462 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10463 (elf_machine_runtime_setup): Support ELFv2 ABI.
10464 (elf_machine_fixup_plt): Likewise.
10465 (elf_machine_plt_conflict): Likewise.
10466 (resolve_ifunc): Likewise.
10467 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10471 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10473 (makecontext): Support ELFv2 ABI.
10474 * elf/elf.h (EF_PPC64_ABI): Define.
10476 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10478 * sysdeps/powerpc/powerpc64/sysdep.h
10479 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10480 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10481 (ENTRY) [ASSEMBLER]: ... but instead here ...
10482 (EALIGN) [ASSEMBLER]: ... and here.
10483 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10484 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10485 (ENTRY_2) [!ASSEMBLER]: Use it.
10486 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10487 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10488 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10489 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10490 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10492 Use PPC64_LOAD_FUNCPTR.
10494 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10496 2013-12-04 Alan Modra <amodra@gmail.com>
10498 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10499 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10500 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10501 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10504 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10505 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10506 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10507 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10508 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10510 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10513 (__makecontext): Fix incorrect CFI when backtracing out of
10514 context created via makecontext.
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10516 (__setcontext): Fix incorrect CFI during switch to new context.
10517 (__novec_setcontext): Likewise.
10519 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10522 * time/strptime_l.c (__strptime_internal): Allow modifiers
10524 * time/tst-strptime.c (day_tests): Add testcase.
10526 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10528 * scripts/bench.pl: Skip over blank lines.
10530 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10533 * manual/time.texi (Calendar Time): Clarify what timezone functions
10536 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10540 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10542 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10544 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10545 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10546 * debug/memset_chk.c (__memset_chk): Likewise.
10547 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10548 * debug/strncpy_chk.c: Likewise.
10550 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10554 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10555 (__ieee754_exp): For possibly underflowing results, check size of
10556 result and force underflow exception if required.
10557 * math/auto-libm-test-in: Add more tests of exp.
10558 * math/auto-libm-test-out: Regenerated.
10559 * sysdeps/i386/fpu/libm-test-ulps: Update.
10560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10563 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10564 * math/w_exp2f.c (__exp2f): Likewise.
10565 * math/w_exp2l.c (__exp2l): Likewise.
10566 * math/auto-libm-test-in: Do not allow missing errno on exp2
10568 * math/auto-libm-test-out: Regenerated.
10570 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10573 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10574 handle filename validation.
10575 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10578 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10581 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10582 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10583 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10585 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10586 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10587 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10589 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10590 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10591 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10592 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10593 Add more erfc tests.
10594 * math/auto-libm-test-out: Regenerated.
10595 * sysdeps/i386/fpu/libm-test-ulps: Update.
10596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10598 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10599 exp2, expm1, j0 and j1.
10600 * math/auto-libm-test-out: Regenerated.
10601 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10602 (erfc_test_data): Likewise.
10603 (exp_test_data): Likewise.
10604 (exp_tonearest_test_data): Likewise.
10605 (exp_towardzero_test_data): Likewise.
10606 (exp_downward_test_data): Likewise.
10607 (exp_upward_test_data): Likewise.
10608 (exp10_test_data): Likewise.
10609 (exp2_test_data): Likewise.
10610 (expm1_test_data): Likewise.
10611 (j0_test_data): Likewise.
10612 (j1_test_data): Likewise.
10613 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10614 (input_flag_type): Add flag_xfail_rounding.
10615 (input_flags): Add xfail-rounding.
10616 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10617 (output_for_one_input_case): Handle flag_xfail_rounding.
10618 * sysdeps/i386/fpu/libm-test-ulps: Update.
10619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10621 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10624 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10627 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10630 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10631 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10632 (STAP_PROBE0): New macro.
10633 (STAP_PROBE1): Likewise.
10634 (STAP_PROBE2): Likewise.
10635 (STAP_PROBE3): Likewise.
10636 (STAP_PROBE4): Likewise.
10638 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10640 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10642 2013-12-02 Steve Ellcey <sellcey@mips.com>
10644 * benchtests/Makefile (bench): Add sqrt.
10645 (LDLIBS-bench-sqrt): New.
10646 * benchtests/sqrt-input: New.
10648 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10650 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10651 (GAIH_EAI): Likewise.
10652 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10653 (gaih_inet): Likewise.
10654 (getaddrinfo): Don't use GAIH_EAI.
10656 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10657 (struct gaih): Remove definition.
10659 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10661 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10662 Use HERRNOP directly.
10664 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10668 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10670 * math/gen-auto-libm-tests.c (test_functions): Add more
10671 single-argument functions.
10672 (special_fill_pi_2): New function.
10673 (special_fill_minus_pi_2): Likewise.
10674 (special_fill_pi_6): Likewise.
10675 (special_fill_minus_pi_6): Likewise.
10676 (special_fill_pi_3): Likewise.
10677 (special_fill_2pi_3): Likewise.
10678 (special_fill_e): Likewise.
10679 (special_fill_1_e): Likewise.
10680 (special_fill_e_minus_1): Likewise.
10681 (special_real_inputs): Add more special inputs.
10682 (output_for_one_input_case): Do not require ERANGE on underflow to
10683 zero if round-to-nearest result does not underflow to zero, unless
10684 exact results required.
10685 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10686 atan, atanh, cbrt, cos and cosh.
10687 * math/auto-libm-test-out: Regenerated.
10688 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10689 (acos_tonearest_test_data): Likewise.
10690 (acos_towardzero_test_data): Likewise.
10691 (acos_downward_test_data): Likewise.
10692 (acos_upward_test_data): Likewise.
10693 (acosh_test_data): Likewise.
10694 (asin_test_data): Likewise.
10695 (asin_tonearest_test_data): Likewise.
10696 (asin_towardzero_test_data): Likewise.
10697 (asin_upward_test_data): Likewise.
10698 (asinh_test_data): Likewise.
10699 (atan_test_data): Likewise.
10700 (atanh_test_data): Likewise.
10701 (cbrt_test_data): Likewise.
10702 (cos_test_data): Likewise.
10703 (cos_tonearest_test_data): Likewise.
10704 (cos_towardzero_test_data): Likewise.
10705 (cos_downward_test_data): Likewise.
10706 (cos_upward_test_data): Likewise.
10707 (cosh_test_data): Likewise.
10708 (cosh_tonearest_test_data): Likewise.
10709 (cosh_towardzero_test_data): Likewise.
10710 (cosh_downward_test_data): Likewise.
10711 (cosh_upward_test_data): Likewise.
10712 * sysdeps/i386/fpu/libm-test-ulps: Update.
10713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10715 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10718 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10719 * math/w_exp10f.c (__exp10f): Likewise.
10720 * math/w_exp10l.c (__exp10l): Likewise.
10721 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10722 errno settings in existing tests.
10725 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10726 precision control set to double precision.
10727 * sysdeps/i386/fpu/w_sqrt.c: New file.
10728 * math/auto-libm-test-in: Add more tests.
10729 * math/auto-libm-test-out: Update.
10731 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10732 (sqrt_test_tonearest): New function.
10733 (sqrt_towardzero_test_data): New variable.
10734 (sqrt_test_towardzero): New function.
10735 (sqrt_downward_test_data): New variable.
10736 (sqrt_test_downward): New function.
10737 (sqrt_upward_test_data): New variable.
10738 (sqrt_test_upward): New function.
10739 (main): Call the new functions.
10741 * math/gen-auto-libm-tests.c: New file.
10742 * math/auto-libm-test-in: Likewise.
10743 * math/auto-libm-test-out: New generated file.
10744 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10746 (%beautify): Add generated representations of zero.
10747 (top level): Set $auto_input and call parse_auto_input.
10748 (beautify): Remove trailing "f" from hex float constants.
10749 (parse_args): Handle XFAIL_TEST.
10750 (convert_condition): New function.
10751 (or_value): Likewise.
10752 (or_cond_value): Likewise.
10753 (generate_testfile): Handle AUTO_TESTS_* lines.
10754 (parse_auto_input): New function.
10755 * math/libm-test.inc (XFAIL_TEST): New macro.
10756 (ERRNO_UNCHANGED): Update value.
10757 (ERRNO_EDOM): Likewise.
10758 (ERRNO_ERANGE): Likewise.
10759 (IGNORE_RESULT): Likewise.
10760 (TEST_COND_flt_32): New macro.
10761 (TEST_COND_dbl_64): Likewise.
10762 (TEST_COND_ldbl_96_intel): Likewise.
10763 (TEST_COND_ldbl_96_m68k): Likewise.
10764 (TEST_COND_ldbl_128): Likewise.
10765 (TEST_COND_ldbl_128ibm): Likewise.
10766 (TEST_COND_long32): Likewise.
10767 (TEST_COND_long64): Likewise.
10768 (TEST_COND_before_rounding): Likewise.
10769 (TEST_COND_after_rounding): Likewise.
10770 (enable_test): Handle XFAIL_TEST flag.
10771 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10772 with finite results.
10773 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10774 auto-libm-test-out.
10776 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10777 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10780 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10781 __tls_get_addr_internal instead of __tls_get_offset in order to
10782 avoid GOT pointer dependency. Make rtld export
10783 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10784 __tls_get_addr since we are a __tls_get_offset platform.
10785 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10786 GOT pointer being set up before.
10787 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10789 2013-11-28 Joseph Myers <joseph@codesourcery.com>
10791 * manual/math.texi (Errors in Math Functions): Document accuracy
10795 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10796 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10799 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10801 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10812 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10813 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10814 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10815 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10816 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10818 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10820 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10822 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10823 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10824 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10825 atomic-feupdateenv and flt-rounds.
10826 * sysdeps/powerpc/nofpu/Versions (libc): Add
10827 __atomic_feholdexcept, __atomic_feclearexcept,
10828 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10829 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10830 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10831 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10832 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10837 * manual/arith.texi (FP Exceptions): Document that exceptions may
10838 not be raised when matherr is used.
10839 (Math Error Reporting): Document overflow in directed rounding
10840 modes. Document that errno may not be set when finite values are
10841 returned on overflow. Document intent to set errno on underflow
10842 only for underflow to zero.
10845 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10846 round-to-nearest then adjust result for other rounding modes.
10847 * include/fenv.h (fegetround): Use libm_hidden_proto.
10848 * math/fegetround.c (fegetround): Use libm_hidden_def.
10849 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10850 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10851 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10852 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10854 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10856 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10857 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10859 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10862 * nss/Versions (libnss_files): Add
10863 _nss_files_gethostbyname3_r.
10864 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10866 (HOST_DB_LOOKUP): Remove macro.
10867 (_nss_files_gethostbyname_r): Implement function without the
10868 HOST_DB_LOOKUP macro.
10869 (_nss_files_gethostbyname2_r): Likewise.
10871 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
10873 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10875 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
10877 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10878 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10881 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10883 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10884 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10885 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10886 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10887 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10888 __fe_nomask_env_priv and attribute_hidden.
10889 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10890 (libc_feupdateenv_test_ppc): Likewise.
10891 (libc_feresetround_ppc): Likewise.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10893 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10894 compat_symbol macro.
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10896 (__fe_nomask_env): Likewise.
10897 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10899 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10901 * string/Makefile: Remove ifunc tests.
10902 * string/test-string.h: Define TEST_IFUNC.
10903 * string/test-bcopy-ifunc.c: Remove.
10904 * string/test-bzero-ifunc.c: Likewise.
10905 * string/test-memccpy-ifunc.c: Likewise.
10906 * string/test-memchr-ifunc.c: Likewise.
10907 * string/test-memcmp-ifunc.c: Likewise.
10908 * string/test-memcpy-ifunc.c: Likewise.
10909 * string/test-memmem-ifunc.c: Likewise.
10910 * string/test-memmove-ifunc.c: Likewise.
10911 * string/test-mempcpy-ifunc.c: Likewise.
10912 * string/test-memrchr-ifunc.c: Likewise.
10913 * string/test-memset-ifunc.c: Likewise.
10914 * string/test-rawmemchr-ifunc.c: Likewise.
10915 * string/test-stpcpy-ifunc.c: Likewise.
10916 * string/test-stpncpy-ifunc.c: Likewise.
10917 * string/test-strcasecmp-ifunc.c: Likewise.
10918 * string/test-strcasestr-ifunc.c: Likewise.
10919 * string/test-strcat-ifunc.c: Likewise.
10920 * string/test-strchr-ifunc.c: Likewise.
10921 * string/test-strchrnul-ifunc.c: Likewise.
10922 * string/test-strcmp-ifunc.c: Likewise.
10923 * string/test-strcpy-ifunc.c: Likewise.
10924 * string/test-strcspn-ifunc.c: Likewise.
10925 * string/test-strlen-ifunc.c: Likewise.
10926 * string/test-strncasecmp-ifunc.c: Likewise.
10927 * string/test-strncat-ifunc.c: Likewise.
10928 * string/test-strncmp-ifunc.c: Likewise.
10929 * string/test-strncpy-ifunc.c: Likewise.
10930 * string/test-strnlen-ifunc.c: Likewise.
10931 * string/test-strpbrk-ifunc.c: Likewise.
10932 * string/test-strrchr-ifunc.c: Likewise.
10933 * string/test-strspn-ifunc.c: Likewise.
10934 * string/test-strstr-ifunc.c: Likewise.
10936 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10938 * benchtests/Makefile: Remove ifunc tests.
10939 * benchtests/bench-string.h: Define TEST_IFUNC.
10940 * benchtests/bench-bcopy-ifunc.c: Remove.
10941 * benchtests/bench-bzero-ifunc.c: Likewise.
10942 * benchtests/bench-memccpy-ifunc.c: Likewise.
10943 * benchtests/bench-memchr-ifunc.c: Likewise.
10944 * benchtests/bench-memcmp-ifunc.c: Likewise.
10945 * benchtests/bench-memcpy-ifunc.c: Likewise.
10946 * benchtests/bench-memmem-ifunc.c: Likewise.
10947 * benchtests/bench-memmove-ifunc.c: Likewise.
10948 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10949 * benchtests/bench-memrchr-ifunc.c: Likewise.
10950 * benchtests/bench-memset-ifunc.c: Likewise.
10951 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10952 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10953 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10954 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10955 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10956 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10957 * benchtests/bench-strcat-ifunc.c: Likewise.
10958 * benchtests/bench-strchr-ifunc.c: Likewise.
10959 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10960 * benchtests/bench-strcmp-ifunc.c: Likewise.
10961 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10962 * benchtests/bench-strcpy-ifunc.c: Likewise.
10963 * benchtests/bench-strcspn-ifunc.c: Likewise.
10964 * benchtests/bench-strlen-ifunc.c: Likewise.
10965 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10966 * benchtests/bench-strncat-ifunc.c: Likewise.
10967 * benchtests/bench-strncmp-ifunc.c: Likewise.
10968 * benchtests/bench-strncpy-ifunc.c: Likewise.
10969 * benchtests/bench-strnlen-ifunc.c: Likewise.
10970 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10971 * benchtests/bench-strrchr-ifunc.c: Likewise.
10972 * benchtests/bench-strsep-ifunc.c: Likewise.
10973 * benchtests/bench-strspn-ifunc.c: Likewise.
10974 * benchtests/bench-strstr-ifunc.c: Likewise.
10976 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10978 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10980 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10982 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10983 * rt/aio.h: Likewise.
10984 * sysdeps/gnu/bits/utmp.h: Likewise.
10985 * sysdeps/gnu/bits/utmpx.h: Likewise.
10986 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10987 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10988 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10989 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10990 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10991 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10992 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10993 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10994 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10995 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10996 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10997 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10998 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11000 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11001 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11002 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11003 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11004 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11005 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11006 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11007 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11008 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11009 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11010 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11012 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11013 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11014 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11015 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11016 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11017 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11018 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11019 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11020 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11021 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11022 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11023 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11024 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11025 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11026 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11027 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11029 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11032 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11033 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11035 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11037 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11038 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11041 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11043 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11044 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11045 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11046 (__fesetround): Remove define.
11047 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11048 rounding and exceptions handling.
11049 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11050 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11051 (__fe_nomask_env): Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11053 __fegetround instead of fegetround.
11054 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11055 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11057 2013-11-21 Roland McGrath <roland@hack.frob.com>
11059 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11062 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11064 2013-11-21 Meador Inge <meadori@codesourcery.com>
11067 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11068 (encrypt_r): Likewise.
11069 * malloc/obstack.h (obstack_free): Likewise.
11070 * posix/unistd.h (encrypt): Likewise.
11072 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11074 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11075 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11076 DL_CALL_DT_FINI() that call the functions directly.
11077 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11078 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11079 * elf/dl-fini.c: Likewise.
11081 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11083 * malloc/hooks.c (memalign_check): Add alignment rounding.
11084 * malloc/malloc.c (_mid_memalign): New function.
11085 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11086 Implement by calling _mid_memalign.
11087 * manual/probes.texi (Memory Allocation Probes): Remove
11088 memory_valloc_retry and memory_pvalloc_retry.
11090 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11092 * locale/programs/locarchive.c (open_archive): Add const
11093 qualifier to ARCHIVEFNAME and copy default fname to
11097 * libio/tst-widetext.input: Rename Oriya to Odia.
11098 * locale/iso-639.def: Likewise.
11100 * manual/probes.texi (Mathematical Function Probes): Add
11101 documentation for sin, cos, asin and acos probes.
11102 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11103 (__sin32): Add slowasin probe.
11104 (__cos32): Add slowacos probe.
11105 (__mpsin): Add slowsin probe.
11106 (__mpcos): Add slowcos probe.
11108 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11111 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11112 thread-local __sim_exceptions_thread and global
11113 __sim_exceptions_global.
11114 (__sim_disabled_exceptions): Change to thread-local
11115 __sim_disabled_exceptions_thread and global
11116 __sim_disabled_exceptions_global.
11117 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11118 and global __sim_round_mode_global.
11119 (__simulate_exceptions): Use thread-local floating-point state and
11120 set global state from it as needed.
11121 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11122 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11123 __sim_round_mode_thread.
11124 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11125 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11126 and global __sim_exceptions_global.
11127 (__sim_disabled_exceptions): Change to thread-local
11128 __sim_disabled_exceptions_thread and global
11129 __sim_disabled_exceptions_global.
11130 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11131 and global __sim_round_mode_global.
11132 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11133 (SIM_SET_GLOBAL): Likewise.
11134 * sysdeps/powerpc/soft-fp/sfp-machine.h
11135 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11136 __sim_round_mode_thread.
11137 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11138 __sim_disabled_exceptions_thread.
11139 (__sim_exceptions): Change to __sim_exceptions_thread.
11140 (__sim_disabled_exceptions): Change to
11141 __sim_disabled_exceptions_thread.
11142 (__sim_round_mode): Change to __sim_round_mode_thread.
11143 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11144 thread-local floating-point state and set global state from it as
11146 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11147 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11148 (__sim_disabled_exceptions): Remove extern declaration.
11149 (feenableexcept): Use thread-local floating-point state and set
11150 global state from it as needed.
11151 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11152 extern declaration.
11153 (__sim_disabled_exceptions): Likewise.
11154 (__sim_round_mode): Likewise.
11155 (__fegetenv): Use thread-local floating-point state.
11156 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11157 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11158 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11159 floating-point state and set global state from it as needed.
11160 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11161 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11162 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11164 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11165 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11167 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11168 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11169 Use __sim_round_mode_thread.
11170 * math/test-fenv-tls.c: New file.
11171 * math/Makefile (tests): Add test-fenv-tls.
11172 ($(objpfx)test-fenv-tls): Depend on
11173 $(common-objpfx)nptl/libpthread.so.
11175 2013-11-19 Andreas Schwab <schwab@suse.de>
11177 * locale/programs/locale.c (show_info): Decode wordarray elements.
11178 * locale/categories.def (LC_MONETARY): Add element for
11179 _NL_MONETARY_CRNCYSTR.
11180 * locale/C-monetary.c (conversion_rate): New variable.
11181 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11184 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11186 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11187 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11189 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11191 * elf/Makefile (tst-auxv): New test.
11192 * elf/tst-auxv.c: New
11193 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11195 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11197 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11198 (hidden_proto): Caller changed.
11199 (hidden_tls_proto): New macro.
11200 (libc_hidden_tls_proto): Likewise.
11201 (rtld_hidden_tls_proto): Likewise.
11202 (libm_hidden_tls_proto): Likewise.
11203 (libresolv_hidden_tls_proto): Likewise.
11204 (librt_hidden_tls_proto): Likewise.
11205 (libdl_hidden_tls_proto): Likewise.
11206 (libnss_files_hidden_tls_proto): Likewise.
11207 (libnsl_hidden_tls_proto): Likewise.
11208 (libnss_nisplus_hidden_tls_proto): Likewise.
11209 (libutil_hidden_tls_proto): Likewise.
11211 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11214 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11215 (decompose_rpath): Defer expansion to fillin_rpath.
11216 (_dl_init_paths): Pass linkmap to fillin_rpath.
11218 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11220 * benchtests/Makefile: Add strsep.
11221 * benchtests/bench-strsep.c: New file: strsep benchtest.
11222 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11224 2013-11-18 Andreas Schwab <schwab@suse.de>
11226 * locale/programs/locale.c (show_info) [case byte]: Check for
11227 '\377' instead of '\177'.
11228 * locale/C-monetary.c (not_available): Always use "\377".
11229 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11230 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11231 detect unavailable sign_posn locale elements.
11232 * locale/localeconv.c (__localeconv): For grouping and
11233 mon_grouping handle "\177" and "\377" like no grouping.
11234 (INT_ELEM): New macro. Use it to set all numeric members.
11235 * locale/programs/ld-monetary.c (monetary_read)
11236 <tok_mon_grouping>: Normalize single -1 to the empty string.
11237 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11240 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11243 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11244 when we match (nil).
11245 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11247 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11249 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11250 (NO_TEST_INLINE): Update value.
11251 (ERRNO_UNCHANGED): Likewise.
11252 (ERRNO_EDOM): Likewise.
11253 (ERRNO_ERANGE): Likewise.
11254 (IGNORE_RESULT): Likewise.
11255 (check_float_internal): Check signs of NaN results if
11256 TEST_NAN_SIGN used.
11257 (check_complex): Pass TEST_NAN_SIGN flag through to second
11258 check_float_internal call.
11259 (copysign_test_data): Add tests with quiet NaNs as second
11260 argument. Use TEST_NAN_SIGN.
11261 (fabs_test_data): Add test of negative quiet NaN argument. Use
11263 (signbit_test_data): Add tests of quiet NaN argument.
11264 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11266 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11268 (parse_args): Handle function results specified as IGNORE.
11269 * math/libm-test.inc (IGNORE_RESULT): New macro.
11270 (check_float_internal): Do not check numerical result if flag
11272 (check_complex): Pass through IGNORE_RESULT to second
11273 check_float_internal call.
11274 (check_int): Do not check numerical result if flag IGNORE_RESULT
11276 (check_long): Likewise.
11277 (check_bool): Likewise.
11278 (check_longlong): Likewise.
11279 (lrint_test_data): Add tests of infinite and NaN arguments.
11280 (lrint_tonearest_test_data): Likewise.
11281 (lrint_towardzero_test_data): Likewise.
11282 (lrint_downward_test_data): Likewise.
11283 (lrint_upward_test_data): Likewise.
11284 (llrint_test_data): Likewise.
11285 (llrint_tonearest_test_data): Likewise.
11286 (llrint_towardzero_test_data): Likewise.
11287 (llrint_downward_test_data): Likewise.
11288 (llrint_upward_test_data): Likewise.
11289 (lround_test_data): Likewise.
11290 (llround_test_data): Likewise.
11292 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11293 (ERRNO_UNCHANGED): Update value.
11294 (ERRNO_EDOM): Likewise.
11295 (ERRNO_ERANGE): Likewise.
11296 (NO_TEST_INLINE_FLOAT): New macro.
11297 (NO_TEST_INLINE_DOUBLE): Likewise.
11298 (enable_test): New function.
11299 (RUN_TEST_f_f): Check enable_test before running test.
11300 (RUN_TEST_2_f): Likewise.
11301 (RUN_TEST_fff_f): Likewise.
11302 (RUN_TEST_c_f): Likewise.
11303 (RUN_TEST_f_f1): Likewise.
11304 (RUN_TEST_fF_f1): Likewise.
11305 (RUN_TEST_fI_f1): Likewise.
11306 (RUN_TEST_ffI_f1): Likewise.
11307 (RUN_TEST_c_c): Likewise.
11308 (RUN_TEST_cc_c): Likewise.
11309 (RUN_TEST_f_i): Likewise.
11310 (RUN_TEST_f_i_tg): Likewise.
11311 (RUN_TEST_ff_i_tg): Likewise.
11312 (RUN_TEST_f_b): Likewise.
11313 (RUN_TEST_f_b_tg): Likewise.
11314 (RUN_TEST_f_l): Likewise.
11315 (RUN_TEST_f_L): Likewise.
11316 (RUN_TEST_fFF_11): Likewise.
11317 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11319 (cosh_test_data): Likewise.
11320 (exp_test_data): Likewise.
11321 (expm1_test_data): Likewise.
11322 (hypot_test_data): Likewise.
11323 (pow_test_data): Likewise.
11324 (sinh_test_data): Likewise.
11325 (tanh_test_data): Likewise.
11326 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11329 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11330 tests with quiet NaN input and output.
11331 (acosh_test_data): Likewise.
11332 (asin_test_data): Likewise.
11333 (asinh_test_data): Likewise.
11334 (atan_test_data): Likewise.
11335 (atanh_test_data): Likewise.
11336 (atan2_test_data): Likewise.
11337 (cbrt_test_data): Likewise.
11338 (cos_test_data): Likewise.
11339 (cosh_test_data): Likewise.
11340 (erf_test_data): Likewise.
11341 (erfc_test_data): Likewise.
11342 (exp_test_data): Likewise.
11343 (exp10_test_data): Likewise.
11344 (exp2_test_data): Likewise.
11345 (expm1_test_data): Likewise.
11346 (hypot_test_data): Likewise.
11347 (j0_test_data): Likewise.
11348 (j1_test_data): Likewise.
11349 (jn_test_data): Likewise.
11350 (lgamma_test_data): Likewise.
11351 (log_test_data): Likewise.
11352 (log10_test_data): Likewise.
11353 (log1p_test_data): Likewise.
11354 (log2_test_data): Likewise.
11355 (pow_test_data): Likewise.
11356 (scalb_test_data): Likewise.
11357 (sin_test_data): Likewise.
11358 (sincos_test_data): Likewise.
11359 (sinh_test_data): Likewise.
11360 (tan_test_data): Likewise.
11361 (tanh_test_data): Likewise.
11362 (tgamma_test_data): Likewise.
11363 (y0_test_data): Likewise.
11364 (y1_test_data): Likewise.
11365 (yn_test_data): Likewise.
11368 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11369 argument being NaN and avoid computations with second argument in
11371 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11372 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11373 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11375 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11377 * locale/iso-639.def: Add Chitwani Tharu (the).
11379 2013-11-14 Andreas Schwab <schwab@suse.de>
11381 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11382 word instead of empty string.
11384 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11387 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11389 (__fe_nomask_env): Likewise.
11391 2013-11-13 Steve Ellcey <sellcey@mips.com>
11393 * benchtests/bench-timing.h: Include time.h.
11395 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11398 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11400 * sysdeps/unix/sysv/linux/configure: Regenerated.
11402 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11405 * stdlib/strtod_l.c (round_and_return): Do not consider
11406 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11407 exponent one less than half the least subnormal exponent.
11408 * stdlib/test-strtod-round-data: Add more tests.
11409 * stdlib/tst-strtod-round.c (tests): Regenerated.
11411 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11414 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11415 (__fe_mask_env): Likewise.
11416 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11417 libm_hidden_proto and add function prototype.
11418 (__fe_mask_env): Add function prototype.
11419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11420 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11422 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11424 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11426 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11428 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11429 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11431 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11433 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11434 of htab_find_slot().
11436 2013-11-11 David S. Miller <davem@davemloft.net>
11439 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11440 symbol in the non-vis3 case in static builds.
11441 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11442 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11443 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11444 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11446 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11449 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11452 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11454 * benchtests/Makefile: Add bench-strtod.
11455 * benchtests/bench-strtod.c: New file: strtod benchtest
11457 2013-11-11 Andreas Schwab <schwab@suse.de>
11460 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11461 terminating NUL in key length.
11463 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11465 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11466 Add artificial ODP entry for vDSO symbol for PPC64.
11467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11468 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11470 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11473 * nss/getent.c (services_keys): Recognize services starting with digit.
11475 2013-11-06 David S. Miller <davem@davemloft.net>
11478 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11479 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11481 2013-11-06 Will Newton <will.newton@linaro.org>
11483 * manual/memory.texi (Malloc Examples): Remove register
11484 keyword from examples.
11486 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11488 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11490 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11493 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11494 depending on [__GCC_IEC_559 > 0].
11495 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11496 depending on [__GCC_IEC_559_COMPLEX > 0].
11498 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11500 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11503 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11505 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11507 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11510 * malloc/malloc (malloc_info): Do not handle first bin as
11513 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11515 * locale/iso-639.def: Add Central Nahuatl (nhn).
11517 2013-11-01 Bruno Haible <bruno@clisp.org>
11520 * manual/math.texi (BSD Random): Specify range upper bound as
11523 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11525 * locale/iso-639.def: Add Meadow Mari (mhr).
11527 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11529 [BZ #14752], [BZ #15763]
11530 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11532 * rt/tst_shm.c: Add test for escaping directory.
11534 2013-10-31 Andreas Schwab <schwab@suse.de>
11537 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11538 followed by 'x' as part of digit sequence.
11539 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11541 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11544 * configure.ac: allow GNU Make 4.0 and greater.
11545 * configure: Regenerated.
11547 2013-10-30 Will Newton <will.newton@linaro.org>
11550 * malloc/hooks.c (memalign_check): Limit alignment to the
11551 maximum representable power of two.
11552 * malloc/malloc.c (__libc_memalign): Likewise.
11553 * malloc/tst-memalign.c (do_test): Add test for very
11554 large alignment values.
11555 * malloc/tst-posix_memalign.c (do_test): Likewise.
11557 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11560 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11561 (munmap_chunk): Likewise.
11562 (mremap_chunk): Likewise.
11564 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11567 * stdlib/div.c (div): Remove obsolete code.
11568 * stdlib/ldiv.c (ldiv): Likewise.
11569 * stdlib/lldiv.c (lldiv): Likewise.
11571 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11574 * nss/nss_files/files-XXX.c (get_contents_ret): New
11576 (get_contents): New function.
11577 (internal_getent): Use it. Expand size of LINEBUFLEN.
11579 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11581 * configure.in: Moved to ...
11582 * configure.ac: ... here. Change reference to configure.in
11584 * sysdeps/arm/preconfigure.ac: ... here.
11585 configure.in to configure.ac.
11586 * sysdeps/gnu/configure.in: Moved to ...
11587 * sysdeps/gnu/configure.ac: ... here.
11588 * sysdeps/i386/configure.in: Moved to ...
11589 * sysdeps/i386/configure.ac: ... here.
11590 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11591 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11592 * sysdeps/mach/configure.in: Moved to ...
11593 * sysdeps/mach/configure.ac: ... here.
11594 * sysdeps/mach/hurd/configure.in: Moved to ...
11595 * sysdeps/mach/hurd/configure.ac: ... here.
11596 * sysdeps/powerpc/configure.in: Moved to ...
11597 * sysdeps/powerpc/configure.ac: ... here.
11598 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11599 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11600 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11601 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11602 * sysdeps/s390/s390-32/configure.in: Moved to ...
11603 * sysdeps/s390/s390-32/configure.ac: ... here.
11604 * sysdeps/s390/s390-64/configure.in: Moved to ...
11605 * sysdeps/s390/s390-64/configure.ac: ... here.
11606 * sysdeps/sh/configure.in: Moved to ...
11607 * sysdeps/sh/configure.ac: ... here.
11608 * sysdeps/sparc/configure.in: Moved to ...
11609 * sysdeps/sparc/configure.ac: ... here.
11610 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11611 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11612 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11613 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11614 * sysdeps/x86_64/configure.in: Moved to ...
11615 * sysdeps/x86_64/configure.ac: ... here.
11616 * sysdeps/x86_64/preconfigure.in: Moved to ...
11617 * sysdeps/x86_64/preconfigure.ac: ... here.
11618 * aclocal.m4: Change reference to configure.in to configure.ac.
11619 * config.h.in: Likewise.
11620 * manual/install.texi: Likewise.
11621 * manual/maint.texi: Likewise.
11622 * Makefile: Likewise.
11623 * malloc/Makefile: Likewise.
11624 * nscd/Makefile: Likewise.
11625 * Makeconfig: Change reference to configure.in and
11626 preconfigure.in to configure.ac and preconfigure.ac
11628 * INSTALL: Regenerated.
11629 * configure: Likewise.
11630 * sysdeps/gnu/configure: Likewise.
11631 * sysdeps/i386/configure: Likewise.
11632 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11633 * sysdeps/mach/configure: Likewise.
11634 * sysdeps/mach/hurd/configure: Likewise.
11635 * sysdeps/powerpc/configure: Likewise.
11636 * sysdeps/powerpc/powerpc32/configure: Likewise.
11637 * sysdeps/powerpc/powerpc64/configure: Likewise.
11638 * sysdeps/s390/s390-32/configure: Likewise.
11639 * sysdeps/s390/s390-64/configure: Likewise.
11640 * sysdeps/sh/configure: Likewise.
11641 * sysdeps/sparc/configure: Likewise.
11642 * sysdeps/unix/sysv/linux/configure: Likewise.
11643 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11644 * sysdeps/x86_64/configure: Likewise.
11645 * sysdeps/x86_64/preconfigure: Likewise.
11647 2013-10-29 Andreas Schwab <schwab@suse.de>
11649 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11651 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11653 * benchtests/pow-inputs: Add new inputs.
11655 * benchtests/exp-inputs: Add new inputs.
11657 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11658 conditional check for return value.
11659 (__cos32): Likewise.
11661 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11663 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11664 to provide a boost for large inputs with word alignment.
11665 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11666 implementation based on optimized PPC64 strcpy.
11667 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11668 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11669 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11670 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11672 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11675 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11677 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11680 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11681 * time/tst-strptime.c (day_tests): Add testcase.
11683 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11686 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11688 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11691 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11692 MAP_FAILED on error.
11694 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11697 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11698 heap for large requests.
11700 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11703 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11704 result if the result has no associated interface.
11705 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11706 interface for all 127.X.Y.Z addresses.
11708 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11710 * locale/iso-639.def: Add Ligurian (lij)
11712 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11715 * sunrpc/rpc_main.c: Document rpcgen -5.
11717 2013-10-19 Michael Stahl <mstahl@redhat.com>
11719 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11721 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11724 * posix/glob.c: Match only directories when trailing slash is present.
11725 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11726 (main): Add testcase.
11728 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11731 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11733 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11735 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11736 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11737 AUTH_DES and cindex for FIPS 140-2.
11738 (DES Encryption): Add cindex FIPS 46-3.
11740 * locale/locarchive.h (struct locarhandle): Add fname.
11741 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11742 if an optional argument was specified to --list-archive,
11744 * locale/programs/locarchive.c (show_archive_content): Take new
11745 argument fname and pass it via ah.fname to open_archive.
11746 * locale/programs/localedef.h: Update decl.
11747 (open_archive): If AH->fname is non-null, open that file
11748 rather than the default file name, and don't ignore ENOENT.
11749 (create_archive): Set AH.fname to NULL.
11750 (delete_locales_from_archive): Likewise.
11751 (add_locales_to_archive): Likewise.
11752 * locale/programs/locfile.c (write_all_categories): Likewise.
11754 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11755 Aldy Hernandez <aldyh@redhat.com>
11757 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11758 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11759 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11760 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11761 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11762 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11763 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11764 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11765 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11766 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11767 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11768 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11769 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11770 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11771 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11773 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11775 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11777 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11779 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11780 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11782 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11783 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11784 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11785 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11787 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11788 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11789 * sysdeps/powerpc/preconfigure: Likewise.
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11792 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11793 Replace contents of file by #include of <fenv_libc.h>.
11794 * sysdeps/powerpc/soft-fp/sfp-machine.h
11795 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11797 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11798 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11799 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11804 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11805 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11806 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11807 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11808 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11810 Allow copysignl PLT reference to be missing.
11812 2013-10-18 Richard Sandiford <richard@codesourcery.com>
11813 Joseph Myers <joseph@codesourcery.com
11816 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11818 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11820 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11822 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11823 * elf/tst-tls1.c: Likewise.
11824 * elf/tst-tls10.h: Likewise.
11825 * elf/tst-tls14.c: Likewise.
11826 * elf/tst-tls2.c: Likewise.
11827 * elf/tst-tls3.c: Likewise.
11828 * elf/tst-tls4.c: Likewise.
11829 * elf/tst-tls5.c: Likewise.
11830 * elf/tst-tls6.c: Likewise.
11831 * elf/tst-tls7.c: Likewise.
11832 * elf/tst-tls8.c: Likewise.
11833 * elf/tst-tls9.c: Likewise.
11834 * elf/tst-tlsmod1.c: Likewise.
11835 * elf/tst-tlsmod13.c: Likewise.
11836 * elf/tst-tlsmod13a.c: Likewise.
11837 * elf/tst-tlsmod14a.c: Likewise.
11838 * elf/tst-tlsmod16a.c: Likewise.
11839 * elf/tst-tlsmod16b.c: Likewise.
11840 * elf/tst-tlsmod2.c: Likewise.
11841 * elf/tst-tlsmod3.c: Likewise.
11842 * elf/tst-tlsmod4.c: Likewise.
11843 * elf/tst-tlsmod5.c: Likewise.
11844 * elf/tst-tlsmod6.c: Likewise.
11846 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
11849 * malloc/malloc.c: remove checks for statistics.
11851 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11854 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11855 * inet/tst-network.c: Add testcase.
11857 2013-10-17 Andreas Schwab <schwab@suse.de>
11860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11861 to determine canonical name.
11863 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11865 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11866 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11870 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11871 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11875 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11877 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11878 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11889 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11890 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11892 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11893 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11894 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11895 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11897 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11905 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11906 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11907 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11909 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11910 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11912 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11915 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11916 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11917 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11918 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11919 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11920 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11922 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11924 2013-10-17 Joseph Myers <joseph@codesourcery.com>
11927 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11928 make result into a quiet NaN.
11930 2013-10-16 Joseph Myers <joseph@codesourcery.com>
11932 * soft-fp/adddf3.c: Fix horizontal whitespace.
11933 * soft-fp/addsf3.c: Likewise.
11934 * soft-fp/addtf3.c: Likewise.
11935 * soft-fp/divdf3.c: Likewise.
11936 * soft-fp/divsf3.c: Likewise.
11937 * soft-fp/divtf3.c: Likewise.
11938 * soft-fp/double.h: Likewise.
11939 * soft-fp/eqdf2.c: Likewise.
11940 * soft-fp/eqsf2.c: Likewise.
11941 * soft-fp/eqtf2.c: Likewise.
11942 * soft-fp/extenddftf2.c: Likewise.
11943 * soft-fp/extended.h: Likewise.
11944 * soft-fp/extendsfdf2.c: Likewise.
11945 * soft-fp/extendsftf2.c: Likewise.
11946 * soft-fp/extendxftf2.c: Likewise.
11947 * soft-fp/fixdfdi.c: Likewise.
11948 * soft-fp/fixdfsi.c: Likewise.
11949 * soft-fp/fixdfti.c: Likewise.
11950 * soft-fp/fixsfdi.c: Likewise.
11951 * soft-fp/fixsfsi.c: Likewise.
11952 * soft-fp/fixsfti.c: Likewise.
11953 * soft-fp/fixtfdi.c: Likewise.
11954 * soft-fp/fixtfsi.c: Likewise.
11955 * soft-fp/fixtfti.c: Likewise.
11956 * soft-fp/fixunsdfdi.c: Likewise.
11957 * soft-fp/fixunsdfsi.c: Likewise.
11958 * soft-fp/fixunsdfti.c: Likewise.
11959 * soft-fp/fixunssfdi.c: Likewise.
11960 * soft-fp/fixunssfsi.c: Likewise.
11961 * soft-fp/fixunssfti.c: Likewise.
11962 * soft-fp/fixunstfdi.c: Likewise.
11963 * soft-fp/fixunstfsi.c: Likewise.
11964 * soft-fp/fixunstfti.c: Likewise.
11965 * soft-fp/floatdidf.c: Likewise.
11966 * soft-fp/floatdisf.c: Likewise.
11967 * soft-fp/floatditf.c: Likewise.
11968 * soft-fp/floatsidf.c: Likewise.
11969 * soft-fp/floatsisf.c: Likewise.
11970 * soft-fp/floatsitf.c: Likewise.
11971 * soft-fp/floattidf.c: Likewise.
11972 * soft-fp/floattisf.c: Likewise.
11973 * soft-fp/floattitf.c: Likewise.
11974 * soft-fp/floatundidf.c: Likewise.
11975 * soft-fp/floatundisf.c: Likewise.
11976 * soft-fp/floatunditf.c: Likewise.
11977 * soft-fp/floatunsidf.c: Likewise.
11978 * soft-fp/floatunsisf.c: Likewise.
11979 * soft-fp/floatunsitf.c: Likewise.
11980 * soft-fp/floatuntidf.c: Likewise.
11981 * soft-fp/floatuntisf.c: Likewise.
11982 * soft-fp/floatuntitf.c: Likewise.
11983 * soft-fp/fmadf4.c: Likewise.
11984 * soft-fp/fmasf4.c: Likewise.
11985 * soft-fp/fmatf4.c: Likewise.
11986 * soft-fp/gedf2.c: Likewise.
11987 * soft-fp/gesf2.c: Likewise.
11988 * soft-fp/getf2.c: Likewise.
11989 * soft-fp/ledf2.c: Likewise.
11990 * soft-fp/lesf2.c: Likewise.
11991 * soft-fp/letf2.c: Likewise.
11992 * soft-fp/muldf3.c: Likewise.
11993 * soft-fp/mulsf3.c: Likewise.
11994 * soft-fp/multf3.c: Likewise.
11995 * soft-fp/negdf2.c: Likewise.
11996 * soft-fp/negsf2.c: Likewise.
11997 * soft-fp/negtf2.c: Likewise.
11998 * soft-fp/op-1.h: Likewise.
11999 * soft-fp/op-2.h: Likewise.
12000 * soft-fp/op-4.h: Likewise.
12001 * soft-fp/op-8.h: Likewise.
12002 * soft-fp/op-common.h: Likewise.
12003 * soft-fp/quad.h: Likewise.
12004 * soft-fp/single.h: Likewise.
12005 * soft-fp/soft-fp.h: Likewise.
12006 * soft-fp/sqrtdf2.c: Likewise.
12007 * soft-fp/sqrtsf2.c: Likewise.
12008 * soft-fp/sqrttf2.c: Likewise.
12009 * soft-fp/subdf3.c: Likewise.
12010 * soft-fp/subsf3.c: Likewise.
12011 * soft-fp/subtf3.c: Likewise.
12012 * soft-fp/truncdfsf2.c: Likewise.
12013 * soft-fp/trunctfdf2.c: Likewise.
12014 * soft-fp/trunctfsf2.c: Likewise.
12015 * soft-fp/trunctfxf2.c: Likewise.
12016 * soft-fp/unorddf2.c: Likewise.
12017 * soft-fp/unordsf2.c: Likewise.
12018 * soft-fp/unordtf2.c: Likewise.
12020 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12022 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12023 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12025 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12027 * elf/dl-libc.c: Clear initfini list after freeing.
12029 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12031 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12032 * soft-fp/addsf3.c: Likewise.
12033 * soft-fp/addtf3.c: Likewise.
12034 * soft-fp/divdf3.c: Likewise.
12035 * soft-fp/divsf3.c: Likewise.
12036 * soft-fp/divtf3.c: Likewise.
12037 * soft-fp/double.h: Likewise.
12038 * soft-fp/eqdf2.c: Likewise.
12039 * soft-fp/eqsf2.c: Likewise.
12040 * soft-fp/eqtf2.c: Likewise.
12041 * soft-fp/extenddftf2.c: Likewise.
12042 * soft-fp/extended.h: Likewise.
12043 * soft-fp/extendsfdf2.c: Likewise.
12044 * soft-fp/extendsftf2.c: Likewise.
12045 * soft-fp/extendxftf2.c: Likewise.
12046 * soft-fp/fixdfdi.c: Likewise.
12047 * soft-fp/fixdfsi.c: Likewise.
12048 * soft-fp/fixdfti.c: Likewise.
12049 * soft-fp/fixsfdi.c: Likewise.
12050 * soft-fp/fixsfsi.c: Likewise.
12051 * soft-fp/fixsfti.c: Likewise.
12052 * soft-fp/fixtfdi.c: Likewise.
12053 * soft-fp/fixtfsi.c: Likewise.
12054 * soft-fp/fixtfti.c: Likewise.
12055 * soft-fp/fixunsdfdi.c: Likewise.
12056 * soft-fp/fixunsdfsi.c: Likewise.
12057 * soft-fp/fixunsdfti.c: Likewise.
12058 * soft-fp/fixunssfdi.c: Likewise.
12059 * soft-fp/fixunssfsi.c: Likewise.
12060 * soft-fp/fixunssfti.c: Likewise.
12061 * soft-fp/fixunstfdi.c: Likewise.
12062 * soft-fp/fixunstfsi.c: Likewise.
12063 * soft-fp/fixunstfti.c: Likewise.
12064 * soft-fp/floatdidf.c: Likewise.
12065 * soft-fp/floatdisf.c: Likewise.
12066 * soft-fp/floatditf.c: Likewise.
12067 * soft-fp/floatsidf.c: Likewise.
12068 * soft-fp/floatsisf.c: Likewise.
12069 * soft-fp/floatsitf.c: Likewise.
12070 * soft-fp/floattidf.c: Likewise.
12071 * soft-fp/floattisf.c: Likewise.
12072 * soft-fp/floattitf.c: Likewise.
12073 * soft-fp/floatundidf.c: Likewise.
12074 * soft-fp/floatundisf.c: Likewise.
12075 * soft-fp/floatunsidf.c: Likewise.
12076 * soft-fp/floatunsisf.c: Likewise.
12077 * soft-fp/floatuntidf.c: Likewise.
12078 * soft-fp/floatuntisf.c: Likewise.
12079 * soft-fp/floatuntitf.c: Likewise.
12080 * soft-fp/fmadf4.c: Likewise.
12081 * soft-fp/fmasf4.c: Likewise.
12082 * soft-fp/fmatf4.c: Likewise.
12083 * soft-fp/gedf2.c: Likewise.
12084 * soft-fp/gesf2.c: Likewise.
12085 * soft-fp/getf2.c: Likewise.
12086 * soft-fp/ledf2.c: Likewise.
12087 * soft-fp/lesf2.c: Likewise.
12088 * soft-fp/letf2.c: Likewise.
12089 * soft-fp/muldf3.c: Likewise.
12090 * soft-fp/mulsf3.c: Likewise.
12091 * soft-fp/multf3.c: Likewise.
12092 * soft-fp/negdf2.c: Likewise.
12093 * soft-fp/negsf2.c: Likewise.
12094 * soft-fp/negtf2.c: Likewise.
12095 * soft-fp/op-1.h: Likewise.
12096 * soft-fp/op-2.h: Likewise.
12097 * soft-fp/op-4.h: Likewise.
12098 * soft-fp/op-8.h: Likewise.
12099 * soft-fp/op-common.h: Likewise.
12100 * soft-fp/quad.h: Likewise.
12101 * soft-fp/single.h: Likewise.
12102 * soft-fp/soft-fp.h: Likewise.
12103 * soft-fp/sqrtdf2.c: Likewise.
12104 * soft-fp/sqrtsf2.c: Likewise.
12105 * soft-fp/sqrttf2.c: Likewise.
12106 * soft-fp/subdf3.c: Likewise.
12107 * soft-fp/subsf3.c: Likewise.
12108 * soft-fp/subtf3.c: Likewise.
12109 * soft-fp/truncdfsf2.c: Likewise.
12110 * soft-fp/trunctfdf2.c: Likewise.
12111 * soft-fp/trunctfsf2.c: Likewise.
12112 * soft-fp/trunctfxf2.c: Likewise.
12113 * soft-fp/unorddf2.c: Likewise.
12114 * soft-fp/unordsf2.c: Likewise.
12115 * soft-fp/unordtf2.c: Likewise.
12117 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12120 * misc/error.c (error_tail): Fix possible buffer overflow.
12122 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12125 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12128 2013-10-14 P. J. McDermott <pj@pehjota.net>
12131 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12132 testing pipefail option.
12134 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12136 * soft-fp/double.h: Indent preprocessor directives inside #if.
12137 * soft-fp/extended.h: Likewise.
12138 * soft-fp/op-2.h: Likewise.
12139 * soft-fp/op-4.h: Likewise.
12140 * soft-fp/op-common.h: Likewise.
12141 * soft-fp/quad.h: Likewise.
12142 * soft-fp/single.h: Likewise.
12143 * soft-fp/soft-fp.h: Likewise.
12145 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12147 * iconv/iconv_prog.c: Fix typos.
12148 * stdio-common/psiginfo-data.h: Likewise.
12150 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12153 * locale/setlocale.c: Fix typo.
12155 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12158 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12159 signaling NaN arguments.
12160 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12161 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12164 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12165 unordered operands.
12166 * soft-fp/gesf2.c (__gesf2): Likewise.
12167 * soft-fp/getf2.c (__getf2): Likewise.
12168 * soft-fp/ledf2.c (__ledf2): Likewise.
12169 * soft-fp/lesf2.c (__lesf2): Likewise.
12170 * soft-fp/letf2.c (__letf2): Likewise.
12172 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12173 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12174 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12175 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12176 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12177 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12178 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12179 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12180 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12181 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12182 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12183 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12184 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12185 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12186 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12187 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12188 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12189 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12190 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12191 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12192 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12193 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12194 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12195 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12196 * soft-fp/floattidf.c (__floattidf): Likewise.
12197 * soft-fp/floattisf.c (__floattisf): Likewise.
12198 * soft-fp/floattitf.c (__floattitf): Likewise.
12199 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12200 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12201 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12202 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12203 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12204 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12205 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12206 * soft-fp/gesf2.c (__gesf2): Likewise.
12207 * soft-fp/getf2.c (__getf2): Likewise.
12208 * soft-fp/ledf2.c (__ledf2): Likewise.
12209 * soft-fp/lesf2.c (__lesf2): Likewise.
12210 * soft-fp/letf2.c (__letf2): Likewise.
12212 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12213 Undefine and redefine.
12214 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12215 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12216 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12217 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12218 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12219 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12220 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12221 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12222 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12223 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12224 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12225 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12226 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12227 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12228 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12231 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12232 without decrementing exponent if mantissa >= that for the
12233 denominator, not >.
12234 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12235 denominator, not >. Decrement exponent in < case instead of
12236 incrementing in >= case.
12237 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12238 without decrementing exponent if mantissa >= that for the
12239 denominator, not >.
12241 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12242 computing saturated result for unsigned overflow.
12244 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12245 Jeff Law <law@redhat.com>
12247 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12248 (atan2Mp): Add systemtap probe marker.
12249 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12250 (__ieee754_log): Add systemtap probe marker.
12251 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12252 (atanMp): Add systemtap probe marker.
12253 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12254 (tanMp): Add systemtap probe marker.
12255 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12256 (__slowexp): Add systemtap probe marker.
12257 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12258 (__slowpow): Add systemtap probe marker.
12259 * manual/probes.texi: Document probes.
12261 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12264 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12266 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12268 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12269 written to buffer but not flushed.
12270 * libio/iofwrite_u.c: Likewise.
12271 * libio/iopadn.c: Return bytes returned even if EOF was
12273 * libio/iowpadn.c: Likewise.
12274 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12275 if _IO_padn does not write the whole buffer.
12276 [!COMPILE_WPRINTF] (PAD): Likewise.
12278 2013-10-10 David S. Miller <davem@davemloft.net>
12280 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12283 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12285 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12286 instead of FSF address.
12287 * soft-fp/fixdfti.c: Likewise.
12288 * soft-fp/fixsfti.c: Likewise.
12289 * soft-fp/fixtfti.c: Likewise.
12290 * soft-fp/fixunsdfti.c: Likewise.
12291 * soft-fp/fixunssfti.c: Likewise.
12292 * soft-fp/fixunstfti.c: Likewise.
12293 * soft-fp/floattidf.c: Likewise.
12294 * soft-fp/floattisf.c: Likewise.
12295 * soft-fp/floattitf.c: Likewise.
12296 * soft-fp/floatuntidf.c: Likewise.
12297 * soft-fp/floatuntisf.c: Likewise.
12298 * soft-fp/floatuntitf.c: Likewise.
12299 * soft-fp/trunctfxf2.c: Likewise.
12301 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12302 * soft-fp/fixdfti.c: Likewise.
12303 * soft-fp/fixsfti.c: Likewise.
12304 * soft-fp/fixtfti.c: Likewise.
12305 * soft-fp/fixunsdfti.c: Likewise.
12306 * soft-fp/fixunssfti.c: Likewise.
12307 * soft-fp/fixunstfti.c: Likewise.
12308 * soft-fp/floattidf.c: Likewise.
12309 * soft-fp/floattisf.c: Likewise.
12310 * soft-fp/floattitf.c: Likewise.
12311 * soft-fp/floatuntidf.c: Likewise.
12312 * soft-fp/floatuntisf.c: Likewise.
12313 * soft-fp/floatuntitf.c: Likewise.
12314 * soft-fp/trunctfxf2.c: Likewise.
12316 2013-10-10 David S. Miller <davem@davemloft.net>
12318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12320 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12322 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12323 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12324 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12325 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12326 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12327 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12328 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12330 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12331 for NaNs before doing comparisons on argument.
12332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12335 2013-10-10 Will Newton <will.newton@linaro.org>
12337 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12338 passed to _int_memalign does not overflow.
12340 2013-10-10 Torvald Riegel <triegel@redhat.com>
12342 * scripts/bench.pl: Add include-sources directive.
12343 * benchtests/README: Update documentation.
12345 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12347 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12348 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12349 instead of FP_INIT_ROUNDMODE.
12350 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12351 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12354 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12355 copy class of input value.
12356 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12357 not handle exceptions.
12358 * soft-fp/negsf2.c (__negsf2): Likewise.
12359 * soft-fp/negtf2.c (__negtf2): Likewise.
12360 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12362 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12364 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12365 semicolon. From Linux kernel.
12367 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12369 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12371 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12374 * manual/socket.texi: Added statement about buffer
12375 for gethostbyname2_r.
12377 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12379 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12380 Use .p2align directive instead, throughout.
12381 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12382 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12383 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12384 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12386 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12387 * sysdeps/x86_64/strchr.S: Likewise.
12388 * sysdeps/x86_64/strrchr.S: Likewise.
12390 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12392 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12394 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12396 * sysdeps/generic/math_private.h (__mpsin1): Remove
12398 (__mpcos1): Likewise.
12399 (__mpsin): New argument __range_reduce.
12400 (__mpcos): Likewise.
12401 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12402 (slow): Use __mpsin and __mpcos.
12406 (sloww1): Likewise.
12407 (sloww2): Likewise.
12408 (bsloww): Likewise.
12409 (bsloww1): Likewise.
12410 (bsloww2): Likewise.
12411 (cslow2): Likewise.
12412 (csloww): Likewise.
12413 (csloww1): Likewise.
12414 (csloww2): Likewise.
12415 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12416 range_reduce. Merge in __mpsin1.
12417 (__mpcos): Likewise.
12418 (__mpsin1): Remove.
12419 (__mpcos1): Likewise.
12421 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12423 * locale/loadlocale.c (_nl_intern_locale_data): Use
12425 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12426 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12427 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12428 obstack data is appropriately aligned.
12429 (obstack_int32_grow_fast): Likewise.
12430 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12431 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12432 (add_locale_uint32_array): Likewise.
12434 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12436 * benchtests/Makefile: Remove ARGLIST and RET variables.
12437 ($(objpfx)bench-%.c): Pass only function name to the script.
12438 * benchtests/README: Update documentation.
12439 * benchtests/acos-inputs: Add new directives.
12440 * benchtests/acosh-inputs: Likewise.
12441 * benchtests/asin-inputs: Likewise.
12442 * benchtests/asinh-inputs: Likewise.
12443 * benchtests/atan-inputs: Likewise.
12444 * benchtests/atanh-inputs: Likewise.
12445 * benchtests/cos-inputs: Likewise.
12446 * benchtests/cosh-inputs: Likewise.
12447 * benchtests/exp-inputs: Likewise.
12448 * benchtests/log-inputs: Likewise.
12449 * benchtests/pow-inputs: Likewise.
12450 * benchtests/rint-inputs: Likewise.
12451 * benchtests/sin-inputs: Likewise.
12452 * benchtests/sinh-inputs: Likewise.
12453 * benchtests/tan-inputs: Likewise.
12454 * benchtests/tanh-inputs: Likewise.
12455 * scripts/bench.pl: Add support for new directives.
12457 2013-10-07 Alan Modra <amodra@gmail.com>
12459 * README: Fix careless merge.
12461 2013-10-05 Alan Modra <amodra@gmail.com>
12463 * NEWS: Mention powerpc64le support and bugs fixed.
12464 * README: Both big-endian and little-endian powerpc64 supported.
12466 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12468 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12469 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12470 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12471 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12473 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12475 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12478 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12480 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12481 Move -mhard-float appending from
12482 ports/sysdeps/powerpc/powerpc32/Makefile.
12483 [$(with-fp) = yes] (ASFLAGS): Likewise.
12484 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12485 * sysdeps/powerpc/nofpu: Move directory from
12486 ports/sysdeps/powerpc/nofpu.
12487 * sysdeps/powerpc/soft-fp: Move directory from
12488 ports/sysdeps/powerpc/soft-fp.
12489 * sysdeps/powerpc/powerpc32/405: Move directory from
12490 ports/sysdeps/powerpc/powerpc32/405.
12491 * sysdeps/powerpc/powerpc32/440: Move directory from
12492 ports/sysdeps/powerpc/powerpc32/440.
12493 * sysdeps/powerpc/powerpc32/464: Move directory from
12494 ports/sysdeps/powerpc/powerpc32/464.
12495 * sysdeps/powerpc/powerpc32/476: Move directory from
12496 ports/sysdeps/powerpc/powerpc32/476.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12498 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12500 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12502 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12504 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12506 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12507 * README: Update for powerpc-*-linux-gnu software floating point
12510 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12511 case to powerpc/powerpc32*.
12512 * sysdeps/unix/sysv/linux/configure: Regenerated.
12514 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12515 (_FPU_MASK_OM): Define as 0x04.
12516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12524 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12527 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12530 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12531 and setcontext_e500.
12533 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12535 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12537 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12539 * manual/threads.texi (Default Thread Attributes): Fix typo.
12541 2013-10-04 Will Newton <will.newton@linaro.org>
12543 * malloc/Makefile: Add tst-memalign.
12544 * malloc/tst-memalign.c: New file.
12546 * malloc/tst-posix_memalign.c: Add comments.
12547 (do_test): Add comments and call free on all potentially
12548 allocated pointers. Add space after cast.
12550 * malloc/tst-pvalloc.c: Add comments.
12551 (do_test): Add comments and call free on all potentially
12552 allocated pointers. Remove duplicate check for NULL pointer.
12553 Add space after cast.
12555 * malloc/tst-valloc.c: Add comments.
12556 (do_test): Add comments and call free on all potentially
12557 allocated pointers. Remove duplicate check for NULL pointer.
12558 Add space after cast.
12560 2013-10-04 Alan Modra <amodra@gmail.com>
12562 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12563 Use stdint types in rather than __attribute__((mode())).
12564 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12566 2013-10-04 Alan Modra <amodra@gmail.com>
12568 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12569 Correct handling of unaligned relocs for little-endian.
12570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12572 2013-10-04 Alan Modra <amodra@gmail.com>
12574 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12575 * configure: Regenerate.
12576 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12577 * shlib-versions: Likewise.
12579 2013-10-04 Alan Modra <amodra@gmail.com>
12581 * string/tester.c (test_memrchr): Increment reported test cycle.
12583 2013-10-04 Alan Modra <amodra@gmail.com>
12585 * string/test-memcpy.c (do_one_test): When reporting errors, print
12586 string address and don't overrun end of string.
12588 2013-10-04 Alan Modra <amodra@gmail.com>
12590 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12591 insrdi. Make better use of reg selection to speed exit slightly.
12592 Schedule entry path a little better. Remove useless "are we done"
12593 checks on entry to main loop. Handle wrapping around zero address.
12594 Correct main loop count. Handle single left-over word from main
12595 loop inline rather than by using loop_small. Remove extra word
12596 case in loop_small caused by wrong loop count. Add little-endian
12598 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12599 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12601 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12602 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12603 support. Avoid rlwimi.
12604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12606 2013-10-04 Alan Modra <amodra@gmail.com>
12608 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12609 insrdi. Formatting.
12610 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12611 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12612 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12613 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12614 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12615 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12617 2013-10-04 Alan Modra <amodra@gmail.com>
12619 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12620 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12621 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12622 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12623 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12624 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12625 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12626 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12628 use of regs. Use power7 mtocrf. Tidy function tails.
12630 2013-10-04 Alan Modra <amodra@gmail.com>
12632 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12633 Formatting. Consistently use rXXX register defines or rN defines.
12634 Use early exit labels that avoid restoring unused non-volatile regs.
12635 Make cr field use more consistent with rWORDn compares. Rename
12636 regs used as shift registers for unaligned loop, using rN defines
12637 for short lifetime/multiple use regs.
12638 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12639 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12640 addi 1,1,64 to pop stack frame. Simplify return value code.
12641 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12643 2013-10-04 Alan Modra <amodra@gmail.com>
12645 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12646 support. Correct typos, formatting. Optimize tail. Use insrdi
12647 rather than rlwimi.
12648 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12649 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12650 little-endian support. Correct typos.
12651 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12652 rather than rlwimi.
12653 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12654 in loop and entry code to keep "and." results.
12655 (strchr): Add little-endian support. Comment. Move cntlzd
12657 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12659 2013-10-04 Alan Modra <amodra@gmail.com>
12661 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12662 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12663 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12664 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12666 2013-10-04 Alan Modra <amodra@gmail.com>
12668 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12669 (rTMP): Define as r11.
12670 (strcmp): Add little-endian support. Optimise tail.
12671 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12672 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12673 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12674 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12679 2013-10-04 Alan Modra <amodra@gmail.com>
12681 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12682 little-endian support. Remove unnecessary "are we done" tests.
12683 Handle "s" wrapping around zero and extremely large "size".
12684 Correct main loop count. Handle single left-over word from main
12685 loop inline rather than by using small_loop. Correct comments.
12686 Delete "zero" tail, use "end_max" instead.
12687 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12689 2013-10-04 Alan Modra <amodra@gmail.com>
12691 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12692 support. Don't branch over align.
12693 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12694 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12695 support. Rearrange tmp reg use to suit. Comment.
12696 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12698 2013-10-04 Alan Modra <amodra@gmail.com>
12700 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12702 2013-10-04 Alan Modra <amodra@gmail.com>
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12705 conditional form of branch and link when obtaining pc.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12708 2013-10-04 Alan Modra <amodra@gmail.com>
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12715 2013-10-04 Alan Modra <amodra@gmail.com>
12717 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12718 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12719 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12720 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12721 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12722 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12723 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12724 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12725 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12726 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12728 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12729 Alistair Popple <alistair@ozlabs.au.ibm.com>
12730 Alan Modra <amodra@gmail.com>
12733 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12734 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12735 _dl_hwcap access for little-endian.
12736 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12737 destroy vmx regs when saving unaligned.
12738 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12739 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12740 destroy vmx regs when saving unaligned.
12742 2013-10-04 Alan Modra <amodra@gmail.com>
12744 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12745 Don't use a union to pack hi/low value.
12747 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12749 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12751 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12753 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12754 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12755 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12757 2013-10-04 Alan Modra <amodra@gmail.com>
12759 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12760 constants to usual value for .cst8 section, and remove redundant
12762 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12763 constant for 0x1p52. Load little-endian words of double from
12764 correct stack offsets.
12766 2013-10-04 Alan Modra <amodra@gmail.com>
12768 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12769 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12770 words of double from correct stack offsets.
12771 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12772 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12773 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12774 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12775 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12777 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12778 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12779 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12781 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12783 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12784 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12785 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12786 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12787 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12789 2013-10-04 Alan Modra <amodra@gmail.com>
12791 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12792 64-bit int/double union.
12793 (_FPU_SETCW): Likewise.
12794 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12795 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12797 2013-10-04 Alan Modra <amodra@gmail.com>
12799 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12800 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12802 2013-10-04 Alan Modra <amodra@gmail.com>
12804 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12805 use vector int constants.
12806 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12808 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12810 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12811 array with long long.
12812 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12813 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12814 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12815 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12816 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12817 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12818 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12819 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12820 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12821 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12822 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12823 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12824 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12826 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12828 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12829 (__signbit): Likewise. Correct for little-endian.
12830 (__signbitl): Call __signbit.
12831 (lrint): Correct for little-endian.
12832 (lrintf): Call lrint.
12834 2013-10-04 Alan Modra <amodra@gmail.com>
12836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12837 union 32-bit int array member with 64-bit int array.
12838 (t515, tm256): Double rather than long double.
12839 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12841 2013-10-04 Alan Modra <amodra@gmail.com>
12843 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12845 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12847 version of math_ldbl.h.
12849 2013-10-04 Alan Modra <amodra@gmail.com>
12851 [BZ #15734], [BZ #15735]
12852 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12853 all uses of ieee875 long double macros and unions. Simplify test
12854 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12855 ldbl_extract_mantissa value for ix,iy exponents. Properly
12856 normalize after ldbl_extract_mantissa, and don't add hidden bit
12857 already handled. Don't treat low word of ieee854 mantissa like
12858 low word of IBM long double and mask off bit when testing for
12860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12861 all uses of ieee875 long double macros and unions. Simplify tests
12862 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12863 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12864 two1022, instead use their values. Recognise that tests for large
12865 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12866 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12867 Rewrite all uses of ieee875 long double macros and unions. Simplify
12868 test for 0.0L and nan. Correct negation.
12869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12870 ieee875 long double macros and unions. Correct output for large
12871 magnitude x. Correct absolute value calculation.
12872 (__erfcl): Likewise.
12873 * math/libm-test.inc: Add tests for errors discovered in IBM long
12874 double versions of fmodl, remainderl, erfl and erfcl.
12876 2013-10-04 Alan Modra <amodra@gmail.com>
12878 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12879 all uses of ieee854 long double macros and unions. Simplify tests
12880 for long doubles that are fully specified by the high double.
12881 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12883 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12884 Remove dead code too.
12885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12886 (__ieee754_ynl): Likewise.
12887 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12888 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12890 Remove dead code too.
12891 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12892 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12893 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12894 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12896 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12898 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12899 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12900 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12901 Comment on variable precision.
12902 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12903 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12905 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12908 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12909 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12911 2013-10-04 Alan Modra <amodra@gmail.com>
12913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12914 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12915 all uses of ieee854 long double macros and unions.
12916 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12917 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12918 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12919 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12920 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12923 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12925 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12926 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12927 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12928 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12929 Simplify sign and nan test too.
12930 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12932 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12933 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12935 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12936 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12938 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12939 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12940 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12941 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12942 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12945 2013-10-04 Alan Modra <amodra@gmail.com>
12947 * stdio-common/printf_size.c (__printf_size): Don't use
12948 union ieee854_long_double in fpnum union.
12949 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12950 signbit macro to retrieve sign from long double.
12951 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12952 retrieve sign from long double.
12953 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12954 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12955 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12956 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12957 * math/test-misc.c (main): Don't use union ieee854_long_double.
12959 2013-10-04 Alan Modra <amodra@gmail.com>
12962 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12963 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12964 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12965 calculation. Remove unnecessary test for denormal exponent.
12966 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12967 Correct handling of denormals. Avoid undefined shift behaviour.
12968 Correct normalisation of low mantissa when low double is denormal.
12969 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12970 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12971 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12972 Correct normalisation of low mantissa. Test for overflow of high
12973 mantissa and normalise.
12974 (ldbl_nearbyint): Use more readable constant for two52.
12975 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12976 (__mpn_construct_long_double): Fix test for overflow of high
12977 mantissa and correct normalisation. Avoid undefined shift.
12979 2013-10-04 Alan Modra <amodra@gmail.com>
12981 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12982 (union ibm_extended_long_double): Define as an array of ieee754_double.
12983 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12984 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12985 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12986 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12990 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12993 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12995 2013-10-03 Joseph Myers <joseph@codesourcery.com>
12997 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12998 page size instead of calling getpagesize.
13000 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13001 (LOCFILE_ALIGN_MASK): Likewise.
13002 (LOCFILE_ALIGN_UP): Likewise.
13003 (LOCFILE_ALIGNED_P): Likewise.
13004 * locale/programs/ld-collate.c (collate_output): Use the new
13005 macros instead of __alignof__ (int32_t).
13006 * locale/weight.h (findidx): Likewise.
13008 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13011 * manual/string.texi: Fix strncat and wcsncat.
13013 2013-10-03 Brooks Moses <bmoses@google.com>
13016 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13017 * Makerules: ...here, and adjust associated comments.
13019 2013-10-02 Will Newton <will.newton@linaro.org>
13021 * malloc/Makefile: Add tst-pvalloc.
13022 * malloc/tst-pvalloc.c: New file.
13024 2013-10-02 Will Newton <will.newton@linaro.org>
13026 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13027 improve test coverage.
13029 2013-10-02 Will Newton <will.newton@linaro.org>
13031 * malloc/Makefile: Add tst-posix_memalign.
13032 * malloc/tst-posix_memalign.c: New file.
13034 2013-10-01 Eric Blake <eblake@redhat.com>
13036 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13037 Use __THROWNL rather than __THROW on static functions.
13039 2013-09-30 Petr Machata <pmachata@redhat.com>
13041 * elf/elf.h (R_AARCH64_ABS16): New macro.
13042 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13043 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13044 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13045 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13046 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13047 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13048 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13049 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13050 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13051 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13052 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13053 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13054 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13055 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13056 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13057 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13058 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13059 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13060 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13061 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13062 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13063 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13064 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13065 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13066 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13067 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13068 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13069 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13070 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13071 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13072 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13073 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13074 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13075 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13076 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13077 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13078 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13079 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13080 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13081 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13082 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13083 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13084 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13085 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13086 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13087 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13088 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13089 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13090 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13091 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13092 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13093 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13094 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13095 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13096 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13097 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13098 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13099 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13100 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13101 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13102 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13103 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13104 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13105 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13106 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13107 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13108 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13109 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13110 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13111 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13112 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13113 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13114 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13115 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13116 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13117 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13118 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13119 (R_AARCH64_TLSDESC_LDR): Likewise.
13120 (R_AARCH64_TLSDESC_ADD): Likewise.
13121 (R_AARCH64_TLSDESC_CALL): Likewise.
13123 2013-09-30 Andreas Schwab <schwab@suse.de>
13126 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13127 the nss database lookup.
13128 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13131 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13133 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13135 2013-09-28 P. J. McDermott <pj@pehjota.net>
13137 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13138 ${Bash-specific parameter/pattern/string} parameter expansion.
13139 * sysdeps/unix/make-syscalls.sh: Likewise.
13141 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13143 * sysdeps/sh/stackguard-macros.h: New file.
13145 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13148 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13149 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13150 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13151 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13152 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13154 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13156 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13157 Fix thread ID register.
13159 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13161 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13162 [POSIX || UNIX98]: Require rather than permitting all symbols from
13164 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13165 element of struct sched_param.
13166 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13167 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13168 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13169 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13172 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13174 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13175 argument calculation.
13177 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13179 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13181 [POSIX] (pthread_attr_t): Do not require type.
13182 [POSIX] (pthread_cond_t): Likewise.
13183 [POSIX] (pthread_condattr_t): Likewise.
13184 [POSIX] (pthread_key_t): Likewise.
13185 [POSIX] (pthread_mutex_t): Likewise.
13186 [POSIX] (pthread_mutexattr_t): Likewise.
13187 [POSIX] (pthread_once_t): Likewise.
13188 [POSIX] (pthread_t): Likewise.
13189 [POSIX-based standards] (pthread_atfork): Expect function.
13191 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13192 Richard Sandiford <richard@codesourcery.com>
13194 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13195 (swap_endianness_p): New extern variable.
13196 (set_big_endian): New inline function.
13197 (maybe_swap_uint32): Likewise.
13198 (maybe_swap_uint32_array): Likewise.
13199 (maybe_swap_uint32_obstack): Likewise.
13200 * locale/programs/locfile.c: Include <stdbool.h>.
13201 (swap_endianness_p): New variable.
13202 (add_locale_uint32): Call maybe_swap_uint32.
13203 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13204 (write_locale_data): Call maybe_swap_uint32_array.
13205 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13207 (obstack_int32_grow_fast): Likewise.
13208 (output_weightwc): Call maybe_swap_uint32_obstack.
13209 (collate_output): Likewise.
13210 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13211 (OPT_LITTLE_ENDIAN): Likewise.
13212 (options): Add --little-endian and --big-endian options.
13213 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13214 * locale/programs/locarchive.c: Include "locfile.h".
13218 (create_archive): Use the new macros to access fields of
13219 structures directly mapped from or written to locale archives.
13220 (oldlocrecentcmp): Likewise.
13221 (enlarge_archive): Likewise.
13222 (insert_name): Likewise.
13223 (add_alias): Likewise.
13224 (add_locale): Likewise.
13225 (delete_locales_from_archive): Likewise.
13226 (show_archive_content): Likewise.
13227 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13230 2013-09-24 Roland McGrath <roland@hack.frob.com>
13232 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13233 http://www.gnu.org/doc/freemanuals.texi.
13234 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13236 2013-09-24 Will Newton <will.newton@linaro.org>
13238 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13241 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13243 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13246 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13248 * manual/threads.texi (POSIX Threads): Fix a typo.
13250 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13253 * string/tst-strcoll-overflow.c: New test case.
13254 * string/Makefile (xtests): Add tst-strcoll-overflow.
13255 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13256 cache if string sizes may cause integer overflow.
13259 * string/strcoll_l.c (coll_seq): New members rule, idx,
13260 save_idx and back_us.
13261 (get_next_seq_nocache): New function.
13262 (do_compare_nocache): New function.
13263 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13266 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13269 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13270 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13271 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13274 * elf/Makefile (tests): Add tst-ptrguard1.
13275 (tests-static): Add tst-ptrguard1-static.
13276 (tst-ptrguard1-ARGS): Define.
13277 (tst-ptrguard1-static-ARGS): Define.
13278 * elf/tst-ptrguard1.c: New file.
13279 * elf/tst-ptrguard1-static.c: New file.
13280 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13281 * sysdeps/i386/stackguard-macros.h: Likewise.
13282 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13283 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13284 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13285 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13286 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13287 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13289 2013-09-23 Hector Marco <hecmargi@upv.es>
13290 Ismael Ripoll <iripoll@disca.upv.es>
13291 Carlos O'Donell <carlos@redhat.com>
13294 * sysdeps/generic/stackguard-macros.h: Define
13295 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13296 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13297 Define __pointer_chk_guard_local.
13298 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13299 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13301 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13304 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13306 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13308 * include/string.h (__ffs): Declare as hidden.
13309 * string/ffs.c (__ffs): Define as hidden.
13310 * sysdeps/i386/ffs.c (__ffs): Likewise.
13311 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13312 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13313 * sysdeps/s390/ffs.c (__ffs): Likewise.
13314 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13316 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13318 * NEWS: Mention malloc probes.
13320 * malloc/arena.c (new_heap): New memory_heap_new probe.
13321 (grow_heap): New memory_heap_more probe.
13322 (shrink_heap): New memory_heap_less probe.
13323 (heap_trim): New memory_heap_free probe.
13324 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13325 (systrim): New memory_sbrk_less probe.
13326 * manual/probes.texi: Document them.
13328 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13329 * manual/probes.texi: Document it.
13331 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13332 (__libc_realloc): Add memory_realloc_retry probe.
13333 (__libc_memalign): Add memory_memalign_retry probe.
13334 (__libc_valloc): Add memory_valloc_retry probe.
13335 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13336 (__libc_calloc): Add memory_calloc_retry probe.
13337 * manual/probes.texi: Document them.
13339 * malloc/arena.c (get_free_list): Add probe
13340 memory_arena_reuse_free_list.
13341 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13342 and memory_arena_reuse.
13343 (arena_get2) [!PER_THREAD]: Likewise.
13344 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13345 memory_arena_reuse_realloc.
13346 * manual/probes.texi: Document them.
13348 * malloc/malloc.c (__libc_free): Add
13349 memory_mallopt_free_dyn_thresholds probe.
13350 (__libc_mallopt): Add multiple memory_mallopt probes.
13351 * manual/probes.texi: Document them.
13353 * malloc/malloc.c: Include stap-probe.h.
13354 (__libc_mallopt): Add memory_mallopt probe.
13355 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13356 * manual/probes.texi: New.
13357 * manual/Makefile (chapters): Add probes.
13358 * manual/threads.texi: Set next node.
13360 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13362 [BZ #15963, #13985]
13363 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13364 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13365 Add `Chinese' to `nan' entry name.
13367 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13369 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13370 (POLYNOMIAL): Likewise.
13371 (TAYLOR_SINCOS): Likewise.
13372 (TAYLOR_SLOW): Likewise.
13373 (__sin): Use TAYLOR_SINCOS.
13375 (slow): Use TAYLOR_SLOW.
13377 (bsloww): Likewise.
13378 (csloww): Likewise.
13380 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13382 * stdlib/strtod_l.c: Fix buffer overrun.
13384 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13386 * benchtests/Makefile (bench): Add sincos.
13387 * benchtests/bench-sincos.c: New file.
13389 * math/libm-test.inc (cos_test_data): New test inputs.
13390 (sin_test_data): Likewise.
13392 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13398 (sloww1): Likewise.
13399 (sloww2): Likewise.
13400 (bsloww1): Likewise.
13401 (bsloww2): Likewise.
13402 (cslow2): Likewise.
13403 (csloww1): Likewise.
13404 (csloww2): Likewise.
13406 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13411 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13415 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13417 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13418 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13419 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13420 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13421 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13422 * elf/cache.c (print_entry): Handle the new cache flags.
13424 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13425 Aldy Hernandez <aldyh@redhat.com>
13427 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13428 Change condition to [_SOFT_FLOAT].
13429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13441 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13444 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13447 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13449 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13450 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13451 (__longjmp): Use LOAD_GP to load saved GPRs.
13452 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13453 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13454 (__sigsetjmp): Use SAVE_GP to save GPRs.
13456 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13457 Do not append -msoft-float.
13458 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13460 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13462 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13464 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13467 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13468 (_FPU_GETCW): Use initial "__" on variable and field names but not
13469 on macro parameter name.
13470 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13471 parentheses around reference to macro parameter.
13473 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13475 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13477 (ctype_startup): Use uint32_t in cast and sizeof for
13480 2013-09-11 Jia Liu <proljc@gmail.com>
13482 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13484 [__FreeBSD__]: Likewise.
13486 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13488 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13489 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13490 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13491 (strchr): Remove __strchr_sse42 ifunc selection.
13492 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13493 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13495 2013-09-11 Will Newton <will.newton@linaro.org>
13497 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13498 parameter to RES. Remove hardcoded 1000 value.
13499 * benchtests/bench-skeleton.c (main): Pass RES parameter
13500 to TIMING_INIT and multiply result by 1000.
13502 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13506 2013-09-11 Andreas Schwab <schwab@suse.de>
13508 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13510 (O_TMPFILE) [__USE_GNU]: Define.
13511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13514 2013-09-11 Will Newton <will.newton@linaro.org>
13517 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13520 2013-09-11 Will Newton <will.newton@linaro.org>
13523 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13526 2013-09-11 Will Newton <will.newton@linaro.org>
13529 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13532 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13534 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13535 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13540 2013-09-10 Allan McRae <allan@archlinux.org>
13543 * manual/arith.texi (Parsing of Floats): Clarify
13547 * manual/install.texi (Running make install): Mention
13549 * INSTALL: Regenerated.
13551 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13553 * csu/init-first.c (_init): Remove the !SHARED condition around
13554 FPU control word initialization.
13555 * elf/dl-support.c (_dl_fpu_control): New variable.
13556 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13557 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13558 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13559 * math/test-fpucw-static.c: New file.
13560 * math/test-fpucw-ieee.c: New file.
13561 * math/test-fpucw-ieee-static.c: New file.
13562 * math/Makefile (tests): Add `test-fpucw-ieee' and
13564 (tests-static): New variable.
13565 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13567 [($(build-shared),yes)]
13568 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13570 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13573 2013-09-09 Allan McRae <allan@archlinux.org>
13576 * manual/string.texi (Collation Functions): Fix typo in
13578 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13581 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13584 * libio/memstream.c (open_memstream): Fix memory leak.
13585 * libio/wmemstream.c (open_wmemstream): Likewise.
13588 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13590 2013-09-09 Will Newton <will.newton@linaro.org>
13592 * malloc/Makefile: Add tst-realloc to tests.
13593 * malloc/tst-realloc.c: New file.
13595 2013-09-09 Allan McRae <allan@archlinux.org>
13598 * COPYING: Update from GNU website to fix FSF address.
13599 * COPYING.LIB: Likewise.
13601 2013-09-06 David S. Miller <davem@davemloft.net>
13603 * po/zh_TW.po: Update Chinese (traditional) translation from
13604 translation project.
13606 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13607 Joseph Myers <joseph@codesourcery.com>
13609 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13611 (obstack_chunk_alloc): New macro.
13612 (obstack_chunk_free): Likewise.
13613 (record_offset): New function.
13614 (init_locale_data): Likewise.
13615 (align_locale_data): Likewise.
13616 (add_locale_empty): Likewise.
13617 (add_locale_raw_data): Likewise.
13618 (add_locale_raw_obstack): Likewise.
13619 (add_locale_string): Likewise.
13620 (add_locale_wstring): Likewise.
13621 (add_locale_uint32): Likewise.
13622 (add_locale_uint32_array): Likewise.
13623 (add_locale_char): Likewise.
13624 (start_locale_structure): Likewise.
13625 (end_locale_structure): Likewise.
13626 (start_locale_prelude): Likewise.
13627 (end_locale_prelude): Likewise.
13628 (write_locale_data): Take locale_file structure rather than an
13630 * locale/programs/locfile.h: Include "obstack.h".
13631 (struct locale_file): Change to store locale file contents instead
13633 (init_locale_data): New prototype.
13634 (align_locale_data): Likewise.
13635 (add_locale_empty): Likewise.
13636 (add_locale_raw_data): Likewise.
13637 (add_locale_raw_obstack): Likewise.
13638 (add_locale_string): Likewise.
13639 (add_locale_wstring): Likewise.
13640 (add_locale_uint32): Likewise.
13641 (add_locale_uint32_array): Likewise.
13642 (add_locale_char): Likewise.
13643 (start_locale_structure): Likewise.
13644 (end_locale_structure): Likewise.
13645 (start_locale_prelude): Likewise.
13646 (end_locale_prelude): Likewise.
13647 (write_locale_data): Update prototype.
13648 * locale/programs/3level.h (struct TABLE): Remove result field.
13649 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13650 Use new locale_file interface.
13651 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13652 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13653 * locale/programs/ld-address.c (address_output): Use new
13654 locale_file interface.
13655 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13657 (collate_finish): Don't call collseq_table_finalize.
13658 (collate_output): Use new locale_file interface.
13659 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13661 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13662 (TABLE): Move defines earlier in file.
13663 (ELEMENT): Likewise.
13664 (DEFAULT): Likewise.
13665 (wctrans_table_add): Move macro and inline function earlier in
13667 (struct wctype_table): Move type earlier in file.
13668 (add_locale_wctype_table): New static prototype.
13669 (struct locale_ctype_t): Use logical types instead of struct iovec
13670 pointers for members.
13671 (ctype_output): Use new locale_file interface.
13672 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13673 new locale_file interface.
13674 (allocate_arrays): Update for use of new locale_file interface.
13675 * locale/programs/ld-identification.c (identification_output): Use
13676 new locale_file interface.
13677 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13678 * locale/programs/ld-messages.c (messages_output): Likewise.
13679 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13680 * locale/programs/ld-name.c (name_output): Likewise.
13681 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13682 * locale/programs/ld-paper.c (paper_output): Likewise.
13683 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13684 * locale/programs/ld-time.c (time_output): Likewise.
13686 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13688 * benchtests/Makefile: Add memrchr benchmark.
13689 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13690 benchmark as memrchr.
13691 * benchtests/bench-memrchr-ifunc.c: New file.
13692 * benchtests/bench-memrchr.c: New file.
13694 2013-09-06 Will Newton <will.newton@linaro.org>
13696 * benchtests/Makefile (string-bench): Add memcpy.
13698 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13699 Cong Wang <amwang@redhat.com>
13702 * sysdeps/unix/sysv/linux/bits/in.h
13703 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13704 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13705 before __USE_KERNEL_IPV6_DEFS uses.
13706 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13708 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13709 sockaddr_in6, or ipv6_mreq.
13711 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13713 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13714 memory access for final bytes in some large inputs.
13715 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13717 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13719 * string/test-memrchr.c: New file.
13720 * string/test-memrchr-ifunc.c: New file.
13721 * string/Makefile: Add new memrchr testcase.
13723 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13725 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13726 fanotify_init returns EPERM.
13728 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13730 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13732 (top level): Treat second token from macro or constant entries for
13733 allowed headers as allowed.
13734 * include/complex.h: Condition internal declarations on
13736 * include/fenv.h: Condition include of <stdbool.h> and internal
13737 declarations on [!_ISOMAC].
13739 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13742 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13744 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13746 * configure.in (--enable-versioning): Remove configure option.
13747 (libc_cv_asm_symver_directive): Remove configure test.
13748 (libc_cv_ld_version_script_option): Likewise.
13749 (VERSIONING): Remove variable and AC_SUBST.
13750 (DO_VERSIONING): Remove AC_DEFINE.
13751 * configure: Regenerated.
13752 * config.h.in (DO_VERSIONING): Remove macro.
13753 * Makerules [$(versioning) = yes]: Change conditionals to
13754 [$(build-shared) = yes].
13755 * config.make.in (versioning): Remove variable.
13756 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13757 [$(build-shared) = yes].
13758 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13759 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13760 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13761 [$(build-shared) = yes].
13762 * extra-lib.mk [$(versioning) = yes]: Likewise.
13763 * hurd/Makefile [$(versioning) = yes]: Likewise.
13764 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13766 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13768 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13769 [SHARED && !NO_HIDDEN].
13770 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13772 [SHARED && DO_VERSIONING]: Likewise..
13773 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13774 [$(build-shared) = yes].
13775 * manual/install.texi (--disable-versioning): Remove
13777 * INSTALL: Regenerated.
13778 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13780 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13781 [$(build-shared) = yes].
13782 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13783 * sysdeps/i386/i686/multiarch/strstr-c.c
13784 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13785 [SHARED && !NO_HIDDEN].
13786 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13787 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13788 * sysdeps/powerpc/powerpc32/dl-machine.c
13789 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13790 * sysdeps/powerpc/powerpc32/sysdep.h
13791 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13792 to [SHARED && PIC && !NO_HIDDEN].
13793 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13794 conditional to [SHARED].
13796 2013-09-04 Will Newton <will.newton@linaro.org>
13798 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13799 * benchtests/bench-string.h: Include bench-timing.h instead
13800 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13801 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13802 call to HP_TIMING_DIFF_INIT.
13803 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13804 instead of hp-timing.h macros.
13805 * benchtests/bench-memchr.c: Likewise.
13806 * benchtests/bench-memcmp.c: Likewise.
13807 * benchtests/bench-memcpy.c: Likewise.
13808 * benchtests/bench-memmem.c: Likewise.
13809 * benchtests/bench-memmove.c: Likewise.
13810 * benchtests/bench-memset.c: Likewise.
13811 * benchtests/bench-rawmemchr.c: Likewise.
13812 * benchtests/bench-strcasecmp.c: Likewise.
13813 * benchtests/bench-strcasestr.c: Likewise.
13814 * benchtests/bench-strcat.c: Likewise.
13815 * benchtests/bench-strchr.c: Likewise.
13816 * benchtests/bench-strcmp.c: Likewise.
13817 * benchtests/bench-strcpy.c: Likewise.
13818 * benchtests/bench-strcpy_chk.c: Likewise.
13819 * benchtests/bench-strlen.c: Likewise.
13820 * benchtests/bench-strncasecmp.c: Likewise.
13821 * benchtests/bench-strncat.c: Likewise.
13822 * benchtests/bench-strncmp.c: Likewise.
13823 * benchtests/bench-strncpy.c: Likewise.
13824 * benchtests/bench-strnlen.c: Likewise.
13825 * benchtests/bench-strpbrk.c: Likewise.
13826 * benchtests/bench-strrchr.c: Likewise.
13827 * benchtests/bench-strspn.c: Likewise.
13828 * benchtests/bench-strstr.c: Likewise.
13830 2013-09-04 Will Newton <will.newton@linaro.org>
13832 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13834 2013-09-03 Joseph Myers <joseph@codesourcery.com>
13837 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13838 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13839 * math/libm-test.inc (lgamma_test_data): Add more tests.
13840 * sysdeps/i386/fpu/libm-test-ulps: Update.
13841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13843 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
13845 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13849 Add strcmp-sse2-unaligned
13850 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13852 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13854 * Versions.def (libc): Add GLIBC_2.19.
13856 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13858 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13859 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13861 2013-09-02 Joseph Myers <joseph@codesourcery.com>
13864 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13865 intermediate calculations in recurrence.
13866 (__ieee754_ynf): Likewise.
13867 * math/libm-test.inc (jn_test_data): Do not allow spurious
13868 underflow exception. Add more tests.
13869 (yn_test_data): Add more tests.
13870 * sysdeps/i386/fpu/libm-test-ulps: Update.
13871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13873 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
13875 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13877 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13879 * csu/init-first.c: Fix then/than typos.
13880 * locale/programs/ld-collate.c: Likewise.
13881 * locale/programs/linereader.h: Likewise.
13882 * manual/charset.texi: Likewise.
13883 * manual/filesys.texi: Likewise.
13884 * manual/stdio.texi: Likewise.
13885 * manual/string.texi: Likewise.
13886 * stdlib/fmtmsg.c: Likewise.
13887 * sysdeps/i386/stpncpy.S: Likewise.
13888 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13889 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13890 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13891 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13893 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13895 * elf/dl-open.c: Fix typos.
13896 * iconvdata/gbbig5.c: Likewise.
13897 * iconvdata/iso-2022-jp.c: Likewise.
13898 * iconv/gconv_int.h: Likewise.
13899 * iconv/loop.c: Likewise.
13900 * nis/rpcsvc/nis.h: Likewise.
13901 * resolv/ns_name.c: Likewise.
13902 * stdio-common/vfscanf.c: Likewise.
13903 * streams/stropts.h: Likewise.
13904 * sunrpc/rpc_thread.c: Likewise.
13905 * sysdeps/i386/strpbrk.S: Likewise.
13906 * sysdeps/ieee754/k_standard.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13909 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13910 * sysdeps/mach/hurd/profil.c: Likewise.
13911 * sysdeps/s390/dl-procinfo.h: Likewise.
13912 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13914 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13915 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13918 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13920 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13923 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13925 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13926 aix specific files.
13927 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13928 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13929 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13930 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13932 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13933 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13934 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13936 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13937 Roland McGrath <roland@hack.frob.com>
13939 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13940 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13942 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13944 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13945 __executable_start symbol instead of _start.
13947 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13949 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13950 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13952 * sysdeps/gnu/ldsodefs.h: ... this new file.
13954 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13955 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13956 instead of ELFOSABI_LINUX.
13958 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13959 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13960 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13961 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13963 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13964 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13967 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13968 (ibm_extended_long_double): Add ieee_nan member.
13969 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13970 (do_test): New function.
13972 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13974 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13975 functions, renamed from truncdfsf_test, trunctfsf_test,
13977 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13979 (do_test): Run all these.
13981 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13983 * argp/argp-help.c: Fix typos.
13984 * argp/argp-parse.c: Likewise.
13985 * debug/backtracesyms.c: Likewise.
13986 * elf/elf.h: Likewise.
13987 * malloc/malloc.c: Likewise.
13988 * nis/nis_print.c: Likewise.
13989 * resolv/res_comp.c: Likewise.
13990 * stdlib/stdlib.h: Likewise.
13991 * sunrpc/clnt_tcp.c: Likewise.
13992 * sunrpc/clnt_udp.c: Likewise.
13993 * sunrpc/clnt_unix.c: Likewise.
13994 * sysdeps/unix/bsd/ptsname.c: Likewise.
13995 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13996 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14003 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14005 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14007 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14010 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14013 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14014 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14015 ($(objpfx)bug-dl-leaf): New rule.
14016 ($(objpfx)bug-dl-leaf.so): Likewise.
14017 ($(objpfx)bug-dl-leaf.out): Likewise.
14018 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14019 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14020 * dlfcn/bug-dl-leaf.c: New test.
14021 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14022 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14023 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14024 (dlclose): Likewise.
14025 (dlmopen): Likewise.
14027 2013-08-27 Roland McGrath <roland@hack.frob.com>
14029 * include/netdb.h [!_ISOMAC]:
14030 Don't include <tls.h>.
14031 (h_errno, __libc_h_errno): Move declaration and macros out of
14034 * include/resolv.h [_RESOLV_H_]:
14035 Don't include <tls.h>.
14036 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14037 * resolv/res_libc.c: Don't include <tls.h>.
14038 (_res): Use __attribute__ ((nocommon)) in place of
14039 __attribute__ ((section (".bss"))).
14041 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14042 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14044 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14046 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14047 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14049 * resolv/res_mkquery.c: Include <sys/time.h>.
14051 * inet/ifreq.c: Moved to ...
14052 * sysdeps/unix/ifreq.c: ... here.
14053 * inet/ifreq.c: New file, true stub version.
14055 * socket/sa_len.c: New file.
14056 * socket/Makefile (aux): Add it.
14057 * sysdeps/unix/sysv/linux/Makefile
14058 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14059 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14060 and #include <socket/sa_len.c>.
14061 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14062 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14064 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14065 * bits/socket.h: ... here.
14067 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14068 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14069 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14071 2013-08-27 Andreas Schwab <schwab@suse.de>
14074 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14075 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14076 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14077 * string/test-strcasecmp.c (test_main): Run tests in several
14079 * string/test-strncasecmp.c (test_main): Likewise.
14081 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14082 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14083 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14085 (__strncasecmp_ssse3) [PIC]: Likewise.
14087 2013-08-26 Roland McGrath <roland@hack.frob.com>
14089 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14091 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14092 instead of explicitly declaring xdecrypt.
14093 * nis/nss_nis/nis-publickey.c: Likewise.
14095 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14098 * nscd/aicache.c: Include res_hconf.h.
14099 (addhstaiX): Initialize res_hconf.
14101 2013-08-26 Andreas Schwab <schwab@suse.de>
14103 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14104 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14106 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14108 * nscd/aicache.c (addhstaiX): Fix indentation.
14110 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14112 * configure.ac: Quote $build_pt_chown test.
14113 * configure: Regenerated.
14115 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14118 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14119 * math/s_cexpf.c (__cexpf): Likewise.
14120 * math/s_cexpl.c (__cexpl): Likewise.
14121 * math/libm-test.inc (cexp_test_data): Correct expected return
14122 value for NaN + i0. Add another test.
14124 2013-08-22 David S. Miller <davem@davemloft.net>
14126 * po/ca.po: Update Catalan translation from translation project.
14127 * po/uk.po: Add Ukrainian translations from translation project.
14129 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14132 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14133 is infinite, not alongside NaN test.
14134 * math/s_fdimf.c (__fdimf): Likewise.
14135 * math/s_fdiml.c (__fdiml): Likewise.
14136 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14137 errno is unchanged.
14139 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14141 * argp/argp-help.c: Fix typos.
14142 * crypt/speeds.c: Likewise.
14143 * csu/check_fds.c: Likewise.
14144 * elf/dl-load.c: Likewise.
14145 * elf/dl-open.c: Likewise.
14146 * elf/reldep3.c: Likewise.
14147 * elf/reldep.c: Likewise.
14148 * elf/sprof.c: Likewise.
14149 * iconv/iconv_charmap.c: Likewise.
14150 * iconv/skeleton.c: Likewise.
14151 * iconv/strtab.c: Likewise.
14152 * io/lockf64.c: Likewise.
14153 * libio/libioP.h: Likewise.
14154 * resolv/gai_notify.c: Likewise.
14155 * resolv/ns_name.c: Likewise.
14156 * resolv/ns_samedomain.c: Likewise.
14157 * resolv/res_send.c: Likewise.
14158 * stdlib/random.c: Likewise.
14159 * sunrpc/rpc/xdr.h: Likewise.
14160 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14161 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14162 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14163 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14168 * sysdeps/mach/hurd/check_fds.c: Likewise.
14169 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14170 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14172 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14173 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14174 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14175 * sysdeps/pthread/aio_notify.c: Likewise.
14176 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14177 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14178 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14179 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14180 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14182 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14184 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14185 version if bit_Slow_SSE4_2 is set.
14186 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14187 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14189 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14192 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14193 trampoline stack frame information.
14194 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14195 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14196 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14197 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14198 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14199 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14200 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14201 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14203 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14204 interrupting a syscall and set with option SA_SIGINFO.
14206 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14209 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14210 argument is infinite.
14211 * math/s_cprojf.c (__cprojf): Likewise.
14212 * math/s_cprojl.c (__cprojl): Likewise.
14213 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14214 * math/libm-test.inc (cproj_test_data): Add more tests.
14216 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14218 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14219 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14220 size. Use __ffs to determine corresponding shift.
14222 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14223 Roland McGrath <roland@hack.frob.com>
14225 * Makefile (INSTALL): Remove trailing blank lines from output of
14228 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14230 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14231 Align 32 bit compat elf_greg to 8 bytes.
14233 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14235 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14237 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14239 * string/strcoll_l.c (coll_seq): New structure.
14240 (get_next_seq_cached): New function.
14241 (get_next_seq): New function.
14242 (do_compare): New function.
14243 (STRCOLL): Use GNU style definition. Simplify implementation
14244 by using get_next_seq, get_next_seq_cached and do_compare.
14246 2013-08-16 Florian Weimer <fweimer@redhat.com>
14250 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14252 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14254 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14255 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14256 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14258 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14259 GETDENTS_64BIT_ALIGNED.
14260 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14261 * manual/filesys.texi (Reading/Closing Directory): Document
14262 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14264 * manual/conf.texi (Limits for Files): Add portability note to
14265 NAME_MAX, PATH_MAX.
14266 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14268 2013-08-13 Andreas Schwab <schwab@suse.de>
14271 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14273 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14274 LDBL_MAX_EXP >= 16384]: Add tests for it.
14276 2013-08-12 David S. Miller <davem@davemloft.net>
14278 * version.h (RELEASE): Set to "development".
14279 (VERSION): Set to "2.18.90".
14280 * NEWS: Add 2.19 section.
14282 2013-08-03 David S. Miller <davem@davemloft.net>
14284 * po/ko.po: Update Korean translation from translation project.
14286 2013-08-01 David S. Miller <davem@davemloft.net>
14288 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14289 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14292 2013-07-30 David S. Miller <davem@davemloft.net>
14294 * po/fr.po: Update French translation from translation project.
14296 2013-07-28 David S. Miller <davem@davemloft.net>
14298 * po/cs.po: Update Czech translation from translation project.
14300 * po/sv.po: Update Swedish translation from translation project.
14302 2013-07-27 David S. Miller <davem@davemloft.net>
14304 * po/eo.po: Update Esperanto translation from translation project.
14306 * po/vi.po: Update Vietnamese translation from translation project.
14308 * po/de.po: Update German translation from translation project.
14310 2013-07-26 David S. Miller <davem@davemloft.net>
14312 * po/bg.po: Update Bulgarian translation from translation project.
14314 * po/nl.po: Update Dutch translation from translation project.
14315 * po/pl.po: Update Polish translation from translation project.
14316 * po/ru.po: Update Russian translation from translation project.
14318 2013-07-24 David S. Miller <davem@davemloft.net>
14320 * po/libc.pot: Update.
14322 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14324 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14325 variable page size.
14326 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14328 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14330 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14332 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14334 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14335 Andreas Schwab <schwab@suse.de>
14336 Roland McGrath <roland@hack.frob.com>
14337 Joseph Myers <joseph@codesourcery.com>
14338 Carlos O'Donell <carlos@redhat.com>
14341 * config.h.in: Define HAVE_PT_CHOWN.
14342 * config.make.in (build-pt-chown): New variable.
14343 * configure.in (--enable-pt_chown): New configure option.
14344 * configure: Regenerate.
14345 * login/Makefile: Include Makeconfig. Build pt_chown only if
14346 build-pt-chown is enabled.
14347 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14348 pt_chown to fix pty ownership.
14349 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14351 * manual/install.texi (Configuring and compiling): Mention
14352 --enable-pt_chown. Add @findex for grantpt.
14353 * INSTALL: Regenerate.
14355 2013-07-20 David S. Miller <davem@davemloft.net>
14357 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14358 difference between 32-bit and 64-bit.
14360 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14363 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14364 Avoid system header dependency with -ffreestanding.
14365 ($(objpfx)bits/syscall%d): Likewise.
14367 2013-07-13 David S. Miller <davem@davemloft.net>
14369 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14370 underflows from atanl/atan2l due to bug 15319.
14371 (casinh_test_data): Likewise.
14373 2013-07-07 David S. Miller <davem@davemloft.net>
14375 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14377 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14379 * sysdeps/i386/fpu/libm-test-ulps: Update.
14380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14382 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14384 * configure.in (--enable-lock-elision): Fix message text.
14385 * INSTALL: Regenerate.
14386 * configure: Regenerate.
14388 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14392 2013-07-03 Andreas Jaeger <aj@suse.de>
14394 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14396 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14397 (ptrace_peeksiginfo_args): Add.
14398 (__ptrace_peeksiginfo_flags): Add.
14399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14400 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14403 2013-07-03 Allan McRae <allan@archlinux.org>
14405 * sysdeps/i386/fpu/libm-test-ulps: Update.
14407 2013-07-02 David S. Miller <davem@davemloft.net>
14409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14411 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14415 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14417 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14420 2013-07-02 Andi Kleen <ak@linux.intel.com>
14422 * config.h.in (ENABLE_LOCK_ELISION): Add.
14423 * configure.in (--enable-lock-elision): Add option.
14424 * manual/install.texi: Document --enable lock elision.
14425 * configure: Regenerate
14426 * INSTALL: Regenerate.
14428 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14430 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14431 SSE4.2 strcasecmp for libc.a.
14432 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14434 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14437 * soft-fp/op-common.h (_FP_FMA): New macro.
14438 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14439 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14440 (_FP_MUL_MEAT_1_imm): ... here.
14441 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14442 (_FP_MUL_MEAT_1_wide): ... here.
14443 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14444 (_FP_MUL_MEAT_1_hard): ... here.
14445 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14446 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14447 (_FP_MUL_MEAT_2_wide): ... here.
14448 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14449 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14450 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14451 (_FP_MUL_MEAT_2_gmp): ... here.
14452 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14453 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14454 (_FP_MUL_MEAT_4_wide): ... here.
14455 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14456 (_FP_MUL_MEAT_4_gmp): ... here.
14457 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14458 (_FP_WFRACBITS_DW_S): Likewise.
14459 (_FP_WFRACXBITS_DW_S): Likewise.
14460 (_FP_HIGHBIT_DW_S): Likewise.
14461 (FP_FMA_S): Likewise.
14462 (_FP_FRAC_HIGH_DW_S): Likewise.
14463 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14464 (_FP_WFRACBITS_DW_D): Likewise.
14465 (_FP_WFRACXBITS_DW_D): Likewise.
14466 (_FP_HIGHBIT_DW_D): Likewise.
14467 (FP_FMA_D): Likewise.
14468 (_FP_FRAC_HIGH_DW_D): Likewise.
14469 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14470 (_FP_WFRACBITS_DW_E): Likewise.
14471 (_FP_WFRACXBITS_DW_E): Likewise.
14472 (_FP_HIGHBIT_DW_E): Likewise.
14473 (FP_FMA_E): Likewise.
14474 (_FP_FRAC_HIGH_DW_E): Likewise.
14475 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14476 (_FP_WFRACBITS_DW_Q): Likewise.
14477 (_FP_WFRACXBITS_DW_Q): Likewise.
14478 (_FP_HIGHBIT_DW_Q): Likewise.
14479 (FP_FMA_Q): Likewise.
14480 (_FP_FRAC_HIGH_DW_Q): Likewise.
14481 * soft-fp/fmasf4.c: New file.
14482 * soft-fp/fmadf4.c: Likewise.
14483 * soft-fp/fmatf4.c: Likewise.
14485 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14488 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14492 (index_Slow_SSE4_2): Likewise.
14493 (index_Prefer_PMINUB_for_stringop): Likewise.
14494 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14495 bit_Slow_SSE4_2 is set.
14496 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14497 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14499 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14501 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14502 rtld_global._dl_hwcap2.
14503 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14505 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14506 POWER8 feature descriptions defined in _dl_hwcap2.
14507 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14508 string handling for POWER8 feature bits.
14509 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14510 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14511 _dl_powerpc_cap_flags.
14512 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14513 * sysdeps/powerpc/rtld-global-offsets.sym
14514 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14515 _dl_hwcap2 in the rtld_global_ro structure.
14517 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14519 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14520 hardware capabilities in support of AT_HWCAP2.
14521 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14522 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14524 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14525 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14526 explicitly the unknown a_type display mechanism is used.
14527 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14528 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14530 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14531 to macro prototype for AT_HWCAP2 support.
14532 * sysdeps/i386/dl-procinfo.h: Likewise.
14533 * sysdeps/s390/dl-procinfo.h: Likewise.
14534 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14535 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14536 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14537 return -1 for unknown a_type display fallback.
14538 * sysdeps/sparc/dl-procinfo.h: Likewise.
14539 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14540 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14542 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14544 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14545 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14547 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14550 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14551 mprotect making __stack_prot writable.
14553 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14554 Joseph Myers <joseph@codesourcery.com>
14556 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14557 as being properly aligned.
14559 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14561 * dlfcn/modstatic5.c: New file.
14562 * dlfcn/tststatic5.c: New file.
14563 * dlfcn/Makefile (tests): Add tststatic5.
14564 (tests-static): Likewise.
14565 (modules-names): Add modstatic5.
14566 (tststatic5-ENV): New variable.
14567 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14570 * elf/dl-support.c (_dl_main_map): New variable.
14571 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14572 (_dl_nns, _dl_load_adds): Set to 1.
14573 (_dl_initial_searchlist): Refer to _dl_main_map.
14574 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14575 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14576 call to _dl_get_origin.
14577 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14579 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14580 * dlfcn/modstatic3.c: New file.
14581 * dlfcn/tststatic3.c: New file.
14582 * dlfcn/tststatic4.c: New file.
14583 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14584 (tests-static): Likewise.
14585 (modules-names): Add modstatic3.
14586 (tststatic3-ENV, tststatic4-ENV): New variables.
14587 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14588 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14590 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14592 * configure.in (CC): Require GCC version 4.4 or later.
14593 * configure: Regenerated.
14594 * manual/install.texi (Tools for Compilation): Update GCC version
14596 * INSTALL: Regenerated.
14598 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14601 * string/test-memcmp.c (check2): New.
14602 (main): Call check2.
14604 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14606 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14609 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14611 (dl_open_worker) [!SHARED]: ... here.
14613 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14615 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14617 2013-06-25 Richard Henderson <rth@redhat.com>
14619 * locale/programs/locarchive.c: Include <libc-internal.h>
14621 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14623 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14624 trailing whitespace removed.
14626 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14629 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14630 * locale/programs/locarchive.c: Include libc-mmap.h.
14631 (prepare_address_space): Take two new outputs (the mmap base and len).
14632 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14634 (create_archive): Declare new mmap base and len values for
14635 prepare_address_space, and store the result in ah.
14636 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14637 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14638 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14639 Declare new mmap base and len values for
14640 prepare_address_space, and store the result in new_ah.
14641 (open_archive): Declare new mmap base and len values for
14642 prepare_address_space, and store the result in ah.
14643 (close_archive): If ah->mmap_base is not NULL, use that and
14644 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14645 * sysdeps/generic/libc-mmap.h: New file.
14647 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14649 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14650 (ALIGN_UP): Likewise.
14651 (PTR_ALIGN_DOWN): Likewise.
14652 (PTR_ALIGN_UP): Likewise.
14654 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14656 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14657 entry mapped to PPC_PLATFORM_POWER8.
14658 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14660 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14661 (_dl_string_platform): Add case for exporting platform position for
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14664 search path to sysdeps/powerpc/powerpc32/power8 directory.
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14666 search path to sysdeps/powerpc/powerpc64/power8 directory.
14667 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14668 power7 directories.
14669 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14670 power7 directories.
14672 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14674 * INSTALL: Regenerate.
14676 * nscd/connections.c (nscd_init): Fix comment.
14678 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14680 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14683 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14684 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14686 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14688 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14690 (DL_DST_REQ_STATIC): Remove macro.
14692 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14695 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14696 with a shift of 0 bits.
14698 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14700 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14703 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14706 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14708 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14710 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14711 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14712 accepts -fno-tree-loop-distribute-patterns.
14713 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14714 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14716 * string/memset.c (memset): Likewise.
14717 * string/test-memmove.c (simple_memmove): Disable loop transformation
14719 * string/test-memset.c (simple_memset): Likewise.
14720 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14721 * benchtests/bench-memset.c (simple_memset): Likewise.
14722 * configure: Regenerated.
14724 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14726 * math/test-misc.c (main): Ignore fesetround failure when failures
14727 of subsequent rounding tests would be ignored.
14730 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14731 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14732 * math/fegetenv.c (__fegetenv): Return 0.
14733 * math/fegetexcept.c (fegetexcept): Return 0.
14734 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14736 * math/feholdexcpt.c (feholdexcept): Return 0.
14737 * math/fesetenv.c (__fesetenv): Return 0.
14738 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14739 argument FE_TONEAREST.
14740 * math/feupdateenv.c (__feupdateenv): Return 0.
14741 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14743 2013-06-18 Roland McGrath <roland@hack.frob.com>
14745 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14746 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14747 ($(objpfx)rtld-%.os rules): Use them.
14749 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14751 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14754 2013-06-17 Roland McGrath <roland@hack.frob.com>
14756 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14757 length of target pattern, then descending length of dependency pattern.
14758 * configure.in (AWK): Require gawk 3.1.2 or newer.
14759 * manual/install.texi (Tools for Compilation): Say that we do.
14760 * configure: Regenerated.
14762 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14763 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14764 * scripts/sysd-rules.awk: ... this new script.
14765 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14766 than a glob-style pattern.
14768 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14770 * math/test-misc.c (main): Do not treat incorrectly rounded
14771 conversions as failure unless ROUNDING_TESTS passes.
14773 2013-06-15 Joseph Myers <joseph@codesourcery.com>
14776 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14777 restore exception state around main square root computation, then
14778 check for inexactness explicitly.
14780 * math/libm-test.inc (fma_test_data): Add another test.
14782 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14784 * manual/threads.texi (Non-POSIX Extensions): New document
14785 node. Document pthread_getattr_default_np and
14786 pthread_setattr_default_np.
14788 * Versions.def (libpthread): Add GLIBC_2.18.
14789 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14798 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14809 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14812 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14814 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14815 H.J. Lu <hjl.tools@gmail.com>
14818 * sysdeps/x86_64/rtld-memset.c: Remove file.
14819 * sysdeps/x86_64/rtld-memset.S: New file.
14821 2013-06-14 Joseph Myers <joseph@codesourcery.com>
14823 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14824 (test_in_one_mode): Take arguments for whether the rounding mode
14825 is supported for each floating-point type.
14826 (do_test): Pass new arguments to test_in_one_mode using
14829 2013-06-13 Roland McGrath <roland@hack.frob.com>
14831 * posix/tst-waitid.c (do_test): Distinguish different instances of
14832 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14833 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14834 before entering the kernel for waitpid.
14836 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14838 * NEWS: Fix note on clock function precision. Text by Roland
14841 2013-06-13 Roland McGrath <roland@hack.frob.com>
14843 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14844 it into place only when and if the sanity check passes.
14846 2013-06-13 Joseph Myers <joseph@codesourcery.com>
14848 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14849 output for whether conversion result is exact. Take argument
14850 indicating whether type is IBM long double.
14851 (round_for_all): Change need_exact field to ibm_ld.
14852 * stdlib/tst-strtod-round.c (struct exactness): New type.
14853 (struct test): Change bool ld_ok field to struct exactness exact.
14854 (TEST): Update all definitions for change to field.
14855 (tests): Regenerate array contents.
14856 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14857 field value. Check for IBM long double here.
14858 (do_test): Update calls to test_in_one_mode.
14860 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14863 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14864 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14866 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14869 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14870 generated by the compiler on loop optimizations.
14871 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14872 general definitions.
14874 2013-06-12 Joseph Myers <joseph@codesourcery.com>
14876 * math/bug-nextafter.c: Include <math-tests.h>.
14877 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14879 * math/bug-nexttoward.c: Include <math-tests.h>.
14880 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14882 * math/test-misc.c: Include <math-tests.h>.
14883 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14886 2013-06-12 Andreas Jaeger <aj@suse.de>
14888 * po/ia.po: Update Interlingua translation from translation
14891 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14893 * include/fenv.h: Include stdbool.h.
14894 (struct rm_ctx): New structure.
14895 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14897 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14898 (SET_RESTORE_ROUNDF): Likewise.
14899 (SET_RESTORE_ROUNDL): Likewise.
14900 (SET_RESTORE_ROUND_NOEX): Likewise.
14901 (SET_RESTORE_ROUND_NOEXF): Likewise.
14902 (SET_RESTORE_ROUND_NOEXL): Likewise.
14903 (SET_RESTORE_ROUND_53BIT): Likewise.
14904 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14905 (libc_feresetround_noexf_ctx): Likewise.
14906 (libc_feresetround_noexl_ctx): Likewise.
14907 (libc_feholdsetround_53bit_ctx): Likewise.
14908 (libc_feresetround_53bit_ctx): Likewise.
14909 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14910 (libc_feholdexcept_setround_sse_ctx): New function.
14911 (libc_fesetenv_sse_ctx): Likewise.
14912 (libc_feupdateenv_sse_ctx): Likewise.
14913 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14914 (libc_feholdexcept_setround_387_ctx): Likewise.
14915 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14916 (libc_feholdsetround_387_prec_ctx): Likewise.
14917 (libc_feholdsetround_387_ctx): Likewise.
14918 (libc_feholdsetround_387_53bit_ctx): Likewise.
14919 (libc_feholdsetround_sse_ctx): Likewise.
14920 (libc_feresetround_sse_ctx): Likewise.
14921 (libc_feresetround_387_ctx): Likewise.
14922 (libc_feupdateenv_387_ctx): Likewise.
14923 (libc_feholdexcept_setroundf_ctx): Define macro.
14924 (libc_fesetenvf_ctx): Likewise.
14925 (libc_feupdateenvf_ctx): Likewise.
14926 (libc_feholdsetroundf_ctx): Likewise.
14927 (libc_feresetroundf_ctx): Likewise.
14928 (libc_feholdexcept_setround_ctx): Likewise.
14929 (libc_fesetenv_ctx): Likewise.
14930 (libc_feupdateenv_ctx): Likewise.
14931 (libc_feholdsetround_ctx): Likewise.
14932 (libc_feresetround_ctx): Likewise.
14933 (libc_feholdexcept_setroundl_ctx): Likewise.
14934 (libc_feupdateenvl_ctx): Likewise.
14935 (libc_feholdsetroundl_ctx): Likewise.
14936 (libc_feresetroundl_ctx): Likewise.
14937 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14938 (libc_feresetround_53bit_ctx): Likewise.
14940 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14942 * locale/iso-639.def: Convert to UTF-8.
14944 2013-06-11 Joseph Myers <joseph@codesourcery.com>
14946 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14947 (EXCEPTION_TESTS_double): Likewise.
14948 (EXCEPTION_TESTS_long_double): Likewise.
14949 (EXCEPTION_TESTS): Likewise.
14950 * math/libm-test.inc (test_exceptions): Only test exceptions if
14951 EXCEPTION_TESTS (FLOAT).
14953 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14955 * benchtests/Makefile (string-bench): Add strcpy_chk and
14957 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14958 * benchtests/bench-stpcpy_chk.c: New file.
14959 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14960 * benchtests/bench-strcpy_chk.c: New file.
14961 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14963 (do_test): Likewise.
14965 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14967 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14968 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14969 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14970 with tabs where appropriate.
14971 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14973 [PPC_PLATFORM_PPC440]: Likewise.
14974 [PPC_PLATFORM_PPC464]: Likewise.
14975 [PPC_PLATFORM_PPC476]: Likewise.
14976 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14977 ppc464, and ppc476 platform strings merging from ports/
14980 2013-06-11 Andreas Schwab <schwab@suse.de>
14983 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14984 (from_ucs4_idx): Regenerate.
14985 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14986 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14987 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14988 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14989 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14990 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14991 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14992 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14993 from FROM_LOOP and TO_LOOP specific macros.
14994 (BODY): Handle combining characters.
14995 * iconvdata/BIG5HKSCS.irreversible: Update.
14996 * iconvdata/BIG5HKSCS.precomposed: New file.
14997 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14999 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15001 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15003 * include/sys/time.h: Fix indentation and add copyright header.
15005 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15006 (do_test): Likewise.
15007 * string/test-memchr.c (do_one_test): Likewise.
15008 (do_test): Likewise.
15009 * string/test-memcmp.c (do_one_test): Likewise.
15010 (do_test): Likewise.
15011 * string/test-memcpy.c (do_one_test): Likewise.
15012 (do_test): Likewise.
15013 * string/test-memmem.c (do_one_test): Likewise.
15014 (do_test): Likewise.
15015 (do_random_tests): Likewise.
15016 * string/test-memmove.c (do_one_test): Likewise.
15017 (do_test): Likewise.
15018 * string/test-memset.c (do_one_test): Likewise.
15019 (do_test): Likewise.
15020 * string/test-rawmemchr.c (do_one_test): Likewise.
15021 (do_test): Likewise.
15022 * string/test-strcasecmp.c (do_one_test): Likewise.
15023 (do_test): Likewise.
15024 * string/test-strcasestr.c (do_one_test): Likewise.
15025 (do_test): Likewise.
15026 * string/test-strcat.c (do_one_test): Likewise.
15027 (do_test): Likewise.
15028 * string/test-strchr.c (do_one_test): Likewise.
15029 (do_test): Likewise.
15030 * string/test-strcmp.c (do_one_test): Likewise.
15031 (do_test): Likewise.
15032 * string/test-strcpy.c (do_one_test): Likewise.
15033 (do_test): Likewise.
15034 * string/test-string.h: Likewise.
15035 (test_init): Likewise.
15036 * string/test-strlen.c (do_one_test): Likewise.
15037 (do_test): Likewise.
15038 * string/test-strncasecmp.c (do_one_test): Likewise.
15039 (do_test): Likewise.
15040 * string/test-strncat.c (do_one_test): Likewise.
15041 (do_test): Likewise.
15042 * string/test-strncmp.c (do_one_test): Likewise.
15043 (do_test_limit): Likewise.
15044 (do_test): Likewise.
15045 * string/test-strncpy.c (do_one_test): Likewise.
15046 (do_test): Likewise.
15047 * string/test-strnlen.c (do_one_test): Likewise.
15048 (do_test): Likewise.
15049 * string/test-strpbrk.c (do_one_test): Likewise.
15050 (do_test): Likewise.
15051 * string/test-strrchr.c (do_one_test): Likewise.
15052 (do_test): Likewise.
15053 * string/test-strspn.c (do_one_test): Likewise.
15054 (do_test): Likewise.
15055 * string/test-strstr.c (do_one_test): Likewise.
15056 (do_test): Likewise.
15058 * benchtests/Makefile (string-bench): Add string benchmarks.
15059 * benchtests/bench-bcopy-ifunc.c: New file.
15060 * benchtests/bench-bcopy.c: New file.
15061 * benchtests/bench-bzero-ifunc.c: New file.
15062 * benchtests/bench-bzero.c: New file.
15063 * benchtests/bench-memccpy-ifunc.c: New file.
15064 * benchtests/bench-memccpy.c: New file.
15065 * benchtests/bench-memchr-ifunc.c: New file.
15066 * benchtests/bench-memchr.c: New file.
15067 * benchtests/bench-memcmp-ifunc.c: New file.
15068 * benchtests/bench-memcmp.c: New file.
15069 * benchtests/bench-memmem-ifunc.c: New file.
15070 * benchtests/bench-memmem.c: New file.
15071 * benchtests/bench-memmove-ifunc.c: New file.
15072 * benchtests/bench-memmove.c: New file.
15073 * benchtests/bench-mempcpy-ifunc.c: New file.
15074 * benchtests/bench-mempcpy.c: New file.
15075 * benchtests/bench-memset-ifunc.c: New file.
15076 * benchtests/bench-memset.c: New file.
15077 * benchtests/bench-rawmemchr-ifunc.c: New file.
15078 * benchtests/bench-rawmemchr.c: New file.
15079 * benchtests/bench-stpcpy-ifunc.c: New file.
15080 * benchtests/bench-stpcpy.c: New file.
15081 * benchtests/bench-stpncpy-ifunc.c: New file.
15082 * benchtests/bench-stpncpy.c: New file.
15083 * benchtests/bench-strcasecmp-ifunc.c: New file.
15084 * benchtests/bench-strcasecmp.c: New file.
15085 * benchtests/bench-strcasestr-ifunc.c: New file.
15086 * benchtests/bench-strcasestr.c: New file.
15087 * benchtests/bench-strcat-ifunc.c: New file.
15088 * benchtests/bench-strcat.c: New file.
15089 * benchtests/bench-strchr-ifunc.c: New file.
15090 * benchtests/bench-strchr.c: New file.
15091 * benchtests/bench-strchrnul-ifunc.c: New file.
15092 * benchtests/bench-strchrnul.c: New file.
15093 * benchtests/bench-strcmp-ifunc.c: New file.
15094 * benchtests/bench-strcmp.c: New file.
15095 * benchtests/bench-strcpy-ifunc.c: New file.
15096 * benchtests/bench-strcpy.c: New file.
15097 * benchtests/bench-strcspn-ifunc.c: New file.
15098 * benchtests/bench-strcspn.c: New file.
15099 * benchtests/bench-strlen-ifunc.c: New file.
15100 * benchtests/bench-strlen.c: New file.
15101 * benchtests/bench-strncasecmp-ifunc.c: New file.
15102 * benchtests/bench-strncasecmp.c: New file.
15103 * benchtests/bench-strncat-ifunc.c: New file.
15104 * benchtests/bench-strncat.c: New file.
15105 * benchtests/bench-strncmp-ifunc.c: New file.
15106 * benchtests/bench-strncmp.c: New file.
15107 * benchtests/bench-strncpy-ifunc.c: New file.
15108 * benchtests/bench-strncpy.c: New file.
15109 * benchtests/bench-strnlen-ifunc.c: New file.
15110 * benchtests/bench-strnlen.c: New file.
15111 * benchtests/bench-strpbrk-ifunc.c: New file.
15112 * benchtests/bench-strpbrk.c: New file.
15113 * benchtests/bench-strrchr-ifunc.c: New file.
15114 * benchtests/bench-strrchr.c: New file.
15115 * benchtests/bench-strspn-ifunc.c: New file.
15116 * benchtests/bench-strspn.c: New file.
15117 * benchtests/bench-strstr-ifunc.c: New file.
15118 * benchtests/bench-strstr.c: New file.
15120 * benchtests/Makefile: Disable parallel execution of targets.
15121 (string-bench): Add memcpy.
15122 (benchset): New variable to store a list of benchmark sets.
15123 (bench-func): Renamed from bench.
15124 (bench-set): New target.
15125 (bench): Depend on bench-func and bench-set.
15126 * benchtests/README: Add section on benchmark sets.
15127 * benchtests/bench-memcpy-ifunc.c: New file.
15128 * benchtests/bench-memcpy.c: New file.
15129 * benchtests/bench-string.h: New file.
15131 2013-06-11 Andreas Schwab <schwab@suse.de>
15134 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15135 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15136 values in the triple.
15137 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15138 terminator in the group key.
15140 2013-06-11 Andreas Jaeger <aj@suse.de>
15142 * po/zh_TW.po: Update Chinese (traditional) translation from
15143 translation project.
15145 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15147 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15148 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15149 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15150 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15151 (clock_getcpuclockid): Likewise.
15152 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15153 Add weak_alias and libc_hidden_def.
15154 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15155 * rt/clock_gettime.c (clock_gettime): Rename to
15156 __clock_gettime. Add weak_alias and libc_hidden_def.
15157 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15158 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15159 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15160 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15161 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15163 * rt/clock_settime.c (clock_settime): Rename to
15164 __clock_settime. Add weak_alias and libc_hidden_def.
15165 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15167 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15169 * mach/err_boot.sub: Remove trailing whitespace.
15170 * mach/err_ipc.sub: Likewise.
15171 * mach/err_mach.sub: Likewise.
15173 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15174 (ROUNDING_TESTS_double): Likewise.
15175 (ROUNDING_TESTS_long_double): Likewise.
15176 (ROUNDING_TESTS): Likewise.
15177 * math/libm-test.inc: Include <math-tests.h>.
15178 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15179 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15180 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15181 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15183 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15185 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15188 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15190 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15191 otherwise empty TRANS lines.
15192 * sysdeps/gnu/errlist.c: Regenerated.
15194 * catgets/gencat.c (error_print): Use (void) in function
15196 * crypt/crypt_util.c (__init_des): Likewise.
15197 * crypt/speeds.c (Stop): Likewise.
15199 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15200 * inet/ruserpass.c (token): Likewise.
15201 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15202 * intl/localealias.c (extend_alias_table): Likewise.
15203 * intl/plural-exp.c (init_germanic_plural): Likewise.
15204 * libio/fcloseall.c (__fcloseall): Likewise.
15205 * libio/genops.c (_IO_flush_all): Likewise.
15206 (_IO_flush_all_linebuffered): Likewise.
15207 (_IO_cleanup): Likewise.
15208 (_IO_iter_begin): Likewise.
15209 (_IO_iter_end): Likewise.
15210 (_IO_list_lock): Likewise.
15211 (_IO_list_unlock): Likewise.
15212 (_IO_list_resetlock): Likewise.
15213 * libio/getchar.c (getchar): Likewise.
15214 * libio/getchar_u.c (getchar_unlocked): Likewise.
15215 * libio/getwchar.c (getwchar): Likewise.
15216 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15217 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15218 * login/getpt.c (__getpt): Likewise.
15219 * login/tst-utmp.c (main): Likewise.
15220 * malloc/hooks.c (__malloc_check_init): Likewise.
15221 * malloc/malloc.c (__malloc_stats): Likewise.
15222 * malloc/mtrace.c (tr_break): Likewise.
15223 (mtrace): Likewise.
15224 (muntrace): Likewise.
15225 * misc/fstab.c (endfsent): Likewise.
15226 * misc/getclktck.c (__getclktck): Likewise.
15227 * misc/getdtsz.c (__getdtablesize): Likewise.
15228 * misc/gethostid.c (gethostid): Likewise.
15229 * misc/getpagesize.c (__getpagesize): Likewise.
15230 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15231 (__get_nprocs): Likewise.
15232 (__get_phys_pages): Likewise.
15233 (__get_avphys_pages): Likewise.
15234 * misc/getttyent.c (getttyent): Likewise.
15235 (setttyent): Likewise.
15236 (endttyent): Likewise.
15237 * misc/getusershell.c (getusershell): Likewise.
15238 (endusershell): Likewise.
15239 (setusershell): Likewise.
15240 (initshells): Likewise.
15241 * misc/hsearch.c (__hdestroy): Likewise.
15242 * misc/sync.c (sync): Likewise.
15243 * misc/syslog.c (closelog_internal): Likewise.
15244 (closelog): Likewise.
15245 * misc/ttyslot.c (ttyslot): Likewise.
15246 * misc/vhangup.c (vhangup): Likewise.
15247 * posix/fork.c (__fork): Likewise.
15248 * posix/getegid.c (__getegid): Likewise.
15249 * posix/geteuid.c (__geteuid): Likewise.
15250 * posix/getgid.c (__getgid): Likewise.
15251 * posix/getpid.c (__getpid): Likewise.
15252 * posix/getppid.c (__getppid): Likewise.
15253 * posix/getuid.c (__getuid): Likewise.
15254 * posix/pause.c (pause): Likewise.
15255 * posix/setpgrp.c (setpgrp): Likewise.
15256 * posix/setsid.c (__setsid): Likewise.
15257 * posix/test-vfork.c (noop): Likewise.
15258 * resolv/gethnamaddr.c (_endhtent): Likewise.
15259 (_gethtent): Likewise.
15260 (ht_endhostent): Likewise.
15261 (gethostent): Likewise.
15262 (dns_service): Likewise.
15263 * stdlib/drand48.c (drand48): Likewise.
15264 * stdlib/lrand48.c (lrand48): Likewise.
15265 * stdlib/mrand48.c (mrand48): Likewise.
15266 * stdlib/rand.c (rand): Likewise.
15267 * stdlib/random.c (__random): Likewise.
15268 * stdlib/setenv.c (clearenv): Likewise.
15269 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15270 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15271 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15272 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15273 (__get_nprocs): Likewise.
15274 (__get_phys_pages): Likewise.
15275 (__get_avphys_pages): Likewise.
15276 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15277 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15278 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15279 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15280 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15281 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15282 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15283 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15284 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15285 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15286 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15287 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15288 * sysdeps/posix/clock.c (clock): Likewise.
15289 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15290 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15291 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15292 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15293 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15295 (__get_nprocs_conf): Likewise.
15296 (__get_phys_pages): Likewise.
15297 (__get_avphys_pages): Likewise.
15298 * time/clock.c (clock): Likewise.
15299 * time/tzset.c (__tzname_max): Likewise.
15301 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15303 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15304 (__bswap_32): Do not use "register".
15305 * crypt/crypt.c (_ufc_doit_r): Likewise.
15306 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15307 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15308 * gmon/gmon.c (__monstartup): Likewise.
15309 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15310 * hurd/hurdmalloc.c (more_memory): Likewise.
15311 (malloc): Likewise.
15313 (realloc): Likewise.
15314 (malloc_fork_prepare): Likewise.
15315 (malloc_fork_parent): Likewise.
15316 (malloc_fork_child): Likewise.
15317 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15318 (_svcauth_des): Likewise.
15319 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15320 * inet/inet_net.c (inet_network): Likewise.
15321 * inet/inet_netof.c (inet_netof): Likewise.
15322 * inet/rcmd.c (__validuser2_sa): Likewise.
15323 * io/fts.c (fts_open): Likewise.
15324 (fts_load): Likewise.
15325 (fts_close): Likewise.
15326 (fts_read): Likewise.
15327 (fts_children): Likewise.
15328 (fts_build): Likewise.
15329 (fts_stat): Likewise.
15330 (fts_sort): Likewise.
15331 (fts_alloc): Likewise.
15332 (fts_lfree): Likewise.
15333 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15334 (_IO_file_xsgetn): Likewise.
15335 (_IO_file_xsgetn_mmap): Likewise.
15336 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15337 (_IO_cookie_write): Likewise.
15338 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15339 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15340 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15341 * malloc/obstack.c (_obstack_begin): Likewise.
15342 (_obstack_begin_1): Likewise.
15343 (_obstack_newchunk): Likewise.
15344 (_obstack_allocated_p): Likewise.
15345 (obstack_free): Likewise.
15346 (_obstack_memory_used): Likewise.
15347 * misc/getttyent.c (getttynam): Likewise.
15348 (getttyent): Likewise.
15351 * misc/getusershell.c (initshells): Likewise.
15352 * misc/syslog.c (__vsyslog_chk): Likewise.
15353 * misc/ttyslot.c (ttyslot): Likewise.
15354 * nis/nis_hash.c (__nis_hash): Likewise.
15355 * posix/fnmatch_loop.c (FCT): Likewise.
15356 * posix/getconf.c (print_all): Likewise.
15358 * posix/getopt.c (exchange): Likewise.
15359 * posix/glob.c (globfree): Likewise.
15360 (prefix_array): Likewise.
15361 (__glob_pattern_type): Likewise.
15362 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15363 (NS_GET32): Likewise.
15364 (NS_PUT16): Likewise.
15365 (NS_PUT32): Likewise.
15366 * resolv/gethnamaddr.c (getanswer): Likewise.
15367 (gethostbyname2): Likewise.
15368 (gethostbyaddr): Likewise.
15369 (_gethtent): Likewise.
15370 (_gethtbyname2): Likewise.
15371 (_gethtbyaddr): Likewise.
15372 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15373 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15374 * resolv/res_init.c (__res_vinit): Likewise.
15375 (net_mask): Likewise.
15376 * resolv/res_mkquery.c (outchar): Likewise.
15378 * stdio-common/printf_fp.c (outchar): Likewise.
15380 * stdio-common/printf_fphex.c (outchar): Likewise.
15382 * stdio-common/printf_size.c (outchar): Likewise.
15384 * stdio-common/test_rdwr.c (main): Likewise.
15385 * stdio-common/tfformat.c (matches): Likewise.
15386 * stdio-common/vfprintf.c (outchar): Likewise.
15387 (printf_unknown): Likewise.
15388 (buffered_vfprintf): Likewise.
15389 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15390 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15391 (ReadFile): Likewise.
15392 * stdlib/qsort.c (SWAP): Likewise.
15393 (_quicksort): Likewise.
15394 * stdlib/setenv.c (__add_to_environ): Likewise.
15395 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15396 * stdlib/strtol_l.c (__strtol_l): Likewise.
15397 * stdlib/tst-strtod.c (main): Likewise.
15398 * stdlib/tst-strtol.c (main): Likewise.
15399 * stdlib/tst-strtoll.c (main): Likewise.
15400 * string/bits/string2.h (__strcmp_cc): Likewise.
15401 (__strcmp_cg): Likewise.
15402 (__strcspn_c1): Likewise.
15403 (__strcspn_c2): Likewise.
15404 (__strcspn_c3): Likewise.
15405 (__strspn_c1): Likewise.
15406 (__strspn_c2): Likewise.
15407 (__strspn_c3): Likewise.
15408 (__strsep_1c): Likewise.
15409 (__strsep_2c): Likewise.
15410 (__strsep_3c): Likewise.
15411 * string/memccpy.c (__memccpy): Likewise.
15412 * string/stpcpy.c (__stpcpy): Likewise.
15413 * string/strcmp.c (strcmp): Likewise.
15414 * string/strrchr.c (strrchr): Likewise.
15415 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15417 * sysdeps/mach/hurd/getcwd.c
15418 (_hurd_canonicalize_directory_name_internal): Likewise.
15419 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15420 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15421 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15422 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15423 Likewise, in both definitions.
15424 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15426 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15427 64] (__bswap_64): Likewise.
15428 * time/test_time.c (main): Likewise.
15429 * time/tzfile.c (__tzfile_read): Likewise.
15430 (__tzfile_compute): Likewise.
15431 * time/tzset.c (__tzset_parse_tz): Likewise.
15432 (tzset_internal): Likewise.
15433 (compute_change): Likewise.
15434 * wcsmbs/wcscat.c (__wcscat): Likewise.
15435 * wcsmbs/wcschr.c (wcschr): Likewise.
15436 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15437 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15438 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15439 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15440 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15441 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15442 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15443 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15444 * wcsmbs/wmemset.c (wmemset): Likewise.
15446 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15448 * scripts/config.guess: Update to version 2013-05-16.
15449 * scripts/config.sub: Update to version 2013-04-24.
15450 * scripts/install-sh: Update to version 2011-11-20.07.
15451 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15452 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15454 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15456 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15457 * elf/sln.c: Likewise.
15458 * hurd/hurd/ioctl.h: Likewise.
15459 * hurd/hurdmalloc.c: Likewise.
15460 * hurd/xattr.c: Likewise.
15461 * include/shlib-compat.h: Likewise.
15462 * inet/ruserpass.c: Likewise.
15463 * libio/iofgets_u.c: Likewise.
15464 * libio/iofgetws_u.c: Likewise.
15465 * locale/programs/ld-identification.c: Likewise.
15466 * locale/programs/ld-time.c: Likewise.
15467 * mach/msg-destroy.c: Likewise.
15468 * nss/nss_files/files-netgrp.c: Likewise.
15469 * resolv/res_data.c: Likewise.
15470 * soft-fp/op-1.h: Likewise.
15471 * soft-fp/op-2.h: Likewise.
15472 * soft-fp/op-4.h: Likewise.
15473 * soft-fp/op-common.h: Likewise.
15474 * stdio-common/printf_fphex.c: Likewise.
15475 * stdlib/strtod_l.c: Likewise.
15476 * sunrpc/rpc/clnt.h: Likewise.
15477 * sysdeps/generic/framestate.c: Likewise.
15478 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15479 * sysdeps/i386/bsd-setjmp.S: Likewise.
15480 * sysdeps/i386/__longjmp.S: Likewise.
15481 * sysdeps/i386/setjmp.S: Likewise.
15482 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15483 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15484 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15486 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15488 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15489 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15500 * sysdeps/ieee754/support.c: Likewise.
15501 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15502 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15503 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15504 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15505 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15506 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15507 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15508 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15509 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15510 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15511 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15512 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15513 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15514 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15515 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15516 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15517 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15520 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15522 * posix/transbug.c: Remove executable mode.
15524 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15526 * crypt/speeds.c: Remove trailing whitespace.
15527 * dlfcn/default.c: Likewise.
15528 * elf/ifuncdep2.c: Likewise.
15529 * elf/ifuncmain1.c: Likewise.
15530 * elf/ifuncmain1vis.c: Likewise.
15531 * elf/testobj.h: Likewise.
15532 * elf/tst-stackguard1.c: Likewise.
15533 * gmon/sys/gmon.h: Likewise.
15534 * hurd/hurdmsg.c: Likewise.
15535 * hurd/new-fd.c: Likewise.
15536 * hurd/ports-get.c: Likewise.
15537 * iconvdata/ibm1008_420.c: Likewise.
15538 * inet/tst-getni1.c: Likewise.
15539 * inet/tst-getni2.c: Likewise.
15540 * libio/ioungetc.c: Likewise.
15541 * libio/wfiledoalloc.c: Likewise.
15542 * manual/libm-err-tab.pl: Likewise.
15543 * math/w_dremf.c: Likewise.
15544 * misc/ftruncate.c: Likewise.
15545 * posix/bug-glob2.c: Likewise.
15546 * posix/tst-pcre.c: Likewise.
15547 * posix/wait4.c: Likewise.
15548 * resolv/README: Likewise.
15549 * resolv/res_debug.h: Likewise.
15550 * resolv/tst-inet_ntop.c: Likewise.
15551 * setjmp/bug269-setjmp.c: Likewise.
15552 * soft-fp/extended.h: Likewise.
15553 * soft-fp/op-1.h: Likewise.
15554 * soft-fp/op-2.h: Likewise.
15555 * soft-fp/op-4.h: Likewise.
15556 * soft-fp/op-8.h: Likewise.
15557 * soft-fp/testit.c: Likewise.
15558 * stdio-common/bug16.c: Likewise.
15559 * stdlib/random.c: Likewise.
15560 * sunrpc/rpcsvc/rquota.x: Likewise.
15561 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15562 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15564 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15565 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15566 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15567 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15568 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15569 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15570 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15571 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15577 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15590 * sysdeps/ieee754/s_lib_version.c: Likewise.
15591 * sysdeps/mach/hurd/check_fds.c: Likewise.
15592 * sysdeps/mach/hurd/getsockname.c: Likewise.
15593 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15594 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15595 * sysdeps/powerpc/bits/link.h: Likewise.
15596 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15597 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15598 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15599 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15600 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15601 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15602 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15603 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15604 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15605 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15606 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15607 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15608 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15609 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15610 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15611 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15612 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15614 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15615 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15616 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15617 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15618 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15619 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15620 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15621 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15622 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15623 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15624 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15625 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15626 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15627 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15628 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15629 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15630 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15631 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15632 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15633 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15634 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15635 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15636 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15637 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15638 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15639 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15640 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15641 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15642 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15643 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15644 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15645 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15648 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15649 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15650 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15651 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15652 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15653 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15654 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15655 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15656 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15657 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15658 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15659 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15660 * sysdeps/powerpc/sysdep.h: Likewise.
15661 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15662 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15663 * sysdeps/sh/dl-trampoline.S: Likewise.
15664 * sysdeps/sh/memset.S: Likewise.
15665 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15666 * sysdeps/sh/strlen.S: Likewise.
15667 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15668 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15669 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15670 * sysdeps/sparc/sparc32/rem.S: Likewise.
15671 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15672 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15673 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15674 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15675 * sysdeps/sparc/sparc32/urem.S: Likewise.
15676 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15677 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15678 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15679 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15680 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15681 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15682 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15683 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15684 * sysdeps/unix/bsd/times.c: Likewise.
15685 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15686 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15690 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15691 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15692 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15694 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15695 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15696 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15697 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15698 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15699 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15700 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15701 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15702 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15703 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15704 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15705 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15706 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15707 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15708 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15709 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15710 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15711 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15712 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15713 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15714 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15715 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15716 * sysdeps/x86_64/strcspn.S: Likewise.
15718 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15720 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15721 generated file. Regenerate properly from gen-translit.pl.
15722 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15723 locale/C-translit.h.
15725 2013-06-05 Andreas Schwab <schwab@suse.de>
15728 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15729 week as 6 instead of -1.
15730 * time/tst-strptime.c (day_tests): Add test case.
15732 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15734 * sysdeps/generic/math_private.h
15735 (libc_feholdexcept_setround_53bit): Replace with
15736 libc_feholdsetround_53bit.
15737 (libc_feupdateenv_53bit): Replace with
15738 libc_feresetround_53bit.
15739 (SET_RESTORE_ROUND_53BIT): Adjust.
15741 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15743 * string/test-strchrnul.c: Add copyright header.
15745 * posix/tst-getaddrinfo4.c: Increase test timeout.
15747 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15750 * math/libm-test.inc (MAX_EXP): Remove
15752 (ulp): Use MIN_EXP - MANT_DIG.
15753 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15755 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15757 * po/be.po: Revert last change.
15758 * po/zh_CN.po: Likewise.
15759 * po/header.pot: Likewise.
15761 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15763 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15764 link-libc-deps to empty as target-specific variable.
15765 * Makerules (link-libc-args): New variable.
15766 (libc-for-link): Likewise.
15767 (link-libc-deps): Likewise.
15768 (lib%.so): Depend on $(link-libc-deps). Link with
15770 (build-module): Link with $(link-libc-args).
15771 (build-module-asneeded): Likewise.
15772 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15774 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15775 target-specific variable.
15776 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15777 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15778 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15780 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15782 ($(objpfx)libpcprofile.so): Likewise.
15783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15785 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15786 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15787 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15789 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15790 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15791 * login/Makefile ($(objpfx)libutil.so): Likewise.
15792 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15793 * math/Makefile ($(objpfx)libm.so): Likewise.
15794 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15795 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15796 variable instead of depending directly on libc.
15797 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15798 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15800 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15802 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15803 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15804 ($(objpfx)libanl.so): Likewise.
15805 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15807 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15809 * sysdeps/i386/fpu/Makefile: Remove file.
15810 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15811 ($(objpfx)libm.so): Remove dependency on ld.so.
15813 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
15816 * nis/yp_xdr.c (XDRMAXNAME): Define.
15817 (XDRMAXRECORD): Define.
15818 (xdr_domainname): Use XDRMAXNAME.
15819 (xdr_mapname): Likewise.
15820 (xdr_peername): Likewise.
15821 (xdr_keydat): Use XDRMAXRECORD.
15822 (xdr_valdat): Likewise.
15824 2013-05-30 Jeff Law <law@redhat.com>
15827 * manual/errno.texi (ESTALE): Update to account for more than
15828 just NFS file systems.
15829 * sysdeps/gnu/errlist.c: Regenerated.
15831 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15834 * elf/Makefile (tests): Add tst-null-argv.
15835 (modules-names): Add tst-null-argv-lib.
15836 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15837 (tst-null-argv-ENV): Set environment for tst-null-argv.
15838 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15839 (RTLD_PROGNAME): New macro.
15840 * elf/tst-null-argv.c: New test case.
15841 * elf/tst-null-argv-lib.c: Library for test case.
15842 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15843 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15844 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15845 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15846 * elf/dl-init.c (call_init): Likewise.
15847 (_dl_init): Likewise.
15848 * elf/dl-load.c (print_search_path): Likewise.
15849 (_dl_map_object): Likewise.
15850 * elf/dl-lookup.c (do_lookup_x): Likewise.
15851 (add_dependency): Likewise.
15852 (_dl_lookup_symbol_x): Likewise.
15853 (_dl_debug_bindings): Likewise.
15854 * elf/dl-open.c (_dl_show_scope): Likewise.
15855 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15856 * elf/dl-version.c (match_symbol): Likewise.
15857 (_dl_check_map_versions): Likewise.
15858 * elf/rtld.c (dl_main): Likewise.
15859 (print_unresolved): Use RTLD_PROGNAME.
15860 (print_missing_version): Likewise.
15861 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15862 (elf_machine_rela): Likewise.
15863 * sysdeps/powerpc/powerpc32/dl-machine.c
15864 (__process_machine_rela): Likewise.
15865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15867 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15869 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15871 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15874 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15878 2013-05-28 Carlos O'Donell <carlos@redhat.com>
15880 * po/be.po: Add descriptive title.
15881 * po/zh_CN.po: Likewise.
15882 * po/header.pot: Likewise.
15884 2013-05-28 Mike Frysinger <vapier@gentoo.org>
15886 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15888 (enlarge_archive): Likewise.
15890 2013-05-28 Ben North <ben@redfrontdoor.org>
15892 * manual/arith.texi (frexp): It is the magnitude of the return
15893 value which lies in [0.5, 1), not the return value itself.
15895 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15899 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15901 * stdio-common/bug26.c (main): Correct fscanf template.
15903 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15904 declare _dl_skip_args.
15906 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15909 * manual/platform.texi: Add missing @end deftypefun.
15911 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15914 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15915 bit of mantissa of 2^16382.
15916 * math/libm-test.inc (hypot_test_data): Add more tests.
15918 * math/libm-test.inc: Add drem and pow10 to list of tested
15920 (pow10_test): New function.
15921 (drem_test): Likewise.
15922 (drem_test_tonearest): Likewise.
15923 (drem_test_towardzero): Likewise.
15924 (drem_test_downward): Likewise.
15925 (drem_test_upward): Likewise.
15926 (main): Call the new functions.
15928 * math/libm-test.inc (finite_test_data): Remove.
15929 (finite_test): Run tests from isfinite_test_data.
15930 (gamma_test_data): Remove.
15931 (gamma_test): Run tests from lgamma_test_data.
15932 * sysdeps/i386/fpu/libm-test-ulps: Update.
15933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15935 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15937 * manual/platform.texi: Add PowerPC PPR function set documentation.
15938 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15941 2013-05-24 Carlos O'Donell <carlos@redhat.com>
15943 * math/libm-test.inc (MAX_EXP): Define.
15945 (ulp): New function.
15946 (check_float_internal): Use ULPDIFF.
15947 (cpow_test): Disable failing test.
15948 (check_ulp): Test ulp() implemetnation.
15949 (main): Call check_ulp before starting tests.
15951 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15953 * math/gen-libm-test.pl (generate_testfile): Do not handle
15954 START_DATA and END_DATA.
15955 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15957 (acos_tonearest_test_data): Likewise.
15958 (acos_towardzero_test_data): Likewise.
15959 (acos_downward_test_data): Likewise.
15960 (acos_upward_test_data): Likewise.
15961 (acosh_test_data): Likewise.
15962 (asin_test_data): Likewise.
15963 (asin_tonearest_test_data): Likewise.
15964 (asin_towardzero_test_data): Likewise.
15965 (asin_downward_test_data): Likewise.
15966 (asin_upward_test_data): Likewise.
15967 (asinh_test_data): Likewise.
15968 (atan_test_data): Likewise.
15969 (atanh_test_data): Likewise.
15970 (atan2_test_data): Likewise.
15971 (cabs_test_data): Likewise.
15972 (cacos_test_data): Likewise.
15973 (cacosh_test_data): Likewise.
15974 (carg_test_data): Likewise.
15975 (casin_test_data): Likewise.
15976 (casinh_test_data): Likewise.
15977 (catan_test_data): Likewise.
15978 (catanh_test_data): Likewise.
15979 (cbrt_test_data): Likewise.
15980 (ccos_test_data): Likewise.
15981 (ccosh_test_data): Likewise.
15982 (ceil_test_data): Likewise.
15983 (cexp_test_data): Likewise.
15984 (cimag_test_data): Likewise.
15985 (clog_test_data): Likewise.
15986 (clog10_test_data): Likewise.
15987 (conj_test_data): Likewise.
15988 (copysign_test_data): Likewise.
15989 (cos_test_data): Likewise.
15990 (cos_tonearest_test_data): Likewise.
15991 (cos_towardzero_test_data): Likewise.
15992 (cos_downward_test_data): Likewise.
15993 (cos_upward_test_data): Likewise.
15994 (cosh_test_data): Likewise.
15995 (cosh_tonearest_test_data): Likewise.
15996 (cosh_towardzero_test_data): Likewise.
15997 (cosh_downward_test_data): Likewise.
15998 (cosh_upward_test_data): Likewise.
15999 (cpow_test_data): Likewise.
16000 (cproj_test_data): Likewise.
16001 (creal_test_data): Likewise.
16002 (csin_test_data): Likewise.
16003 (csinh_test_data): Likewise.
16004 (csqrt_test_data): Likewise.
16005 (ctan_test_data): Likewise.
16006 (ctan_tonearest_test_data): Likewise.
16007 (ctan_towardzero_test_data): Likewise.
16008 (ctan_downward_test_data): Likewise.
16009 (ctan_upward_test_data): Likewise.
16010 (ctanh_test_data): Likewise.
16011 (ctanh_tonearest_test_data): Likewise.
16012 (ctanh_towardzero_test_data): Likewise.
16013 (ctanh_downward_test_data): Likewise.
16014 (ctanh_upward_test_data): Likewise.
16015 (erf_test_data): Likewise.
16016 (erfc_test_data): Likewise.
16017 (exp_test_data): Likewise.
16018 (exp_tonearest_test_data): Likewise.
16019 (exp_towardzero_test_data): Likewise.
16020 (exp_downward_test_data): Likewise.
16021 (exp_upward_test_data): Likewise.
16022 (exp10_test_data): Likewise.
16023 (exp2_test_data): Likewise.
16024 (expm1_test_data): Likewise.
16025 (fabs_test_data): Likewise.
16026 (fdim_test_data): Likewise.
16027 (finite_test_data): Likewise.
16028 (floor_test_data): Likewise.
16029 (fma_test_data): Likewise.
16030 (fma_towardzero_test_data): Likewise.
16031 (fma_downward_test_data): Likewise.
16032 (fma_upward_test_data): Likewise.
16033 (fmax_test_data): Likewise.
16034 (fmin_test_data): Likewise.
16035 (fmod_test_data): Likewise.
16036 (fpclassify_test_data): Likewise.
16037 (frexp_test_data): Likewise.
16038 (gamma_test_data): Likewise.
16039 (hypot_test_data): Likewise.
16040 (ilogb_test_data): Likewise.
16041 (isfinite_test_data): Likewise.
16042 (isgreater_test_data): Likewise.
16043 (isgreaterequal_test_data): Likewise.
16044 (isinf_test_data): Likewise.
16045 (isless_test_data): Likewise.
16046 (islessequal_test_data): Likewise.
16047 (islessgreater_test_data): Likewise.
16048 (isnan_test_data): Likewise.
16049 (isnormal_test_data): Likewise.
16050 (issignaling_test_data): Likewise.
16051 (isunordered_test_data): Likewise.
16052 (j0_test_data): Likewise.
16053 (j1_test_data): Likewise.
16054 (jn_test_data): Likewise.
16055 (ldexp_test_data): Likewise.
16056 (lgamma_test_data): Likewise.
16057 (lrint_test_data): Likewise.
16058 (lrint_tonearest_test_data): Likewise.
16059 (lrint_towardzero_test_data): Likewise.
16060 (lrint_downward_test_data): Likewise.
16061 (lrint_upward_test_data): Likewise.
16062 (llrint_test_data): Likewise.
16063 (llrint_tonearest_test_data): Likewise.
16064 (llrint_towardzero_test_data): Likewise.
16065 (llrint_downward_test_data): Likewise.
16066 (llrint_upward_test_data): Likewise.
16067 (log_test_data): Likewise.
16068 (log10_test_data): Likewise.
16069 (log1p_test_data): Likewise.
16070 (log2_test_data): Likewise.
16071 (logb_test_data): Likewise.
16072 (logb_downward_test_data): Likewise.
16073 (lround_test_data): Likewise.
16074 (llround_test_data): Likewise.
16075 (modf_test_data): Likewise.
16076 (nearbyint_test_data): Likewise.
16077 (nextafter_test_data): Likewise.
16078 (nexttoward_test_data): Likewise.
16079 (pow_test_data): Likewise.
16080 (pow_tonearest_test_data): Likewise.
16081 (pow_towardzero_test_data): Likewise.
16082 (pow_downward_test_data): Likewise.
16083 (pow_upward_test_data): Likewise.
16084 (remainder_test_data): Likewise.
16085 (remainder_tonearest_test_data): Likewise.
16086 (remainder_towardzero_test_data): Likewise.
16087 (remainder_downward_test_data): Likewise.
16088 (remainder_upward_test_data): Likewise.
16089 (remquo_test_data): Likewise.
16090 (rint_test_data): Likewise.
16091 (rint_tonearest_test_data): Likewise.
16092 (rint_towardzero_test_data): Likewise.
16093 (rint_downward_test_data): Likewise.
16094 (rint_upward_test_data): Likewise.
16095 (round_test_data): Likewise.
16096 (scalb_test_data): Likewise.
16097 (scalbn_test_data): Likewise.
16098 (scalbln_test_data): Likewise.
16099 (signbit_test_data): Likewise.
16100 (sin_test_data): Likewise.
16101 (sin_tonearest_test_data): Likewise.
16102 (sin_towardzero_test_data): Likewise.
16103 (sin_downward_test_data): Likewise.
16104 (sin_upward_test_data): Likewise.
16105 (sincos_test_data): Likewise.
16106 (sinh_test_data): Likewise.
16107 (sinh_tonearest_test_data): Likewise.
16108 (sinh_towardzero_test_data): Likewise.
16109 (sinh_downward_test_data): Likewise.
16110 (sinh_upward_test_data): Likewise.
16111 (sqrt_test_data): Likewise.
16112 (tan_test_data): Likewise.
16113 (tan_tonearest_test_data): Likewise.
16114 (tan_towardzero_test_data): Likewise.
16115 (tan_downward_test_data): Likewise.
16116 (tan_upward_test_data): Likewise.
16117 (tanh_test_data): Likewise.
16118 (tgamma_test_data): Likewise.
16119 (trunc_test_data): Likewise.
16120 (y0_test_data): Likewise.
16121 (y1_test_data): Likewise.
16122 (yn_test_data): Likewise.
16123 (significand_test_data): Likewise.
16125 * math/gen-libm-test.pl (@functions): Remove variable.
16126 (generate_testfile): Don't handle START and END lines.
16127 * math/libm-test.inc (START): New macro.
16129 (END_COMPLEX): Likewise.
16130 (acos_test): Use END macro without arguments.
16131 (acos_test_tonearest): Likewise.
16132 (acos_test_towardzero): Likewise.
16133 (acos_test_downward): Likewise.
16134 (acos_test_upward): Likewise.
16135 (acosh_test): Likewise.
16136 (asin_test): Likewise.
16137 (asin_test_tonearest): Likewise.
16138 (asin_test_towardzero): Likewise.
16139 (asin_test_downward): Likewise.
16140 (asin_test_upward): Likewise.
16141 (asinh_test): Likewise.
16142 (atan_test): Likewise.
16143 (atanh_test): Likewise.
16144 (atan2_test): Likewise.
16145 (cabs_test): Likewise.
16146 (cacos_test): Use END_COMPLEX macro without arguments.
16147 (cacosh_test): Likewise.
16148 (carg_test): Use END macro without arguments.
16149 (casin_test): Use END_COMPLEX macro without arguments.
16150 (casinh_test): Likewise.
16151 (catan_test): Likewise.
16152 (catanh_test): Likewise.
16153 (cbrt_test): Use END macro without arguments.
16154 (ccos_test): Use END_COMPLEX macro without arguments.
16155 (ccosh_test): Likewise.
16156 (ceil_test): Use END macro without arguments.
16157 (cexp_test): Use END_COMPLEX macro without arguments.
16158 (cimag_test): Use END macro without arguments.
16159 (clog_test): Use END_COMPLEX macro without arguments.
16160 (clog10_test): Likewise.
16161 (conj_test): Likewise.
16162 (copysign_test): Use END macro without arguments.
16163 (cos_test): Likewise.
16164 (cos_test_tonearest): Likewise.
16165 (cos_test_towardzero): Likewise.
16166 (cos_test_downward): Likewise.
16167 (cos_test_upward): Likewise.
16168 (cosh_test): Likewise.
16169 (cosh_test_tonearest): Likewise.
16170 (cosh_test_towardzero): Likewise.
16171 (cosh_test_downward): Likewise.
16172 (cosh_test_upward): Likewise.
16173 (cpow_test): Use END_COMPLEX macro without arguments.
16174 (cproj_test): Likewise.
16175 (creal_test): Use END macro without arguments.
16176 (csin_test): Use END_COMPLEX macro without arguments.
16177 (csinh_test): Likewise.
16178 (csqrt_test): Likewise.
16179 (ctan_test): Likewise.
16180 (ctan_test_tonearest): Likewise.
16181 (ctan_test_towardzero): Likewise.
16182 (ctan_test_downward): Likewise.
16183 (ctan_test_upward): Likewise.
16184 (ctanh_test): Likewise.
16185 (ctanh_test_tonearest): Likewise.
16186 (ctanh_test_towardzero): Likewise.
16187 (ctanh_test_downward): Likewise.
16188 (ctanh_test_upward): Likewise.
16189 (erf_test): Use END macro without arguments.
16190 (erfc_test): Likewise.
16191 (exp_test): Likewise.
16192 (exp_test_tonearest): Likewise.
16193 (exp_test_towardzero): Likewise.
16194 (exp_test_downward): Likewise.
16195 (exp_test_upward): Likewise.
16196 (exp10_test): Likewise.
16197 (exp2_test): Likewise.
16198 (expm1_test): Likewise.
16199 (fabs_test): Likewise.
16200 (fdim_test): Likewise.
16201 (finite_test): Likewise.
16202 (floor_test): Likewise.
16203 (fma_test): Likewise.
16204 (fma_test_towardzero): Likewise.
16205 (fma_test_downward): Likewise.
16206 (fma_test_upward): Likewise.
16207 (fmax_test): Likewise.
16208 (fmin_test): Likewise.
16209 (fmod_test): Likewise.
16210 (fpclassify_test): Likewise.
16211 (frexp_test): Likewise.
16212 (gamma_test): Likewise.
16213 (hypot_test): Likewise.
16214 (ilogb_test): Likewise.
16215 (isfinite_test): Likewise.
16216 (isgreater_test): Likewise.
16217 (isgreaterequal_test): Likewise.
16218 (isinf_test): Likewise.
16219 (isless_test): Likewise.
16220 (islessequal_test): Likewise.
16221 (islessgreater_test): Likewise.
16222 (isnan_test): Likewise.
16223 (isnormal_test): Likewise.
16224 (issignaling_test): Likewise.
16225 (isunordered_test): Likewise.
16226 (j0_test): Likewise.
16227 (j1_test): Likewise.
16228 (jn_test): Likewise.
16229 (ldexp_test): Likewise.
16230 (lgamma_test): Likewise.
16231 (lrint_test): Likewise.
16232 (lrint_test_tonearest): Likewise.
16233 (lrint_test_towardzero): Likewise.
16234 (lrint_test_downward): Likewise.
16235 (lrint_test_upward): Likewise.
16236 (llrint_test): Likewise.
16237 (llrint_test_tonearest): Likewise.
16238 (llrint_test_towardzero): Likewise.
16239 (llrint_test_downward): Likewise.
16240 (llrint_test_upward): Likewise.
16241 (log_test): Likewise.
16242 (log10_test): Likewise.
16243 (log1p_test): Likewise.
16244 (log2_test): Likewise.
16245 (logb_test): Likewise.
16246 (logb_test_downward): Likewise.
16247 (lround_test): Likewise.
16248 (llround_test): Likewise.
16249 (modf_test): Likewise.
16250 (nearbyint_test): Likewise.
16251 (nextafter_test): Likewise.
16252 (nexttoward_test): Likewise.
16253 (pow_test): Likewise.
16254 (pow_test_tonearest): Likewise.
16255 (pow_test_towardzero): Likewise.
16256 (pow_test_downward): Likewise.
16257 (pow_test_upward): Likewise.
16258 (remainder_test): Likewise.
16259 (remainder_test_tonearest): Likewise.
16260 (remainder_test_towardzero): Likewise.
16261 (remainder_test_downward): Likewise.
16262 (remainder_test_upward): Likewise.
16263 (remquo_test): Likewise.
16264 (rint_test): Likewise.
16265 (rint_test_tonearest): Likewise.
16266 (rint_test_towardzero): Likewise.
16267 (rint_test_downward): Likewise.
16268 (rint_test_upward): Likewise.
16269 (round_test): Likewise.
16270 (scalb_test): Likewise.
16271 (scalbn_test): Likewise.
16272 (scalbln_test): Likewise.
16273 (signbit_test): Likewise.
16274 (sin_test): Likewise.
16275 (sin_test_tonearest): Likewise.
16276 (sin_test_towardzero): Likewise.
16277 (sin_test_downward): Likewise.
16278 (sin_test_upward): Likewise.
16279 (sincos_test): Likewise.
16280 (sinh_test): Likewise.
16281 (sinh_test_tonearest): Likewise.
16282 (sinh_test_towardzero): Likewise.
16283 (sinh_test_downward): Likewise.
16284 (sinh_test_upward): Likewise.
16285 (sqrt_test): Likewise.
16286 (tan_test): Likewise.
16287 (tan_test_tonearest): Likewise.
16288 (tan_test_towardzero): Likewise.
16289 (tan_test_downward): Likewise.
16290 (tan_test_upward): Likewise.
16291 (tanh_test): Likewise.
16292 (tgamma_test): Likewise.
16293 (trunc_test): Likewise.
16294 (y0_test): Likewise.
16295 (y1_test): Likewise.
16296 (yn_test): Likewise.
16297 (significand_test): Likewise.
16299 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16302 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16304 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16307 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16308 __ppc_mdoio and __ppc_mdoom.
16309 * manual/platform.texi: Document new functions __ppc_yield,
16310 __ppc_mdoio and __ppc_mdoom.
16312 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16314 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16315 (main): Mention "tls" pseudo-hwcap is legacy.
16316 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16318 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16320 * math/gen-libm-test.pl (parse_args): Output only string of
16321 arguments as text for test name, not full call or descriptions of
16322 tests for extra outputs.
16323 (generate_testfile): Do not pass function name to parse_args.
16324 Generate this_func variable from START.
16325 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16327 (struct test_ff_f_data): Likewise.
16328 (test_ff_f_data_nexttoward): Likewise.
16329 (struct test_fi_f_data): Likewise.
16330 (struct test_fl_f_data): Likewise.
16331 (struct test_if_f_data): Likewise.
16332 (struct test_fff_f_data): Likewise.
16333 (struct test_c_f_data): Likewise.
16334 (struct test_f_f1_data): Likewise. Remove field extra_name.
16335 (struct test_fF_f1_data): Likewise.
16336 (struct test_ffI_f1_data): Likewise.
16337 (struct test_c_c_data): Rename test_name field to arg_str.
16338 (struct test_cc_c_data): Likewise.
16339 (struct test_f_i_data): Likewise.
16340 (struct test_ff_i_data): Likewise.
16341 (struct test_f_l_data): Likewise.
16342 (struct test_f_L_data): Likewise.
16343 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16345 (COMMON_TEST_SETUP): New macro.
16346 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16347 (COMMON_TEST_CLEANUP): Likewise.
16348 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16349 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16351 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16352 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16354 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16355 (RUN_TEST_fff_f): Take argument string. Call new setup and
16357 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16358 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16360 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16361 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16363 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16364 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16366 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16367 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16369 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16370 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16372 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16373 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16375 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16376 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16378 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16379 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16381 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16382 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16384 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16385 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16387 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16388 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16390 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16391 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16393 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16394 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16396 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16397 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16399 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16400 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16402 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16404 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16406 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16407 to _sifields.sigfault.
16408 (si_addr_lsb): Define new macro.
16409 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16411 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16413 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16416 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16418 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16420 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16421 loading the domain.
16423 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16425 * math/gen-libm-test.pl (parse_args): Do not include expected
16426 result in test name.
16427 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16429 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16430 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16431 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16434 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16436 * benchtests/Makefile: Sort function entries.
16438 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16439 tanh, asinh, acosh, atanh.
16440 * benchtests/acos-inputs: New file.
16441 * benchtests/acosh-inputs: New file.
16442 * benchtests/asin-inputs: New file.
16443 * benchtests/asinh-inputs: New file.
16444 * benchtests/atanh-inputs: New file.
16445 * benchtests/cosh-inputs: New file.
16446 * benchtests/log-inputs: New file.
16447 * benchtests/sinh-inputs: New file.
16448 * benchtests/tanh-inputs: New file.
16450 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16453 * posix/tst-getaddrinfo4.c: New test.
16454 * posix/Makefile (tests): Add it.
16456 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16459 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16460 when no services were used.
16461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16462 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16464 2013-05-21 Andreas Schwab <schwab@suse.de>
16467 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16468 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16470 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16471 redundant variable declarations and reallocation of buffer when
16472 parsing as IPv6 address. Always set NSS status when called from
16473 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16474 buffer too small. Correct computation of needed size.
16475 * nss/Makefile (tests): Add test-digits-dots.
16476 * nss/test-digits-dots.c: New test.
16478 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16480 * benchtests/Makefile: Remove instructions for adding
16482 * benchtests/README: New file to explain how to execute and
16483 enhance the benchmark tests.
16485 2013-05-21 Andreas Schwab <schwab@suse.de>
16488 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16489 * setjmp/tst-sigsetjmp.c: New test.
16491 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16493 * sysdeps/x86_64/memset.S (memset): New implementation.
16494 (__bzero): Likewise.
16495 (__memset_tail): New function.
16497 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16499 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16500 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16501 __memcpy_sse2_unaligned ifunc selection.
16502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16503 Add memcpy-sse2-unaligned.S.
16504 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16505 Add: __memcpy_sse2_unaligned.
16507 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16510 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16511 math_force_eval before restoring floating-point envrionment.
16512 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16513 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16515 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16517 (__nearbyintl): Use math_force_eval before restoring
16518 floating-point environment.
16519 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16521 * math/gen-libm-test.pl (special_functions): Remove.
16522 (parse_args): Don't handle TEST_extra. Handle functions with no
16524 * math/libm-test.inc (struct test_sincos_data): Replace with
16525 struct test_fFF_11_data.
16526 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16527 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16528 (sincos_test_data): Change element type to struct
16529 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16530 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16531 RUN_TEST_LOOP_sincos.
16532 * math/README.libm-test: Don't mention special handling of
16533 individual functions.
16534 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16536 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16537 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16538 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16541 * math/gen-libm-test.pl (get_variable): Remove function.
16542 (parse_args): Don't show pointer parameters to call in test
16543 names. Use "extra output N" in test names for extra outputs
16544 rather than naming variables.
16546 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16549 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16550 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16551 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16553 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16555 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16558 * math/gen-libm-test.pl (@tests): Remove variable.
16559 ($count): Likewise.
16560 (new_test): Remove function.
16561 (show_exceptions): New function.
16562 (special_functions): Use show_exceptions instead of new_test.
16563 (parse_args): Likewise.
16564 (generate_testfile): Pass only function name in generated call to
16565 print_max_error or print_complex_max_error.
16566 (get_ulps): Do not handle complex tests specially.
16567 (output_test): Rename to ...
16568 (get_all_ulps_for_test): ... this. Return a string rather than
16569 printing to a file. Require ulps to be present.
16570 (output_ulps): Generate arrays rather than #defines.
16571 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16572 (struct ulp_data): New type.
16573 (BUILD_COMPLEX_ULP): Remove macro.
16574 (compare_ulp_data): New function.
16575 (find_ulps): Likewise.
16576 (find_test_ulps): Likewise.
16577 (find_function_ulps): Likewise.
16578 (find_complex_function_ulps): Likewise.
16579 (print_max_error): Determine allowed ulps using
16580 find_function_ulps.
16581 (print_complex_max_error): Determine allowed ulps using
16582 find_complex_function_ulps.
16583 (check_float_internal): Determine max ulps using find_test_ulps.
16584 (check_float): Do not take max_ulp parameter. Update call to
16585 check_float_internal.
16586 (check_complex): Likewise.
16587 (check_int): Do not take max_ulp parameter.
16588 (check_long): Likewise.
16589 (check_bool): Likewise.
16590 (check_longlong): Likewise.
16591 (struct test_f_f_data): Remove max_ulp field.
16592 (struct test_ff_f_data): Likewise.
16593 (struct test_ff_f_data_nexttoward): Likewise.
16594 (struct test_fi_f_data): Likewise.
16595 (struct test_fl_f_data): Likewise.
16596 (struct test_if_f_data): Likewise.
16597 (struct test_fff_f_data): Likewise.
16598 (struct test_c_f_data): Likewise.
16599 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16600 (struct test_fF_f1_data): Likewise.
16601 (struct test_ffI_f1_data): Likewise.
16602 (struct test_c_c_data): Remove max_ulp field.
16603 (struct test_cc_c_data): Likewise.
16604 (struct test_f_i_data): Likewise.
16605 (struct test_ff_i_data): Likewise.
16606 (struct test_f_l_data): Likewise.
16607 (struct test_f_L_data): Likewise.
16608 (struct test_sincos_data): Likewise.
16609 (RUN_TEST_f_f): Do not handle ulps.
16610 (RUN_TEST_LOOP_f_f): Likewise.
16611 (RUN_TEST_2_f): Likewise.
16612 (RUN_TEST_LOOP_2_f): Likewise.
16613 (RUN_TEST_fff_f): Likewise.
16614 (RUN_TEST_LOOP_fff_f): Likewise.
16615 (RUN_TEST_c_f): Likewise.
16616 (RUN_TEST_LOOP_c_f): Likewise.
16617 (RUN_TEST_f_f1): Likewise.
16618 (RUN_TEST_LOOP_f_f1): Likewise.
16619 (RUN_TEST_fF_f1): Likewise.
16620 (RUN_TEST_LOOP_fF_f1): Likewise.
16621 (RUN_TEST_fI_f1): Likewise.
16622 (RUN_TEST_LOOP_fI_f1): Likewise.
16623 (RUN_TEST_ffI_f1): Likewise.
16624 (RUN_TEST_LOOP_ffI_f1): Likewise.
16625 (RUN_TEST_c_c): Likewise.
16626 (RUN_TEST_LOOP_c_c): Likewise.
16627 (RUN_TEST_cc_c): Likewise.
16628 (RUN_TEST_LOOP_cc_c): Likewise.
16629 (RUN_TEST_f_i): Likewise.
16630 (RUN_TEST_LOOP_f_i): Likewise.
16631 (RUN_TEST_f_i_tg): Likewise.
16632 (RUN_TEST_LOOP_f_i_tg): Likewise.
16633 (RUN_TEST_ff_i_tg): Likewise.
16634 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16635 (RUN_TEST_f_b): Likewise.
16636 (RUN_TEST_LOOP_f_b): Likewise.
16637 (RUN_TEST_f_b_tg): Likewise.
16638 (RUN_TEST_LOOP_f_b_tg): Likewise.
16639 (RUN_TEST_f_l): Likewise.
16640 (RUN_TEST_LOOP_f_l): Likewise.
16641 (RUN_TEST_f_L): Likewise.
16642 (RUN_TEST_LOOP_f_L): Likewise.
16643 (RUN_TEST_sincos): Likewise.
16644 (RUN_TEST_LOOP_sincos): Likewise.
16646 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16650 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16651 main case of finite arguments, set rounding mode to FE_TONEAREST
16652 and discard exceptions.
16653 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16655 (remainder_tonearest_test_data): New variable.
16656 (remainder_test_tonearest): New function.
16657 (remainder_towardzero_test_data): New variable.
16658 (remainder_test_towardzero): New function.
16659 (remainder_downward_test_data): New variable.
16660 (remainder_test_downward): New function.
16661 (remainder_upward_test_data): New variable.
16662 (remainder_test_upward): New function.
16663 (main): Call the new test functions.
16665 * math/libm-test.inc (struct test_f_f1_data): Remove field
16667 (struct test_fF_f1_data): Likewise.
16668 (struct test_ffI_f1_data): Likewise.
16669 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16670 based on value of EXTRA_EXPECTED.
16671 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16672 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16673 EXTRA_VAR based on value of EXTRA_EXPECTED.
16674 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16675 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16676 EXTRA_VAR based on value of EXTRA_EXPECTED.
16677 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16678 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16679 EXTRA_VAR based on value of EXTRA_EXPECTED.
16680 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16681 * math/gen-libm-test.pl (parse_args): Don't output initializers
16682 for extra output values.
16684 * math/libm-test.inc (check_int): Expect result to be exactly
16685 equal to expected value and do not handle ulps.
16686 (check_long): Likewise.
16687 (check_longlong): Likewise.
16689 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16691 (cimag_test_data): Likewise.
16692 (conj_test_data): Likewise.
16693 (copysign_test_data): Likewise.
16694 (cproj_test_data): Likewise.
16695 (creal_test_data): Likewise.
16696 (fabs_test_data): Likewise.
16697 (fdim_test_data): Likewise.
16698 (finite_test_data): Likewise.
16699 (floor_test_data): Likewise.
16700 (fmax_test_data): Likewise.
16701 (fmin_test_data): Likewise.
16702 (fmod_test_data): Likewise.
16703 (fpclassify_test_data): Likewise.
16704 (frexp_test_data): Likewise.
16705 (ilogb_test_data): Likewise.
16706 (isfinite_test_data): Likewise.
16707 (isgreater_test_data): Likewise.
16708 (isgreaterequal_test_data): Likewise.
16709 (isinf_test_data): Likewise.
16710 (isless_test_data): Likewise.
16711 (islessequal_test_data): Likewise.
16712 (islessgreater_test_data): Likewise.
16713 (isnan_test_data): Likewise.
16714 (isnormal_test_data): Likewise.
16715 (issignaling_test_data): Likewise.
16716 (isunordered_test_data): Likewise.
16717 (ldexp_test_data): Likewise.
16718 (lrint_test_data): Likewise.
16719 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16720 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16721 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16722 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16723 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16724 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16726 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16727 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16728 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16729 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16731 (lrint_downward_test_data): Test for "inexact" exceptions.
16732 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16733 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16734 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16736 (lrint_upward_test_data): Test for "inexact" exceptions.
16737 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16739 (llrint_test_data): Test for "inexact" exceptions.
16740 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16741 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16742 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16743 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16744 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16745 (llrint_downward_test_data): Test for "inexact" exceptions.
16746 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16747 (llrint_upward_test_data): Test for "inexact" exceptions.
16748 (logb_test_data): Likewise.
16749 (logb_downward_test_data): Likewise.
16750 (nextafter_test_data): Likewise.
16751 (nexttoward_test_data): Likewise.
16752 (remainder_test_data): Likewise.
16753 (remquo_test_data): Likewise.
16754 (scalbn_test_data): Likewise.
16755 (scalbln_test_data): Likewise.
16756 (signbit_test_data): Likewise.
16757 (sqrt_test_data): Likewise.
16758 (significand_test_data): Likewise.
16760 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16763 * benchtests/bench-modf.c (struct args): Mark arg0 as
16765 * scripts/bench.pl: Mark members of struct args as volatile.
16767 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16770 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16771 negative infinity on POWER6 or lower.
16772 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16774 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16777 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16778 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16779 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16780 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16781 (_FP_SETQNAN): New macro.
16782 (_FP_SETQNAN_SEMIRAW): Likewise.
16783 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16784 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16785 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16786 (FP_EXTEND): Use _FP_FRAC_SNANP.
16787 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16788 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16790 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16795 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16797 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16798 with DIVIDE_BY_ZERO_EXCEPTION.
16799 (gamma_test_data): Likewise.
16800 (lgamma_test_data): Likewise.
16801 (log_test_data): Likewise.
16802 (log10_test_data): Likewise.
16803 (log2_test_data): Likewise.
16804 (tgamma_test_data): Likewise.
16806 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16807 (acos_test_tonearest): Likewise.
16808 (acos_test_towardzero): Likewise.
16809 (acos_test_downward): Likewise.
16810 (acos_test_upward): Likewise.
16811 (acosh_test): Likewise.
16812 (asin_test): Likewise.
16813 (asin_test_tonearest): Likewise.
16814 (asin_test_towardzero): Likewise.
16815 (asin_test_downward): Likewise.
16816 (asin_test_upward): Likewise.
16817 (asinh_test): Likewise.
16818 (atan_test): Likewise.
16819 (atanh_test): Likewise.
16820 (atan2_test): Likewise.
16821 (cabs_test): Likewise.
16822 (cacos_test): Likewise.
16823 (cacosh_test): Likewise.
16824 (casin_test): Likewise.
16825 (casinh_test): Likewise.
16826 (catan_test): Likewise.
16827 (catanh_test): Likewise.
16828 (cbrt_test): Likewise.
16829 (ccos_test): Likewise.
16830 (ccosh_test): Likewise.
16831 (cexp_test): Likewise.
16832 (clog_test): Likewise.
16833 (clog10_test): Likewise.
16834 (cos_test): Likewise.
16835 (cos_test_tonearest): Likewise.
16836 (cos_test_towardzero): Likewise.
16837 (cos_test_downward): Likewise.
16838 (cos_test_upward): Likewise.
16839 (cosh_test): Likewise.
16840 (cosh_test_tonearest): Likewise.
16841 (cosh_test_towardzero): Likewise.
16842 (cosh_test_downward): Likewise.
16843 (cosh_test_upward): Likewise.
16844 (cpow_test): Likewise.
16845 (csin_test): Likewise.
16846 (csinh_test): Likewise.
16847 (csqrt_test): Likewise.
16848 (ctan_test): Likewise.
16849 (ctan_test_tonearest): Likewise.
16850 (ctan_test_towardzero): Likewise.
16851 (ctan_test_downward): Likewise.
16852 (ctan_test_upward): Likewise.
16853 (ctanh_test): Likewise.
16854 (ctanh_test_tonearest): Likewise.
16855 (ctanh_test_towardzero): Likewise.
16856 (ctanh_test_downward): Likewise.
16857 (ctanh_test_upward): Likewise.
16858 (erf_test): Likewise.
16859 (erfc_test): Likewise.
16860 (exp_test): Likewise.
16861 (exp_test_tonearest): Likewise.
16862 (exp_test_towardzero): Likewise.
16863 (exp_test_downward): Likewise.
16864 (exp_test_upward): Likewise.
16865 (exp10_test): Likewise.
16866 (exp2_test): Likewise.
16867 (expm1_test): Likewise.
16868 (fmod_test): Likewise.
16869 (gamma_test): Likewise.
16870 (hypot_test): Likewise.
16871 (j0_test): Likewise.
16872 (j1_test): Likewise.
16873 (jn_test): Likewise.
16874 (lgamma_test): Likewise.
16875 (log_test): Likewise.
16876 (log10_test): Likewise.
16877 (log1p_test): Likewise.
16878 (log2_test): Likewise.
16879 (logb_test_downward): Likewise.
16880 (pow_test): Likewise.
16881 (pow_test_tonearest): Likewise.
16882 (pow_test_towardzero): Likewise.
16883 (pow_test_downward): Likewise.
16884 (pow_test_upward): Likewise.
16885 (remainder_test): Likewise.
16886 (remquo_test): Likewise.
16887 (sin_test): Likewise.
16888 (sin_test_tonearest): Likewise.
16889 (sin_test_towardzero): Likewise.
16890 (sin_test_downward): Likewise.
16891 (sin_test_upward): Likewise.
16892 (sincos_test): Likewise.
16893 (sinh_test): Likewise.
16894 (sinh_test_tonearest): Likewise.
16895 (sinh_test_towardzero): Likewise.
16896 (sinh_test_downward): Likewise.
16897 (sinh_test_upward): Likewise.
16898 (sqrt_test): Likewise.
16899 (tan_test): Likewise.
16900 (tan_test_tonearest): Likewise.
16901 (tan_test_towardzero): Likewise.
16902 (tan_test_downward): Likewise.
16903 (tan_test_upward): Likewise.
16904 (tanh_test): Likewise.
16905 (tgamma_test): Likewise.
16906 (y0_test): Likewise.
16907 (y1_test): Likewise.
16908 (yn_test): Likewise.
16910 * math/gen-libm-test.pl (adjust_arg): Remove function.
16911 (special_function): Remove argument $in_func. Only handle
16912 generating output for tables of tests, not inside functions.
16913 (parse_args): Likewise.
16914 (generate_testfile): Remove variable $in_func. Update call to
16916 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16917 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16918 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16919 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16920 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16921 (MAX_VALUE_INIT): Rename macro to max_value.
16922 (MIN_VALUE_INIT): Rename macro to min_value.
16923 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16924 (plus_zero): Remove variable.
16925 (minus_zero): Likewise.
16926 (plus_infty): Likewise.
16927 (minus_infty): Likewise.
16928 (qnan_value): Likewise.
16929 (max_value): Likewise.
16930 (min_value): Likewise.
16931 (min_subnorm_value): Likewise.
16933 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16935 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16936 uint64_t or uint32_t usage.
16937 * crypt/sha256-block.c: Likewise.
16938 * crypt/sha256-crypt.c: Likewise.
16939 * crypt/sha256.c: Likewise.
16940 * crypt/sha512-block.c: Likewise.
16941 * crypt/sha512-crypt.c: Likewise.
16942 * crypt/sha512.c: Likewise.
16943 * debug/backtrace-tst.c: Likewise.
16944 * debug/pcprofiledump.c: Likewise.
16945 * elf/cache.c: Likewise.
16946 * elf/dl-cache.c: Likewise.
16947 * elf/dl-misc.c: Likewise.
16948 * elf/dl-profile.c: Likewise.
16949 * elf/dl-support.c: Likewise.
16950 * elf/ldconfig.c: Likewise.
16951 * elf/sprof.c: Likewise.
16952 * iconv/dummy-repertoire.c: Likewise.
16953 * iconv/iconv_charmap.c: Likewise.
16954 * iconv/skeleton.c: Likewise.
16955 * iconvdata/8bit-generic.c: Likewise.
16956 * iconvdata/cp737.h: Likewise.
16957 * iconvdata/cp775.h: Likewise.
16958 * iconvdata/ibm1008.h: Likewise.
16959 * iconvdata/ibm1025.h: Likewise.
16960 * iconvdata/ibm1046.h: Likewise.
16961 * iconvdata/ibm1097.h: Likewise.
16962 * iconvdata/ibm1112.h: Likewise.
16963 * iconvdata/ibm1122.h: Likewise.
16964 * iconvdata/ibm1123.h: Likewise.
16965 * iconvdata/ibm1124.h: Likewise.
16966 * iconvdata/ibm1129.h: Likewise.
16967 * iconvdata/ibm1130.h: Likewise.
16968 * iconvdata/ibm1132.h: Likewise.
16969 * iconvdata/ibm1133.h: Likewise.
16970 * iconvdata/ibm1137.h: Likewise.
16971 * iconvdata/ibm1140.h: Likewise.
16972 * iconvdata/ibm1141.h: Likewise.
16973 * iconvdata/ibm1142.h: Likewise.
16974 * iconvdata/ibm1143.h: Likewise.
16975 * iconvdata/ibm1144.h: Likewise.
16976 * iconvdata/ibm1145.h: Likewise.
16977 * iconvdata/ibm1146.h: Likewise.
16978 * iconvdata/ibm1147.h: Likewise.
16979 * iconvdata/ibm1148.h: Likewise.
16980 * iconvdata/ibm1149.h: Likewise.
16981 * iconvdata/ibm1153.h: Likewise.
16982 * iconvdata/ibm1154.h: Likewise.
16983 * iconvdata/ibm1155.h: Likewise.
16984 * iconvdata/ibm1156.h: Likewise.
16985 * iconvdata/ibm1157.h: Likewise.
16986 * iconvdata/ibm1158.h: Likewise.
16987 * iconvdata/ibm1160.h: Likewise.
16988 * iconvdata/ibm1161.h: Likewise.
16989 * iconvdata/ibm1162.h: Likewise.
16990 * iconvdata/ibm1163.h: Likewise.
16991 * iconvdata/ibm1164.h: Likewise.
16992 * iconvdata/ibm1166.h: Likewise.
16993 * iconvdata/ibm1167.h: Likewise.
16994 * iconvdata/ibm12712.h: Likewise.
16995 * iconvdata/ibm1390.h: Likewise.
16996 * iconvdata/ibm1399.h: Likewise.
16997 * iconvdata/ibm16804.h: Likewise.
16998 * iconvdata/ibm4517.h: Likewise.
16999 * iconvdata/ibm4899.h: Likewise.
17000 * iconvdata/ibm4909.h: Likewise.
17001 * iconvdata/ibm4971.h: Likewise.
17002 * iconvdata/ibm5347.h: Likewise.
17003 * iconvdata/ibm803.h: Likewise.
17004 * iconvdata/ibm856.h: Likewise.
17005 * iconvdata/ibm901.h: Likewise.
17006 * iconvdata/ibm902.h: Likewise.
17007 * iconvdata/ibm9030.h: Likewise.
17008 * iconvdata/ibm9066.h: Likewise.
17009 * iconvdata/ibm921.h: Likewise.
17010 * iconvdata/ibm922.h: Likewise.
17011 * iconvdata/ibm9448.h: Likewise.
17012 * iconvdata/isiri-3342.h: Likewise.
17013 * iconvdata/jis0201.h: Likewise.
17014 * include/link.h: Likewise.
17015 * include/netdb.h: Likewise.
17016 * inet/check_native.c: Likewise.
17017 * inet/check_pf.c: Likewise.
17018 * inet/getipv4sourcefilter.c: Likewise.
17019 * inet/getnameinfo.c: Likewise.
17020 * inet/getsourcefilter.c: Likewise.
17021 * inet/htonl.c: Likewise.
17022 * inet/setipv4sourcefilter.c: Likewise.
17023 * inet/setsourcefilter.c: Likewise.
17024 * inet/test-inet6_opt.c: Likewise.
17025 * inet/tst-network.c: Likewise.
17026 * locale/C-collate.c: Likewise.
17027 * locale/C-ctype.c: Likewise.
17028 * locale/C-time.c: Likewise.
17029 * locale/C-translit.h: Likewise.
17030 * locale/loadarchive.c: Likewise.
17031 * locale/programs/3level.h: Likewise.
17032 * locale/programs/charmap.c: Likewise.
17033 * locale/programs/charmap.h: Likewise.
17034 * locale/programs/ld-address.c: Likewise.
17035 * locale/programs/ld-collate.c: Likewise.
17036 * locale/programs/ld-ctype.c: Likewise.
17037 * locale/programs/ld-identification.c: Likewise.
17038 * locale/programs/ld-measurement.c: Likewise.
17039 * locale/programs/ld-messages.c: Likewise.
17040 * locale/programs/ld-monetary.c: Likewise.
17041 * locale/programs/ld-name.c: Likewise.
17042 * locale/programs/ld-numeric.c: Likewise.
17043 * locale/programs/ld-paper.c: Likewise.
17044 * locale/programs/ld-telephone.c: Likewise.
17045 * locale/programs/ld-time.c: Likewise.
17046 * locale/programs/linereader.c: Likewise.
17047 * locale/programs/locale.c: Likewise.
17048 * locale/programs/locarchive.c: Likewise.
17049 * locale/programs/locfile.h: Likewise.
17050 * locale/programs/repertoire.c: Likewise.
17051 * locale/programs/simple-hash.c: Likewise.
17052 * locale/programs/simple-hash.h: Likewise.
17053 * malloc/memusage.c: Likewise.
17054 * malloc/memusagestat.c: Likewise.
17055 * nis/nis_defaults.c: Likewise.
17056 * nis/nis_hash.c: Likewise.
17057 * nis/nis_print.c: Likewise.
17058 * nis/nis_xdr.c: Likewise.
17059 * nscd/connections.c: Likewise.
17060 * nscd/hstcache.c: Likewise.
17061 * nscd/nscd_gethst_r.c: Likewise.
17062 * nscd/nscd_getserv_r.c: Likewise.
17063 * nscd/nscd_helper.c: Likewise.
17064 * nscd/servicescache.c: Likewise.
17065 * nss/makedb.c: Likewise.
17066 * nss/nss_db/db-XXX.c: Likewise.
17067 * nss/nss_db/db-initgroups.c: Likewise.
17068 * nss/nss_db/db-netgrp.c: Likewise.
17069 * nss/nss_files/files-network.c: Likewise.
17070 * nss/nss_files/files-parse.c: Likewise.
17071 * posix/bug-regex5.c: Likewise.
17072 * posix/fnmatch_loop.c: Likewise.
17073 * posix/regcomp.c: Likewise.
17074 * posix/regexec.c: Likewise.
17075 * posix/tst-rfc3484-2.c: Likewise.
17076 * posix/tst-rfc3484-3.c: Likewise.
17077 * posix/tst-rfc3484.c: Likewise.
17078 * resolv/nss_dns/dns-canon.c: Likewise.
17079 * resolv/nss_dns/dns-network.c: Likewise.
17080 * resolv/res_init.c: Likewise.
17081 * resolv/res_mkquery.c: Likewise.
17082 * resolv/tst-aton.c: Likewise.
17083 * stdlib/cxa_atexit.c: Likewise.
17084 * stdlib/cxa_finalize.c: Likewise.
17085 * stdlib/gen-fpioconst.c: Likewise.
17086 * stdlib/strtol_l.c: Likewise.
17087 * string/tst-endian.c: Likewise.
17088 * sunrpc/auth_des.c: Likewise.
17089 * sunrpc/clnt_udp.c: Likewise.
17090 * sunrpc/rtime.c: Likewise.
17091 * sunrpc/svcauth_des.c: Likewise.
17092 * sunrpc/xdr.c: Likewise.
17093 * sunrpc/xdr_intXX_t.c: Likewise.
17094 * sunrpc/xdr_rec.c: Likewise.
17095 * sysdeps/generic/ldconfig.h: Likewise.
17096 * sysdeps/generic/ldsodefs.h: Likewise.
17097 * sysdeps/generic/memusage.h: Likewise.
17098 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17104 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17105 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17108 * sysdeps/posix/getaddrinfo.c: Likewise.
17109 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17110 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17111 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17112 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17113 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17114 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17115 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17116 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17117 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17118 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17119 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17120 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17121 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17122 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17123 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17124 * sysdeps/x86_64/dl-tls.h: Likewise.
17125 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17126 * time/alt_digit.c: Likewise.
17127 * time/era.c: Likewise.
17128 * wcsmbs/tst-c16c32-1.c: Likewise.
17130 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17132 * math/libm-test.inc (struct test_sincos_data): New type.
17133 (RUN_TEST_LOOP_sincos): New macro.
17134 (sincos_test_data): New variable.
17135 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17137 2013-05-16 Richard Henderson <rth@redhat.com>
17139 * math/atest-exp2.c (LIMB64): New macro.
17140 (CONSTSZ): New macro.
17141 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17143 (print_mpn_fp): ... to function scope.
17144 (read_mpn_hex): Remove.
17145 (get_log2): Remove.
17146 (exp2_mpn): Use mp_log2.
17147 (main): Use mp_exp1.
17149 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17151 * math/libm-test.inc: Remove comment about not testing "inexact"
17153 (INEXACT_EXCEPTION): New macro.
17154 (NO_INEXACT_EXCEPTION): Likewise.
17155 (INVALID_EXCEPTION_OK): Update value.
17156 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17157 (OVERFLOW_EXCEPTION_OK): Likewise.
17158 (UNDERFLOW_EXCEPTION_OK): Likewise.
17159 (IGNORE_ZERO_INF_SIGN): Likewise.
17160 (ERRNO_UNCHANGED): Likewise.
17161 (ERRNO_EDOM): Likewise.
17162 (ERRNO_ERANGE): Likewise.
17163 (test_exceptions): Handle testing "inexact" exceptions.
17164 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17165 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17166 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17167 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17169 (rint_towardzero_test_data): Likewise.
17170 (rint_downward_test_data): Likewise.
17171 (rint_upward_test_data): Likewise.
17173 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17174 with OVERFLOW_EXCEPTION.
17175 (exp10_test_data): Likewise.
17176 (exp2_test_data): Likewise.
17177 (expm1_test_data): Likewise.
17178 (lgamma_test_data): Likewise.
17179 (pow_test_data): Likewise.
17180 (tgamma_test_data): Likewise.
17181 (yn_test_data): Remove duplicate test of overflow.
17183 * math/libm-test.inc (struct test_cc_c_data): New type.
17184 (RUN_TEST_LOOP_cc_c): New macro.
17185 (cpow_test_data): New variable.
17186 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17188 * math/libm-test.inc (struct test_f_L_data): New type.
17189 (RUN_TEST_LOOP_f_L): New macro.
17190 (llrint_test_data): New variable.
17191 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17192 (llrint_tonearest_test_data): New variable.
17193 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17194 (llrint_towardzero_test_data): New variable.
17195 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17196 (llrint_downward_test_data): New variable.
17197 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17198 (llrint_upward_test_data): New variable.
17199 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17200 (llround_test_data): New variable.
17201 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17203 2013-05-13 Peter Collingbourne <pcc@google.com>
17205 * math/atest-exp2.c (get_log2): Remove const attribute.
17207 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17209 * math/libm-test.inc (struct test_f_l_data): New type.
17210 (RUN_TEST_LOOP_f_l): New macro.
17211 (lrint_test_data): New variable.
17212 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17213 (lrint_tonearest_test_data): New variable.
17214 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17215 (lrint_towardzero_test_data): New variable.
17216 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17217 (lrint_downward_test_data): New variable.
17218 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17219 (lrint_upward_test_data): New variable.
17220 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17221 (lround_test_data): New variable.
17222 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17224 2013-05-15 Peter Collingbourne <pcc@google.com>
17226 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17227 (EXTRACT_WORDS64) Use where appropriate.
17228 (INSERT_WORDS64) Likewise.
17230 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17231 constraints with x constraints.
17232 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17234 * malloc/obstack.c (_obstack_compat): Add initializer.
17236 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17238 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17239 si_trapno and add si_addr_lsb to _sifields.sigfault.
17240 (si_trapno): Remove macro.
17241 (si_addr_lsb): Define new macro.
17242 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17244 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17246 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17247 instead of TEST_f_l.
17248 (llrint_test_tonearest): Likewise.
17249 (llrint_test_towardzero): Likewise.
17250 (llrint_test_downward): Likewise.
17251 (llrint_test_upward): Likewise.
17252 (llround_test): Likewise.
17254 * math/libm-test.inc (struct test_f_i_data): Add comment.
17255 (RUN_TEST_LOOP_f_b): New macro.
17256 (RUN_TEST_LOOP_f_b_tg): Likewise.
17257 (finite_test_data): New variable.
17258 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17259 (isfinite_test_data): New variable.
17260 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17261 (isinf_test_data): New variable.
17262 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17263 (isnan_test_data): New variable.
17264 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17265 (isnormal_test_data): New variable.
17266 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17267 (issignaling_test_data): New variable.
17268 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17269 (signbit_test_data): New variable.
17270 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17272 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17273 with INVALID_EXCEPTION.
17274 (acosh_test_data): Likewise.
17275 (asin_test_data): Likewise.
17276 (atanh_test_data): Likewise.
17277 (fmod_test_data): Likewise.
17278 (log_test_data): Likewise.
17279 (log10_test_data): Likewise.
17280 (log2_test_data): Likewise.
17281 (pow_test_data): Likewise.
17282 (sqrt_test_data): Likewise.
17283 (y0_test_data): Likewise.
17284 (y1_test_data): Likewise.
17285 (yn_test_data): Likewise.
17287 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17290 * math/libm-test.inc (struct test_ff_i_data): New type.
17291 (RUN_TEST_LOOP_ff_i_tg): New macro.
17292 (isgreater_test_data): New variable.
17293 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17294 (isgreaterequal_test_data): New variable.
17295 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17296 (isless_test_data): New variable.
17297 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17298 (islessequal_test_data): New variable.
17299 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17300 (islessgreater_test_data): New variable.
17301 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17302 (isunordered_test_data): New variable.
17303 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17305 2013-05-14 David S. Miller <davem@davemloft.net>
17307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17309 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17311 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17313 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17315 (struct test_f_i_data): Change type of max_ulp to int.
17317 * math/libm-test.inc (test_ffI_f1_data): New type.
17318 (RUN_TEST_LOOP_ffI_f1): New macro.
17319 (remquo_test_data): New variable.
17320 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17322 * setjmp/tst-setjmp-fp.c: New file.
17323 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17324 (link-libm): New variable.
17325 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17327 * math/libm-test.inc (struct test_f_i_data): New type.
17328 (RUN_TEST_LOOP_f_i): New macro.
17329 (RUN_TEST_LOOP_f_i_tg): Likewise.
17330 (fpclassify_test_data): New variable.
17331 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17332 (ilogb_test_data): New variable.
17333 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17335 * math/libm-test.inc (scalbln_test): Correct function name in END
17338 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17339 (RUN_TEST_LOOP_fI_f1): New macro.
17340 (frexp_test_data): New variable.
17341 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17343 * math/libm-test.inc (struct test_fF_f1_data): New type.
17344 (RUN_TEST_LOOP_fF_f1): New macro.
17345 (modf_test_data): New variable.
17346 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17348 * math/libm-test.inc (struct test_f_f1_data): New type.
17349 (RUN_TEST_LOOP_f_f1): New macro.
17350 (gamma_test_data): New variable.
17351 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17352 (lgamma_test_data): New variable.
17353 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17355 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17357 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17358 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17359 (main): Comment "tls" pseudo-hwcap.
17361 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17363 * math/libm-test.inc (struct test_fl_f_data): New type.
17364 (RUN_TEST_LOOP_fl_f): New variable.
17365 (scalbln_test_data): New variable.
17366 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17368 * math/libm-test.inc (struct test_fi_f_data): New type.
17369 (RUN_TEST_LOOP_fi_f): New macro.
17370 (ldexp_test_data): New variable.
17371 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17372 (scalbn_test_data): New variable.
17373 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17375 * math/libm-test.inc (struct test_c_f_data): New type.
17376 (RUN_TEST_LOOP_c_f): New macro.
17377 (cabs_test_data): New variable.
17378 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17379 (carg_test_data): New variable.
17380 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17381 (cimag_test_data): New variable.
17382 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17383 (creal_test_data): New variable.
17384 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17386 * math/libm-test.inc (struct test_if_f_data): New type.
17387 (RUN_TEST_LOOP_if_f): New macro.
17388 (jn_test_data): New variable.
17389 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17390 (yn_test_data): New variable.
17391 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17393 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17395 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17397 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17398 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17400 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17402 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17403 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17404 (bench-deps): Add bench-timing.h.
17405 * benchtests-bench-skeleton.c: Include bench-timing.h.
17406 (main): Use TIMING_* macros instead of clock_gettime.
17407 * benchtests/bench-timing.h: New file.
17410 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17411 Renamed from _LIB_VERSION.
17412 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17414 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17416 * math/libm-test.inc (struct test_fff_f_data): New type.
17417 (RUN_TEST_LOOP_fff_f): New macro.
17418 (fma_test_data): New variable.
17419 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17420 (fma_towardzero_test_data): New variable.
17421 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17422 (fma_downward_test_data): New variable.
17423 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17424 (fma_upward_test_data): New variable.
17425 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17427 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17428 (struct test_c_c_data): New type.
17429 (RUN_TEST_LOOP_c_c): New macro.
17430 (cacos_test_data): New variable.
17431 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17432 (cacosh_test_data): New variable.
17433 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17434 (casin_test_data): New variable.
17435 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17436 (casinh_test_data): New variable.
17437 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17438 (catan_test_data): New variable.
17439 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17440 (catanh_test_data): New variable.
17441 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17442 (ccos_test_data): New variable.
17443 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17444 (ccosh_test_data): New variable.
17445 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17446 (cexp_test_data): New variable.
17447 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17448 (clog_test_data): New variable.
17449 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17450 (clog10_test_data): New variable.
17451 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17452 (conj_test_data): New variable.
17453 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17454 (cproj_test_data): New variable.
17455 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17456 (csin_test_data): New variable.
17457 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17458 (csinh_test_data): New variable.
17459 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17460 (csqrt_test_data): New variable.
17461 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17462 (ctan_test_data): New variable.
17463 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17464 (ctan_tonearest_test_data): New variable.
17465 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17466 (ctan_towardzero_test_data): New variable.
17467 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17468 (ctan_downward_test_data): New variable.
17469 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17470 (ctan_upward_test_data): New variable.
17471 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17472 (ctanh_test_data): New variable.
17473 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17474 (ctanh_tonearest_test_data): New variable.
17475 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17476 (ctanh_towardzero_test_data): New variable.
17477 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17478 (ctanh_downward_test_data): New variable.
17479 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17480 (ctanh_upward_test_data): New variable.
17481 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17482 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17485 * math/libm-test.inc (struct test_ff_f_data): New type.
17486 (struct test_ff_f_data_nexttoward): Likewise.
17487 (RUN_TEST_LOOP_2_f): New macro.
17488 (RUN_TEST_LOOP_ff_f): Likewise.
17489 (atan2_test_data): New variable.
17490 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17491 (copysign_test_data): New variable.
17492 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17493 (fdim_test_data): New variable.
17494 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17495 (fmax_test_data): New variable.
17496 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17497 (fmin_test_data): New variable.
17498 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17499 (fmod_test_data): New variable.
17500 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17501 (hypot_test_data): New variable.
17502 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17503 (nextafter_test_data): New variable.
17504 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17505 (nexttoward_test_data): New variable.
17506 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17507 (pow_test_data): New variable.
17508 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17509 (pow_tonearest_test_data): New variable.
17510 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17511 (pow_towardzero_test_data): New variable.
17512 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17513 (pow_downward_test_data): New variable.
17514 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17515 (pow_upward_test_data): New variable.
17516 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17517 (remainder_test_data): New variable.
17518 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17519 (scalb_test_data): New variable.
17520 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17521 * sysdeps/i386/fpu/libm-test-ulps: Update.
17523 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17525 * math/libm-test.inc (fma_test): Use max_value instead of local
17527 (nextafter_test): Likewise.
17529 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17530 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17531 (acos_downward_test_data): New variable.
17532 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17533 (acos_upward_test_data): New variable.
17534 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17535 (acosh_test_data): New variable.
17536 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17537 (asin_test_data): New variable.
17538 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17539 (asin_tonearest_test_data): New variable.
17540 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17541 (asin_towardzero_test_data): New variable.
17542 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17543 (asin_downward_test_data): New variable.
17544 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17545 (asin_upward_test_data): New variable.
17546 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17547 (asinh_test_data): New variable.
17548 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17549 (atan_test_data): New variable.
17550 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17551 (atanh_test_data): New variable.
17552 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17553 (cbrt_test_data): New variable.
17554 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17555 (ceil_test_data): New variable.
17556 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17557 (cos_test_data): New variable.
17558 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17559 (cos_tonearest_test_data): New variable.
17560 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17561 (cos_towardzero_test_data): New variable.
17562 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17563 (cos_downward_test_data): New variable.
17564 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17565 (cos_upward_test_data): New variable.
17566 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17567 (cosh_test_data): New variable.
17568 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17569 (cosh_tonearest_test_data): New variable.
17570 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17571 (cosh_towardzero_test_data): New variable.
17572 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17573 (cosh_downward_test_data): New variable.
17574 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17575 (cosh_upward_test_data): New variable.
17576 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17577 (erf_test_data): New variable.
17578 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17579 (erfc_test_data): New variable.
17580 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17581 (exp_test_data): New variable.
17582 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17583 (exp_tonearest_test_data): New variable.
17584 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17585 (exp_towardzero_test_data): New variable.
17586 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17587 (exp_downward_test_data): New variable.
17588 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17589 (exp_upward_test_data): New variable.
17590 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17591 (exp10_test_data): New variable.
17592 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17593 (exp2_test_data): New variable.
17594 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17595 (expm1_test_data): New variable.
17596 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17597 (fabs_test_data): New variable.
17598 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17599 (floor_test_data): New variable.
17600 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17601 (j0_test_data): New variable.
17602 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17603 (j1_test_data): New variable.
17604 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17605 (log_test_data): New variable.
17606 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17607 (log10_test_data): New variable.
17608 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17609 (log1p_test_data): New variable.
17610 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17611 (log2_test_data): New variable.
17612 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17613 (logb_test_data): New variable.
17614 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17615 (logb_downward_test_data): New variable.
17616 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17617 (nearbyint_test_data): New variable.
17618 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17619 (rint_test_data): New variable.
17620 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17621 (rint_tonearest_test_data): New variable.
17622 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17623 (rint_towardzero_test_data): New variable.
17624 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17625 (rint_downward_test_data): New variable.
17626 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17627 (rint_upward_test_data): New variable.
17628 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17629 (round_test_data): New variable.
17630 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17631 (sin_test_data): New variable.
17632 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17633 (sin_tonearest_test_data): New variable.
17634 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17635 (sin_towardzero_test_data): New variable.
17636 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17637 (sin_downward_test_data): New variable.
17638 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17639 (sin_upward_test_data): New variable.
17640 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17641 (sinh_test_data): New variable.
17642 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17643 (sinh_tonearest_test_data): New variable.
17644 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17645 (sinh_towardzero_test_data): New variable.
17646 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17647 (sinh_downward_test_data): New variable.
17648 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17649 (sinh_upward_test_data): New variable.
17650 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17651 (sqrt_test_data): New variable.
17652 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17653 (tan_test_data): New variable.
17654 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17655 (tan_tonearest_test_data): New variable.
17656 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17657 (tan_towardzero_test_data): New variable.
17658 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17659 (tan_downward_test_data): New variable.
17660 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17661 (tan_upward_test_data): New variable.
17662 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17663 (tanh_test_data): New variable.
17664 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17665 (tgamma_test_data): New variable.
17666 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17667 (trunc_test_data): New variable.
17668 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17669 (y0_test_data): New variable.
17670 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17671 (y1_test_data): New variable.
17672 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17673 (significand_test_data): New variable.
17674 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17676 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17679 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17681 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17683 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17685 2013-05-10 Andreas Jaeger <aj@suse.de>
17688 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17689 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17691 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17693 * math/gen-libm-test.pl (adjust_arg): New function.
17694 (special_functions): Handle generating output in both functions
17696 (parse_args): Likewise.
17697 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17698 $in_func argument to parse_args.
17699 * math/libm-test.inc (struct test_f_f_data): New type.
17700 (IF_ROUND_INIT_): New macro.
17701 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17702 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17703 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17704 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17705 (ROUND_RESTORE_): Likewise.
17706 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17707 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17708 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17709 (ROUND_RESTORE_FE_UPWARD): Likewise.
17710 (RUN_TEST_LOOP_f_f): New macro.
17711 (acos_test_data): New variable.
17712 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17713 (acos_tonearest_test_data): New variable.
17714 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17716 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17718 * benchtests/bench-skeleton.c (startup): Fix coding style.
17720 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17723 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17724 negative infinity argument.
17725 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17726 negative infinity argument.
17727 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17728 negative infinity argument.
17729 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17732 2013-05-10 Florian Weimer <fweimer@redhat.com>
17734 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17735 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17736 * iconv/iconv_prog.c (main): Likewise.
17737 * locale/programs/charmap-dir.c (charmap_readdir)
17738 (fopen_uncompressed): Likewise.
17739 * locale/programs/locfile.c (siblings_uncached)
17740 (write_locale_data): Use lstat64 instead of lstat.
17741 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17744 2013-05-10 Andreas Jaeger <aj@suse.de>
17747 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17749 Include <locale.h>.
17751 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17753 * elf/dl-close.c (_dl_close_worker): Add comments.
17755 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17758 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17760 (__ieee754_rem_pio2l): Update comments.
17763 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17765 (__ieee754_rem_pio2l): Update comments.
17767 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17768 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17770 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17773 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17774 (M_PI_34_LOG10El): Likewise.
17775 (M_PI2_LOG10El): Likewise.
17776 (M_PI4_LOG10El): Likewise.
17777 (M_PI_LOG10El): Likewise.
17779 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17783 2013-05-08 Joseph Myers <joseph@codesourcery.com>
17785 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17786 (MINUS_ZERO_INIT): Likewise.
17787 (PLUS_INFTY_INIT): Likewise.
17788 (MINUS_INFTY_INIT): Likewise.
17789 (QNAN_VALUE_INIT): Likewise.
17790 (MAX_VALUE_INIT): Likewise.
17791 (MIN_VALUE_INIT): Likewise.
17792 (MIN_SUBNORM_VALUE_INIT): Likewise.
17793 (plus_zero): Initialize with PLUS_ZERO_INIT.
17794 (minus_zero): Initialize with MINUS_ZERO_INIT.
17795 (plus_infty): Initialize with PLUS_INFTY_INIT.
17796 (minus_infty): Initialize with MINUS_INFTY_INIT.
17797 (qnan_value): Initialize with QNAN_VALUE_INIT.
17798 (max_value): Initialize with MAX_VALUE_INIT.
17799 (min_value): Initialize with MIN_VALUE_INIT.
17800 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17802 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17803 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17804 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17805 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17807 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17808 (RUN_TEST_2_f): Likewise.
17809 (RUN_TEST_ff_f): Likewise.
17810 (RUN_TEST_fi_f): Likewise.
17811 (RUN_TEST_fl_f): Likewise.
17812 (RUN_TEST_fff_f): Likewise.
17813 (RUN_TEST_c_f): Likewise.
17814 (RUN_TEST_f_f1): Likewise.
17815 (RUN_TEST_fF_f1): Likewise.
17816 (RUN_TEST_fI_f1): Likewise.
17817 (RUN_TEST_ffI_f1): Likewise.
17818 (RUN_TEST_c_c): Likewise.
17819 (RUN_TEST_cc_c): Likewise.
17820 (RUN_TEST_f_i): Likewise.
17821 (RUN_TEST_f_i_tg): Likewise.
17822 (RUN_TEST_ff_i_tg): Likewise.
17823 (RUN_TEST_f_b): Likewise.
17824 (RUN_TEST_f_b_tg): Likewise.
17825 (RUN_TEST_f_l): Likewise.
17826 (RUN_TEST_f_L): Likewise.
17827 (RUN_TEST_sincos): Likewise.
17828 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17829 whether to show exceptions. Do not include ");\n" in return
17831 (special_functions): Output call to RUN_TEST_sincos instead of
17832 check_float calls. Update calls to new_test.
17833 (parse_args): Output call to single RUN_TEST_* macro instead of
17834 check_* calls and other assignments. Update calls to new_test.
17840 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17841 input to result for tgamma overflow.
17842 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17843 (gamma_coeff): New variable.
17844 (NCOEFF): New macro.
17845 (gamma_positive): New function.
17846 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17847 underflow here. Use gamma_positive instead of exp (lgamma) for
17849 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17850 (gamma_coeff): New variable.
17851 (NCOEFF): New macro.
17852 (gammaf_positive): New function.
17853 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17854 underflow here. Use gamma_positive instead of exp (lgamma) for
17856 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17857 (gamma_coeff): New variable.
17858 (NCOEFF): New macro.
17859 (gammal_positive): New function.
17860 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17861 underflow here. Use gamma_positive instead of exp (lgamma) for
17863 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17864 (gamma_coeff): New variable.
17865 (NCOEFF): New macro.
17866 (gammal_positive): New function.
17867 (__ieee754_gammal_r): Handle positive infinity, overflow and
17868 underflow here. Handle NaN the same as positive infinity. Remove
17869 check x < 0xffffffff for negative integers. Use gamma_positive
17870 instead of exp (lgamma) for other arguments.
17871 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17872 (gamma_coeff): New variable.
17873 (NCOEFF): New macro.
17874 (gammal_positive): New function.
17875 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17876 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17877 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17878 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17879 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17880 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17881 * sysdeps/generic/math_private.h (__gamma_productf): New
17883 (__gamma_product): Likewise.
17884 (__gamma_productl): Likewise.
17885 * math/Makefile (libm-calls): Add gamma_product.
17886 * math/libm-test.inc (tgamma_test): Add more tests.
17887 * sysdeps/i386/fpu/libm-test-ulps: Update.
17888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17890 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
17892 * benchtests/bench-skeleton.c (main): Preheat CPU.
17894 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17896 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17898 2013-05-07 Roland McGrath <roland@hack.frob.com>
17900 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17901 and _dl_skip_args_internal.
17903 2013-05-07 Carlos O'Donell <carlos@redhat.com>
17905 * manual/message.texi (Message Translation): Talk about users.
17906 Message to key mapping impacts design.
17908 2013-05-06 Roland McGrath <roland@hack.frob.com>
17910 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17912 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17914 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17915 * sysdeps/wordsize-64/glob64.c: ... here.
17917 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17918 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17921 * debug/getlogin_r_chk.c: Moved to ...
17922 * login/getlogin_r_chk.c: ... here.
17923 * debug/Makefile (routines): Move getlogin_r_chk to ...
17924 * login/Makefile (routines): ... here.
17925 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17926 * login/Versions (libc: GLIBC_2.4): ... here.
17928 * io/poll.c (__poll): Renamed from poll.
17929 Add libc_hidden_def.
17930 (poll): Define as weak alias.
17932 * debug/ptsname_r_chk.c: Moved to ...
17933 * login/ptsname_r_chk.c: ... here.
17934 * debug/Makefile (routines): Move ptsname_r_chk to ...
17935 * login/Makefile (routines): ... here.
17936 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17937 * login/Versions (libc: GLIBC_2.4): ... here.
17939 * posix/getlogin.c: Moved to ...
17940 * login/getlogin.c: ... here.
17941 * posix/getlogin_r.c: Moved to ...
17942 * login/getlogin_r.c: ... here.
17943 * posix/getlogin_r.c: Moved to ...
17944 * login/getlogin_r.c: ... here.
17945 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17946 * login/Makefile (routines): ... here.
17947 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17948 * login/Versions (libc: GLIBC_2.0): ... here.
17950 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17951 (setrlimit): Define as weak alias.
17953 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17954 Call __ names for open, ftruncate, and close.
17955 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17956 (truncate): Define as weak alias.
17958 2013-05-06 Joseph Myers <joseph@codesourcery.com>
17960 * math/gen-libm-test.pl (parse_args): Initialize x before each
17961 test of frexp, modf and remquo.
17963 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17964 test signgam value.
17966 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17970 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17972 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17974 2013-05-06 Roland McGrath <roland@hack.frob.com>
17976 * elf/dl-writev.h: New file.
17977 * elf/dl-misc.c: Include it.
17978 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17979 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17981 2013-05-04 Joseph Myers <joseph@codesourcery.com>
17983 * math/libm-test.inc (noXFails): Remove variable.
17984 (noXPasses): Likewise.
17985 (BUILD_COMPLEX_INT): Remove macro.
17986 (print_screen): Remove xfail argument.
17987 (print_screen_max_error): Likewise.
17988 (update_stats): Likewise.
17989 (print_max_error): Likewise. Update calls to other affected
17991 (print_complex_max_error): Likewise.
17992 (test_single_exception): Update calls to print_screen.
17993 (test_single_errno): Likewise.
17994 (check_float_internal): Remove xfail argument. Update calls to
17995 other affected functions.
17996 (check_float): Likewise.
17997 (check_complex): Likewise.
17998 (check_int): Likewise.
17999 (check_long): Likewise.
18000 (check_bool): Likewise.
18001 (check_longlong): Likewise.
18002 (main): Don't print noXFails and noXPasses.
18003 * math/gen-libm-test.pl (top level): Don't mention expected
18004 failure handling in comment.
18005 (new_test): Don't handle expected failures.
18006 (parse_args): Don't mention expected failure handling in comment.
18007 (generate_testfile): Don't handle expected failures.
18008 (parse_ulps): Likewise.
18009 (print_ulps_file): Likewise.
18010 (get_failure): Remove function.
18011 (output_test): Don't handle expected failures.
18012 * make/README.libm-test: Don't mention expected failure handling.
18014 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18015 (minus_zero): Likewise.
18016 (plus_infty): Likewise.
18017 (minus_infty): Likewise.
18018 (qnan_value): Likewise.
18019 (max_value): Likewise.
18020 (min_value): Likewise.
18021 (min_subnorm_value): Likewise.
18022 (initialize): Do not initialize those variables dynamically.
18024 2013-05-03 Roland McGrath <roland@hack.frob.com>
18026 * io/open.c (__open_2): Moved to ...
18027 * io/open_2.c: ... this new file.
18028 * io/open64.c (__open64_2): Moved to ...
18029 * io/open64_2.c: ... this new file.
18030 * io/openat.c (__openat_2): Moved to ...
18031 * io/openat_2.c: ... this new file.
18032 * io/openat64.c (__openat64_2): Moved to ...
18033 * io/openat64_2.c: ... this new file.
18034 * io/Makefile (routines): Add them.
18035 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18036 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18037 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18038 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18039 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18040 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18041 (__openat64): Add hidden_ver.
18042 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18043 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18045 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18046 Separately conditionalize setting of GLRO(dl_sysinfo) so
18047 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18048 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18050 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18052 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18053 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18055 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18056 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18057 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18058 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18059 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18061 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18063 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18064 test signgam value.
18066 * math/libm-test.inc (hypot_test): Do not use
18067 IGNORE_ZERO_INF_SIGN.
18069 2013-05-03 Andreas Jaeger <aj@suse.de>
18071 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18073 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18074 (PF_MAX): Adjust for VSOCK change.
18076 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18080 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18083 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18084 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18085 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18087 2013-05-02 David S. Miller <davem@davemloft.net>
18089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18091 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18093 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18095 2013-05-01 Roland McGrath <roland@hack.frob.com>
18097 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18099 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18102 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18103 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18104 Use __attribute__ ((__gnu_inline__)).
18105 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18106 Don't use __attribute__ ((__gnu_inline__)).
18108 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18111 * math/s_catan.c (__catan): Handle small real or imaginary part of
18112 input specially to avoid spurious underflow.
18113 * math/s_catanf.c (__catanf): Likewise.
18114 * math/s_catanh.c (__catanh): Likewise.
18115 * math/s_catanhf.c (__catanhf): Likewise.
18116 * math/s_catanhl.c (__catanhl): Likewise.
18117 * math/s_catanl.c (__catanl): Likewise.
18118 * math/libm-test.inc (catan_test): Add more tests.
18119 (catanh_test): Likewise.
18120 * sysdeps/i386/fpu/libm-test-ulps: Update.
18121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18123 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18127 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18130 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18131 accurately for denominator in atan2.
18132 * math/s_catanf.c (__catanf): Likewise.
18133 * math/s_catanh.c (__catanh): Likewise.
18134 * math/s_catanhf.c (__catanhf): Likewise.
18135 * math/s_catanhl.c (__catanhl): Likewise.
18136 * math/s_catanl.c (__catanl): Likewise.
18137 * math/libm-test.inc (catan_test): Add more tests.
18138 (catanh_test): Likewise.
18139 * sysdeps/i386/fpu/libm-test-ulps: Update.
18140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18142 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18144 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18146 * benchtests/Makefile (bench): Remove slow benchmarks.
18147 * benchtests/atan-inputs: Add slow benchmark inputs.
18148 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18149 (BENCH_FUNC): Accept variant offset.
18151 * benchtests/bench-skeleton.c (main): Run benchmark for each
18153 * benchtests/cos-inputs: Add slow benchmark inputs.
18154 * benchtests/exp-inputs: Likewise.
18155 * benchtests/pow-inputs: Likewise.
18156 * benchtests/sin-inputs: Likewise.
18157 * benchtests/slowatan-inputs: Remove.
18158 * benchtests/slowatan.c: Remove.
18159 * benchtests/slowcos-inputs: Remove.
18160 * benchtests/slowcos.c: Remove.
18161 * benchtests/slowexp-inputs: Remove.
18162 * benchtests/slowexp.c: Remove.
18163 * benchtests/slowpow-inputs: Remove.
18164 * benchtests/slowpow.c: Remove.
18165 * benchtests/slowsin-inputs: Remove.
18166 * benchtests/slowsin.c: Remove.
18167 * benchtests/slowtan-inputs: Remove.
18168 * benchtests/slowtan.c: Remove.
18169 * benchtests/tan-inputs: Add slow benchmark inputs.
18170 * scripts/bench.pl: Parse comments and directives.
18172 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18174 ($(objpfx)bench-%.c): Remove *-ITER.
18175 * benchtests/bench-modf.c: Remove definition of ITER.
18176 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18177 (main): Loop for DURATION seconds instead of fixed number of
18179 * scripts/bench.pl: Don't expect iterations in parameters.
18181 2013-04-29 Roland McGrath <roland@hack.frob.com>
18183 * io/fchdir.c (__fchdir): Renamed from fchdir.
18184 (fchdir): Define as weak alias.
18186 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18188 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18189 (ERRNO_EDOM): Likewise.
18190 (ERRNO_ERANGE): Likewise.
18191 (noErrnoTests): New variable.
18192 (init_max_error): Set errno to 0.
18193 (test_single_errno): New function.
18194 (test_errno): Likewise.
18195 (check_float_internal): Call test_errno. Set errno to 0.
18196 (check_complex): Refer to errno tests in comment.
18197 (check_int): Call test_errno. Set errno to 0.
18198 (check_long): Likewise.
18199 (check_bool): Likewise.
18200 (check_longlong): Likewise.
18201 (cos_test): Use ERRNO_* flags for errno tests instead of
18203 (expm1_test): Likewise.
18204 (fmod_test): Likewise.
18205 (ilogb_test): Likewise.
18206 (lgamma_test): Likewise.
18207 (pow_test): Likewise.
18208 (remainder_test): Likewise.
18209 (sin_test): Likewise.
18210 (tan_test): Likewise.
18211 (yn_test): Likewise.
18212 (initialize): Set errno to 0.
18213 (main): Print number of errno tests.
18214 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18216 2013-04-29 Andreas Jaeger <aj@suse.de>
18219 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18223 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18224 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18228 * stdlib/random.c (__initstate): Return NULL if
18232 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18233 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18236 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18240 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18242 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18243 of individual tests.
18244 (casin_test): Likewise.
18245 (casinh_test): Likewise.
18247 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18250 * math/s_catan.c (__catan): Handle arguments with large real or
18251 imaginary part separately without squaring.
18252 * math/s_catanf.c (__catanf): Likewise.
18253 * math/s_catanh.c (__catanh): Likewise.
18254 * math/s_catanhf.c (__catanhf): Likewise.
18255 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18257 (__catanhl): Handle arguments with large real or imaginary part
18258 separately without squaring.
18259 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18261 (__catanl): Handle arguments with large real or imaginary part
18262 separately without squaring.
18263 * math/libm-test.inc (catan_test): Add more tests.
18264 (catanh_test): Likewise.
18265 * sysdeps/i386/fpu/libm-test-ulps: Update.
18266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18268 2013-04-27 Andreas Jaeger <aj@suse.de>
18271 * stdlib/stdlib.h: Update guards for qecvt.
18272 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18275 2013-04-27 Allan McRae <allan@archlinux.org>
18277 * sysdeps/i386/fpu/libm-test-ulps: Update.
18279 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18282 * math/s_catan.c: Include <float.h>.
18283 (__catan): Ensure underflow exception occurs for underflowed
18285 * math/s_catanf.c: Include <float.h>.
18286 (__catanf): Ensure underflow exception occurs for underflowed
18288 * math/s_catanh.c: Include <float.h>.
18289 (__catanh): Ensure underflow exception occurs for underflowed
18291 * math/s_catanhf.c: Include <float.h>.
18292 (__catanhf): Ensure underflow exception occurs for underflowed
18294 * math/s_catanhl.c: Include <float.h>.
18295 (__catanhl): Ensure underflow exception occurs for underflowed
18297 * math/s_catanl.c: Include <float.h>.
18298 (__catanl): Ensure underflow exception occurs for underflowed
18300 * math/libm-test.inc (catan_test): Add more tests.
18301 (catanh_test): Likewise.
18304 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18305 underflowed result.
18306 * math/s_ccoshf.c (__ccoshf): Likewise.
18307 * math/s_ccoshl.c (__ccoshl): Likewise.
18308 * math/s_csin.c (__csin): Likewise.
18309 * math/s_csinf.c (__csinf): Likewise.
18310 * math/s_csinh.c (__csinh): Likewise.
18311 * math/s_csinhf.c (__csinhf): Likewise.
18312 * math/s_csinhl.c (__csinhl): Likewise.
18313 * math/s_csinl.c (__csinl): Likewise.
18314 * math/libm-test.inc (ccos_test): Add more tests.
18315 (ccosh_test): Likewise.
18316 (csin_test): Likewise.
18317 (csinh_test): Likewise.
18319 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18321 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18322 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18323 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18324 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18325 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18326 powerpc/power5+/fpu folders.
18327 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18330 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18334 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18336 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18337 additions to variable.
18338 [$(config-machine) = x86_64] (modules-names): Likewise.
18339 ($(objpfx)tst-audit3): Remove dependency.
18340 ($(objpfx)tst-audit3.out): Likewise.
18341 ($(objpfx)tst-audit4): Likewise.
18342 ($(objpfx)tst-audit4.out): Likewise.
18343 ($(objpfx)tst-audit5): Likewise.
18344 ($(objpfx)tst-audit5.out): Likewise.
18345 ($(objpfx)tst-audit6): Likewise.
18346 ($(objpfx)tst-audit6.out): Likewise.
18347 ($(objpfx)tst-audit7): Likewise.
18348 ($(objpfx)tst-audit7.out): Likewise.
18349 (tst-audit3-ENV): Remove variable.
18350 (tst-audit4-ENV): Likewise.
18351 (tst-audit5-ENV): Likewise.
18352 (tst-audit6-ENV): Likewise.
18353 (tst-audit7-ENV): Likewise.
18354 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18355 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18356 addition to variable.
18357 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18358 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18359 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18360 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18361 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18362 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18363 tst-audit3, tst-audit4 and tst-audit5.
18364 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18365 tst-audit6 and tst-audit7.
18366 [$(subdir) = elf] (modules-names): Add audit modules for those
18368 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18369 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18370 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18371 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18372 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18373 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18374 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18375 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18376 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18377 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18378 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18379 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18380 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18381 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18382 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18383 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18385 [$(subdir) = elf && $(config-cflags-avx) = yes]
18386 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18387 [$(subdir) = elf && $(config-cflags-avx) = yes]
18388 (CFLAGS-tst-auditmod4a.c): Likewise.
18389 [$(subdir) = elf && $(config-cflags-avx) = yes]
18390 (CFLAGS-tst-auditmod4b.c): Likewise.
18391 [$(subdir) = elf && $(config-cflags-avx) = yes]
18392 (CFLAGS-tst-auditmod6b.c): Likewise.
18393 [$(subdir) = elf && $(config-cflags-avx) = yes]
18394 (CFLAGS-tst-auditmod6c.c): Likewise.
18395 [$(subdir) = elf && $(config-cflags-avx) = yes]
18396 (CFLAGS-tst-auditmod7b.c): Likewise.
18397 * elf/tst-audit3.c: Move to ...
18398 * sysdeps/x86_64/tst-audit3.c: ... here.
18399 * elf/tst-audit4.c: Move to ...
18400 * sysdeps/x86_64/tst-audit4.c: ... here.
18401 * elf/tst-audit5.c: Move to ...
18402 * sysdeps/x86_64/tst-audit5.c: ... here.
18403 * elf/tst-audit6.c: Move to ...
18404 * sysdeps/x86_64/tst-audit6.c: ... here.
18405 * elf/tst-audit7.c: Move to ...
18406 * sysdeps/x86_64/tst-audit7.c: ... here.
18407 * elf/tst-auditmod3a.c: Move to ...
18408 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18409 * elf/tst-auditmod3b.c: Move to ...
18410 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18411 * elf/tst-auditmod4a.c: Move to ...
18412 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18413 * elf/tst-auditmod4b.c: Move to ...
18414 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18415 * elf/tst-auditmod5a.c: Move to ...
18416 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18417 * elf/tst-auditmod5b.c: Move to ...
18418 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18419 * elf/tst-auditmod6a.c: Move to ...
18420 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18421 * elf/tst-auditmod6b.c: Move to ...
18422 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18423 * elf/tst-auditmod6c.c: Move to ...
18424 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18425 * elf/tst-auditmod7a.c: Move to ...
18426 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18427 * elf/tst-auditmod7b.c: Move to ...
18428 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18430 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18433 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18434 define unconditionally.
18435 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18436 define unconditionally.
18437 (INT8_C, INT16_C, etc.): Likewise.
18439 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18441 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18442 __ehdr_start with hidden visibility.
18444 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18446 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18448 * math/libm-test.inc (cos_test): Use accurate hex constants.
18449 (sincost_test): Likewise.
18451 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18453 * math/libm-test.inc (catan_test): Add more tests.
18454 (catanh_test): Likewise.
18456 * math/s_catanf.c (__catanf): Use suffixed floating-point
18458 * math/s_catanhf.c (__catanhf): Likewise.
18459 * math/s_catanhl.c (__catanhl): Likewise.
18460 * math/s_catanl.c (__catanl): Likewise.
18463 * math/s_catan.c (__catan): Calculate imaginary part of result
18464 with log1p not log unless computing log of number close to 0.
18465 * math/s_catanf.c (__catanf): Likewise.
18466 * math/s_catanl.c (__catanl): Likewise.
18467 * math/s_catanh.c (__catanh): Calculate real part of result with
18468 log1p not log unless computing log of number close to 0.
18469 * math/s_catanhf.c (__catanhf): Likewise.
18470 * math/s_catanhl.c (__catanhl): Likewise.
18471 * math/libm-test.inc (catan_test): Add more tests.
18472 (catanh_test): Likewise.
18473 * sysdeps/i386/fpu/libm-test-ulps: Update.
18474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18476 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18478 * benchtests/Makefile: Mention files in which fast and slow
18479 paths of math functions are implemented.
18481 2013-04-23 Roland McGrath <roland@hack.frob.com>
18483 * sysdeps/posix/timespec_get.c: New file.
18485 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18487 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18489 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18491 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18492 powerpc/power5/fpu folders.
18493 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18494 * benchtests/Makefile: Add modf testcase.
18495 * benchtests/bench-modf.c: New file: Benchmark test for mo
18497 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18500 * time/Makefile (tests): Add tst-strptime-whitespace.
18501 * time/strptime_l.c (get_number): Use ISSPACE.
18502 (__strptime_internal): Likewise.
18503 * time/tst-strptime-whitespace.c: New test case.
18505 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18507 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18509 (_nss_files_init): Set it here.
18511 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18513 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18514 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18517 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18519 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18521 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18526 2013-04-21 David S. Miller <davem@davemloft.net>
18528 * po/ru.po: Update Russion translation from translation project.
18530 2013-04-17 Adam Conrad <adconrad@0c3.net>
18532 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18535 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18537 * configure.in: Remove i386 configure warning. Remove i386 case.
18538 * configure: Regenerate.
18539 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18540 Add example to error message.
18541 * sysdeps/i386/configure: Regenerate.
18543 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18545 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18547 * benchtests/cos-inputs: New file.
18548 * benchtests/slowcos-inputs: New file.
18549 * benchtests/slowcos.c: New file.
18550 * benchtests/slowtan-inputs: New file.
18551 * benchtests/slowtan.c: New file.
18552 * benchtests/tan-inputs: New file.
18554 2013-04-16 Roland McGrath <roland@hack.frob.com>
18556 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18559 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18561 * benchtests/Makefile: Include cppflags-iterator.mk to add
18562 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18564 * Makefile.in (bench-clean): New target.
18565 * benchtests/Makefile (bench-clean): Likewise.
18567 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18569 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18571 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18573 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18575 2013-04-15 Andreas Schwab <schwab@suse.de>
18577 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18578 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18579 * nscd/pwdcache.c (cache_addpw): Likewise.
18580 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18583 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18585 * benchtests/Makefile (bench): Write all output to
18586 bench-out.tmp together.
18588 2013-04-15 Andreas Schwab <schwab@suse.de>
18590 * nscd/nscd.c (main): Don't fork again after closing files.
18592 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18594 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18596 * benchtests/Rules (bench-deps): Collect dependencies into a
18597 single variable. Add Makefile to dependencies.
18598 ($(objpfx)bench-%.c): Depend on bench-deps.
18600 2013-04-12 Roland McGrath <roland@hack.frob.com>
18601 Xavier Roche <roche+kml2@exalead.com>
18604 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18605 just that it's a file descriptor.
18606 * manual/llio.texi (Synchronizing AIO Operations): Update description
18607 for EBADF error from aio_fsync.
18609 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18611 * Rules (bench): Move target definition...
18612 * benchtests/Makefile: ... here.
18614 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18616 * math/libm-test.inc (cos_test): Fix PI/2 test.
18617 (sincos_test): Likewise.
18618 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18619 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18621 2013-04-11 Andreas Schwab <schwab@suse.de>
18624 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18625 accept exponent character only when digits were seen.
18626 * stdio-common/Makefile (tests): Add bug26.
18627 * stdio-common/bug26.c: New file.
18630 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18633 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18635 * Makeconfig (rtld-prefix): Define built linker prefix.
18636 * Rules (run-bench): Use it.
18637 * math/Makefile (run-regen-ulps): Likewise.
18639 * Rules (bench): Remove eval.
18641 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18642 Roland McGrath <roland@hack.frob.com>
18643 Ondrej Bilka <neleai@seznam.cz>
18646 * time/getdate.c: Include ctype.h and alloca.h.
18647 (__getdate_r): Trim leading and trailing spaces of input.
18648 * time/tst-getdate.c (tests): Add tests with leading and
18651 2013-04-08 Roland McGrath <roland@hack.frob.com>
18654 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18655 when computing value.
18657 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18659 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18660 Use testrun.sh to run libm tests.
18663 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18665 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18668 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18670 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18672 * Makefile.in (regen-ulps): New target.
18673 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18674 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18675 [ifneq (no,$(PERL)] (regen-ulps): New target.
18676 [ifeq (no,$(PERL)] (regen-ulps): New target.
18677 * math/libm-test.inc (ulps_file_name): Define.
18678 (output_dir): New variable.
18679 (options): Add "output-dir" option.
18680 (parse_opt): Handle 'o' case.
18681 (main): If output_dir is non-NULL use it as a prefix
18683 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18685 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18687 [BZ #10060, #10062]
18688 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18689 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18690 fail configure if __sync_val_compare_and_swap is not inlined.
18691 * sysdeps/i386/configure: Regenerate.
18692 * configure.in: Build for i686 when configured for i386.
18693 * configure: Regenerate.
18694 * README: Remove i386 reference.
18696 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18698 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18699 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18701 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18703 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18704 (lmsnanval): New variables.
18705 (F): Add conversion tests.
18706 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18707 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18709 * stdio-common/tstdiomisc.c (F): Properly collect individual
18712 [BZ #14686, #15336]
18713 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18714 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18715 Instead, use input NaN values or generate a qNaN by arithmetic
18716 operation. Also fix bugs to comply with the standard.
18717 * math/libm-test.inc (remainder_test): Add more tests.
18719 [BZ #15335, #15342]
18720 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18722 input NaN values or generate a qNaN by arithmetic operation.
18724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18727 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18730 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18733 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18734 underflowed result.
18735 * math/s_cexpf.c (__cexpf): Likewise.
18736 * math/s_cexpl.c (__cexpl): Likewise.
18737 * math/libm-test.inc (cexp_test): Add more tests.
18739 2013-04-03 Andreas Schwab <schwab@suse.de>
18742 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18743 order arrays from heap if bigger than alloca cutoff.
18745 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18747 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18748 (SNAN_TESTS_double): Refer to GCC PR56831.
18749 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18752 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18754 * Rules (bench): Move bench.out after the run is complete.
18756 * Rules (bench): Echo currently running benchmark.
18758 * benchtests/Makefile (bench): Add atan and slowatan.
18759 * benchtests/atan-inputs: New file.
18760 * benchtests/slowatan-inputs: New file.
18761 * benchtests/slowatan.c: New file.
18763 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18768 * sysdeps/unix/sysv/linux/kernel-features.h
18769 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18770 __ASSUME_XFS_RESTRICTED_CHOWN.
18771 * sysdeps/unix/sysv/linux/pathconf.c
18772 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18773 Save and restore errno.
18775 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18778 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18779 arguments using __kernel_casinh.
18780 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18781 arguments using __kernel_casinhf.
18782 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18783 arguments using __kernel_casinhl.
18784 * math/libm-test.inc (cacosh_test): Add more tests.
18785 * sysdeps/i386/fpu/libm-test-ulps: Update.
18786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18788 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18790 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18793 * bench/Makefile (bench): Add sin and slowsin.
18794 * benchtests/sin-inputs: New file.
18795 * benchtests/slowsin-inputs: New file.
18796 * benchtests/slowsin.c: New file.
18798 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18799 (bench): Add slowexp and slowpow.
18800 (exp-ITER): Increase iterations.
18801 (pow-ITER): Likewise.
18802 * benchtests/exp-inputs: Change input.
18803 * benchtests/pow-inputs: Likewise.
18804 * benchtests/slowexp-inputs: New file.
18805 * benchtests/slowexp.c: New file.
18806 * benchtests/slowpow-inputs: New file.
18807 * benchtests/slowpow.c: New file.
18809 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18811 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18813 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18814 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18815 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18816 * benchtests/Makefile: Add rint benchtest.
18817 * benchtests/rint-inputs: Input for rint benchtest.
18819 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18821 * Versions.def (libm): Add GLIBC_2.18.
18822 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18823 hidden libm prototypes.
18824 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18825 * math/Makefile (libm-calls): Add s_issignaling.
18826 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18827 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18828 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18830 * math/math.h [__USE_GNU] (issignaling): New macro.
18831 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18832 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18837 * manual/arith.texi (issignaling): New section.
18838 * manual/libm-err-tab.pl (@all_functions): Update comment.
18839 * math/gen-libm-test.pl (parse_args): Apply special handling for
18841 * math/libm-test.inc (print_float, issignaling_test): New
18843 (check_float_internal): Add issignaling checks.
18844 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18845 default definition.
18846 * sysdeps/powerpc/math-tests.h: New file.
18847 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18849 * math/test-snan.c (TEST_FUNC): Likewise.
18851 2013-03-30 David S. Miller <davem@davemloft.net>
18853 * po/de.po: Update from translation team.
18855 2013-03-30 Joseph Myers <joseph@codesourcery.com>
18858 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18859 imaginary part less than 1.0 and real part less than 0.5
18861 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18862 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18863 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18864 (cacos_test): Add more tests.
18865 (casin_test): Likewise.
18866 (casinh_test): Likewise.
18867 * sysdeps/i386/fpu/libm-test-ulps: Update.
18868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18870 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18872 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18873 ONE with its value.
18875 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18876 (__pow_mp): Replace ONE and MONE with their values.
18877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18878 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18879 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18880 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18881 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18882 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18884 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18886 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18887 (__pow_mp): Replace ZERO and MZERO with their values.
18888 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18889 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18890 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18891 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18892 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18893 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18896 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18898 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18900 2013-03-28 Roland McGrath <roland@hack.frob.com>
18902 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18903 Declare with __attribute__ ((weak)).
18904 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18905 Call __call_tls_dtors only if it's not NULL.
18907 2013-03-28 Roland McGrath <roland@hack.frob.com>
18909 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18910 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18911 magic __ehdr_start linker symbol if it's defined.
18912 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18913 them up here if it was already done.
18915 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18916 (_dl_aux_init): Use const in cast when setting it.
18917 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18918 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18919 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18921 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18923 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18924 * csu/libc-tls.c: Nor here.
18925 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18927 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18928 (__libc_message): Never call vsyslog.
18930 2013-03-28 Alan Modra <amodra@gmail.com>
18932 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18934 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18937 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18940 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18944 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18947 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18948 Don't add gid passed as argument.
18950 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18952 2013-03-27 Joseph Myers <joseph@codesourcery.com>
18955 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18956 imaginary part between 1.0 and 1.5 and real part less than 0.5
18958 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18959 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18960 * math/libm-test.inc (cacos_test): Add more tests.
18961 (casin_test): Likewise.
18962 (casinh_test): Likewise.
18963 * sysdeps/i386/fpu/libm-test-ulps: Update.
18964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18966 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18968 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18971 (denorm): Likewise.
18972 (__dbl_mp): Likewise.
18973 (add_magnitudes): Likewise.
18974 (sub_magnitudes): Likewise.
18982 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18984 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18985 (__dubcos): Likewise.
18986 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18987 (__ieee754_acos): Likewise.
18988 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18989 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18990 (__exp1): Likewise.
18991 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18992 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18994 (my_log2): Likewise.
18995 (checkint): Likewise.
18996 * sysdeps/ieee754/dbl-64/e_remainder.c
18997 (__ieee754_remainder): Likewise.
18998 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19000 (bsloww): Likewise.
19001 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19003 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19004 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19005 MANTISSA_STORE_T to store computations on mantissa. Use
19006 macros for rounding and division.
19007 (denorm): Likewise.
19008 (__dbl_mp): Likewise.
19009 (add_magnitudes): Likewise.
19010 (sub_magnitudes): Likewise.
19013 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19014 powers of two in terms of TWOPOW macro.
19015 (mp_no): Make type of mantissa as MANTISSA_T.
19016 [!RADIXI]: Define RADIXI.
19017 [!TWO52]: Define TWO52.
19018 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19020 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19022 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19023 llroundl symbol when building for PPC32.
19025 2013-03-24 Mark H Weaver <mhw@netris.org>
19027 * manual/arith.texi (Normalization Functions): Fix prototypes for
19028 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19030 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19033 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19034 high value to check if expl overflow.
19035 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19036 to check for underflow and overflow.
19037 * math/libm-test.inc: Add exp test.
19039 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19042 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19045 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19047 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19050 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19052 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19053 wrap blocks consisting of several statements.
19055 * sysdeps/generic/math-tests.h: New file.
19056 * sysdeps/i386/fpu/math-tests.h: Likewise.
19057 * math/test-snan.c: Include it.
19058 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19060 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19063 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19064 (__ieee754_j0l): Do not improve calculations using cos of twice
19065 input for inputs above LDBL_MAX / 2.0L.
19066 (__ieee754_y0l): Likewise.
19067 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19068 (__ieee754_j1l): Do not improve calculations using cos of twice
19069 input for inputs above LDBL_MAX / 2.0L.
19070 (__ieee754_y1l): Likewise.
19071 * math/libm-test.inc (j0_test): Add another test.
19072 (j1_test): Likewise.
19073 (y0_test): Likewise.
19074 (y1_test): Likewise.
19075 * sysdeps/i386/fpu/libm-test-ulps: Update.
19077 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19079 * Rules ($(objpfx)bench-%.c): Include code from a C source
19082 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19085 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19086 imaginary part 1.0 and real part less than 0.5 specially.
19087 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19088 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19089 * math/libm-test.inc (cacos_test): Add more tests.
19090 (casin_test): Likewise.
19091 (casinh_test): Likewise.
19092 * sysdeps/i386/fpu/libm-test-ulps: Update.
19093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19095 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19098 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19100 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19102 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19103 * config.make.in (config-cflags-sse4): Remove variable.
19104 (config-cflags-avx): Likewise.
19105 (config-cflags-sse2avx): Likewise.
19106 (config-cflags-novzeroupper): Likewise.
19107 (config-asflags-i686): Likewise.
19108 (have-mfma4): Likewise.
19109 (have-as-vis3): Likewise.
19111 * configure.in (MIG): Do not AC_SUBST.
19112 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19113 (libc_cv_cc_sse4): Do not AC_SUBST.
19114 (libc_cv_cc_avx): Likewise.
19115 (libc_cv_cc_sse2avx): Likewise.
19116 (libc_cv_cc_novzeroupper): Likewise.
19117 (libc_cv_cc_fma4): Likewise.
19118 (libc_cv_as_i686): Likewise.
19119 (libc_cv_sparc_as_vis3): Likewise.
19120 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19122 (config-asflags-i686): Likewise.
19123 (config-cflags-avx): Likewise.
19124 (config-cflags-sse2avx): Likewise.
19125 (have-mfma4): Likewise.
19126 (config-cflags-novzeroupper): Likewise.
19127 * sysdeps/mach/configure.in (MIG): Likewise.
19128 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19129 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19131 (config-cflags-avx): Likewise.
19132 (config-cflags-sse2avx): Likewise.
19133 (have-mfma4): Likewise.
19134 (config-cflags-novzeroupper): Likewise.
19135 * configure: Regenerated.
19136 * sysdeps/i386/configure: Likewise.
19137 * sysdeps/mach/configure: Likewise.
19138 * sysdeps/sparc/configure: Likewise.
19139 * sysdeps/x86_64/configure: Likewise.
19141 2013-03-20 Roland McGrath <roland@hack.frob.com>
19144 * locale/programs/localedef.c (options): Put N_ translation marker
19145 on argument names, not just descriptions.
19147 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19149 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19151 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19154 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19156 2013-03-19 Roland McGrath <roland@hack.frob.com>
19158 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19159 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19160 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19161 [!BEFORE_ABORT] (before_abort): New function.
19162 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19163 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19164 (writev_for_fatal): New function.
19165 (WRITEV_FOR_FATAL): New macro; call that.
19166 (backtrace_and_maps): New function.
19167 (BEFORE_ABORT): New macro; call that.
19168 (struct str_list): Type removed.
19169 (__libc_message, __libc_fatal): Functions removed.
19170 Include <sysdeps/posix/libc_fatal.c> instead.
19172 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19174 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19176 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19179 2013-03-19 Andreas Schwab <schwab@suse.de>
19181 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19182 * sysdeps/gnu/configure: Regenerate.
19184 * configure.in: Substitute libc_cv_rtlddir.
19185 * configure: Regenerate.
19186 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19187 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19188 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19189 * elf/Makefile (install-others, CFLAGS-interp.c)
19190 (ldso_install, common-ldd-rewrite): Likewise.
19191 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19192 $(inst_slibdir)/$(rtld-installed-name).
19193 * scripts/rellns-sh: Add -p option.
19194 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19197 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19199 * manual/nptl.texi: Renamed to ...
19200 * manual/threads.texi: ... this.
19201 * manual/Makefile (chapters): Update.
19203 2013-03-18 Roland McGrath <roland@hack.frob.com>
19206 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19207 on argument names, not just descriptions.
19208 * malloc/memusagestat.c (options): Likewise.
19209 * nss/getent.c (options): Likewise.
19211 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19214 * iconv/iconv_prog.c (options): Put N_ translation marker
19215 on argument names, not just descriptions.
19216 * iconv/iconvconfig.c (options): Likewise.
19218 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19220 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19221 implementation which is faster on all x86_64 architectures.
19222 Tested on AMD, Intel Nehalem, SNB, IVB.
19223 * sysdeps/x86_64/strnlen.S: Likewise.
19225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19226 Remove all multiarch strlen and strnlen versions.
19227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19228 Remove strlen and strnlen related parts.
19230 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19231 Inline strlen part.
19232 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19234 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19235 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19236 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19237 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19238 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19239 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19241 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19243 * manual/memory.texi (Malloc Tunable Parameters):
19244 Sort parameters alphabetically. Add comments for missing entries.
19246 2013-03-17 David S. Miller <davem@davemloft.net>
19248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19250 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19253 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19254 for arguments at most half maximum finite value.
19255 * math/libm-test.inc (j0_test): Add more tests.
19256 (j1_test): Likewise.
19257 (y0_test): Likewise.
19258 (y1_test): Likewise.
19259 * sysdeps/i386/fpu/libm-test-ulps: Update.
19260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19263 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19264 1 / x and functions P and Q for arguments above 0x1p256L.
19265 (__ieee754_y0l): Likewise.
19266 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19267 (__ieee754_y1l): Likewise.
19268 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19269 (j1_test): Likewise.
19270 (y0_test): Likewise.
19271 (y1_test): Likewise.
19273 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19275 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19278 2013-03-15 Roland McGrath <roland@hack.frob.com>
19280 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19281 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19282 zero since it's initialized to EXEC_PAGESIZE.
19284 * sysdeps/unix/sysv/linux/ldsodefs.h
19285 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19286 * sysdeps/generic/ldsodefs.h: ... here.
19288 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19290 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19292 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19294 * math/test-snan.c: Renamed from
19295 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19296 * math/Makefile (tests): Add test-snan.
19297 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19300 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19301 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19303 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19304 __builtin_nan family of functions.
19305 * math/libm-test.inc (initialize): Initialize qnan_value with
19306 __builtin_nan family of functions.
19307 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19309 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19311 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19312 storage class. Initialize qNaN_var and sNaN_var with
19313 __builtin_nan and __builtin_nans families of functions,
19316 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19317 (sqrt_test): Remove duplicate test with qNaN input.
19318 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19319 (round_test, signbit_test, significand_test): Note missing +/-Inf
19320 as well as qNaN tests.
19322 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19323 qNaN_var. Fix a few strings, too.
19324 * math/libm-test.inc (nan_value): Rename to qnan_value.
19325 * math/gen-libm-test.pl (%beautify): Adjust to that.
19326 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19327 * math/test-misc.c (main): Likewise.
19328 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19329 to __qnan_bytes, and __qnan_union, respectively.
19330 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19332 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19333 and lqnanval, respectively.
19334 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19335 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19336 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19337 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19339 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19340 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19343 * math/test-misc.c (main): Fix copy'n'pastos.
19344 * misc/tst-efgcvt.c (special): Likewise.
19346 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19347 Remove declarations.
19349 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19351 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19352 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19353 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19354 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19356 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19358 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19359 macro to return vdso values correctly in IFUNC implementations.
19360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19361 Optimization by using IFUNC.
19363 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19364 Richard Henderson <rth@redhat.com>
19365 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19367 * Makefile.in (bench): New target.
19368 * NEWS: Mention the benchmark framework.
19369 * Rules (bench): Likewise.
19370 (binaries-bench): Generate binaries for functions to
19372 * benchtests/Makefile: New makefile for benchmark tests.
19373 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19375 * benchtests/exp-inputs: New input file for EXP function.
19376 * benchtests/pow-inputs: New input file for POW function.
19377 * scripts/bench.pl: New script to generate source files for
19378 benchmark programs.
19380 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19382 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19383 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19384 computations on mantissa. Use macros for rounding and
19386 (denorm): Likewise.
19387 (__dbl_mp): Likewise.
19388 (add_magnitudes): Likewise.
19389 (sub_magnitudes): Likewise.
19392 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19393 powers of two in terms of TWOPOW macro.
19394 (mp_no): Make type of mantissa as MANTISSA_T.
19395 [!RADIXI]: Define RADIXI.
19396 [!TWO52]: Define TWO52.
19397 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19399 * manual/nptl.texi (cindex): Modify threads to pthreads.
19401 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19403 * sysdeps/x86_64/preconfigure: Regenerated.
19405 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19408 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19410 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19411 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19413 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19414 * math/libm-test.inc (j0_test): Do not allow one spurious
19415 underflow exception.
19416 (y1_test): Likewise.
19418 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19420 * manual/Makefile (chapters): Add nptl.
19421 * manual/debug.texi (Debugging Support): Add link to Threads
19423 * manual/nptl.texi: New file.
19425 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19427 2013-03-14 Petr Baudis <pasky@ucw.cz>
19429 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19430 for non-NULL pointer before the memory validity test. Pointed
19431 out by Holger Brunck <holger.brunck@keymile.com>.
19433 2013-03-13 Andreas Schwab <schwab@suse.de>
19435 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19438 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19440 * timezone/zic.c: Update from tzcode 2013b.
19442 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19444 * manual/install.texi (Configuring and compiling):
19445 Mention i686 and i586.
19446 * INSTALL: Regenerate.
19448 2013-03-12 Roland McGrath <roland@hack.frob.com>
19450 * sysdeps/init_array/elf-init.c: New file.
19452 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19453 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19455 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19456 __gmon_start__ as global, but as static with a .preinit_array pointer.
19457 * sysdeps/init_array/gmon-start.c: New file. Use that.
19458 * sysdeps/init_array/crti.S: New file, empty except for comments.
19459 * sysdeps/init_array/crtn.S: Likewise.
19461 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19463 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19466 Remove Prefer_SSE_for_memop.
19467 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19468 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19469 HAS_PREFER_SSE_FOR_MEMOP.
19470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19472 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19473 Remove bzero, memset ifunc support.
19474 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19475 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19476 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19477 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19479 2013-03-11 Andreas Schwab <schwab@suse.de>
19482 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19485 (GLIBC_2.16): Remove pthread_atfork.
19487 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19489 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19490 (ptestcases.h): Likewise.
19492 2013-03-08 Roland McGrath <roland@hack.frob.com>
19494 * Makeconfig ($(common-objpfx)config.status): Depend on
19495 sysdeps/*/preconfigure{,.in} too.
19497 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19499 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19500 (__free_hook): Use void * instead of __malloc_ptr_t.
19501 (__malloc_hook): Likewise.
19502 (__realloc_hook): Likewise.
19503 (__memalign_hook): Likewise.
19504 (__after_morecore_hook): Likewise.
19505 * malloc/arena.c (save_malloc_hook): Likewise.
19506 (save_free_hook): Likewise.
19507 * malloc/hooks.c (malloc_hook_ini): Likewise.
19508 (realloc_hook_ini): Likewise.
19509 (memalign_hook_ini): Likewise.
19510 * malloc/malloc.c (malloc_hook_ini): Likewise.
19511 (realloc_hook_ini): Likewise.
19512 (memalign_hook_ini): Likewise.
19513 (__free_hook): Likewise.
19514 (__malloc_hook): Likewise.
19515 (__realloc_hook): Likewise.
19516 (__memalign_hook): Likewise.
19517 (__libc_malloc): Likewise.
19518 (__libc_free): Likewise.
19519 (__libc_realloc): Likewise.
19520 (__libc_memalign): Likewise.
19521 (__libc_valloc): Likewise.
19522 (__libc_pvalloc): Likewise.
19523 (__libc_calloc): Likewise.
19524 (__posix_memalign): Likewise.
19525 * malloc/morecore.c (__sbrk): Likewise.
19526 (__default_morecore): Likewise.
19528 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19530 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19531 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19532 __malloc_ptrdiff_t.
19534 * malloc/malloc.h (__malloc_size_t): Remove macro.
19535 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19537 (old_memalign_hook): Likewise.
19538 (old_realloc_hook): Likewise.
19539 (struct hdr): Likewise.
19541 (mallochook): Likewise.
19542 (memalignhook): Likewise.
19543 (reallochook): Likewise.
19544 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19545 (tr_old_realloc_hook): Likewise.
19546 (tr_old_memalign_hook): Likewise.
19547 (tr_mallochook): Likewise.
19548 (tr_reallochook): Likewise.
19549 (tr_memalignhook): Likewise.
19551 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19553 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19554 default_ldbl_pack and using as default implementation.
19555 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19557 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19558 redundant definition.
19559 (ldbl_insert_mantissa): Likewise.
19560 (ldbl_canonicalize): Likewise.
19561 (ldbl_nearbyint): Likewise.
19562 (ldbl_pack): Rename to ldbl_pack_ppc.
19563 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19564 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19565 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19567 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19570 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19571 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19572 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19574 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19575 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19576 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19578 2013-03-07 Andreas Jaeger <aj@suse.de>
19580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19583 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19585 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19586 Include mpa.h and declare __MPEXP.
19587 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19588 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19589 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19590 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19591 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19592 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19593 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19595 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19596 (__slowpow): Use long double EXPL and LOGL functions to
19598 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19599 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19600 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19601 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19602 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19603 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19606 intermediate variable to calculate exponent.
19608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19612 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19613 [!NO__SQR]: Define __sqr.
19614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19615 and NO__SQR. Remove all code except __mul and __sqr. Include
19616 sysdeps/ieee754/dbl-64/mpa.c.
19617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19620 * posix/Makefile (tests): Add tst-pathconf.
19621 * posix/tst-pathconf.c: New test case.
19622 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19624 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19626 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19628 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19630 2013-03-06 Andreas Jaeger <aj@suse.de>
19632 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19633 definition via __MAP_ANONYMOUS.
19635 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19636 it's not part of Linux headers.
19638 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19639 (MAP_HUGE_MASK): Define.
19641 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19643 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19644 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19646 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19647 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19649 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19652 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19654 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19655 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19656 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19657 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19658 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19659 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19661 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19664 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19665 Handle f2fs and efivarfs.
19667 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19670 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19671 (EFIVARFS_MAGIC): Add.
19672 (F2FS_LINK_MAX): Add.
19674 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19676 * stdio-common/vfprintf.c: Replace __builtin_expect with
19679 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19682 * sysdeps/generic/bp-sym.h: Remove file.
19683 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19684 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19685 <bp-sym.h> and <bp-asm.h>.
19686 (__longjmp): Don't use BP_SYM.
19687 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19689 (memcpy): Don't use BP_SYM.
19690 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19691 <bp-sym.h> and <bp-asm.h>.
19692 (memcpy): Don't use BP_SYM.
19693 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19695 (memcpy): Don't use BP_SYM.
19696 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19698 (memset): Don't use BP_SYM.
19699 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19700 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19701 (__bzero): Don't use BP_SYM.
19702 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19703 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19704 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19705 <bp-sym.h> and <bp-asm.h>.
19706 (memcmp): Don't use BP_SYM. Remove comment about bounded
19708 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19709 <bp-sym.h> and <bp-asm.h>.
19710 (memcpy): Don't use BP_SYM.
19711 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19712 <bp-sym.h> and <bp-asm.h>.
19713 (memset): Don't use BP_SYM.
19714 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19715 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19716 (__bzero): Don't use BP_SYM.
19717 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19718 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19719 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19720 <bp-sym.h> and <bp-asm.h>.
19721 (strncmp): Don't use BP_SYM. Remove comment about bounded
19723 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19724 <bp-sym.h> and <bp-asm.h>.
19725 (memcpy): Don't use BP_SYM.
19726 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19727 <bp-sym.h> and <bp-asm.h>.
19728 (memset): Don't use BP_SYM.
19729 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19730 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19731 (__bzero): Don't use BP_SYM.
19732 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19733 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19734 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19735 <bp-sym.h> and <bp-asm.h>.
19736 (__memchr): Don't use BP_SYM.
19737 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19738 <bp-sym.h> and <bp-asm.h>.
19739 (memcmp): Don't use BP_SYM. Remove comment about bounded
19741 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19742 <bp-sym.h> and <bp-asm.h>.
19743 (memcpy): Don't use BP_SYM.
19744 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19745 <bp-sym.h> and <bp-asm.h>.
19746 (__mempcpy): Don't use BP_SYM.
19747 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19748 <bp-sym.h> and <bp-asm.h>.
19749 (__memrchr): Don't use BP_SYM.
19750 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19751 <bp-sym.h> and <bp-asm.h>.
19752 (memset): Don't use BP_SYM.
19753 (__bzero): Likewise.
19754 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19755 <bp-sym.h> and <bp-asm.h>.
19756 (__rawmemchr): Don't use BP_SYM.
19757 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19758 <bp-sym.h> and <bp-asm.h>.
19759 (__STRCMP): Don't use BP_SYM.
19760 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19761 <bp-sym.h> and <bp-asm.h>.
19762 (strchr): Don't use BP_SYM.
19763 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19764 <bp-sym.h> and <bp-asm.h>.
19765 (__strchrnul): Don't use BP_SYM.
19766 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19767 <bp-sym.h> and <bp-asm.h>.
19768 (strlen): Don't use BP_SYM.
19769 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19770 <bp-sym.h> and <bp-asm.h>.
19771 (strncmp): Don't use BP_SYM. Remove comment about bounded
19773 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19774 <bp-sym.h> and <bp-asm.h>.
19775 (__strnlen): Don't use BP_SYM.
19776 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19777 <bp-sym.h> and <bp-asm.h>.
19778 (__GI__setjmp): Don't use BP_SYM.
19779 (_setjmp): Likewise.
19780 (__sigsetjmp): Likewise.
19781 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19782 (L(start_addresses)): Don't use BP_SYM.
19783 (_start): Likewise.
19784 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19786 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19787 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19788 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19789 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19790 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19792 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19793 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19794 about bounded pointers.
19795 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19796 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19797 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19799 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19800 about bounded pointers. Remove GKM FIXME comments.
19801 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19802 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19804 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19805 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19806 Remove GKM FIXME comments.
19807 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19808 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19809 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19811 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19812 about bounded pointers. Remove GKM FIXME comment.
19813 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19815 (strncmp): Don't use BP_SYM. Remove comment about bounded
19817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19818 <bp-sym.h> and <bp-asm.h>.
19819 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19821 <bp-sym.h> and <bp-asm.h>.
19822 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19825 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19827 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19830 2013-03-05 David S. Miller <davem@davemloft.net>
19832 * po/es.po: Update from translation team.
19834 2013-03-05 Andreas Jaeger <aj@suse.de>
19836 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19837 <bits/mman-linux.h>.
19838 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19840 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19841 <bits/mman-linux.h> to end of file.
19842 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19844 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19845 <bits/mman-linux.h> to end of file.
19846 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19848 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19849 <bits/mman-linux.h> to end of file.
19851 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19852 (MCL_CURRENT, MCL_FUTURE): Define here.
19854 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19857 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19859 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19861 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19864 fourth parameter needed for rt_sigprocmask syscall.
19865 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19866 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19867 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19868 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19869 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19870 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19872 2013-03-04 Joseph Myers <joseph@codesourcery.com>
19875 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19876 comment about bounded pointers.
19877 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19878 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19880 2013-03-04 Andreas Jaeger <aj@suse.de>
19882 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19883 common definitions.
19885 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19886 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19887 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19888 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19892 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19896 __ieee754_sqrl instead of __sqrl.
19898 2013-03-01 Joseph Myers <joseph@codesourcery.com>
19900 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19901 * sysdeps/powerpc/fpu_control.h: ... here.
19902 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19903 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19904 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19905 * sysdeps/powerpc/bits/mathinline.h: ... here.
19907 2013-03-01 Roland McGrath <roland@hack.frob.com>
19909 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19910 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19911 to just [NEED_DL_SYSINFO_DSO].
19912 * elf/dl-support.c: Likewise.
19913 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19914 * elf/rtld.c (dl_main): Likewise.
19915 * elf/setup-vdso.h (setup_vdso): Likewise.
19916 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19917 * sysdeps/unix/sysv/linux/dl-sysdep.c
19918 (_dl_discover_osversion): Likewise.
19920 2013-03-01 Carlos O'Donell <carlos@redhat.com>
19922 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19923 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19925 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19927 * NEWS: Mention libm performance improvements and non-x86 PI
19930 * csu/libc-start.c (__pthread_initialize_minimal): Change
19931 function arguments.
19932 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19934 2013-02-28 Joseph Myers <joseph@codesourcery.com>
19937 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19938 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19939 <bp-sym.h> and <bp-asm.h>.
19940 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19941 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19943 (memcpy): Don't use BP_SYM.
19944 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19946 (__mpn_add_n): Don't use BP_SYM.
19947 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19948 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19950 (__mpn_addmul_1): Don't use BP_SYM.
19951 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19952 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19954 (_setjmp): Don't use BP_SYM.
19955 (__novmx_setjmp): Likewise.
19956 (__GI__setjmp): Likewise.
19957 (__vmx_setjmp): Likewise.
19958 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19960 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19961 (__bzero): Don't use BP_SYM.
19962 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19963 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19964 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19965 <bp-sym.h> and <bp-asm.h>.
19966 (memcpy): Don't use BP_SYM.
19967 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19968 <bp-sym.h> and <bp-asm.h>.
19969 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19970 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19971 <bp-sym.h> and <bp-asm.h>.
19972 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19973 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19975 (__mpn_lshift): Don't use BP_SYM.
19976 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19977 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19979 (memset): Don't use BP_SYM.
19980 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19981 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19982 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19984 (__mpn_mul_1): Don't use BP_SYM.
19985 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19986 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19987 <bp-sym.h> and <bp-asm.h>.
19988 (memcmp): Don't use BP_SYM.
19989 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19990 <bp-sym.h> and <bp-asm.h>.
19991 (memcpy): Don't use BP_SYM.
19992 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19993 <bp-sym.h> and <bp-asm.h>.
19994 (memset): Don't use BP_SYM.
19995 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19996 <bp-sym.h> and <bp-asm.h>.
19997 (strncmp): Don't use BP_SYM.
19998 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19999 <bp-sym.h> and <bp-asm.h>.
20000 (memcpy): Don't use BP_SYM.
20001 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20002 <bp-sym.h> and <bp-asm.h>.
20003 (memset): Don't use BP_SYM.
20004 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20005 <bp-sym.h> and <bp-asm.h>.
20006 (__memchr): Don't use BP_SYM.
20007 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20008 <bp-sym.h> and <bp-asm.h>.
20009 (memcmp): Don't use BP_SYM.
20010 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20011 <bp-sym.h> and <bp-asm.h>.
20012 (memcpy): Don't use BP_SYM.
20013 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20014 <bp-sym.h> and <bp-asm.h>.
20015 (__mempcpy): Don't use BP_SYM.
20016 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20017 <bp-sym.h> and <bp-asm.h>.
20018 (__memrchr): Don't use BP_SYM.
20019 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20020 <bp-sym.h> and <bp-asm.h>.
20021 (memset): Don't use BP_SYM.
20022 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20023 <bp-sym.h> and <bp-asm.h>.
20024 (__rawmemchr): Don't use BP_SYM.
20025 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20026 <bp-sym.h> and <bp-asm.h>.
20027 (__STRCMP): Don't use BP_SYM.
20028 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20029 <bp-sym.h> and <bp-asm.h>.
20030 (strchr): Don't use BP_SYM.
20031 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20032 <bp-sym.h> and <bp-asm.h>.
20033 (__strchrnul): Don't use BP_SYM.
20034 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20035 <bp-sym.h> and <bp-asm.h>.
20036 (strlen): Don't use BP_SYM.
20037 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20038 <bp-sym.h> and <bp-asm.h>.
20039 (strncmp): Don't use BP_SYM.
20040 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20041 <bp-sym.h> and <bp-asm.h>.
20042 (__strnlen): Don't use BP_SYM.
20043 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20045 (__mpn_rshift): Don't use BP_SYM.
20046 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20047 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20048 <bp-sym.h> and <bp-asm.h>.
20049 (__sigsetjmp): Don't use BP_SYM.
20050 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20051 (L(start_addresses)): Don't use BP_SYM.
20052 (_start): Likewise.
20053 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20055 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20056 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20057 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20058 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20060 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20061 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20062 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20063 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20065 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20067 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20068 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20070 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20072 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20073 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20074 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20076 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20078 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20080 (strncmp): Don't use BP_SYM,
20081 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20083 (__mpn_sub_n): Don't use BP_SYM.
20084 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20085 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20087 (__mpn_submul_1): Don't use BP_SYM.
20088 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20090 <bp-sym.h> and <bp-asm.h>.
20091 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20093 <bp-sym.h> and <bp-asm.h>.
20094 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20097 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20100 Use ZK to minimize writes to Z.
20101 (sub_magnitudes): Simplify code a bit.
20102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20103 Use ZK to minimize writes to Z.
20104 (sub_magnitudes): Simplify code a bit.
20106 2013-02-27 Roland McGrath <roland@hack.frob.com>
20108 * csu/gmon-start.c: Add special exception to license text.
20110 2013-02-27 Richard Henderson <rth@redhat.com>
20112 * scripts/config.guess: Update from config.git.
20113 * scripts/config.sub: Likewise.
20115 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20117 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20119 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20121 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20123 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20125 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20127 2013-02-26 Roland McGrath <roland@hack.frob.com>
20129 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20130 [$(build-shared = yes].
20132 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20134 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20135 (__mul): Reduce iterations for calculating mantissa.
20137 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20139 (__mpranred): Likewise.
20142 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20143 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20145 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20147 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20148 Define __attribute__.
20150 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20152 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20154 * posix/regex_internal.h (__attribute): Remove.
20155 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20156 (re_string_context_at): Likewise.
20157 (bitset_not): Use __attribute__ and mark function as possibly
20159 (bitset_merge): Likewise.
20160 (bitset_mask): Likewise.
20161 (re_string_char_size_at): Likewise.
20162 (re_string_wchar_at): Likewise.
20163 (re_string_elem_size_at): Likewise.
20165 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20167 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20171 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20175 (denorm): Likewise.
20176 (__dbl_mp): Likewise.
20177 (add_magnitudes): Likewise.
20178 (sub_magnitudes): Likewise.
20182 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20185 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20188 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20192 up changes with default code.
20193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20196 2013-02-24 Allan McRae <allan@archlinux.org>
20198 * manual/socket.texi (The Internet Namespace): Order menu items
20199 to match that in the file.
20201 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20202 node listing of the info page menu.
20204 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20207 * sysdeps/i386/bp-asm.h: Remove file.
20208 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20209 (PARMS): Do not use macros from bp-asm.h.
20213 (__mpn_add_n): Do not use BP_SYM
20214 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20216 (PARMS): Do not use macros from bp-asm.h.
20219 (__mpn_addmul_1): Do not use BP_SYM
20220 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20222 (PARMS): Do not use macros from bp-asm.h.
20223 (SIGMSK): Likewise.
20224 (_setjmp): Likewise. Do not use BP_SYM.
20225 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20227 (PARMS): Do not use macros from bp-asm.h.
20228 (SIGMSK): Likewise.
20229 (setjmp): Likewise. Do not use BP_SYM.
20230 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20232 (PARMS): Do not use macros from bp-asm.h.
20233 (__frexp): Do not use BP_SYM.
20235 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20237 (PARMS): Do not use macros from bp-asm.h.
20238 (__frexpf): Do not use BP_SYM.
20239 (frexpf): Likewise.
20240 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20242 (PARMS): Do not use macros from bp-asm.h.
20243 (__frexpl): Do not use BP_SYM.
20244 (frexpl): Likewise.
20245 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20247 (PARMS): Do not use macros from bp-asm.h.
20248 (__remquo): Do not use BP_SYM.
20249 (remquo): Likewise.
20250 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20252 (PARMS): Do not use macros from bp-asm.h.
20253 (__remquof): Do not use BP_SYM.
20254 (remquof): Likewise.
20255 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20257 (PARMS): Do not use macros from bp-asm.h.
20258 (__remquol): Do not use BP_SYM.
20259 (remquol): Likewise.
20260 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20262 (PARMS): Do not use macros from bp-asm.h.
20265 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20266 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20268 (PARMS): Do not use macros from bp-asm.h.
20269 (strlen): Do not use BP_SYM.
20270 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20272 (PARMS): Do not use macros from bp-asm.h.
20276 (__mpn_add_n): Do not use BP_SYM.
20277 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20279 (PARMS): Do not use macros from bp-asm.h.
20282 (__mpn_addmul_1): Do not use BP_SYM.
20283 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20286 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20288 (PARMS): Do not use macros from bp-asm.h.
20291 (__mpn_lshift): Do not use BP_SYM.
20292 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20294 (PARMS): Do not use macros from bp-asm.h.
20298 (memcpy): Likewise. Do not use BP_SYM.
20299 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20300 libc_hidden_def and weak_alias.
20301 (mempcpy): Do not use BP_SYM in weak_alias.
20302 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20304 (PARMS): Do not use macros from bp-asm.h.
20307 [!BZERO_P] (CHR): Likewise.
20308 (memset): Likewise. Do not use BP_SYM.
20309 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20311 (PARMS): Do not use macros from bp-asm.h.
20314 (__mpn_mul_1): Do not use BP_SYM.
20315 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20317 (PARMS): Do not use macros from bp-asm.h.
20320 (__mpn_rshift): Do not use BP_SYM.
20321 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20323 (PARMS): Do not use macros from bp-asm.h.
20326 (strchr): Likewise. Do not use BP_SYM.
20327 (index): Do not use BP_SYM in weak_alias.
20328 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20330 (PARMS): Do not use macros from bp-asm.h.
20333 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20334 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20336 (PARMS): Do not use macros from bp-asm.h.
20337 (strlen): Do not use BP_SYM.
20338 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20340 (PARMS): Do not use macros from bp-asm.h.
20344 (__mpn_sub_n): Do not use BP_SYM.
20345 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20347 (PARMS): Do not use macros from bp-asm.h.
20350 (__mpn_submul_1): Do not use BP_SYM.
20351 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20353 (PARMS): Do not use macros from bp-asm.h.
20357 (__mpn_add_n): Do not use BP_SYM.
20358 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20361 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20363 (PARMS): Do not use macros from bp-asm.h.
20366 (memcmp): Do not use BP_SYM.
20367 (bcmp): Do not use BP_SYM in weak_alias.
20368 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20370 (PARMS): Do not use macros from bp-asm.h.
20374 (memcpy): Likewise. Do not use BP_SYM.
20375 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20377 (PARMS): Do not use macros from bp-asm.h.
20381 (memmove): Likewise. Do not use BP_SYM.
20382 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20384 (PARMS): Do not use macros from bp-asm.h.
20388 (__mempcpy): Likewise. Do not use BP_SYM.
20389 (mempcpy): Do not use BP_SYM in weak_alias.
20390 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20392 (PARMS): Do not use macros from bp-asm.h.
20395 [!BZERO_P] (CHR): Likewise.
20396 (memset): Likewise. Do not use BP_SYM.
20397 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20399 (PARMS): Do not use macros from bp-asm.h.
20401 (strcmp): Do not use BP_SYM.
20402 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20404 (PARMS): Do not use macros from bp-asm.h.
20407 [USE_AS_STRTOK_R] (SAVE): Likewise.
20408 (FUNCTION): Likewise. Do not use BP_SYM.
20409 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20411 (strtok_r): Likewise.
20412 (__GI___strtok_r): Likewise.
20413 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20414 (PARMS): Do not use macros from bp-asm.h.
20417 (__mpn_lshift): Do not use BP_SYM.
20418 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20419 (PARMS): Do not use macros from bp-asm.h.
20422 (__memchr): Do not use BP_SYM.
20423 (memchr): Do not use BP_SYM in weak_alias.
20424 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20425 (PARMS): Do not use macros from bp-asm.h.
20428 (memcmp): Do not use BP_SYM.
20429 (bcmp): Do not use BP_SYM in weak_alias.
20430 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20431 (PARMS): Do not use macros from bp-asm.h.
20434 (__mpn_mul_1): Do not use BP_SYM.
20435 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20437 (PARMS): Do not use macros from bp-asm.h.
20440 (__rawmemchr): Do not use BP_SYM.
20441 (rawmemchr): Do not use BP_SYM in weak_alias.
20442 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20443 (PARMS): Do not use macros from bp-asm.h.
20446 (__mpn_rshift): Do not use BP_SYM.
20447 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20448 (PARMS): Do not use macros from bp-asm.h.
20449 (SIGMSK): Likewise.
20450 (__sigsetjmp): Likewise. Do not use BP_SYM.
20451 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20452 (_start): Do not use BP_SYM.
20453 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20454 (PARMS): Do not use macros from bp-asm.h.
20457 (__stpcpy): Likewise. Do not use BP_SYM.
20458 (stpcpy): Do not use BP_SYM in weak_alias.
20459 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20461 (PARMS): Do not use macros from bp-asm.h.
20465 (__stpncpy): Likewise. Do not use BP_SYM.
20466 (stpncpy): Do not use BP_SYM in weak_alias.
20467 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20468 (PARMS): Do not use macros from bp-asm.h.
20471 (strchr): Likewise. Do not use BP_SYM.
20472 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20474 (PARMS): Do not use macros from bp-asm.h.
20477 (__strchrnul): Likewise. Do not use BP_SYM.
20478 (strchrnul): Do not use BP_SYM in weak_alias.
20479 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20481 (PARMS): Do not use macros from bp-asm.h.
20483 (strcspn): Do not use BP_SYM.
20484 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20486 (PARMS): Do not use macros from bp-asm.h.
20489 (strpbrk): Likewise. Do not use BP_SYM.
20490 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20492 (PARMS): Do not use macros from bp-asm.h.
20495 (strrchr): Likewise. Do not use BP_SYM.
20496 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20497 (PARMS): Do not use macros from bp-asm.h.
20499 (strspn): Do not use BP_SYM.
20500 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20501 (PARMS): Do not use macros from bp-asm.h.
20505 (FUNCTION): Likewise. Do not use BP_SYM.
20506 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20508 (strtok_r): Likewise.
20509 (__GI___strtok_r): Likewise.
20510 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20511 (PARMS): Do not use macros from bp-asm.h.
20515 (__mpn_sub_n): Do not use BP_SYM.
20516 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20518 (PARMS): Do not use macros from bp-asm.h.
20521 (__mpn_submul_1): Do not use BP_SYM.
20522 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20524 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20526 (PARMS): Do not use macros from bp-asm.h.
20531 (__clone): Do not use BP_SYM.
20532 (clone): Do not use BP_SYM in weak_alias.
20533 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20535 (PARMS): Do not use macros from bp-asm.h.
20537 (__mmap64): Do not use BP_SYM.
20538 (mmap64): Do not use BP_SYM in weak_alias.
20539 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20540 <bp-sym.h> and <bp-asm.h>.
20541 (PARMS): Do not use macros from bp-asm.h.
20542 (__posix_fadvise64_l64): Do not use BP_SYM.
20543 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20544 (PARMS): Do not use macros from bp-asm.h.
20546 (semtimedop): Do not use BP_SYM.
20547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20550 2013-02-21 Allan McRae <allan@archlinux.org>
20552 * manual/message.texi (Charset conversion in gettext):
20553 Move @end statement to beginning of line.
20555 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20562 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20563 (denorm): Likewise.
20564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20567 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20569 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20570 tail-call to the resolved function if pltexit isn't needed.
20572 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20575 or Y being zero as being unlikely.
20576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20579 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20581 * manual/nss.texi (System Databases and Name Service Switch):
20582 Remove frobnicate @pxref.
20584 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20586 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20587 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20589 2013-02-20 Petr Machata <pmachata@redhat.com>
20591 * elf/elf.h (R_ARM_TARGET1): New macro.
20592 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20593 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20594 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20595 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20596 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20597 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20598 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20599 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20600 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20601 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20602 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20603 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20604 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20605 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20606 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20607 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20608 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20609 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20610 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20611 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20612 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20613 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20614 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20615 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20616 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20617 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20618 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20619 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20620 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20621 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20622 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20623 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20624 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20625 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20626 (R_ARM_THM_GOT_BREL12): Likewise.
20627 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20628 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20629 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20630 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20631 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20632 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20633 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20634 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20635 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20637 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20639 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20640 __attribute_used__ to __attribute__ ((unused)).
20642 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20644 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20647 comment formatting.
20648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20650 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20653 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20655 (ENTER): Remove both macro definitions.
20657 (CHECK_BOUNDS_LOW): Likewise.
20658 (CHECK_BOUNDS_HIGH): Likewise.
20659 (CHECK_BOUNDS_BOTH): Likewise.
20660 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20661 (RETURN_BOUNDED_POINTER): Likewise.
20662 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20663 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20664 (POP_ERRNO_LOCATION_RETURN): Likewise.
20665 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20666 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20667 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20669 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20670 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20671 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20672 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20673 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20674 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20675 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20676 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20677 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20678 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20679 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20680 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20681 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20682 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20684 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20685 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20687 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20688 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20689 * sysdeps/i386/i586/memset.S (memset): Likewise.
20690 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20691 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20692 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20694 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20695 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20696 Change uses of L(2) to L(out).
20697 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20698 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20699 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20700 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20701 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20703 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20704 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20706 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20707 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20708 (RETURN): Do not use macro LEAVE.
20709 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20710 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20711 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20712 * sysdeps/i386/i686/memset.S (memset): Likewise.
20713 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20714 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20715 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20716 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20718 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20719 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20720 L(1_2) and L(1_3) into L(1).
20721 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20722 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20723 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20724 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20725 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20726 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20727 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20728 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20729 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20731 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20732 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20733 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20734 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20735 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20736 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20737 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20738 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20739 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20740 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20741 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20742 * sysdeps/i386/strspn.S (strspn): Likewise.
20743 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20745 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20746 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20747 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20748 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20749 L(1_3) into L(1_1).
20750 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20751 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20752 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20754 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20756 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20758 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20761 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20763 * math/atest-exp.c (exp_mpn): Remove ROUND.
20764 * math/atest-exp2.c (exp_mpn): Likewise.
20765 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20767 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20768 * stdlib/tst-tls-atexit-lib.c: Likewise.
20769 * stdlib/tst-tls-atexit.c: Likewise.
20771 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20773 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20774 and __attribute_alloc_size__.
20776 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20778 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20779 __attribute_alloc_size__.
20780 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20781 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20783 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20785 * include/programs/xmalloc.h: New file.
20786 * catgets/gencat.c: Include it.
20787 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20788 * elf/pldd.c: Likewise.
20789 * iconv/iconv_charmap.c: Likewise.
20790 * iconv/iconvconfig.c: Likewise.
20791 * iconv/strtab.c: Likewise.
20792 * locale/programs/locale.c: Likewise.
20793 * locale/programs/localedef.h: Likewise.
20794 * locale/programs/simple-hash.c: Likewise.
20795 * nscd/nscd.h: Likewise.
20796 * nss/makedb.c: Likewise.
20797 * sysdeps/generic/ldconfig.h: Likewise.
20799 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20801 * Versions.def: Add GLIBC_2.18.
20802 * include/link.h (struct link_map): New member l_tls_dtor_count.
20803 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20804 (__call_tls_dtors): Likewise.
20805 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20806 __cxa_thread_atexit_impl.
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20823 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20824 (tests): Add test case tst-tls-atexit.
20825 (modules-names): Add shared library for tst-tls-atexit.
20826 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20827 (GLIBC_PRIVATE): Add __call_tls_dtors.
20828 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20830 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20831 * stdlib/tst-tls-atexit.c: New test case.
20832 * stdlib/tst-tls-atexit-lib.c: New test case.
20834 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20836 * elf/Versions (ld): Add _dl_find_dso_for_object.
20837 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20838 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20839 (dl_open_worker): Use _dl_find_dso_for_object.
20840 * elf/dl-sym.c (do_sym): Likewise.
20841 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20843 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20845 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20846 Syntactic changes only.
20847 (_dl_runtime_profile): Do a tail-call to the resolved function.
20849 2013-02-17 Joseph Myers <joseph@codesourcery.com>
20852 * sysdeps/x86_64/bp-asm.h: Remove file.
20853 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20854 <bp-sym.h> and <bp-asm.h>.
20855 (__clone): Do not use BP_SYM.
20856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20857 <bp-sym.h> and <bp-asm.h>.
20858 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20859 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20861 (_setjmp): Do not use BP_SYM.
20862 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20864 (setjmp): Do not use BP_SYM.
20865 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20867 (mempcpy): Do not use BP_SYM in weak_alias.
20868 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20870 (strchr): Do not use BP_SYM.
20871 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20873 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20874 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20875 (_start): Do not use BP_SYM.
20876 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20878 (strcat): Do not use BP_SYM.
20879 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20881 (STRCMP): Do not use BP_SYM.
20882 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20884 (STRCPY): Do not use BP_SYM.
20885 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20887 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20889 (FUNCTION): Do not use BP_SYM.
20890 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20892 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20894 2013-02-17 Andreas Jaeger <aj@suse.de>
20896 * time/Versions: Sort entries.
20897 * string/Versions: Likewise.
20898 * resolv/Versions: Likewise.
20899 * posix/Versions: Likewise.
20900 * iconv/Versions: Likewise.
20901 * elf/Versions: Likewise.
20902 * wcsmbs/Versions: Likewise.
20904 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20906 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20907 loop termination condition.
20909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20910 variable to calculate EZ.
20913 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20914 the lower precision input.
20916 2013-02-15 Joseph Myers <joseph@codesourcery.com>
20919 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20920 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20921 (run-via-rtld-prefix): Do not handle %-bp tests.
20922 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20923 (all-object-suffixes): Remove .ob.
20924 (bppfx): Remove variable.
20925 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20926 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20927 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20928 [$(build-bounded) = yes] (libtype.ob): Likewise.
20929 * Makerules (elide-routines.ob): Remove variable.
20930 (do-tests-clean): Do not handle *-bp.out.
20931 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20932 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20933 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20934 (tests): Do not include $(tests-bp.out).
20935 (xtests): Do not include $(xtests-bp.out).
20936 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20937 [$(build-bounded) = yes] ($(addprefix
20938 $(objpfx),$(binaries-bounded))): Remove rule.
20939 ($(objpfx)%-bp.out): Remove rule.
20940 * config.make.in (build-bounded): Remove variable.
20941 * crypt/Makefile [$(build-bounded) = yes]
20942 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20943 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20944 append to variable.
20945 [$(build-bounded) = yes] (install-lib): Likewise.
20946 [$(build-bounded) = yes] (generated): Likewise.
20947 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20949 * intl/Makefile [$(build-bounded) = yes]
20950 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20951 * math/Makefile [$(build-bounded) = yes]
20952 ($(tests:%=$(objpfx)%-bp): Likewise.
20953 * misc/Makefile [$(build-bounded) = yes]
20954 ($(objpfx)tst-tsearch-bp): Likewise.
20955 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20956 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20958 * string/Makefile (o-objects.ob): Remove variable.
20959 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20960 (CFLAGS-.ob): Remove variable.
20961 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20962 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20963 both definitions of variable.
20964 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20965 (ASFLAGS-.ob): Remove variable.
20967 2013-02-14 Joseph Myers <joseph@codesourcery.com>
20970 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20971 Remove __BOUNDED_POINTERS__ from condition.
20972 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20973 * string/bits/string2.h [!__NO_STRING_INLINES &&
20974 !__BOUNDED_POINTERS__]: Likewise.
20975 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20977 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20978 Remove conditional code.
20979 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20980 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20981 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20985 * csu/libc-start.c: Do not include <bp-sym.h>.
20986 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20987 * elf/dl-open.c: Do not include <bp-sym.h>.
20988 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20989 * math/fegetenv.c: Do not include <bp-sym.h>.
20990 (fegetenv): Do not use BP_SYM in versioned symbols.
20991 * nptl/sysdeps/pthread/bits/libc-lockP.h
20992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20995 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20997 (__pthread_mutex_destroy): Likewise.
20998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20999 (__pthread_mutex_lock): Likewise.
21000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21001 (__pthread_mutex_trylock): Likewise.
21002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21003 (__pthread_mutex_unlock): Likewise.
21004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21005 (__pthread_mutexattr_init): Likewise.
21006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21007 (__pthread_mutexattr_destroy): Likewise.
21008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21009 (__pthread_mutexattr_settype): Likewise.
21010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21011 (__pthread_rwlock_init): Likewise.
21012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21013 (__pthread_rwlock_destroy): Likewise.
21014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21015 (__pthread_rwlock_rdlock): Likewise.
21016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21017 (__pthread_rwlock_tryrdlock): Likewise.
21018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21019 (__pthread_rwlock_wrlock): Likewise.
21020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21021 (__pthread_rwlock_trywrlock): Likewise.
21022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21023 (__pthread_rwlock_unlock): Likewise.
21024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21025 (__pthread_key_create): Likewise.
21026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21027 (__pthread_setspecific): Likewise.
21028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21029 (__pthread_getspecific): Likewise.
21030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21033 (_pthread_cleanup_push_defer): Likewise.
21034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21035 (_pthread_cleanup_pop_restore): Likewise.
21036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21037 (pthread_setcancelstate): Likewise.
21038 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21040 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21041 (memchr): Do not use BP_SYM in weak_alias.
21042 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21043 (fegetenv): Do not use BP_SYM in versioned symbols.
21044 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21045 (fesetenv): Do not use BP_SYM in versioned symbols.
21046 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21047 (feupdateenv): Do not use BP_SYM in versioned symbols.
21048 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21049 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21050 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21051 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21052 (open64): Do not use BP_SYM in weak_alias.
21053 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21054 (fegetenv): Do not use BP_SYM in versioned symbols.
21055 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21056 (fesetenv): Do not use BP_SYM in versioned symbols.
21057 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21058 (feupdateenv): Do not use BP_SYM in versioned symbols.
21059 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21060 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21061 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21062 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21063 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21064 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21065 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21067 (__libc_start_main): Do not use BP_SYM.
21069 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21072 redundant return line.
21074 (denorm): Likewise.
21075 (dbl_mp): Likewise.
21076 (sub_magnitudes): Likewise.
21082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21084 (denorm): Likewise.
21085 (dbl_mp): Likewise.
21086 (sub_magnitudes): Likewise.
21093 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21095 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21096 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21099 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21100 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21102 of __mul for squares.
21103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21107 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21110 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21113 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21115 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21116 prototype or function definition. Rename ubp_* variables and
21117 parameters. Remove argv definitions conditional on
21118 [__BOUNDED_POINTERS__].
21119 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21120 * elf/dl-runtime.c (_dl_fixup): Likewise.
21121 * include/set-hooks.h (RUN_HOOK): Likewise.
21122 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21124 * string/strcpy.c (strcpy): Do not use __unbounded.
21125 * sysdeps/generic/frame.h (struct layout): Likewise.
21126 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21127 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21128 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21129 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21130 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21131 (__backtrace): Likewise.
21132 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21134 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21135 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21136 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21138 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21139 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21140 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21141 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21142 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21143 Do not use __unbounded.
21144 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21145 Rename __unboundedrlimits parameter to rlimits in prototype.
21146 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21147 Do not use __unbounded.
21148 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21149 not use __ptrvalue.
21150 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21151 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21152 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21153 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21154 __ptrvalue or __unbounded.
21155 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21156 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21158 (__new_msgctl): Do not use __ptrvalue.
21159 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21161 (__libc_msgrcv): Do not use __ptrvalue.
21162 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21163 startup_info): Do not use __unbounded.
21164 (__libc_start_main): Likewise. Rename ubp_* variables and
21165 parameters. Remove argv definitions conditional on
21166 [__BOUNDED_POINTERS__].
21167 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21169 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21171 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21173 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21175 (__new_shmctl): Do not use __ptrvalue.
21176 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21177 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21179 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21180 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21181 (__libc_sigaction): Likewise.
21182 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21183 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21185 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21187 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21189 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21191 * string/mempcpy.c: Implement by calling memcpy.
21193 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21200 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21201 values in the mantissa.
21203 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21204 minimize writes to Z.
21205 (sub_magnitudes): Simplify code a bit.
21207 2013-02-12 Roland McGrath <roland@hack.frob.com>
21209 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21210 from the message. The linker prefixes all warnings with that already.
21212 2013-02-12 Andreas Schwab <schwab@suse.de>
21215 * posix/regexec.c (extend_buffers): Add parameter min_len.
21216 (check_matching): Pass minimum needed length.
21217 (clean_state_log_if_needed): Likewise.
21218 (get_subexp): Likewise.
21219 * posix/Makefile (tests): Add bug-regex34.
21220 (bug-regex34-ENV): Define.
21221 * posix/bug-regex34.c: New file.
21224 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21225 elements compare against the byte sequence of it, not its name.
21226 * posix/Makefile (tests): Add bug-regex35.
21227 (bug-regex35-ENV): Define.
21228 * posix/bug-regex35.c: New file.
21230 2013-02-11 Tom de Vries <tom@codesourcery.com>
21232 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21234 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21235 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21236 (CHECK_EOL): Add undef.
21238 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21240 * bits/stdlib-bsearch.h: New file.
21241 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21242 * stdlib/stdlib.h: Likewise.
21244 2013-02-11 Roland McGrath <roland@hack.frob.com>
21246 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21247 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21249 * manual/search.texi (Array Search Function): Add missing const in
21251 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21252 declaration to use rlim_t.
21253 (Basic Scheduling Functions): Remove erroneous const from
21254 sched_getparam prototype. Remove erroneous * from
21255 sched_get_priority_max and sched_get_priority_min prototypes.
21256 (Resource Usage): Fix summary @comment on vtimes to refer to
21257 sys/vtimes.h rather than vtimes.h.
21258 Add missing *s in vtimes prototype.
21259 (Limits on Resources): Fix ulimit prototype to return long int.
21260 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21261 prototypes to use long int rather than double.
21262 (BSD Random): Fix initstate and setstate to use char *, not void *.
21263 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21264 prototype to make second argument 'struct aiocb64 *const[]'.
21265 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21266 (Status of AIO Operations): Remove erroneous const in aio_return and
21267 aio_return64 prototypes.
21268 (Synchronizing I/O): Fix sync prototype to return void.
21269 * manual/startup.texi (Suboptions): Remove an erroneous const in
21270 getsubopt prototype.
21271 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21272 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21273 use size_t rather than int.
21274 (Scanning All Users): Likewise for getpwent_r.
21275 (Setting Groups): Add missing const to setgroups prototype.
21276 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21277 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21278 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21279 'const void *' rather than 'const char *'.
21280 (Host Address Functions): Likewise for inet_ntop.
21281 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21282 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21283 ssize_t for return value.
21284 (Sending Data): Likewise for send, sendto, sendmsg.
21285 (Socket Option Functions): Add a missing const in setsockopt prototype.
21286 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21287 use wchar_t for the argument.
21288 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21289 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21291 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21292 double/float/long double for second argument.
21293 Fix return types of significand, significandf, significandl.
21294 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21295 argument in fchmod prototype.
21296 (File Owner): Use uid_t and gid_t in fchown prototype.
21297 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21298 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21299 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21300 use 'const struct dirent **' as argument types to CMP function pointer
21302 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21303 (File Times): Fix summary magic @comment for struct utimbuf and utime
21304 to refer to utime.h, not time.h.
21305 * manual/string.texi (Argz Functions): Add missing const in
21306 argz_extract and argz_next prototypes.
21307 (Finding Tokens in a String): Likewise for basename.
21308 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21309 (Copying and Concatenation): Fix typo in wmemmove prototype.
21310 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21311 (Signal Stack): Remove erroneous const in sigstack prototype.
21312 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21314 (Simple Calendar Time): Likewise for stime.
21315 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21317 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21318 say sys/sysctl.h instead.
21319 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21320 and vsyslog prototypes.
21322 2013-02-11 Tom de Vries <tom@codesourcery.com>
21324 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21327 2013-02-11 Roland McGrath <roland@hack.frob.com>
21329 * misc/sys/mman.h: Fix typo in mremap comment.
21331 2013-02-08 Roland McGrath <roland@hack.frob.com>
21333 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21334 the '\0' terminator.
21336 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21339 * debug/segfault.c: Don't include <bp-checks.h>.
21340 * sysdeps/generic/bp-checks.h: Remove file.
21341 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21342 (__GETDENTS): Don't use CHECK_N.
21343 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21344 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21345 (__getgroups): Don't use CHECK_N.
21346 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21347 (setgroups): Don't use CHECK_N.
21348 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21349 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21350 (__libc_msgrcv): Don't use CHECK_N.
21351 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21352 (__libc_msgsnd): Don't use CHECK_N.
21353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21355 (__libc_pread): Don't use CHECK_N.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21357 include <bp-checks.h>.
21358 (__libc_pread64): Don't use CHECK_N.
21359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21360 include <bp-checks.h>.
21361 (__libc_pwrite): Don't use CHECK_N.
21362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21363 include <bp-checks.h>.
21364 (__libc_pwrite64): Don't use CHECK_N.
21365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21367 (__libc_pread): Don't use CHECK_N.
21368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21369 include <bp-checks.h>.
21370 (__libc_pread64): Don't use CHECK_N.
21371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21372 include <bp-checks.h>.
21373 (__libc_pwrite): Don't use CHECK_N.
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21375 include <bp-checks.h>.
21376 (__libc_pwrite64): Don't use CHECK_N.
21377 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21378 (do_pread): Don't use CHECK_N.
21379 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21380 (do_pread64): Don't use CHECK_N.
21381 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21382 (do_pwrite): Don't use CHECK_N.
21383 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21384 (do_pwrite64): Don't use CHECK_N.
21385 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21386 (__libc_readv): Don't use CHECK_N.
21387 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21388 (semop): Don't use CHECK_N.
21389 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21391 (semtimedop): Don't use CHECK_N.
21392 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21393 (__libc_pread): Don't use CHECK_N.
21394 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21396 (__libc_pread64): Don't use CHECK_N.
21397 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21399 (__libc_pwrite): Don't use CHECK_N.
21400 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21402 (__libc_pwrite64): Don't use CHECK_N.
21403 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21405 (__libc_msgrcv): Don't use CHECK_N.
21406 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21407 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21408 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21409 (__libc_writev): Don't use CHECK_N.
21411 2013-02-08 Roland McGrath <roland@hack.frob.com>
21413 * string/strcpy.c: Removed unused variable.
21415 * Makeconfig (+sysdep-includes): Define with := rather than =.
21416 Use an existing include/ subdir of each sysdeps dir before it.
21418 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21420 * nscd/connection.c (register_traced_file): Comment function.
21421 [HAVE_INOTIFY] (union __inev): Define.
21422 [HAVE_INOTIFY] (inotify_check_files): New function.
21423 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21424 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21426 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21428 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21430 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21431 loaded if not already and that a failure is permanent.
21433 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21436 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21437 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21439 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21442 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21443 (CHECK_1_NULL_OK): Likewise.
21444 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21445 (__fxstat): Do not use CHECK_1.
21446 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21448 (___fxstat64): Do not use CHECK_1.
21449 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21451 (__fxstatat): Do not use CHECK_1.
21452 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21454 (__fxstatat64): Do not use CHECK_1.
21455 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21457 (__fxstat): Do not use CHECK_1.
21458 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21460 (__fxstatat): Do not use CHECK_1.
21461 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21463 (__getresgid): Do not use CHECK_1.
21464 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21466 (__getresuid): Do not use CHECK_1.
21467 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21469 (__lxstat): Do not use CHECK_1.
21470 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21472 (__old_msgctl): Do not use CHECK_1.
21473 (__new_msgctl): Likewise.
21474 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21476 (__new_setrlimit): Do not use CHECK_1.
21477 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21479 (__old_shmctl): Do not use CHECK_1.
21480 (__new_shmctl): Likewise.
21481 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21483 (__xstat): Do not use CHECK_1.
21484 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21485 (__lxstat): Do not use CHECK_1.
21486 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21488 (___lxstat64): Do not use CHECK_1.
21489 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21490 (__old_msgctl): Do not use CHECK_1.
21491 (__new_msgctl): Likewise.
21492 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21494 (__gettimeofday): Do not use CHECK_1.
21495 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21496 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21497 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21499 (__gettimeofday): Do not use CHECK_1.
21500 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21501 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21502 (__new_shmctl): Do not use CHECK_1.
21503 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21505 (do_sigtimedwait): Do not use CHECK_1.
21506 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21508 (do_sigwaitinfo): Do not use CHECK_1.
21509 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21511 (msgctl): Do not use CHECK_1.
21512 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21514 (shmctl): Do not use CHECK_1.
21515 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21516 (ustat): Do not use CHECK_1.
21517 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21519 (__fxstat): Do not use CHECK_1.
21520 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21522 (__fxstatat): Do not use CHECK_1.
21523 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21525 (__lxstat): Do not use CHECK_1.
21526 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21528 (__xstat): Do not use CHECK_1.
21529 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21530 (__xstat): Do not use CHECK_1.
21531 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21532 (___xstat64): Do not use CHECK_1.
21535 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21537 (CHECK_BOUNDS_HIGH): Likewise.
21538 * string/strcpy.c: Do not include <bp-checks.h>.
21539 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21541 2013-02-07 Roland McGrath <roland@hack.frob.com>
21543 * nscd/nscd-client.h (__nscd_drop_map_ref):
21544 Add __attribute__ ((unused)).
21545 * nis/nss-nisplus.h (niserr2nss): Likewise.
21547 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21548 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21550 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21551 Remove inline keyword.
21552 * include/rounding-mode.h (round_away): Likewise.
21553 * libio/wfileops.c (adjust_wide_data): Likewise.
21554 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21555 (__m128i_strloadu_tolower): Likewise.
21556 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21557 (__m128i_strloadu_tolower): Likewise.
21558 * time/mktime.c (ydhms_diff): Likewise.
21559 * locale/elem-hash.h (elem_hash): Likewise.
21560 * locale/setlocale.c (setdata): Likewise.
21561 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21562 (re_string_wchar_at): Likewise.
21563 (bitset_not, bitset_merge, bitset_mask): Likewise.
21564 [!(__GNUC__ > 3)] (inline): Remove macro.
21565 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21566 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21567 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21568 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21569 * string/memcmp.c (memcmp_bytes): Likewise.
21570 * locale/programs/locarchive.c (compute_hashval): Likewise.
21571 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21572 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21573 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21574 * nss/getent.c (print_rpc, print_protocols): Likewise.
21575 (print_passwd, print_group, print_aliases): Likewise.
21576 * nis/nss-nisplus.h (niserr2nss): Likewise.
21577 * nscd/connections.c (restart_p): Likewise.
21578 Change return type to bool.
21580 2013-02-05 Roland McGrath <roland@hack.frob.com>
21582 * Makeconfig (all-Depend-files): Add existing
21583 $(sorted-subdirs:=/Depend) files.
21584 (all-subdirs): Remove nss.
21585 * sysdeps/unix/inet/Subdirs: Add it here instead.
21586 * hesiod/Depend: New file.
21588 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21589 instead of calling alloca.
21591 * io/lseek.c (__lseek): Rename to __libc_lseek.
21592 Define __lseek as an alias.
21594 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21596 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21598 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21599 else clause and remove check for non-standard endianness.
21601 2013-02-04 David S. Miller <davem@davemloft.net>
21603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21605 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21608 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21609 (__ubp_memchr): Remove prototype.
21610 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21611 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21612 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21613 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21614 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21616 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21617 (__ubp_memchr): Likewise.
21618 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21619 (__ubp_memchr): Likewise.
21620 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21621 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21622 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21623 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21625 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21626 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21627 (__getcwd): Do not use CHECK_STRING.
21628 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21630 (__real_chown): Do not use CHECK_STRING.
21631 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21633 (fchownat): Do not use CHECK_STRING.
21634 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21636 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21638 (__lchown): Do not use CHECK_STRING.
21639 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21640 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21641 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21642 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21644 include <bp-checks.h>.
21645 (truncate64): Do not use CHECK_STRING.
21646 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21648 (__real_chown): Do not use CHECK_STRING.
21649 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21651 (__lchown): Do not use CHECK_STRING.
21652 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21654 (__chown): Do not use CHECK_STRING.
21655 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21657 (truncate64): Do not use CHECK_STRING.
21658 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21660 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21661 (__xmknod): Do not use CHECK_STRING.
21662 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21664 (__xmknodat): Do not use CHECK_STRING.
21665 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21666 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21668 2013-02-04 Andreas Schwab <schwab@suse.de>
21671 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21672 * include/netdb.h: Likewise for h_errno.
21673 * elf/tst-stackguard1.c: Include <tls.h>.
21675 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21677 * elf/link.h (struct link_map): Extend the l_addr comment.
21678 * include/link.h (struct link_map): Likewise.
21680 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21683 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21684 (BOUNDED_1): Remove macro.
21685 * debug/backtrace.c: Don't include <bp-checks.h>.
21686 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21687 (__backtrace): Likewise.
21688 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21690 (__backtrace): Don't use BOUNDED_1.
21691 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21693 (__backtrace): Don't use BOUNDED_1.
21694 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21695 (__backtrace): Don't use BOUNDED_1.
21696 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21697 (shmat): Don't use BOUNDED_N.
21699 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21702 * sysdeps/generic/bp-start.h: Remove file.
21703 * csu/libc-start.c: Don't include <bp-start.h>.
21704 (LIBC_START_MAIN): Set up __environ directly instead of using
21705 INIT_ARGV_and_ENVIRON.
21706 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21710 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21712 (CHECK_FCNTL): Likewise.
21713 (CHECK_N_PAGES): Likewise.
21716 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21718 (CHECK_SIGSET_NULL_OK): Likewise.
21719 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21721 (sigpending): Don't use CHECK_SIGSET.
21722 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21724 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21725 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21727 (do_sigsuspend): Don't use CHECK_SIGSET.
21728 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21730 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21731 (do_sigwait): Don't use CHECK_SIGSET.
21732 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21735 include <bp-checks.h>.
21736 (sigpending): Don't use CHECK_SIGSET.
21737 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21738 include <bp-checks.h>.
21739 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21740 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21742 (sigpending): Don't use CHECK_SIGSET.
21743 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21745 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21748 * sysdeps/generic/bp-semctl.h: Remove file.
21749 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21750 <bp-checks.h> and <bp-semctl.h>.
21751 (__old_semctl): Don't use CHECK_SEMCTL.
21752 (__new_semctl): Likewise.
21753 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21755 (__old_semctl): Don't use CHECK_SEMCTL.
21756 (__new_semctl): Likewise.
21757 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21758 <bp-checks.h> and <bp-semctl.h>.
21759 (__old_semctl): Don't use CHECK_SEMCTL.
21760 (__new_semctl): Likewise.
21761 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21762 <bp-checks.h> and <bp-semctl.h>.
21763 (semctl): Don't use CHECK_SEMCTL.
21766 * Makerules (elide-bp-thunks): Remove variable.
21767 (elide-routines.oS): Don't use $(elide-bp-thunks).
21768 (elide-routines.os): Likewise.
21769 (elide-routines.o): Likewise.
21770 (elide-routines.op): Likewise.
21771 (elide-routines.og): Likewise.
21772 (objects): Don't use $(bp-thunks).
21773 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21775 (common-generated): Do not add s-proto-bp.d.
21776 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21779 Do not generate makefile rules for bounded-pointer thunks.
21780 * sysdeps/generic/bp-thunks.h: Remove file.
21781 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21782 * sysdeps/unix/s-proto-bp.S: Likewise.
21785 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21786 parts of result separately when argument is not close to line from
21787 -i to i and one part of argument is small.
21788 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21789 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21790 * math/libm-test.inc (cacos_test): Add more tests.
21791 (casin_test): Likewise.
21792 (casinh_test): Likewise.
21793 * sysdeps/i386/fpu/libm-test-ulps: Update.
21794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21796 2013-01-31 David S. Miller <davem@davemloft.net>
21798 * po/de.po: Update from translation team.
21800 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21802 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21804 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21806 * configure.in (_AC_PROG_CC_C89): New definition.
21807 * configure: Regenerate.
21809 * configure.in (AC_PROG_CPP): New definition.
21810 * configure: Regenerate.
21812 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21814 * debug/tst-backtrace.h: New file.
21815 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21816 (ret): Remove variable.
21818 (FAIL): Remove macro.
21819 (NO_INLINE): Likewise.
21820 (fn1): Use match function instead of strstr.
21821 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21822 (ret): Remove variable.
21824 (FAIL): Remove macro.
21825 (NO_INLINE): Likewise.
21826 (fn): Use match function instead of strstr.
21827 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21828 (ret): Remove variable.
21830 (FAIL): Remove macro.
21831 (NO_INLINE): Likewise.
21832 (handle_signal): Use match function instead of strstr.
21833 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21834 (ret): Remove variable.
21836 (FAIL): Remove macro.
21837 (NO_INLINE): Likewise.
21838 (handle_signal): Use match function instead of strstr.
21840 2013-01-23 Roland McGrath <roland@hack.frob.com>
21842 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21844 2013-01-23 David S. Miller <davem@davemloft.net>
21846 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21847 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21848 argument of CAS if possible.
21849 * sysdeps/sparc/sparc64/bits/atomic.h
21850 (__arch_compare_and_exchange_val_32_acq): Likewise.
21851 (__arch_compare_and_exchange_val_64_acq): Likewise.
21853 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21855 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21856 * sysdeps/posix/ulimit.c: ... this.
21857 Include <limits.h>.
21858 * sysdeps/unix/bsd/ulimit.c: Remove file.
21860 2013-01-23 Adam Conrad <adconrad@0c3.net>
21862 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21863 (LDFLAGS-tst-array5): Likewise.
21865 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21868 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21869 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21870 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21871 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21873 2013-01-21 David S. Miller <davem@davemloft.net>
21875 * sysdeps/sparc/backtrace.c: New file.
21876 * sysdeps/sparc/sparc32/backtrace.h: New file.
21877 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21878 * sysdeps/sparc/sparc64/backtrace.h: New file.
21879 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21880 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21883 2013-01-21 Andreas Schwab <schwab@suse.de>
21886 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21889 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21895 2013-01-18 Joseph Myers <joseph@codesourcery.com>
21896 Mark Mitchell <mark@codesourcery.com>
21897 Tom de Vries <tom@codesourcery.com>
21898 Paul Pluzhnikov <ppluzhnikov@google.com>
21900 * debug/tst-backtrace2.c: New file.
21901 * debug/tst-backtrace3.c: Likewise.
21902 * debug/tst-backtrace4.c: Likewise.
21903 * debug/tst-backtrace5.c: Likewise.
21904 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21905 (CFLAGS-tst-backtrace3.c): Likewise.
21906 (CFLAGS-tst-backtrace4.c): Likewise.
21907 (CFLAGS-tst-backtrace5.c): Likewise.
21908 (LDFLAGS-tst-backtrace2): Likewise.
21909 (LDFLAGS-tst-backtrace3): Likewise.
21910 (LDFLAGS-tst-backtrace4): Likewise.
21911 (LDFLAGS-tst-backtrace5): Likewise.
21912 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21913 tst-backtrace4 and tst-backtrace5.
21915 2013-01-18 Anton Blanchard <anton@samba.org>
21916 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21918 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21919 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21920 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21921 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21923 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21924 "+r" and remove output regs list as redundant. Add explicit inline
21925 asm to specify register of return val to work around compiler codegen
21926 bug. Remove (int) cast on return value. Add return type parameter to
21927 use in macro so that this macro does not truncate return value for
21929 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21930 pass to INTERNAL_VSYSCALL_NCS.
21931 (INLINE_VSYSCALL): Add 'long int' as return type to
21932 INTERNAL_VSYSCALL_NCS macro invocation.
21933 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21934 INTERNAL_VSYSCALL_NCS macro invocation.
21935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21937 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21940 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21941 Fix application of SIMD FP exception mask.
21943 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21944 mp_no from a power of two.
21945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21946 __mpexp_twomm1. Use __pow_mp.
21948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21951 2013-01-17 David S. Miller <davem@davemloft.net>
21953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21955 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21958 * include/complex.h: Condition contents on [!_COMPLEX_H].
21959 (__kernel_casinhf): New prototype.
21960 (__kernel_casinh): Likewise.
21961 (__kernel_casinhl): Likewise.
21962 * math/Makefile (libm_calls): Add k_casinh.
21963 * math/k_casinh.c: New file.
21964 * math/k_casinhf.c: Likewise.
21965 * math/k_casinhl.c: Likewise.
21966 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21967 finite nonzero arguments.
21968 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21969 finite nonzero arguments.
21970 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21971 finite nonzero arguments.
21972 * math/s_casinh.c: Do not include <float.h>.
21973 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21974 * math/s_casinhf.c: Do not include <float.h>.
21975 (__casinhf): Move code for finite nonzero arguments to
21977 * math/s_casinhl.c: Do not include <float.h>.
21978 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21980 (__casinhl): Move code for finite nonzero arguments to
21982 * math/libm-test.inc (cacos_test): Add more tests.
21983 * sysdeps/i386/fpu/libm-test-ulps: Update.
21984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21986 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21988 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21989 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21990 [!HAVE_MREMAP]: Remove [defined linux] case.
21991 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21993 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21995 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21997 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21999 * elf/elf.h (R_386_SIZE32): New relocation.
22000 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22002 (elf_machine_rela): Likewise.
22003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22004 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22006 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22008 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22009 (FP_FAST_FMA): Do not define.
22010 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22011 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22012 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22013 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22014 !_SOFT_FLOAT]: Likewise.
22015 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22016 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22018 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22019 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22020 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22021 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22022 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22023 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22026 2013-01-16 Andreas Schwab <schwab@suse.de>
22029 * include/stdlib.h (__mktemp): Add declaration.
22030 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22031 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22033 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22035 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22037 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22038 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22039 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22041 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22042 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22044 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22046 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22047 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22048 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22050 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22051 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22053 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22055 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22057 2013-01-15 David S. Miller <davem@davemloft.net>
22059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22060 trunc{,f} to libm-sysdep_routes.
22061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22071 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22072 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22073 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22074 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22075 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22076 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22079 nearbyint{,f} to libm-sysdep_routes.
22080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22091 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22093 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22094 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22096 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22097 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22098 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22100 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22101 libc_feholdexcept and libc_fesetenv.
22103 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22105 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22107 2013-01-14 David S. Miller <davem@davemloft.net>
22109 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22110 (SPARC_ASM_VIS2_IFUNC): Likewise.
22111 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22113 use of 'siam' instruction.
22114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22135 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22147 routines to libm-sysdep_routines.
22148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22151 fdim/fdimf to libm-sysdep_routines.
22152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22160 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22161 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22162 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22163 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22165 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22167 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22168 to optimize copies.
22170 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22175 local variable MPTWO.
22176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22179 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22181 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22184 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22186 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22188 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22190 * manual/pattern.texi (glob_t): Document gl_flags.
22191 (glob64_t): Likewise.
22193 2013-01-11 David S. Miller <davem@davemloft.net>
22195 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22196 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22197 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22198 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22199 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22200 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22201 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22202 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22203 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22204 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22205 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22206 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22207 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22209 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22210 sparc V9 rather than using V8 code.
22211 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22212 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22214 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22216 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22219 2013-01-11 Roland McGrath <roland@hack.frob.com>
22221 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22222 not in the main loop.
22223 * configure: Regenerated.
22225 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22227 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22228 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22230 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22231 [!__GLIBC_HAVE_LONG_LONG] case.
22232 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22233 condition to just #else.
22234 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22235 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22236 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22237 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22239 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22240 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22241 #elif condition to just #else.
22242 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22243 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22244 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22245 #elif condition to just #else.
22247 2013-01-11 Steve Ellcey <sellcey@mips.com>
22249 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22250 (EF_MIPS_ARCH_64): Fix value.
22251 (EF_MIPS_ARCH_32R2): New.
22252 (EF_MIPS_ARCH_64R2): New.
22254 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22256 * Makeconfig (+link-pie-before-libc): New.
22257 (+link-pie-after-libc): Likewise.
22258 (+link-pie-tests): Likewise.
22259 (+link-pie): Rewritten.
22260 (link-before-libc): Remove $(config-LDFLAGS).
22261 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22262 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22263 (config-LDFLAGS): Renamed to ...
22264 (rtld-LDFLAGS): This.
22265 (rtld-tests-LDFLAGS): New macro.
22266 (link-libc-rpath-link): Likewise.
22267 (link-libc-tests-rpath-link): Likewise.
22268 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22269 (link-libc): Prepand $(link-libc-rpath-link).
22270 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22271 (test-program-prefix): New macro.
22272 (test-via-rtld-prefix): Likewise.
22273 (test-program-cmd): Likewise.
22274 (host-test-program-cmd): Likewise.
22275 * Makefile ($(common-objpfx)testrun.sh): Replace
22276 $(run-program-prefix) with $(test-program-prefix).
22277 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22279 ($(common-objpfx)shlib.lds): Likewise.
22280 (build-module-helper): Likewise.
22281 ($(common-objpfx)format.lds): Likewise.
22282 * Rules (binaries-pie-tests): New.
22283 (binaries-pie-notests): Likewise.
22284 (binaries-pie): Rewritten.
22285 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22286 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22287 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22288 (make-test-out): Replace $(host-built-program-cmd) with
22289 $(host-test-program-cmd).
22290 * config.make.in (build-hardcoded-path-in-tests): New variable.
22291 * configure.in (--enable-hardcoded-path-in-tests): New configure
22293 (hardcoded_path_in_tests): New AC_SUBST.
22294 * configure: Regenerated.
22295 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22296 $(built-program-cmd) with $(test-program-cmd).
22297 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22298 (test_program_cmd): This.
22299 * elf/Makefile ($(objpfx)order.out): Run test with
22300 $(test-program-prefix).
22301 ($(objpfx)order2.out): Likewise.
22302 ($(objpfx)tst-initorder.out): Likewise.
22303 ($(objpfx)tst-initorder2.out): Likewise.
22304 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22305 $(test-program-cmd).
22306 ($(objpfx)tst-array1-static.out): Likewise.
22307 ($(objpfx)tst-array2.out): Likewise.
22308 ($(objpfx)tst-array3.out): Likewise.
22309 ($(objpfx)tst-array4.out): Likewise.
22310 ($(objpfx)tst-array5.out): Likewise.
22311 ($(objpfx)tst-array5-static.out): Likewise.
22312 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22313 $(test-program-cmd).
22314 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22315 $(run-program-prefix) with $(test-program-prefix).
22316 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22317 (test_program_prefix): This.
22318 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22319 $(run-program-prefix) with $(test-program-prefix).
22320 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22321 (test_program_prefix): This.
22322 * iconvdata/tst-tables.sh: Likewise.
22323 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22324 $(run-program-prefix) with $(test-program-prefix).
22325 ($(objpfx)tst-translit.out): Likewise.
22326 ($(objpfx)tst-gettext2.out): Likewise.
22327 ($(objpfx)tst-gettext4.out): Likewise.
22328 ($(objpfx)tst-gettext6.out): Likewise.
22329 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22330 (test_program_prefix): This.
22331 * intl/tst-gettext2.sh: Likewise.
22332 * intl/tst-gettext4.sh Likewise.
22333 * intl/tst-gettext6.sh: Likewise.
22334 * intl/tst-translit.sh: Likewise.
22335 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22336 with $(test-program-cmd).
22337 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22338 $(run-program-prefix) with $(test-program-prefix).
22339 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22340 (test_program_prefix): This.
22341 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22342 $(run-program-prefix) with $(test-program-prefix).
22343 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22344 (test_program_prefix): This.
22345 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22346 * posix/Makefile ($(objpfx)globtest.out): Replace
22347 $(run-via-rtld-prefix) and $(test-wrapper) with
22348 $(test-program-prefix) and $(test-via-rtld-prefix).
22349 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22350 $(test-program-prefix).
22351 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22352 $(host-test-program-cmd).
22353 (tst-spawn-ARGS): Likewise.
22354 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22355 $(test-program-prefix).
22356 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22357 (test_via_rtld_prefix): This.
22358 (test_wrapper): Renamed to ...
22359 (test_program_prefix): This.
22360 (run_program_prefix): Replaced by test_program_prefix.
22361 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22362 (test_program_prefix): This.
22363 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22364 with $(host-test-program-cmd).
22365 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22366 $(run-program-prefix) with $(test-program-prefix).
22367 ($(objpfx)tst-printf.out): Likewise.
22368 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22369 $(test-program-cmd).
22370 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22371 (test_program_prefix): This.
22372 * stdio-common/tst-unbputc.sh: Likewise.
22373 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22374 $(run-program-prefix) with $(test-program-prefix).
22375 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22376 (test_program_prefix): This.
22377 * string/Makefile ($(objpfx)tst-svc.out): Replace
22378 $(built-program-cmd) with $(test-program-cmd).
22380 2013-01-11 Andreas Jaeger <aj@suse.de>
22383 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22384 value. Sync with Linux 3.7.
22386 2013-01-10 David S. Miller <davem@davemloft.net>
22388 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22389 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22390 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22392 2013-01-10 Roland McGrath <roland@hack.frob.com>
22394 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22396 * configure: Regenerated.
22398 2013-01-10 David S. Miller <davem@davemloft.net>
22400 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22401 sparc V9 rather than using V8 code.
22402 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22403 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22405 2013-01-10 Roland McGrath <roland@hack.frob.com>
22407 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22408 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22409 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22410 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22411 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22412 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22413 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22414 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22415 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22416 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22417 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22418 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22419 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22420 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22421 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22422 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22423 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22424 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22425 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22426 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22427 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22428 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22429 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22430 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22431 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22432 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22433 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22435 2013-01-10 David S. Miller <davem@davemloft.net>
22437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22439 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22441 * posix/Makefile (tests-static): New variable.
22442 (tests): Add $(tests-static).
22443 (tst-exec-static-ARGS): New variable.
22444 (tst-spawn-static-ARGS): Likewise.
22445 * posix/tst-exec-static.c: New file.
22446 * posix/tst-spawn-static.c: Likewise.
22447 * posix/tst-exec.c: Support run directly.
22448 * posix/tst-spawn.c: Likewise.
22450 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22452 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22454 * math/bits/mathcalls.h (llrint): Likewise.
22455 (llround): Likewise.
22456 * stdlib/stdlib.h (struct drand48_data): Likewise.
22457 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22458 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22459 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22461 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22463 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22464 (elf_greg_t): Likewise.
22465 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22466 (__jmp_buf): Likewise.
22467 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22469 (llrint): Likewise, for all definitions.
22470 (llrintl): Likewise.
22472 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22473 Remove [__GNUC__] condition.
22474 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22475 condition to just [__USE_ISOC99].
22476 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22478 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22481 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22482 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22484 (_POSIX_V6_ILP32_OFF32): Likewise.
22485 (_XBS5_ILP32_OFF32): Likewise.
22486 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22487 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22489 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22491 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22494 doubles __mpexp_twomm1. Adjust usage.
22495 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22498 2013-01-10 Andreas Schwab <schwab@suse.de>
22501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22502 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22504 2013-01-09 David S. Miller <davem@davemloft.net>
22507 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22508 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22509 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22510 (TCP_FASTOPEN): Define.
22511 (tcp_repair_opt): New structure.
22512 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22514 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22515 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22516 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22517 (tcp_cookie_transactions): New structure.
22519 2013-01-09 Anton Blanchard <anton@samba.org>
22521 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22522 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22523 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22524 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22526 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22528 * include/features.h (__USE_ANSI): Remove.
22530 2013-01-09 Roland McGrath <roland@hack.frob.com>
22532 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22534 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22536 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22538 * sysdeps/s390/fpu/libm-test-ulps: Update.
22540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22542 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22546 (denorm): Likewise.
22547 (__mp_dbl): Likewise.
22548 (__dbl_mp): Likewise.
22549 (add_magnitudes): Likewise.
22550 (sub_magnitudes): Likewise.
22556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22560 (denorm): Likewise.
22561 (__mp_dbl): Likewise.
22562 (__dbl_mp): Likewise.
22563 (add_magnitudes): Likewise.
22564 (sub_magnitudes): Likewise.
22570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22574 (denorm): Likewise.
22575 (__mp_dbl): Likewise.
22576 (__dbl_mp): Likewise.
22577 (add_magnitudes): Likewise.
22578 (sub_magnitudes): Likewise.
22585 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22587 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22588 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22589 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22590 2 && __USE_EXTERN_INLINES]: Likewise.
22592 2013-01-08 Andreas Jaeger <aj@suse.de>
22595 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22597 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22598 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22600 2013-01-07 Anton Blanchard <anton@samba.org>
22602 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22603 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22604 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22605 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22606 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22607 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22608 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22609 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22613 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22614 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22616 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22617 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22618 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22619 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22620 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22622 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22623 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22624 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22625 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22626 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22627 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22628 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22629 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22630 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22631 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22632 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22634 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22635 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22636 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22637 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22638 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22640 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22642 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22644 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22646 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22648 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22649 (__MALLOC_PMT): Likewise.
22650 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22651 [__GNUC__], only on [_LIBC].
22652 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22653 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22654 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22655 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22656 forward declaration.
22657 (realloc_hook_ini): Likewise.
22658 (memalign_hook_ini): Likewise.
22659 (__libc_memalign): Do not use __MALLOC_PMT in variable
22661 (__libc_valloc): Likewise.
22662 (__libc_pvalloc): Likewise.
22663 (__libc_calloc): Likewise.
22664 (__posix_memalign): Likewise.
22667 * math/s_casinh.c: Include <float.h>.
22668 (__casinh): Do not do computation with squaring and square root
22669 for large arguments.
22670 * math/s_casinhf.c: Include <float.h>.
22671 (__casinhf): Do not do computation with squaring and square root
22672 for large arguments.
22673 * math/s_casinhl.c: Include <float.h>.
22674 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22675 (__casinhl): Do not do computation with squaring and square root
22676 for large arguments.
22677 * math/libm-test.inc (casin_test): Add more tests.
22678 (casinh_test): Likewise.
22679 * sysdeps/i386/fpu/libm-test-ulps: Update.
22680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22682 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22684 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22685 (__x86_64_raw_data_cache_size): Likewise.
22686 (__x86_64_data_cache_size_half): Likewise.
22687 (__x86_64_raw_data_cache_size_half): Likewise.
22688 (__x86_64_shared_cache_size): Likewise.
22689 (__x86_64_raw_shared_cache_size): Likewise.
22690 (__x86_64_shared_cache_size_half): Likewise.
22691 (__x86_64_raw_shared_cache_size_half): Likewise.
22692 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22694 (__x86_data_cache_size): This.
22695 (__x86_64_raw_data_cache_size): Renamed to ...
22696 (__x86_raw_data_cache_size): This.
22697 (__x86_64_data_cache_size_half): Renamed to ...
22698 (__x86_data_cache_size_half): This.
22699 (__x86_64_raw_data_cache_size_half): Renamed to ...
22700 (__x86_raw_data_cache_size_half): This.
22701 (__x86_64_shared_cache_size): Renamed to ...
22702 (__x86_shared_cache_size): This.
22703 (__x86_64_raw_shared_cache_size): Renamed to ...
22704 (__x86_raw_shared_cache_size): This.
22705 (__x86_64_shared_cache_size_half): Renamed to ...
22706 (__x86_shared_cache_size_half): This.
22707 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22708 (__x86_raw_shared_cache_size_half): This.
22709 * sysdeps/x86_64/memcpy.S: Updated.
22710 * sysdeps/x86_64/memset.S: Likewise.
22711 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22712 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22715 2013-01-04 David S. Miller <davem@davemloft.net>
22717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22719 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22721 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22722 1 to avoid redefinition warning.
22723 (__USE_GNU): Don't define.
22724 (init_signaling_nan): Protoize.
22726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22728 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22730 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22732 (__cpymn): Likewise.
22733 (norm): Remove commented code.
22734 (denorm): Likewise.
22735 (__mp_dbl): Likewise.
22737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22738 (__cpymn): Likewise.
22739 (norm): Remove commented code.
22740 (denorm): Likewise.
22741 (__mp_dbl): Likewise.
22744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22745 mp_no value for 1.0 and 2.0.
22746 (norm): Use RADIXI instead of radixi.d.
22747 (denorm): Likewise.
22748 (__mul): Use 0.0 instead of zero.d.
22749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22750 mp_no value for 1.0 and 2.0.
22751 (norm): Use RADIXI instead of radixi.d.
22752 (denorm): Likewise.
22753 (__mul): Use 0.0 instead of zero.d.
22755 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22758 * math/s_casinh.c (__casinh): Reduce finite argument to first
22759 quadrant then set signs of results at the end.
22760 * math/s_casinhf.c (__casinhf): Likewise.
22761 * math/s_casinhl.c (__casinhl): Likewise.
22762 * math/libm-test.inc (casin_test): Add more tests.
22763 (casinh_test): Likewise.
22764 * sysdeps/i386/fpu/libm-test-ulps: Update.
22765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22767 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22769 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22771 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22773 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22775 (denorm): Likewise.
22776 (__mp_dbl): Likewise.
22779 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22780 and adjust the header comment.
22782 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22783 variable name from declaration.
22785 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22788 Initialize COMMON_CPUID_INDEX_7 element.
22789 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22790 (CPUID_RTM): Likewise.
22791 (HAS_RTM): Likewise.
22792 (COMMON_CPUID_INDEX_7): New enum.
22794 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22797 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22798 size is zero, record memory as freed.
22800 2013-01-03 Andreas Jaeger <aj@suse.de>
22802 * po/ia.po: Add new Interlingua translation.
22804 2012-01-03 Allan McRae <allan@archlinux.org>
22806 * locale/programs/localedef.c: Fix description of '--posix' flag.
22808 2013-01-02 Joseph Myers <joseph@codesourcery.com>
22810 * NEWS: Update dates in second copyright notice.
22811 * README: Update copyright dates in example.
22812 * manual/libc.texinfo: Update copyright dates.
22813 * scripts/test-installation.pl: Update copyright date in --version
22816 * hurd/ctty-input.c: Fix copyright notice formatting.
22817 * hurd/ctty-output.c: Likewise.
22818 * hurd/dtable.c: Likewise.
22819 * hurd/hurd-raise.c: Likewise.
22820 * hurd/hurdprio.c: Likewise.
22821 * hurd/msgportdemux.c: Likewise.
22822 * misc/sys/file.h: Likewise.
22823 * misc/sys/ioctl.h: Likewise.
22824 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22825 * sysdeps/mach/hurd/chdir.c: Likewise.
22826 * sysdeps/mach/hurd/fchdir.c: Likewise.
22827 * sysdeps/mach/hurd/rename.c: Likewise.
22828 * sysdeps/mach/hurd/rmdir.c: Likewise.
22829 * sysdeps/mach/hurd/seekdir.c: Likewise.
22830 * sysdeps/mach/hurd/setsid.c: Likewise.
22831 * sysdeps/posix/wait3.c: Likewise.
22833 * All files with FSF copyright notices: Update copyright dates
22834 using scripts/update-copyrights.
22835 * intl/plural.c: Regenerated.
22836 * locale/programs/charmap-kw.h: Likewise.
22837 * locale/programs/locfile-kw.h: Likewise.
22839 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22841 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22844 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22845 calculation loop and add branch prediction.
22847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22848 check access beyond bounds of m1np.
22850 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22852 (__inv): Remove local variable MPTWO to use the global
22854 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22855 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22857 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22858 MP3HALFS static const.
22860 2013-01-01 David S. Miller <davem@davemloft.net>
22862 * po/ca.po: Update from translation team.
22864 2013-01-01 Joseph Myers <joseph@codesourcery.com>
22866 * scripts/update-copyrights: New file.
22867 * Makeconfig: Reformat copyright notice.
22868 * ctype/ctype.h: Likewise.
22869 * debug/swprintf_chk.c: Likewise.
22870 * elf/dl-cache.c: Likewise.
22871 * elf/dl-debug.c: Likewise.
22872 * elf/dl-object.c: Likewise.
22873 * grp/initgroups.c: Likewise.
22874 * hurd/Makefile: Likewise.
22875 * hurd/hurd/signal.h: Likewise.
22876 * hurd/hurdfault.c: Likewise.
22877 * hurd/hurdioctl.c: Likewise.
22878 * hurd/hurdlookup.c: Likewise.
22879 * hurd/intr-msg.c: Likewise.
22880 * iconv/gconv_open.c: Likewise.
22881 * libio/swprintf.c: Likewise.
22882 * locale/lc-ctype.c: Likewise.
22883 * locale/nl_langinfo.c: Likewise.
22884 * mach/Machrules: Likewise.
22885 * mach/Makefile: Likewise.
22886 * malloc/obstack.h: Likewise.
22887 * manual/Makefile: Likewise.
22888 * manual/tsort.awk: Likewise.
22889 * misc/bits/stab.def: Likewise.
22890 * nis/nis_print_group_entry.c: Likewise.
22891 * nis/nis_table.c: Likewise.
22892 * nis/nss_compat/compat-pwd.c: Likewise.
22893 * nis/nss_compat/compat-spwd.c: Likewise.
22894 * po/Makefile: Likewise.
22895 * posix/fnmatch.c: Likewise.
22896 * posix/regex.h: Likewise.
22897 * resolv/Makefile: Likewise.
22898 * resolv/nss_dns/dns-network.c: Likewise.
22899 * resolv/res_hconf.c: Likewise.
22900 * scripts/gen-sorted.awk: Likewise.
22901 * soft-fp/soft-fp.h: Likewise.
22902 * stdio-common/printf.h: Likewise.
22903 * stdlib/monetary.h: Likewise.
22904 * stdlib/random.c: Likewise.
22905 * stdlib/random_r.c: Likewise.
22906 * sysdeps/generic/Makefile: Likewise.
22907 * sysdeps/gnu/Makefile: Likewise.
22908 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22912 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22915 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22916 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22918 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22919 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22920 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22921 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22922 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22923 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22924 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22925 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22926 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22928 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22929 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22930 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22931 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22932 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22933 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22935 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22936 * sysdeps/mach/hurd/errnos.awk: Likewise.
22937 * sysdeps/mach/hurd/fork.c: Likewise.
22938 * sysdeps/mach/hurd/getcwd.c: Likewise.
22939 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22940 * sysdeps/mach/hurd/mmap.c: Likewise.
22941 * sysdeps/mach/hurd/utimes.c: Likewise.
22942 * sysdeps/mach/hurd/xmknod.c: Likewise.
22943 * sysdeps/posix/profil.c: Likewise.
22944 * sysdeps/posix/readdir_r.c: Likewise.
22945 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22946 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22947 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22948 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22950 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22951 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22952 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22954 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22955 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22956 * sysdeps/pthread/lio_listio.c: Likewise.
22957 * sysdeps/sparc/dl-procinfo.h: Likewise.
22958 * sysdeps/unix/i386/sysdep.S: Likewise.
22959 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22960 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22961 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22962 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22964 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22965 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22966 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22967 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22968 * sysdeps/wordsize-32/divdi3.c: Likewise.
22969 * time/sys/time.h: Likewise.
22970 * wcsmbs/Makefile: Likewise.
22972 2013-01-01 David S. Miller <davem@davemloft.net>
22974 * po/fr.po: Update from translation team.
22976 * catgets/gencat.c: Update copyright year.
22977 * csu/version.c: Likewise.
22978 * debug/catchsegv.sh: Likewise.
22979 * debug/pcprofiledump.c: Likewise.
22980 * debug/xtrace.sh: Likewise.
22981 * elf/ldconfig.c: Likewise.
22982 * elf/ldd.bash.in: Likewise.
22983 * elf/pldd.c: Likewise.
22984 * elf/sotruss.ksh: Likewise.
22985 * elf/sprof.c: Likewise.
22986 * iconv/iconv_prog.c: Likewise.
22987 * iconv/iconvconfig.c: Likewise.
22988 * locale/programs/locale.c: Likewise.
22989 * locale/programs/localedef.c: Likewise.
22990 * login/programs/pt_chown.c: Likewise.
22991 * malloc/memusage.sh: Likewise.
22992 * malloc/memusagestat.c: Likewise.
22993 * malloc/mtrace.pl: Likewise.
22994 * nscd/nscd.c: Likewise.
22995 * nss/getent.c: Likewise.
22996 * nss/makedb.c: Likewise.
22997 * posix/getconf.c: Likewise.
22999 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23001 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23004 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23006 * math/bits/mathcalls.h (modf): Use __nonnull.
23008 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23010 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23011 (split): Use macro CN instead of the bare value.
23012 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23015 instead of the bare value.
23016 (power1): Likewise.
23018 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23020 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23022 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23024 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23026 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23027 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23028 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23029 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23031 2012-12-28 Andreas Jaeger <aj@suse.de>
23033 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23034 values are from Linux 3.7.
23036 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23037 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23039 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23041 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23044 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23046 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23047 variables with preprocessor constants.
23048 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23049 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23050 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23052 2012-12-27 Bruno Haible <bruno@clisp.org>
23055 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23058 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23061 and use variable directly.
23062 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23064 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23066 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23067 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23069 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23071 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23072 include directive. Remove local variable MPONE.
23073 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23074 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23075 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23077 2012-12-25 David S. Miller <davem@davemloft.net>
23079 * version.h (RELEASE): Set to "development".
23080 (VERSION): Set to "2.17.90".
23081 * NEWS: Add 2.18 section.
23083 2012-12-21 David S. Miller <davem@davemloft.net>
23085 * po/hr.po: Update from translation team.
23087 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23089 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23091 2012-12-19 Steve Ellcey <sellcey@mips.com>
23093 * NEWS: Mention new memcpy for MIPS.
23095 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23097 * manual/contrib.texi (Contributors): Spelling correction.
23099 2012-12-15 David S. Miller <davem@davemloft.net>
23101 * po/ru.po: Update from translation team.
23103 2012-12-13 David S. Miller <davem@davemloft.net>
23105 * NEWS: Mention IFUNC testsuite enhancements.
23107 * po/pl.po: Update from translation team.
23108 * po/bg.po: Likewise.
23110 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23111 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23113 2012-12-11 David S. Miller <davem@davemloft.net>
23115 * po/sv.po: Update from translation team.
23117 * po/vi.po: Update from translation team.
23119 * po/cs.po: Update from translation team.
23121 * po/de.po: Update from translation team.
23122 * po/eo.po: Likewise.
23123 * po/nl.po: Likewise.
23125 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23128 * manual/argp.texi (Argp Helper Functions): Move node to follow
23129 Argp Parsing State.
23132 * manual/conf.texi (Limits on File System Capacity): Mention if
23133 terminating null is included in the max size.
23135 2012-12-10 Andreas Jaeger <aj@suse.de>
23137 * po/cs.po: Update from translation team.
23139 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23141 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23142 void pointer and cast to uintptr_t.
23143 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23145 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23146 * sysdeps/s390/s390-64/memset.S: Likewise.
23148 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23151 * menual/message.texi (Message Translation): Fix typos.
23152 (Helper programs for gettext): Likewise.
23154 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23157 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23160 2012-12-07 David S. Miller <davem@davemloft.net>
23162 * po/libc.pot: Update.
23164 2012-12-07 Richard Henderson <rth@redhat.com>
23167 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23168 normal/normal case to before the switch.
23169 (_FP_DIV): Likewise.
23171 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23172 Mike Frysinger <vapier@gentoo.org>
23174 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23175 check for __NR_fadvise64_64.
23177 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23179 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23180 0, not just to plain "0" as a statement.
23181 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23184 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23186 * NEWS: Use sourceware.org in Bugzilla URL.
23188 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23191 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23193 * stdio-common/tst-put-error.c (do_test): Add newline to the
23194 padded test to ensure flush.
23196 2012-12-05 Jeff Law <law@redhat.com>
23198 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23200 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23202 * README: Don't refer to ports add-on as distributed separately.
23203 Mention AArch64 in list of systems supported in the ports add-on.
23205 * LICENSES: Add more non-FSF copyright and license notices.
23207 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23210 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23212 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23213 10000 as width of padded output.
23215 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23217 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23219 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23220 variable LX with __attribute__ ((unused)).
23221 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23225 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23226 with __attribute__ ((unused)).
23228 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23230 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23232 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23234 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23235 (CFLAGS-nldbl-acos.c): New variable.
23236 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23237 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23238 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23239 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23240 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23241 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23242 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23243 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23244 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23245 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23246 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23247 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23248 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23249 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23250 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23251 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23252 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23253 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23254 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23255 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23256 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23257 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23258 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23259 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23260 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23261 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23262 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23263 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23264 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23265 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23266 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23267 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23268 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23269 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23270 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23271 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23272 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23273 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23274 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23275 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23276 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23277 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23278 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23279 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23280 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23281 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23282 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23283 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23284 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23285 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23286 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23287 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23288 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23289 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23290 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23291 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23292 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23293 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23294 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23295 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23296 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23297 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23298 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23299 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23300 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23301 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23302 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23303 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23304 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23305 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23306 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23307 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23308 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23309 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23310 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23311 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23312 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23313 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23314 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23315 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23316 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23317 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23318 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23319 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23320 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23321 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23322 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23323 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23324 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23325 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23326 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23327 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23328 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23329 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23330 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23331 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23332 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23335 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23339 whole low double instead of just low 47 bits when splitting values
23342 2012-12-03 Allan McRae <allan@archlinux.org>
23344 * manual/stdio.texi (Predefined Printf Handlers): Remove
23345 @hsep and @vsep usage.
23347 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23349 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23350 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23352 2012-12-03 Jeff Law <law@redhat.com>
23354 * time/sys/time.h (settimeofday): Do not mark TV argument
23357 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23359 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23360 when currently writing and seek to current position when not.
23361 * libio/Makefile (tests): Remove bug-fclose1.
23362 * libio/bug-fclose1.c: Delete.
23364 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23366 * manual/arith.texi (feenableexcept): Fix typo.
23367 (fedisableexcept): Likewise.
23369 2012-11-30 Roland McGrath <roland@hack.frob.com>
23371 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23372 second, differently-typed declaration, rather than a cast.
23374 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23376 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23377 * include/rpc/svc.h: ... here.
23379 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23382 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23383 depending n and resplen2 to catch cases where answer
23386 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23388 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23389 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23391 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23395 2012-11-29 Roland McGrath <roland@hack.frob.com>
23397 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23399 2012-11-28 Jeff Law <law@redhat.com>
23402 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23403 dataset_temporary. Track alloca usage into alloca_used.
23404 If dataset is large allocate and release it via malloc/free.
23406 2012-06-04 Florian Weimer <fweimer@redhat.com>
23409 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23411 2012-11-28 David S. Miller <davem@davemloft.net>
23413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23415 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23418 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23419 of pi/2 rounded to nearest to 64 bits.
23420 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23421 nearest to 64 bits.
23422 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23425 2012-11-28 Jeff Law <law@redhat.com>
23426 Martin Osvald <mosvald@redhat.com>
23429 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23430 * sunrpc/svc.c: Include time.h.
23431 (__svc_accept_failed): New function.
23432 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23433 any reason other than EINTR, call __svc_accept_failed.
23434 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23435 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23437 2012-11-28 Andreas Schwab <schwab@suse.de>
23439 * scripts/abilist.awk: Also handle indirect functions in .opd
23442 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23445 * sysdeps/x86/fpu/powl_helper.c: New file.
23446 * sysdeps/x86/fpu/Makefile: Likewise.
23447 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23449 (__ieee754_powl): Use __powl_helper for finite arguments except
23450 integer exponents below 8.
23451 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23453 (__ieee754_powl): Use __powl_helper for finite arguments except
23454 integer exponents below 8.
23455 * math/libm-test.inc (pow_test): Add more tests and enable some
23456 previously disabled tests.
23457 * sysdeps/i386/fpu/libm-test-ulps: Update.
23458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23460 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23461 Carlos O'Donell <carlos_odonell@mentor.com>
23463 * nss/makedb.c (is_prime): Assert that input is odd and greater
23464 than 4. Note that fact in a comment too.
23465 (next_prime): Add 4 to input.
23467 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23470 * libio/Makefile (tests): Add test case tst-fwrite-error.
23471 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23472 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23473 * libio/tst-fwrite-error.c: New test case.
23475 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23477 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23478 before casting to void *.
23479 * include/libc-internal.h (__pointer_type): New macro.
23480 (__integer_if_pointer_type_sub): Likewise.
23481 (__integer_if_pointer_type): Likewise.
23482 (cast_to_integer): Likewise.
23483 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23484 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23485 before casting to atomic64_t.
23486 (atomic_exchange_acq): Likewise.
23487 (__arch_exchange_and_add_body): Likewise.
23488 (__arch_add_body): Likewise.
23489 (atomic_add_negative): Likewise.
23490 (atomic_add_zero): Likewise.
23492 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23494 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23495 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23496 (add_fdes): Likewise.
23497 (linear_search_fdes): Likewise.
23498 (binary_search_unencoded_fdes): Likewise.
23500 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23502 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23504 2012-11-24 Adam Conrad <adconrad@0c3.net>
23506 * configure.in: Autodetect C++ header directories.
23507 * configure: Regenerated.
23509 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23511 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23513 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23517 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23519 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23520 LDBL_MANT_DIG == 106]: Disable some tests.
23521 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23523 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23527 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23528 input for small inputs. Return +/- pi/2 for large inputs.
23529 * math/libm-test.inc (atan_test): Add more tests.
23531 * sysdeps/generic/unwind-dw2-fde-glibc.c
23532 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23533 __attribute__ ((unused)).
23536 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23537 x * y if x and y are nonzero and z is zero.
23540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23541 nonzero exponents with absolute value below 0x1p-117 to +/-
23545 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23546 up arguments below 2**-450, not just those below 2**-500.
23547 * math/libm-test.inc (hypot_test): Add another test.
23550 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23551 Return a+b for ratio over 2**120, not 2**60.
23552 * math/libm-test.inc (hypot_test): Add another test.
23554 * math/libm-test.inc (clog_test): Use
23555 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23556 (clog10_test): Likewise.
23559 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23561 2012-11-22 Andreas Schwab <schwab@suse.de>
23563 * sysdeps/i386/fpu/libm-test-ulps: Update.
23565 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23567 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23568 printf output with newline.
23570 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23573 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23574 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23575 -z nodlopen, -z initfirst and -z execstack support.
23576 * configure: Regenerated.
23578 * elf/elf.h (DF_1_NODIRECT): New macro.
23579 (DF_1_IGNMULDEF): Likewise.
23580 (DF_1_NOKSYMS): Likewise.
23581 (DF_1_NOHDR): Likewise.
23582 (DF_1_EDITED): Likewise.
23583 (DF_1_NORELOC): Likewise.
23584 (DF_1_SYMINTPOSE): Likewise.
23585 (DF_1_GLOBAUDIT): Likewise.
23586 (DF_1_SINGLETON): Likewise.
23587 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23588 DT_1_SUPPORTED_MASK bits.
23589 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23591 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23593 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23595 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23597 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23600 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23601 (sendmmsg): Move declarations...
23602 * socket/sys/socket.h: ... here.
23603 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23604 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23606 * socket/recvmmsg.c: ... this new file.
23607 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23608 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23609 definition of __sendmmsg hidden.
23610 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23611 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23612 Move ENOSYS stub into and include it from...
23613 * socket/sendmmsg.c: ... this new file.
23614 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23615 (sysdep_routines): Move recvmmsg and sendmmsg...
23616 * socket/Makefile (routines): ... here.
23617 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23618 (GLIBC_PRIVATE): Add __sendmmsg.
23619 * include/sys/socket.h (__sendmmsg): Add declarations.
23620 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23623 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23626 variable I1 with __attribute__ ((unused)).
23627 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23629 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23631 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23632 DUMMY variables with __attribute__ ((unused)).
23634 * bits/byteswap.h: Include <bits/types.h>.
23635 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23637 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23639 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23640 string_t. Do not manually set errno.
23641 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23642 length with __strnlen. Make sure to both set errno and return it on
23645 2012-11-19 David S. Miller <davem@davemloft.net>
23647 With help from Joseph Myers.
23648 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23649 very large arguments properly.
23650 * math/libm-test.inc (atan_test): New tests.
23651 (atan2_test): New tests.
23652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23655 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23658 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23661 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23662 [POSIX] (EADDRNOTAVAIL): Likewise.
23663 [POSIX] (EAFNOSUPPORT): Likewise.
23664 [POSIX] (EALREADY): Likewise.
23665 [POSIX] (ECONNABORTED): Likewise.
23666 [POSIX] (ECONNREFUSED): Likewise.
23667 [POSIX] (ECONNRESET): Likewise.
23668 [POSIX] (EDESTADDRREQ): Likewise.
23669 [POSIX] (EDQUOT): Likewise.
23670 [POSIX] (EHOSTUNREACH): Likewise.
23671 [POSIX] (EIDRM): Likewise.
23672 [POSIX] (EISCONN): Likewise.
23673 [POSIX] (ELOOP): Likewise.
23674 [POSIX] (EMULTIHOP): Likewise.
23675 [POSIX] (ENETDOWN): Likewise.
23676 [POSIX] (ENETUNREACH): Likewise.
23677 [POSIX] (ENOBUFS): Likewise.
23678 [POSIX] (ENODATA): Likewise.
23679 [POSIX] (ENOLINK): Likewise.
23680 [POSIX] (ENOMSG): Likewise.
23681 [POSIX] (ENOPROTOOPT): Likewise.
23682 [POSIX] (ENOSR): Likewise.
23683 [POSIX] (ENOSTR): Likewise.
23684 [POSIX] (ENOTCONN): Likewise.
23685 [POSIX] (ENOTSOCK): Likewise.
23686 [POSIX] (EOPNOTSUPP): Likewise.
23687 [POSIX] (EOVERFLOW): Likewise.
23688 [POSIX] (EPROTO): Likewise.
23689 [POSIX] (EPROTONOSUPPORT): Likewise.
23690 [POSIX] (EPROTOTYPE): Likewise.
23691 [POSIX] (ESTALE): Likewise.
23692 [POSIX] (ETIME): Likewise.
23693 [POSIX] (ETXTBSY): Likewise.
23694 [POSIX] (EWOULDBLOCK): Likewise.
23695 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23696 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23697 [POSIX] (SEEK_CUR): Likewise.
23698 [POSIX] (SEEK_END): Likewise.
23699 [POSIX || UNIX98] (mode_t): Do not require.
23700 [POSIX] (off_t): Likewise.
23701 [POSIX] (pid_t): Likewise.
23702 [POSIX] (sys/stat.h): Do not allow header.
23703 [POSIX] (unistd.h): Likewise.
23704 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23705 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23706 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23707 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23709 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23710 sigevent): Specify elements.
23711 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23713 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23714 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23716 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23717 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23718 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23719 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23720 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23721 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23722 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23723 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23724 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23725 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23726 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23727 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23728 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23729 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23731 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23733 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23735 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23737 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23738 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23739 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23740 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23741 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23742 Specify lower bound on value.
23743 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23744 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23745 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23746 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23747 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23748 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23749 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23750 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23752 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23754 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23755 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23756 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23757 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23758 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23759 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23760 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23761 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23762 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23763 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23764 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23765 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23766 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23767 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23768 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23769 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23771 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23773 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23774 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23775 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23776 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23777 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23778 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23780 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23781 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23782 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23783 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23784 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23785 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23786 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23788 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23789 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23790 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23791 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23792 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23793 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23794 specify as optional.
23795 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23796 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23797 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23798 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23799 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23800 [XPG3] (NL_LANGMAX): Likewise.
23801 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23802 [POSIX || XPG3] (NL_NMAX): Likewise.
23803 [POSIX || XPG3] (NL_SETMAX): Likewise.
23804 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23805 [XPG3] (NZERO): Likewise.
23806 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23807 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23808 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23809 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23810 (REG_ERANGE): Expect.
23811 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23813 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23814 Use (void) in prototype.
23815 [POSIX] (*_t): Allow.
23816 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23817 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23818 (WRDE_BADVAL): Expect.
23820 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23822 [XPG3 || XPG4] (O_RSYNC): Likewise.
23823 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23825 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23826 [XPG3 || XPG4] (sigqueue): Likewise.
23827 [XPG3 || XPG4] (sigtimedwait): Likewise.
23828 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23829 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23830 [XPG3 || XPG4] (vsnprintf): Likewise.
23831 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23833 [XPG3 || XPG4] (blksize_t): Likewise.
23834 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23836 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23837 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23838 [XPG3 || XPG4] (struct itimerspec): Likewise.
23839 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23840 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23841 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23842 [XPG3 || XPG4] (clockid_t): Likewise.
23843 [XPG3 || XPG4] (timer_t): Likewise.
23844 [XPG3 || XPG4] (clock_getres): Likewise.
23845 [XPG3 || XPG4] (clock_gettime): Likewise.
23846 [XPG3 || XPG4] (clock_settime): Likewise.
23847 [XPG3 || XPG4] (nanosleep): Likewise.
23848 [XPG3 || XPG4] (timer_create): Likewise.
23849 [XPG3 || XPG4] (timer_delete): Likewise.
23850 [XPG3 || XPG4] (timer_gettime): Likewise.
23851 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23852 [XPG3 || XPG4] (timer_settime): Likewise.
23853 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23854 [XPG3 || XPG4] (getlogin_r): Likewise.
23855 [XPG3 || XPG4] (pread): Likewise.
23856 [XPG3 || XPG4] (pthread_atfork): Likewise.
23857 [XPG3 || XPG4] (pwrite): Likewise.
23860 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23863 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23865 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23866 finalizing MALLSTREAM.
23868 * sysdeps/mach/hurd/syncfs.c: New file.
23870 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23873 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23874 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23875 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23876 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23877 (_nss_dns_gethostbyname4_r): Likewise.
23878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23879 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23881 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23884 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23886 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23888 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23889 * elf/cache.c (print_entry): Print ",AArch64" for
23892 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23893 * elf/cache.c (print_entry): Print ",hard-float" for
23896 2012-11-18 David S. Miller <davem@davemloft.net>
23898 With help from Joseph Myers.
23899 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23901 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23903 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23904 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23906 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23907 * math/libm-test.inc (y0_test): New tests.
23908 (y1_test): New tests.
23909 * sysdeps/i386/fpu/libm-test-ulps: Update.
23910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23913 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23915 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23917 * configure: Regenerated.
23919 2012-11-17 David S. Miller <davem@davemloft.net>
23922 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23923 nonzero exponents with absolute value below 0x1p-128 to +/-
23926 2012-11-17 Joseph Myers <joseph@codesourcery.com>
23928 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23930 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23932 * posix/getconf-speclist.c: New file.
23933 * posix/posix-envs.def: Likewise.
23934 * posix/confstr.c (START_ENV_GROUP): New macro.
23935 (END_ENV_GROUP): Likewise.
23936 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23937 (KNOWN_PRESENT_ENV_STRING): Likewise.
23938 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23939 (UNKNOWN_ENVIRONMENT): Likewise.
23940 (confstr): Include posix-envs.def instead of handling
23941 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23942 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23943 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23944 (END_ENV_GROUP): Likewise.
23945 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23946 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23947 (UNKNOWN_ENVIRONMENT): Likewise.
23948 (__sysconf): Include posix-envs.def instead of handling associated
23949 cases directly here.
23950 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23951 preprocessing getconf-speclist.c rather than running getconf or
23952 generating empty file.
23954 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23956 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23958 2012-11-16 Andrej Lajovic <natrij@gmail.com>
23961 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23963 2012-11-16 David S. Miller <davem@davemloft.net>
23965 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23966 smaller than LDBL_EPSILON/2.0L, just return xm1.
23968 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23970 * elf/tst-array1.c (init): Set constructor priority to 1000.
23971 (fini): Set destructor priority to 1000.
23972 * elf/tst-array2dep.c: Likewise.
23974 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23977 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23978 (_IO_new_file_xsputn): Also return EOF if none of the input
23979 data was written when overflow failed.
23980 * libio/iopadn.c (_IO_padn): Likewise.
23981 * libio/iowpadn.c (_IO_wpadn): Likewise.
23982 * stdio-common/tst-put-error.c: Add copyright notice.
23983 (do_test): Add case for printing padded string.
23984 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23985 _IO_padn returned error.
23986 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23987 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23990 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23992 * libio/libioP.h: Add comment note that the references to C++
23993 bits are now obsolete.
23995 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23997 * math/libm-test.inc (check_complex): Use asprintf.
23999 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24001 * debug/pcprofiledump.c (print_version): Update copyright year.
24002 * malloc/memusagestat.c (print_version): Likewise.
24004 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24007 * elf/Makefile (tests): Add tst-audit8.
24008 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24009 ($(objpfx)tst-audit8.out): New target.
24010 (tst-audit8-ENV): New variable.
24011 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24012 audit if l_reloc_result is NULL.
24013 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24014 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24015 * elf/tst-audit8.c: New file.
24017 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24019 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24020 * misc/Makefile (CFLAGS-select.c): Define.
24021 * posix/Makefile (CFLAGS-pause.c): Define.
24023 2012-11-13 David S. Miller <davem@davemloft.net>
24025 * crypt/Makefile: Move test targets after toplevel Rules
24026 inclusion. Grab any necessary sysdep routines when linking.
24027 * crypt/md5.c (md5_process_block): Remove define, we will always
24028 name it __md5_process_block.
24029 (md5_finish_ctx): Update md5_process_block call.
24030 (md5_stream): Likewise.
24031 (md5_process_bytes): Likewise.
24032 (md5_process_block): Rename to __md5_process_block and move to ...
24033 * crypt/md5-block.c: ... here.
24034 * crypt/sha256.c (sha256_process_block): Move to ...
24035 * crypt/sha256-block.c: ... here.
24036 * crypt/sha512.c (sha512_process_block): Move to ...
24037 * crypt/sha512-block.c: ... here.
24038 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24040 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24041 * sysdeps/sparc/sparc64/multiarch/Makefile
24042 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24044 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24045 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24047 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24048 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24049 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24050 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24051 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24052 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24053 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24054 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24055 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24057 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24058 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24060 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24062 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24064 * timezone/tzselect.ksh: Update from tzcode git revision
24065 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24066 * timezone/zdump.c: Likewise.
24067 * timezone/zic.c: Likewise.
24068 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24069 in TZVERSION setting, not $(PKGVERSION).
24070 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24071 REPORT_BUGS_TO settings.
24074 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24077 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24079 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24080 detection to immediately after _FP_ROUND().
24081 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24084 2012-11-11 David S. Miller <davem@davemloft.net>
24086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24088 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24089 __close rather than their public counterparts.
24091 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24093 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24095 [UNIX98] (sem_timedwait): Do not expect.
24096 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24097 [XPG4 || UNIX98] (sockatmark): Do not expect.
24098 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24099 (clock_getcpuclockid): Do not expect.
24100 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24101 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24103 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24104 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24105 [UNIX98] (vwscanf): Likewise.
24106 [UNIX98] (vswscanf): Likewise.
24108 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24110 * timezone/version.h: Remove file.
24111 * timezone/README: Do not refer to version.h.
24112 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24113 $(objpfx)version.h.
24114 ($(objpfx)zdump.o): Likewise.
24115 ($(objpfx)version.h): New target.
24117 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24119 * timezone/README: Don't mention modification to tzselect.ksh.
24120 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24121 work on unmodified tzselect.ksh. Substitute version numbers in
24124 * Makefile (format-me): Remove.
24125 (INSTALL): Adjust indentation. Use commands directly instead of
24126 using $(format-me).
24128 * aclocal.m4 (ACX_PKGVERSION): New macro.
24129 (ACX_BUGURL): Likewise.
24130 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24131 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24132 (REPORT_BUGS_TO): Likewise.
24133 * configure: Regenerated.
24134 * config.h.in (PKGVERSION): New macro.
24135 (REPORT_BUGS_TO): Likewise.
24136 * config.make.in (PKGVERSION): New variable.
24137 (PKGVERSION_TEXI): Likewise.
24138 (REPORT_BUGS_TO): Likewise.
24139 (REPORT_BUGS_TEXI): Likewise.
24140 * Makefile (format-me): Use -I$(common-objpfx)manual.
24141 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24142 ($(common-objpfx)manual/%): New target.
24143 (manual/%): Remove target.
24144 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24145 (print_version): Use PKGVERSION.
24146 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24147 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24148 and REPORT_BUGS_TO.
24149 ($(objpfx)xtrace): Likewise.
24150 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24151 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24152 (print_version): Use PKGVERSION.
24153 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24154 (do_version): Use PKGVERSION.
24155 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24157 (common-ldd-rewrite): Likewise.
24158 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24159 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24160 (print_version): Use PKGVERSION.
24161 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24162 * elf/pldd.c (argp_program_bug_address): Remove variable.
24163 (more_help): New function.
24164 (argp): Use more_help.
24165 (print_version): Use PKGVERSION.
24166 * elf/sln.c (main): Use PKGVERSION.
24167 (usage): Use REPORT_BUGS_TO.
24168 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24169 (top level): Use PKGVERSION.
24170 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24171 (print_version): Use PKGVERSION.
24172 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24173 (print_version): Use PKGVERSION.
24174 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24175 (print_version): Use PKGVERSION.
24176 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24177 (print_version): Use PKGVERSION.
24178 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24179 (print_version): Use PKGVERSION.
24180 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24181 (print_version): Use PKGVERSION.
24182 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24184 ($(objpfx)memusage): Likewise.
24185 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24186 (do_version): Use PKGVERSION.
24187 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24188 (print_version): Use PKGVERSION.
24189 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24190 ($PKGVERSION): New variable.
24191 ($REPORT_BUGS_TO): Likewise.
24192 (usage): Use $REPORT_BUGS_TO.
24193 (top level): Use $PKGVERSION.
24194 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24195 ($(objpfx)pkgvers.texi): New rule.
24196 ($(objpfx)stamp-pkgvers): Likewise.
24197 * manual/install.texi: Include pkgvers.texi.
24198 (--with-pkgversion): Document new configure option.
24199 (--with-bugurl): Likewise.
24200 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24201 than necessarily for this particular distribution. Use
24202 REPORT_BUGS_TO for where to report bugs.
24203 * INSTALL: Regenerated.
24204 * manual/libc.texinfo: Include pkgvers.texi.
24205 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24206 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24207 (print_version): Use PKGVERSION.
24208 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24209 (print_version): Use PKGVERSION.
24210 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24211 (print_version): Use PKGVERSION.
24212 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24213 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24215 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24216 (print_version): Use PKGVERSION.
24217 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24218 (print_version): Use PKGVERSION.
24219 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24222 * timezone/checktab.awk: Update from tzcode 2012i.
24223 * timezone/ialloc.c: Likewise.
24224 * timezone/private.h: Likewise.
24225 * timezone/scheck.c: Likewise.
24226 * timezone/tzfile.h: Likewise.
24227 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24228 (TZVERSION): Hardcode tzcode version number.
24229 * timezone/zdump.c: Update from tzcode 2012i.
24230 * timezone/zic.c: Likewise.
24231 * timezone/version.h: New file.
24232 * timezone/README: Describe version.h. Update upstream location.
24235 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24236 (mktemp): Enable declaration.
24237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24254 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24255 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24256 for copies of such integer values.
24257 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24258 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24260 2012-11-09 Andreas Jaeger <aj@suse.de>
24262 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24263 definitions and declarations that are provided by
24264 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24266 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24268 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24269 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24270 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24273 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24275 * elf/elf.h: Update comment before AArch64 relocations.
24277 2012-11-07 David S. Miller <davem@davemloft.net>
24279 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24280 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24281 (__start_context): Declare.
24282 (__makecontext_ret): Delete.
24283 (__makecontext): Hook up __start_context instead of
24285 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24286 (sysdep_routines): Add __start_context when in stdlib.
24288 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24290 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24291 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24292 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24294 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24295 (READELF): New variable. Use it instead of hardcoded "readelf".
24297 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24299 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24300 * sysdeps/x86/Makefile: Here.
24301 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24302 * sysdeps/x86/tst-xmmymm.sh: This.
24304 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24306 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24308 [UNIX98] (pthread_barrier_t): Do not expect.
24309 [UNIX98] (pthread_barrierattr_t): Likewise.
24310 [UNIX98] (pthread_spinlock_t): Likewise.
24311 [UNIX98] (pthread_barrier_destroy): Likewise.
24312 [UNIX98] (pthread_barrier_init): Likewise.
24313 [UNIX98] (pthread_barrier_wait): Likewise.
24314 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24315 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24316 [UNIX98] (pthread_barrierattr_init): Likewise.
24317 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24318 [UNIX98] (pthread_getcpuclockid): Likewise.
24319 [UNIX98] (pthread_mutex_timedlock): Likewise.
24320 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24321 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24322 [UNIX98] (pthread_sigmask): Likewise.
24323 [UNIX98] (pthread_spin_destroy): Likewise.
24324 [UNIX98] (pthread_spin_init): Likewise.
24325 [UNIX98] (pthread_spin_lock): Likewise.
24326 [UNIX98] (pthread_spin_trylock): Likewise.
24327 [UNIX98] (pthread_spin_unlock): Likewise.
24328 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24330 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24331 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24332 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24333 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24334 [XPG3 || XPG4] (pthread_key_t): Likewise.
24335 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24336 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24337 [XPG3 || XPG4] (pthread_once_t): Likewise.
24338 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24339 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24340 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24341 [XPG3 || XPG4] (pthread_t): Likewise.
24343 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24345 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24347 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24348 Change function return type to int.
24350 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24351 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24352 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24353 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24354 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24355 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24356 [!POSIX] (posix_madvise): Likewise.
24357 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24359 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24360 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24361 (mode_t): Likewise.
24362 (posix_mem_offset): Likewise.
24363 (posix_typed_mem_get_info): Likewise.
24364 (posix_typed_mem_open): Likewise.
24366 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24367 Change condition to [XOPEN2K8].
24369 * conform/conformtest.pl: Preprocess allow-header data with -x c
24370 instead of from stdin.
24371 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24372 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24373 [C99-based standards] (cerfc): Likewise.
24374 [C99-based standards] (cexp2): Likewise.
24375 [C99-based standards] (cexpm1): Likewise.
24376 [C99-based standards] (clog10): Likewise.
24377 [C99-based standards] (clog1p): Likewise.
24378 [C99-based standards] (clog2): Likewise.
24379 [C99-based standards] (clgamma): Likewise.
24380 [C99-based standards] (ctgamma): Likewise.
24381 [C99-based standards] (cerff): Likewise.
24382 [C99-based standards] (cerfcf): Likewise.
24383 [C99-based standards] (cexp2f): Likewise.
24384 [C99-based standards] (cexpm1f): Likewise.
24385 [C99-based standards] (clog10f): Likewise.
24386 [C99-based standards] (clog1pf): Likewise.
24387 [C99-based standards] (clog2f): Likewise.
24388 [C99-based standards] (clgammaf): Likewise.
24389 [C99-based standards] (ctgammaf): Likewise.
24390 [C99-based standards] (cerfl): Likewise.
24391 [C99-based standards] (cerfcl): Likewise.
24392 [C99-based standards] (cexp2l): Likewise.
24393 [C99-based standards] (cexpm1l): Likewise.
24394 [C99-based standards] (clog10l): Likewise.
24395 [C99-based standards] (clog1pl): Likewise.
24396 [C99-based standards] (clog2l): Likewise.
24397 [C99-based standards] (clgammal): Likewise.
24398 [C99-based standards] (ctgammal): Likewise.
24399 * conform/data/inttypes.h-data [C99-based standards]: Include
24400 stdint.h-data. Remove all expectations for stdint.h contents.
24401 [C99-based standards] (PRI*): Do not allow.
24402 [C99-based standards] (SCN*): Likewise.
24403 [C99-based standards] (*_t): Likewise.
24404 [C99-based-standards] (PRId8): Expect macro.
24405 [C99-based-standards] (PRIi8): Likewise.
24406 [C99-based-standards] (PRIo8): Likewise.
24407 [C99-based-standards] (PRIu8): Likewise.
24408 [C99-based-standards] (PRIx8): Likewise.
24409 [C99-based-standards] (PRIX8): Likewise.
24410 [C99-based-standards] (SCNd8): Likewise.
24411 [C99-based-standards] (SCNi8): Likewise.
24412 [C99-based-standards] (SCNo8): Likewise.
24413 [C99-based-standards] (SCNu8): Likewise.
24414 [C99-based-standards] (SCNx8): Likewise.
24415 [C99-based-standards] (PRIdLEAST8): Likewise.
24416 [C99-based-standards] (PRIiLEAST8): Likewise.
24417 [C99-based-standards] (PRIoLEAST8): Likewise.
24418 [C99-based-standards] (PRIuLEAST8): Likewise.
24419 [C99-based-standards] (PRIxLEAST8): Likewise.
24420 [C99-based-standards] (PRIXLEAST8): Likewise.
24421 [C99-based-standards] (SCNdLEAST8): Likewise.
24422 [C99-based-standards] (SCNiLEAST8): Likewise.
24423 [C99-based-standards] (SCNoLEAST8): Likewise.
24424 [C99-based-standards] (SCNuLEAST8): Likewise.
24425 [C99-based-standards] (SCNxLEAST8): Likewise.
24426 [C99-based-standards] (PRIdFAST8): Likewise.
24427 [C99-based-standards] (PRIiFAST8): Likewise.
24428 [C99-based-standards] (PRIoFAST8): Likewise.
24429 [C99-based-standards] (PRIuFAST8): Likewise.
24430 [C99-based-standards] (PRIxFAST8): Likewise.
24431 [C99-based-standards] (PRIXFAST8): Likewise.
24432 [C99-based-standards] (SCNdFAST8): Likewise.
24433 [C99-based-standards] (SCNiFAST8): Likewise.
24434 [C99-based-standards] (SCNoFAST8): Likewise.
24435 [C99-based-standards] (SCNuFAST8): Likewise.
24436 [C99-based-standards] (SCNxFAST8): Likewise.
24437 [C99-based-standards] (PRId16): Likewise.
24438 [C99-based-standards] (PRIi16): Likewise.
24439 [C99-based-standards] (PRIo16): Likewise.
24440 [C99-based-standards] (PRIu16): Likewise.
24441 [C99-based-standards] (PRIx16): Likewise.
24442 [C99-based-standards] (PRIX16): Likewise.
24443 [C99-based-standards] (SCNd16): Likewise.
24444 [C99-based-standards] (SCNi16): Likewise.
24445 [C99-based-standards] (SCNo16): Likewise.
24446 [C99-based-standards] (SCNu16): Likewise.
24447 [C99-based-standards] (SCNx16): Likewise.
24448 [C99-based-standards] (PRIdLEAST16): Likewise.
24449 [C99-based-standards] (PRIiLEAST16): Likewise.
24450 [C99-based-standards] (PRIoLEAST16): Likewise.
24451 [C99-based-standards] (PRIuLEAST16): Likewise.
24452 [C99-based-standards] (PRIxLEAST16): Likewise.
24453 [C99-based-standards] (PRIXLEAST16): Likewise.
24454 [C99-based-standards] (SCNdLEAST16): Likewise.
24455 [C99-based-standards] (SCNiLEAST16): Likewise.
24456 [C99-based-standards] (SCNoLEAST16): Likewise.
24457 [C99-based-standards] (SCNuLEAST16): Likewise.
24458 [C99-based-standards] (SCNxLEAST16): Likewise.
24459 [C99-based-standards] (PRIdFAST16): Likewise.
24460 [C99-based-standards] (PRIiFAST16): Likewise.
24461 [C99-based-standards] (PRIoFAST16): Likewise.
24462 [C99-based-standards] (PRIuFAST16): Likewise.
24463 [C99-based-standards] (PRIxFAST16): Likewise.
24464 [C99-based-standards] (PRIXFAST16): Likewise.
24465 [C99-based-standards] (SCNdFAST16): Likewise.
24466 [C99-based-standards] (SCNiFAST16): Likewise.
24467 [C99-based-standards] (SCNoFAST16): Likewise.
24468 [C99-based-standards] (SCNuFAST16): Likewise.
24469 [C99-based-standards] (SCNxFAST16): Likewise.
24470 [C99-based-standards] (PRId32): Likewise.
24471 [C99-based-standards] (PRIi32): Likewise.
24472 [C99-based-standards] (PRIo32): Likewise.
24473 [C99-based-standards] (PRIu32): Likewise.
24474 [C99-based-standards] (PRIx32): Likewise.
24475 [C99-based-standards] (PRIX32): Likewise.
24476 [C99-based-standards] (SCNd32): Likewise.
24477 [C99-based-standards] (SCNi32): Likewise.
24478 [C99-based-standards] (SCNo32): Likewise.
24479 [C99-based-standards] (SCNu32): Likewise.
24480 [C99-based-standards] (SCNx32): Likewise.
24481 [C99-based-standards] (PRIdLEAST32): Likewise.
24482 [C99-based-standards] (PRIiLEAST32): Likewise.
24483 [C99-based-standards] (PRIoLEAST32): Likewise.
24484 [C99-based-standards] (PRIuLEAST32): Likewise.
24485 [C99-based-standards] (PRIxLEAST32): Likewise.
24486 [C99-based-standards] (PRIXLEAST32): Likewise.
24487 [C99-based-standards] (SCNdLEAST32): Likewise.
24488 [C99-based-standards] (SCNiLEAST32): Likewise.
24489 [C99-based-standards] (SCNoLEAST32): Likewise.
24490 [C99-based-standards] (SCNuLEAST32): Likewise.
24491 [C99-based-standards] (SCNxLEAST32): Likewise.
24492 [C99-based-standards] (PRIdFAST32): Likewise.
24493 [C99-based-standards] (PRIiFAST32): Likewise.
24494 [C99-based-standards] (PRIoFAST32): Likewise.
24495 [C99-based-standards] (PRIuFAST32): Likewise.
24496 [C99-based-standards] (PRIxFAST32): Likewise.
24497 [C99-based-standards] (PRIXFAST32): Likewise.
24498 [C99-based-standards] (SCNdFAST32): Likewise.
24499 [C99-based-standards] (SCNiFAST32): Likewise.
24500 [C99-based-standards] (SCNoFAST32): Likewise.
24501 [C99-based-standards] (SCNuFAST32): Likewise.
24502 [C99-based-standards] (SCNxFAST32): Likewise.
24503 [C99-based-standards] (PRId64): Likewise.
24504 [C99-based-standards] (PRIi64): Likewise.
24505 [C99-based-standards] (PRIo64): Likewise.
24506 [C99-based-standards] (PRIu64): Likewise.
24507 [C99-based-standards] (PRIx64): Likewise.
24508 [C99-based-standards] (PRIX64): Likewise.
24509 [C99-based-standards] (SCNd64): Likewise.
24510 [C99-based-standards] (SCNi64): Likewise.
24511 [C99-based-standards] (SCNo64): Likewise.
24512 [C99-based-standards] (SCNu64): Likewise.
24513 [C99-based-standards] (SCNx64): Likewise.
24514 [C99-based-standards] (PRIdLEAST64): Likewise.
24515 [C99-based-standards] (PRIiLEAST64): Likewise.
24516 [C99-based-standards] (PRIoLEAST64): Likewise.
24517 [C99-based-standards] (PRIuLEAST64): Likewise.
24518 [C99-based-standards] (PRIxLEAST64): Likewise.
24519 [C99-based-standards] (PRIXLEAST64): Likewise.
24520 [C99-based-standards] (SCNdLEAST64): Likewise.
24521 [C99-based-standards] (SCNiLEAST64): Likewise.
24522 [C99-based-standards] (SCNoLEAST64): Likewise.
24523 [C99-based-standards] (SCNuLEAST64): Likewise.
24524 [C99-based-standards] (SCNxLEAST64): Likewise.
24525 [C99-based-standards] (PRIdFAST64): Likewise.
24526 [C99-based-standards] (PRIiFAST64): Likewise.
24527 [C99-based-standards] (PRIoFAST64): Likewise.
24528 [C99-based-standards] (PRIuFAST64): Likewise.
24529 [C99-based-standards] (PRIxFAST64): Likewise.
24530 [C99-based-standards] (PRIXFAST64): Likewise.
24531 [C99-based-standards] (SCNdFAST64): Likewise.
24532 [C99-based-standards] (SCNiFAST64): Likewise.
24533 [C99-based-standards] (SCNoFAST64): Likewise.
24534 [C99-based-standards] (SCNuFAST64): Likewise.
24535 [C99-based-standards] (SCNxFAST64): Likewise.
24536 [C99-based-standards] (PRIdMAX): Likewise.
24537 [C99-based-standards] (PRIiMAX): Likewise.
24538 [C99-based-standards] (PRIoMAX): Likewise.
24539 [C99-based-standards] (PRIuMAX): Likewise.
24540 [C99-based-standards] (PRIxMAX): Likewise.
24541 [C99-based-standards] (PRIXMAX): Likewise.
24542 [C99-based-standards] (SCNdMAX): Likewise.
24543 [C99-based-standards] (SCNiMAX): Likewise.
24544 [C99-based-standards] (SCNoMAX): Likewise.
24545 [C99-based-standards] (SCNuMAX): Likewise.
24546 [C99-based-standards] (SCNxMAX): Likewise.
24547 [C99-based-standards] (PRIdPTR): Likewise.
24548 [C99-based-standards] (PRIiPTR): Likewise.
24549 [C99-based-standards] (PRIoPTR): Likewise.
24550 [C99-based-standards] (PRIuPTR): Likewise.
24551 [C99-based-standards] (PRIxPTR): Likewise.
24552 [C99-based-standards] (PRIXPTR): Likewise.
24553 [C99-based-standards] (SCNdPTR): Likewise.
24554 [C99-based-standards] (SCNiPTR): Likewise.
24555 [C99-based-standards] (SCNoPTR): Likewise.
24556 [C99-based-standards] (SCNuPTR): Likewise.
24557 [C99-based-standards] (SCNxPTR): Likewise.
24558 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24560 * conform/data/stdint.h-data: Update comments to clarify
24562 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24564 [C99-based standards] (INT8_MAX): Likewise.
24565 [C99-based standards] (INT16_MIN): Likewise.
24566 [C99-based standards] (INT16_MAX): Likewise.
24567 [C99-based standards] (INT32_MIN): Likewise.
24568 [C99-based standards] (INT32_MAX): Likewise.
24569 [C99-based standards] (INT64_MIN): Likewise.
24570 [C99-based standards] (INT64_MAX): Likewise.
24571 [C99-based standards] (UINT8_MAX): Likewise.
24572 [C99-based standards] (UINT16_MAX): Likewise.
24573 [C99-based standards] (UINT32_MAX): Likewise.
24574 [C99-based standards] (UINT64_MAX): Likewise.
24575 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24576 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24577 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24578 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24579 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24580 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24581 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24582 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24583 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24584 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24585 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24586 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24587 [C99-based standards] (INT_FAST8_MIN): Likewise.
24588 [C99-based standards] (INT_FAST8_MAX): Likewise.
24589 [C99-based standards] (INT_FAST16_MIN): Likewise.
24590 [C99-based standards] (INT_FAST16_MAX): Likewise.
24591 [C99-based standards] (INT_FAST32_MIN): Likewise.
24592 [C99-based standards] (INT_FAST32_MAX): Likewise.
24593 [C99-based standards] (INT_FAST64_MIN): Likewise.
24594 [C99-based standards] (INT_FAST64_MAX): Likewise.
24595 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24596 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24597 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24598 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24599 [C99-based standards] (INTPTR_MIN): Likewise.
24600 [C99-based standards] (INTPTR_MAX): Likewise.
24601 [C99-based standards] (UINTPTR_MAX): Likewise.
24602 [C99-based standards] (INTMAX_MIN): Likewise.
24603 [C99-based standards] (INTMAX_MAX): Likewise.
24604 [C99-based standards] (UINTMAX_MAX): Likewise.
24605 [C99-based standards] (PTRDIFF_MIN): Likewise.
24606 [C99-based standards] (PTRDIFF_MAX): Likewise.
24607 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24608 [C99-based standards] (SIZE_MAX): Likewise.
24609 [C99-based standards] (WCHAR_MAX): Likewise.
24610 [C99-based standards] (WINT_MAX): Likewise.
24611 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24612 constraint on value.
24613 [C99-based standards] (WCHAR_MIN): Likewise.
24614 [C99-based standards] (WINT_MIN): Likewise.
24615 [C99-based standards] (*_t): Allow.
24616 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24617 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24618 Include math.h-data and complex.h-data. Remove all expectations
24619 of math.h and complex.h contents.
24620 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24622 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24623 (struct tm): Expect tag.
24624 [C99-based-standards] (wcstof): Expect function.
24625 [C99-based-standards] (wcstold): Likewise.
24626 [C99-based-standards] (wcstoll): Likewise.
24627 [C99-based-standards] (wcstoull): Likewise.
24628 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24629 macro-int-constant. Specify type.
24630 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24631 constraint on value.
24632 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24634 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24636 [ISO C standards]: Do not allow headers.
24637 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24638 wcs[abcdefghijklmnopqrstuvwxyz]*.
24639 [ISO C standards] (*_t): Do not allow.
24640 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24642 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24643 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24645 [ISO C standards]: Do not allow headers.
24646 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24647 is[abcdefghijklmnopqrstuvwxyz]*.
24648 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24649 to[abcdefghijklmnopqrstuvwxyz]*.
24650 [ISO C standards] (*_t): Do not allow.
24651 * conform/data/stdalign.h-data: New file.
24652 * conform/data/stdbool.h-data: Likewise.
24653 * conform/data/stdnoreturn.h-data: Likewise.
24655 2012-11-07 Roland McGrath <roland@hack.frob.com>
24658 * manual/filesys.texi (Directory Entries): Typo fix.
24659 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24661 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24663 * elf/elf.h (EM_AARCH64): New macro.
24664 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24665 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24666 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24667 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24668 (R_AARCH64_TLSDESC): Likewise.
24669 (NT_ARM_TLS): Likewise.
24670 (NT_ARM_HW_BREAK): Likewise.
24671 (NT_ARM_HW_WATCH): Likewise.
24673 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24676 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24677 (__ieee754_powl): Saturate nonzero exponents with absolute value
24678 below 0x1p-79 to +/- 0x1p-79.
24679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24680 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24681 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24682 nonzero exponents with absolute value below 0x1p-32 to +/-
24684 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24685 (__ieee754_powl): Saturate nonzero exponents with absolute value
24686 below 0x1p-79 to +/- 0x1p-79.
24687 * math/libm-test.inc (pow_test): Add more tests.
24689 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24691 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24692 _dl_s390_cap_flags with kernel. Increase string length.
24693 (_dl_s390_platforms): Add z196 and zEC12.
24695 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24697 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24698 Change XOPEN21K to XOPEN2K.
24700 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24702 * string/memmove.c: Use memcpy when possible.
24704 2012-11-06 Andreas Jaeger <aj@suse.de>
24706 * po/eo.po: Update from translation team.
24708 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24712 exponent and small x and y exponents, scale x or y up. Increase
24713 by 2 the exponent used in scaling up.
24714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24716 * math/libm-test.inc (fma_test): Add more tests.
24717 (fma_test_towardzero): Likewise.
24718 (fma_test_downward): Likewise.
24719 (fma_test_upward): Likewise.
24721 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24724 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24728 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24729 namespace for names of struct fields.
24730 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24732 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24733 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24735 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24738 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24740 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24742 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24746 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24749 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24753 definitely overflow as x * y not x * y + z.
24754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24756 * math/libm-test.inc (fma_test): Add more tests.
24757 (fma_test_towardzero): Likewise.
24758 (fma_test_downward): Likewise.
24759 (fma_test_upward): Likewise.
24761 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24765 * include/stub-tag.h: Remove file.
24766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24768 * manual/maint.texi (Porting): Don't reference it.
24769 * Makerules ($(objpfx)stubs): Likewise.
24770 * dirent/closedir.c: Don't include <stub-tag.h>.
24771 * dirent/dirfd.c: Likewise.
24772 * dirent/fdopendir.c: Likewise.
24773 * dirent/getdents.c: Likewise.
24774 * dirent/getdents64.c: Likewise.
24775 * dirent/opendir.c: Likewise.
24776 * dirent/readdir.c: Likewise.
24777 * dirent/readdir64.c: Likewise.
24778 * dirent/readdir64_r.c: Likewise.
24779 * dirent/readdir_r.c: Likewise.
24780 * dirent/rewinddir.c: Likewise.
24781 * dirent/seekdir.c: Likewise.
24782 * dirent/telldir.c: Likewise.
24783 * gmon/profil.c: Likewise.
24784 * grp/setgroups.c: Likewise.
24785 * inet/if_index.c: Likewise.
24786 * io/access.c: Likewise.
24787 * io/chdir.c: Likewise.
24788 * io/chmod.c: Likewise.
24789 * io/chown.c: Likewise.
24790 * io/close.c: Likewise.
24791 * io/dup.c: Likewise.
24792 * io/dup2.c: Likewise.
24793 * io/dup3.c: Likewise.
24794 * io/euidaccess.c: Likewise.
24795 * io/faccessat.c: Likewise.
24796 * io/fchdir.c: Likewise.
24797 * io/fchmod.c: Likewise.
24798 * io/fchmodat.c: Likewise.
24799 * io/fchown.c: Likewise.
24800 * io/fchownat.c: Likewise.
24801 * io/fcntl.c: Likewise.
24802 * io/flock.c: Likewise.
24803 * io/fstatfs.c: Likewise.
24804 * io/fstatfs64.c: Likewise.
24805 * io/fstatvfs.c: Likewise.
24806 * io/fstatvfs64.c: Likewise.
24807 * io/futimens.c: Likewise.
24808 * io/fxstat.c: Likewise.
24809 * io/fxstat64.c: Likewise.
24810 * io/fxstatat.c: Likewise.
24811 * io/fxstatat64.c: Likewise.
24812 * io/getcwd.c: Likewise.
24813 * io/isatty.c: Likewise.
24814 * io/lchmod.c: Likewise.
24815 * io/lchown.c: Likewise.
24816 * io/link.c: Likewise.
24817 * io/linkat.c: Likewise.
24818 * io/lseek.c: Likewise.
24819 * io/lseek64.c: Likewise.
24820 * io/lxstat64.c: Likewise.
24821 * io/mkdir.c: Likewise.
24822 * io/mkdirat.c: Likewise.
24823 * io/mkfifo.c: Likewise.
24824 * io/mkfifoat.c: Likewise.
24825 * io/open.c: Likewise.
24826 * io/open64.c: Likewise.
24827 * io/openat.c: Likewise.
24828 * io/openat64.c: Likewise.
24829 * io/pipe.c: Likewise.
24830 * io/pipe2.c: Likewise.
24831 * io/poll.c: Likewise.
24832 * io/posix_fadvise.c: Likewise.
24833 * io/posix_fadvise64.c: Likewise.
24834 * io/posix_fallocate.c: Likewise.
24835 * io/posix_fallocate64.c: Likewise.
24836 * io/read.c: Likewise.
24837 * io/readlink.c: Likewise.
24838 * io/readlinkat.c: Likewise.
24839 * io/rmdir.c: Likewise.
24840 * io/sendfile.c: Likewise.
24841 * io/sendfile64.c: Likewise.
24842 * io/statfs.c: Likewise.
24843 * io/statfs64.c: Likewise.
24844 * io/statvfs.c: Likewise.
24845 * io/statvfs64.c: Likewise.
24846 * io/symlink.c: Likewise.
24847 * io/symlinkat.c: Likewise.
24848 * io/ttyname.c: Likewise.
24849 * io/ttyname_r.c: Likewise.
24850 * io/umask.c: Likewise.
24851 * io/unlink.c: Likewise.
24852 * io/unlinkat.c: Likewise.
24853 * io/utime.c: Likewise.
24854 * io/utimensat.c: Likewise.
24855 * io/write.c: Likewise.
24856 * io/xmknod.c: Likewise.
24857 * io/xmknodat.c: Likewise.
24858 * io/xstat.c: Likewise.
24859 * io/xstat64.c: Likewise.
24860 * login/getpt.c: Likewise.
24861 * login/grantpt.c: Likewise.
24862 * login/unlockpt.c: Likewise.
24863 * math/e_acoshl.c: Likewise.
24864 * math/e_acosl.c: Likewise.
24865 * math/e_asinl.c: Likewise.
24866 * math/e_atan2l.c: Likewise.
24867 * math/e_atanhl.c: Likewise.
24868 * math/e_coshl.c: Likewise.
24869 * math/e_expl.c: Likewise.
24870 * math/e_fmodl.c: Likewise.
24871 * math/e_gammal_r.c: Likewise.
24872 * math/e_hypotl.c: Likewise.
24873 * math/e_j0l.c: Likewise.
24874 * math/e_j1l.c: Likewise.
24875 * math/e_jnl.c: Likewise.
24876 * math/e_lgammal_r.c: Likewise.
24877 * math/e_log10l.c: Likewise.
24878 * math/e_log2l.c: Likewise.
24879 * math/e_logl.c: Likewise.
24880 * math/e_powl.c: Likewise.
24881 * math/e_rem_pio2l.c: Likewise.
24882 * math/e_sinhl.c: Likewise.
24883 * math/e_sqrtl.c: Likewise.
24884 * math/fclrexcpt.c: Likewise.
24885 * math/fedisblxcpt.c: Likewise.
24886 * math/feenablxcpt.c: Likewise.
24887 * math/fegetenv.c: Likewise.
24888 * math/fegetexcept.c: Likewise.
24889 * math/fegetround.c: Likewise.
24890 * math/feholdexcpt.c: Likewise.
24891 * math/fesetenv.c: Likewise.
24892 * math/fesetround.c: Likewise.
24893 * math/feupdateenv.c: Likewise.
24894 * math/fgetexcptflg.c: Likewise.
24895 * math/fraiseexcpt.c: Likewise.
24896 * math/fsetexcptflg.c: Likewise.
24897 * math/ftestexcept.c: Likewise.
24898 * math/k_cosl.c: Likewise.
24899 * math/k_rem_pio2l.c: Likewise.
24900 * math/k_sinl.c: Likewise.
24901 * math/k_tanl.c: Likewise.
24902 * math/s_asinhl.c: Likewise.
24903 * math/s_atanl.c: Likewise.
24904 * math/s_cbrtl.c: Likewise.
24905 * math/s_erfl.c: Likewise.
24906 * math/s_expm1l.c: Likewise.
24907 * math/s_log1pl.c: Likewise.
24908 * math/s_tanhl.c: Likewise.
24909 * misc/acct.c: Likewise.
24910 * misc/brk.c: Likewise.
24911 * misc/chflags.c: Likewise.
24912 * misc/chroot.c: Likewise.
24913 * misc/fchflags.c: Likewise.
24914 * misc/fgetxattr.c: Likewise.
24915 * misc/flistxattr.c: Likewise.
24916 * misc/fremovexattr.c: Likewise.
24917 * misc/fsetxattr.c: Likewise.
24918 * misc/fsync.c: Likewise.
24919 * misc/ftruncate.c: Likewise.
24920 * misc/futimes.c: Likewise.
24921 * misc/futimesat.c: Likewise.
24922 * misc/getdomain.c: Likewise.
24923 * misc/getdtsz.c: Likewise.
24924 * misc/gethostid.c: Likewise.
24925 * misc/gethostname.c: Likewise.
24926 * misc/getloadavg.c: Likewise.
24927 * misc/getpagesize.c: Likewise.
24928 * misc/getsysstats.c: Likewise.
24929 * misc/getxattr.c: Likewise.
24930 * misc/gtty.c: Likewise.
24931 * misc/ioctl.c: Likewise.
24932 * misc/lgetxattr.c: Likewise.
24933 * misc/listxattr.c: Likewise.
24934 * misc/llistxattr.c: Likewise.
24935 * misc/lremovexattr.c: Likewise.
24936 * misc/lsetxattr.c: Likewise.
24937 * misc/lutimes.c: Likewise.
24938 * misc/madvise.c: Likewise.
24939 * misc/mincore.c: Likewise.
24940 * misc/mlock.c: Likewise.
24941 * misc/mlockall.c: Likewise.
24942 * misc/mmap.c: Likewise.
24943 * misc/mprotect.c: Likewise.
24944 * misc/msync.c: Likewise.
24945 * misc/munlock.c: Likewise.
24946 * misc/munlockall.c: Likewise.
24947 * misc/munmap.c: Likewise.
24948 * misc/preadv.c: Likewise.
24949 * misc/preadv64.c: Likewise.
24950 * misc/ptrace.c: Likewise.
24951 * misc/pwritev.c: Likewise.
24952 * misc/pwritev64.c: Likewise.
24953 * misc/readv.c: Likewise.
24954 * misc/reboot.c: Likewise.
24955 * misc/remap_file_pages.c: Likewise.
24956 * misc/removexattr.c: Likewise.
24957 * misc/revoke.c: Likewise.
24958 * misc/select.c: Likewise.
24959 * misc/setdomain.c: Likewise.
24960 * misc/setegid.c: Likewise.
24961 * misc/seteuid.c: Likewise.
24962 * misc/sethostid.c: Likewise.
24963 * misc/sethostname.c: Likewise.
24964 * misc/setregid.c: Likewise.
24965 * misc/setreuid.c: Likewise.
24966 * misc/setxattr.c: Likewise.
24967 * misc/sstk.c: Likewise.
24968 * misc/stty.c: Likewise.
24969 * misc/swapoff.c: Likewise.
24970 * misc/swapon.c: Likewise.
24971 * misc/sync.c: Likewise.
24972 * misc/syncfs.c: Likewise.
24973 * misc/syscall.c: Likewise.
24974 * misc/truncate.c: Likewise.
24975 * misc/ualarm.c: Likewise.
24976 * misc/usleep.c: Likewise.
24977 * misc/ustat.c: Likewise.
24978 * misc/utimes.c: Likewise.
24979 * misc/vhangup.c: Likewise.
24980 * misc/writev.c: Likewise.
24981 * posix/_exit.c: Likewise.
24982 * posix/alarm.c: Likewise.
24983 * posix/execve.c: Likewise.
24984 * posix/fexecve.c: Likewise.
24985 * posix/fork.c: Likewise.
24986 * posix/fpathconf.c: Likewise.
24987 * posix/getaddrinfo.c: Likewise.
24988 * posix/getegid.c: Likewise.
24989 * posix/geteuid.c: Likewise.
24990 * posix/getgid.c: Likewise.
24991 * posix/getgroups.c: Likewise.
24992 * posix/getlogin.c: Likewise.
24993 * posix/getlogin_r.c: Likewise.
24994 * posix/getpgid.c: Likewise.
24995 * posix/getpid.c: Likewise.
24996 * posix/getppid.c: Likewise.
24997 * posix/getresgid.c: Likewise.
24998 * posix/getresuid.c: Likewise.
24999 * posix/getsid.c: Likewise.
25000 * posix/getuid.c: Likewise.
25001 * posix/glob64.c: Likewise.
25002 * posix/nanosleep.c: Likewise.
25003 * posix/pathconf.c: Likewise.
25004 * posix/pause.c: Likewise.
25005 * posix/posix_madvise.c: Likewise.
25006 * posix/pread.c: Likewise.
25007 * posix/pread64.c: Likewise.
25008 * posix/pwrite.c: Likewise.
25009 * posix/pwrite64.c: Likewise.
25010 * posix/sched_getaffinity.c: Likewise.
25011 * posix/sched_getp.c: Likewise.
25012 * posix/sched_gets.c: Likewise.
25013 * posix/sched_primax.c: Likewise.
25014 * posix/sched_primin.c: Likewise.
25015 * posix/sched_rr_gi.c: Likewise.
25016 * posix/sched_setaffinity.c: Likewise.
25017 * posix/sched_setp.c: Likewise.
25018 * posix/sched_sets.c: Likewise.
25019 * posix/sched_yield.c: Likewise.
25020 * posix/setgid.c: Likewise.
25021 * posix/setlogin.c: Likewise.
25022 * posix/setpgid.c: Likewise.
25023 * posix/setresgid.c: Likewise.
25024 * posix/setresuid.c: Likewise.
25025 * posix/setsid.c: Likewise.
25026 * posix/setuid.c: Likewise.
25027 * posix/sleep.c: Likewise.
25028 * posix/spawni.c: Likewise.
25029 * posix/sysconf.c: Likewise.
25030 * posix/times.c: Likewise.
25031 * posix/wait.c: Likewise.
25032 * posix/wait3.c: Likewise.
25033 * posix/wait4.c: Likewise.
25034 * posix/waitpid.c: Likewise.
25035 * resolv/gai_sigqueue.c: Likewise.
25036 * resource/getpriority.c: Likewise.
25037 * resource/getrlimit.c: Likewise.
25038 * resource/getrusage.c: Likewise.
25039 * resource/nice.c: Likewise.
25040 * resource/setpriority.c: Likewise.
25041 * resource/setrlimit.c: Likewise.
25042 * resource/ulimit.c: Likewise.
25043 * rt/aio_cancel.c: Likewise.
25044 * rt/aio_fsync.c: Likewise.
25045 * rt/aio_read.c: Likewise.
25046 * rt/aio_sigqueue.c: Likewise.
25047 * rt/aio_suspend.c: Likewise.
25048 * rt/aio_write.c: Likewise.
25049 * rt/clock_getres.c: Likewise.
25050 * rt/clock_gettime.c: Likewise.
25051 * rt/clock_nanosleep.c: Likewise.
25052 * rt/clock_settime.c: Likewise.
25053 * rt/lio_listio.c: Likewise.
25054 * rt/mq_close.c: Likewise.
25055 * rt/mq_getattr.c: Likewise.
25056 * rt/mq_notify.c: Likewise.
25057 * rt/mq_open.c: Likewise.
25058 * rt/mq_receive.c: Likewise.
25059 * rt/mq_send.c: Likewise.
25060 * rt/mq_setattr.c: Likewise.
25061 * rt/mq_timedreceive.c: Likewise.
25062 * rt/mq_timedsend.c: Likewise.
25063 * rt/mq_unlink.c: Likewise.
25064 * rt/shm_open.c: Likewise.
25065 * rt/shm_unlink.c: Likewise.
25066 * rt/timer_create.c: Likewise.
25067 * rt/timer_delete.c: Likewise.
25068 * rt/timer_getoverr.c: Likewise.
25069 * rt/timer_gettime.c: Likewise.
25070 * rt/timer_settime.c: Likewise.
25071 * setjmp/__longjmp.c: Likewise.
25072 * setjmp/setjmp.c: Likewise.
25073 * signal/kill.c: Likewise.
25074 * signal/killpg.c: Likewise.
25075 * signal/raise.c: Likewise.
25076 * signal/sigaction.c: Likewise.
25077 * signal/sigaltstack.c: Likewise.
25078 * signal/sigblock.c: Likewise.
25079 * signal/sigignore.c: Likewise.
25080 * signal/sigintr.c: Likewise.
25081 * signal/signal.c: Likewise.
25082 * signal/sigpause.c: Likewise.
25083 * signal/sigpending.c: Likewise.
25084 * signal/sigqueue.c: Likewise.
25085 * signal/sigreturn.c: Likewise.
25086 * signal/sigset.c: Likewise.
25087 * signal/sigsetmask.c: Likewise.
25088 * signal/sigstack.c: Likewise.
25089 * signal/sigsuspend.c: Likewise.
25090 * signal/sigtimedwait.c: Likewise.
25091 * signal/sigvec.c: Likewise.
25092 * signal/sigwait.c: Likewise.
25093 * signal/sigwaitinfo.c: Likewise.
25094 * signal/sysv_signal.c: Likewise.
25095 * socket/accept.c: Likewise.
25096 * socket/accept4.c: Likewise.
25097 * socket/bind.c: Likewise.
25098 * socket/connect.c: Likewise.
25099 * socket/getpeername.c: Likewise.
25100 * socket/getsockname.c: Likewise.
25101 * socket/getsockopt.c: Likewise.
25102 * socket/isfdtype.c: Likewise.
25103 * socket/listen.c: Likewise.
25104 * socket/recv.c: Likewise.
25105 * socket/recvfrom.c: Likewise.
25106 * socket/recvmsg.c: Likewise.
25107 * socket/send.c: Likewise.
25108 * socket/sendmsg.c: Likewise.
25109 * socket/sendto.c: Likewise.
25110 * socket/setsockopt.c: Likewise.
25111 * socket/shutdown.c: Likewise.
25112 * socket/sockatmark.c: Likewise.
25113 * socket/socket.c: Likewise.
25114 * socket/socketpair.c: Likewise.
25115 * stdio-common/ctermid.c: Likewise.
25116 * stdio-common/cuserid.c: Likewise.
25117 * stdio-common/remove.c: Likewise.
25118 * stdio-common/rename.c: Likewise.
25119 * stdio-common/renameat.c: Likewise.
25120 * stdio-common/tempname.c: Likewise.
25121 * stdlib/getcontext.c: Likewise.
25122 * stdlib/makecontext.c: Likewise.
25123 * stdlib/setcontext.c: Likewise.
25124 * stdlib/swapcontext.c: Likewise.
25125 * stdlib/system.c: Likewise.
25126 * streams/fattach.c: Likewise.
25127 * streams/fdetach.c: Likewise.
25128 * streams/getmsg.c: Likewise.
25129 * streams/getpmsg.c: Likewise.
25130 * streams/putmsg.c: Likewise.
25131 * streams/putpmsg.c: Likewise.
25132 * sysdeps/unix/bsd/getpt.c: Likewise.
25133 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25134 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25135 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25138 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25139 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25140 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25141 * sysvipc/msgctl.c: Likewise.
25142 * sysvipc/msgget.c: Likewise.
25143 * sysvipc/msgrcv.c: Likewise.
25144 * sysvipc/msgsnd.c: Likewise.
25145 * sysvipc/semctl.c: Likewise.
25146 * sysvipc/semget.c: Likewise.
25147 * sysvipc/semop.c: Likewise.
25148 * sysvipc/semtimedop.c: Likewise.
25149 * sysvipc/shmat.c: Likewise.
25150 * sysvipc/shmctl.c: Likewise.
25151 * sysvipc/shmdt.c: Likewise.
25152 * sysvipc/shmget.c: Likewise.
25153 * termios/tcdrain.c: Likewise.
25154 * termios/tcflow.c: Likewise.
25155 * termios/tcflush.c: Likewise.
25156 * termios/tcgetattr.c: Likewise.
25157 * termios/tcgetpgrp.c: Likewise.
25158 * termios/tcsendbrk.c: Likewise.
25159 * termios/tcsetattr.c: Likewise.
25160 * termios/tcsetpgrp.c: Likewise.
25161 * time/adjtime.c: Likewise.
25162 * time/clock.c: Likewise.
25163 * time/getitimer.c: Likewise.
25164 * time/gettimeofday.c: Likewise.
25165 * time/setitimer.c: Likewise.
25166 * time/settimeofday.c: Likewise.
25167 * time/stime.c: Likewise.
25168 * time/time.c: Likewise.
25170 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25172 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25175 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25177 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25179 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25183 FE_TONEAREST before applying Dekker multiplication and Knuth
25184 addition. Clear inexact exceptions and check for exact zero
25185 results afterwards.
25186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25187 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25189 * math/libm-test.inc (fma_test): Add more tests.
25190 (fma_test_towardzero): Likewise.
25191 (fma_test_downward): Likewise.
25192 (fma_test_upward): Likewise.
25193 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25195 (libc_fesetround): New macro.
25196 (libc_fesetroundf): Likewise.
25197 (libc_fesetroundl): Likewise.
25198 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25200 (libc_fesetround_387): Likewise.
25201 (libc_fesetroundf): New macro.
25202 (libc_fesetround): Likewise.
25203 (libc_fesetroundl): Likewise.
25204 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25206 (libc_fesetroundf): New macro.
25207 (libc_fesetround): Likewise.
25208 (libc_fesetroundl): Likewise.
25209 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25210 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25211 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25213 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25214 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25216 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25217 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25219 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25223 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25224 integer constant usable in #if and use that to give value to enum
25226 (FE_DIVBYZERO): Likewise.
25227 (FE_UNDERFLOW): Likewise.
25228 (FE_OVERFLOW): Likewise.
25229 (FE_INVALID): Likewise.
25230 (FE_INVALID_SNAN): Likewise.
25231 (FE_INVALID_ISI): Likewise.
25232 (FE_INVALID_IDI): Likewise.
25233 (FE_INVALID_ZDZ): Likewise.
25234 (FE_INVALID_IMZ): Likewise.
25235 (FE_INVALID_COMPARE): Likewise.
25236 (FE_INVALID_SOFTWARE): Likewise.
25237 (FE_INVALID_SQRT): Likewise.
25238 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25239 (FE_TONEAREST): Likewise.
25240 (FE_TOWARDZERO): Likewise.
25241 (FE_UPWARD): Likewise.
25242 (FE_DOWNWARD): Likewise.
25243 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25244 (FE_DIVBYZERO): Likewise.
25245 (FE_OVERFLOW): Likewise.
25246 (FE_UNDERFLOW): Likewise.
25247 (FE_INEXACT): Likewise.
25248 (FE_TONEAREST): Likewise.
25249 (FE_DOWNWARD): Likewise.
25250 (FE_UPWARD): Likewise.
25251 (FE_TOWARDZERO): Likewise.
25252 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25253 (FE_UNDERFLOW): Likewise.
25254 (FE_OVERFLOW): Likewise.
25255 (FE_DIVBYZERO): Likewise.
25256 (FE_INVALID): Likewise.
25257 (FE_TONEAREST): Likewise.
25258 (FE_TOWARDZERO): Likewise.
25259 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25260 (FE_OVERFLOW): Likewise.
25261 (FE_UNDERFLOW): Likewise.
25262 (FE_DIVBYZERO): Likewise.
25263 (FE_INEXACT): Likewise.
25264 (FE_TONEAREST): Likewise.
25265 (FE_TOWARDZERO): Likewise.
25266 (FE_UPWARD): Likewise.
25267 (FE_DOWNWARD): Likewise.
25268 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25269 (FE_DIVBYZERO): Likewise.
25270 (FE_OVERFLOW): Likewise.
25271 (FE_UNDERFLOW): Likewise.
25272 (FE_INEXACT): Likewise.
25273 (FE_TONEAREST): Likewise.
25274 (FE_DOWNWARD): Likewise.
25275 (FE_UPWARD): Likewise.
25276 (FE_TOWARDZERO): Likewise.
25278 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25280 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25282 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25284 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25285 commands. Quote $PWD.
25286 (blacklist_exports): Don't use remove_newlines. Replace "declare
25288 (remove_newlines): Remove.
25290 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25292 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25293 * stdlib/stdlib.h (atof): Moved to ...
25294 * include/bits/stdlib-float.h: Here. New file.
25295 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25296 * stdlib/bits/stdlib-float.h: New file.
25297 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25302 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25304 * conform/conformtest.pl (@headers): Add fenv.h.
25305 * conform/data/fenv.h-data: New file.
25306 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25307 include of <math/fenv.h>.
25309 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25310 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25311 && !UNIX98]. Enables tests for XOPEN2K8.
25312 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25313 POSIX2008]: Likewise.
25315 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25316 (struct rusage): Do not expect type or its members.
25319 * math/math.h (FP_NAN): Define macro to integer constant usable in
25320 #if and use that to give value to enum constant.
25321 (FP_INFINITE): Likewise.
25322 (FP_ZERO): Likewise.
25323 (FP_SUBNORMAL): Likewise.
25324 (FP_NORMAL): Likewise.
25326 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25328 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25329 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25332 2012-11-02 Roland McGrath <roland@hack.frob.com>
25334 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25335 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25336 autoconf-time if not.
25337 * configure.in: Remove AC_PREREQ.
25339 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25341 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25342 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25343 of the internal implementation.
25345 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25347 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25348 except include of <misc/sys/syslog.h>.
25350 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25353 function returns with a NULL context exit with zero.
25355 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25357 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25359 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25361 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25362 (run_program_cmd): This.
25363 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25364 (tst_langinfo): New variable. Use it.
25366 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25368 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25369 floating point opcodes.
25371 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25373 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25376 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25378 * sysdeps/mach/hurd/powerpc: Remove directory.
25379 * sysdeps/mach/powerpc: Likewise.
25381 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25383 * scripts/check-local-headers.sh: Ignore c++ headers.
25385 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25387 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25388 __libc_cleanup_region_start argument.
25390 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25395 x * y using scaling, not as x * y + z.
25396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25397 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25398 * math/libm-test.inc (fma_test): Add more tests.
25399 (fma_test_towardzero): Likewise.
25400 (fma_test_downward): Likewise.
25401 (fma_test_upward): Likewise.
25403 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25405 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25407 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25409 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25412 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25414 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25416 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25423 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25426 Fix the order of the list for glibc 2.17.
25427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25430 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25434 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25437 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25438 for low part of x being zero before using __atanl (y).
25439 * math/libm-test.inc (atan2_test): Add another test.
25441 * manual/install.texi (Configuring and compiling): Document
25442 general use of test-wrapper and test-wrapper-env.
25443 * INSTALL: Regenerated.
25445 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25446 (__fma): Do not extract and scale down low bits on after-rounding
25447 systems when result rounded to normal precision would have normal
25449 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25450 (__fmal): Do not extract and scale down low bits on after-rounding
25451 systems when result rounded to normal precision would have normal
25453 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25454 (__fmal): Do not extract and scale down low bits on after-rounding
25455 systems when result rounded to normal precision would have normal
25457 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25459 (fma_test): Add more tests.
25460 (fma_test_towardzero): Likewise.
25461 (fma_test_downward): Likewise.
25462 (fma_test_upward): Likewise.
25464 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25466 * sysdeps/i386/tininess.h: Renamed to ...
25467 * sysdeps/x86/tininess.h: This.
25468 * sysdeps/x86_64/tininess.h: Removed.
25470 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25472 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25473 input. Use $(build-program-cmd).
25474 ($(objpfx)tst-array1-static.out): Likewise.
25475 ($(objpfx)tst-array2.out): Likewise.
25476 ($(objpfx)tst-array3.out): Likewise.
25477 ($(objpfx)tst-array4.out): Likewise.
25478 ($(objpfx)tst-array5.out): Likewise.
25479 ($(objpfx)tst-array5-static.out): Likewise.
25481 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25483 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25486 * nss/nsswitch.h (nss_interface_function): Provide new
25487 macro for use with NSS functions.
25488 * grp/initgroups.c: Use new macro.
25489 * nss/getXXbyYY.c: Likewise.
25490 * nss/getXXbyYY_r.c: Likewise.
25491 * nss/getXXent.c: Likewise.
25492 * nss/getXXent_r.c: Likewise.
25493 * sysdeps/posix/getaddrinfo.c: Likewise.
25495 2012-10-30 Andreas Jaeger <aj@suse.de>
25497 * po/ru.po: Update Russion translation from translation project.
25499 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25504 result and shift together with sticky bit instead of replicating
25505 round-to-nearest rounding.
25506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25508 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25509 missing underflow exceptions.
25510 (fma_test_towardzero): Add more tests.
25511 (fma_test_downward): Likewise.
25512 (fma_test_upward): Likewise.
25515 * sysdeps/generic/tininess.h: New file.
25516 * sysdeps/i386/tininess.h: Likewise.
25517 * sysdeps/sh/tininess.h: Likewise.
25518 * sysdeps/x86_64/tininess.h: Likewise.
25519 * stdlib/tst-strtod-underflow.c: Likewise.
25520 * stdlib/tst-tininess.c: Likewise.
25521 * stdlib/strtod_l.c: Include <tininess.h>.
25522 (round_and_return): Do not set errno for exact underflow cases.
25523 Force an underflow exception when setting errno for underflow.
25524 Determine underflow based on rounding to normal precision if
25525 TININESS_AFTER_ROUNDING.
25526 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25527 ERANGE for exact underflow cases.
25528 * stdlib/Makefile (tests): Add tst-tininess and
25529 tst-strtod-underflow.
25530 ($(objpfx)tst-tininess): Use $(link-libm).
25531 ($(objpfx)tst-strtod-underflow): Likewise.
25533 2012-10-30 Andreas Jaeger <aj@suse.de>
25536 * elf/Makefile (tests): Remove conditional for have-initfini-array
25537 since this is now always required and the variable does not exist
25539 (tests-static): Likewise.
25540 (modules-names): Likewise.
25542 * po/eo.po: Add Esperanto translation from translation project.
25544 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25545 merged with constructor/destructor.
25546 (init_array): Likewise.
25547 * elf/tst-array2dep.c (fini_array): Likewise.
25548 (init_array): Likewise.
25550 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25552 * manual/message.texi: Delete @cartouche tags.
25554 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25556 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25558 * sysdeps/mach/hurd/fsync.c: Likewise.
25560 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25561 [_POSIX_REALTIME_SIGNALS]: Change condition to
25562 [_POSIX_REALTIME_SIGNALS > 0].
25564 2012-10-27 Andreas Jaeger <aj@suse.de>
25566 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25567 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25569 [__WORDSIZE != 64]: Likewise.
25571 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25573 * iconvdata/tst-table.sh: Remove ${SHELL}.
25574 * iconvdata/tst-tables.sh: Likewise.
25576 2012-10-25 David S. Miller <davem@davemloft.net>
25578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25579 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25584 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25585 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25586 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25589 2012-10-25 Roland McGrath <roland@hack.frob.com>
25591 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25592 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25595 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25596 Jim Blandy <jimb@codesourcery.com>
25598 * scripts/cross-test-ssh.sh: New file.
25599 * manual/install.texi (Configuring and compiling): Document use of
25601 * INSTALL: Regenerated.
25603 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25605 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25608 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25610 * Makeconfig (run-program-prefix): Fix comment.
25612 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25613 Jim Blandy <jimb@codesourcery.com>
25615 * Makeconfig (test-wrapper): New variable,
25616 (test-wrapper-env): Likewise.
25617 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25618 (run-built-tests): Define to yes.
25619 (run-program-prefix): Use $(test-wrapper).
25620 (built-program-cmd): Likewise.
25621 * Rules (make-test-out): Use $(test-wrapper-env) and
25622 $(host-built-program-cmd).
25623 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25624 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25626 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25627 $(test-wrapper-env) to tst-rtld-load-self.sh.
25628 ($(objpfx)order2.out): Use $(test-wrapper).
25629 ($(objpfx)tst-initorder.out): Likewise.
25630 ($(objpfx)tst-initorder2.out): Likewise.
25631 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25632 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25633 (test_wrapper_env): New variable. Use it to run ld.so.
25634 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25635 Use it to run ld.so.
25636 (test_wrapper_env): Likewise.
25637 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25638 $(test-wrapper) to run-iconv-test.sh.
25639 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25640 (ICONV): Use $test_wrapper.
25641 * posix/Makefile ($(objpfx)globtest.out): Pass
25642 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25643 globtest.sh, not $(run-program-prefix).
25644 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25645 (test_wrapper): Likewise.
25646 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25647 set together with run_via_rtld_prefix.
25648 (run_program_prefix): Define in terms of test_wrapper and
25649 run_via_rtld_prefix.
25651 2012-10-24 Roland McGrath <roland@hack.frob.com>
25653 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25654 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25658 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25659 Declare __clock_getres, __clock_gettime, __clock_settime,
25660 __clock_nanosleep, and __clock_getcpuclockid.
25661 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25662 Remove librt_hidden_def (clock_gettime).
25663 * sysdeps/unix/clock_gettime.c: Likewise.
25664 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25666 * rt/clock_getres.c: Define __clock_getres as an alias.
25667 * sysdeps/posix/clock_getres.c: Likewise.
25668 * rt/clock_settime.c: Define __clock_settime as an alias.
25669 * sysdeps/unix/clock_settime.c: Likewise.
25670 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25671 * sysdeps/unix/clock_nanosleep.c: Likewise.
25672 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25673 * rt/clock-compat.c: New file.
25674 * rt/Makefile (librt-routines): Add clock-compat and move
25675 $(clock-routines) to ...
25676 (routines): ... here, new variable.
25677 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25678 Don't add get_clockfreq here.
25679 * rt/Versions (libc: GLIBC_2.17): New version set.
25680 Add clock_* symbols here.
25681 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25682 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25683 (GLIBC_2.17): Add clock_* symbols.
25684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25695 * NEWS: Mention the move.
25697 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25698 Use __open, __read, __close rather than their public counterparts.
25699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25700 (__get_clockfreq_via_cpuinfo): Likewise.
25701 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25702 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25704 * config.h.in (HAVE_IFUNC): New #undef.
25705 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25707 * configure: Regenerated.
25709 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25711 * configure.in: Move READELF check to start of file.
25712 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25713 libc_cv_asm_gnu_indirect_function in the process.
25714 * configure: Regenerated.
25716 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25718 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25719 send the output to /dev/null.
25720 (libc_cv_cc_with_libunwind): Likewise.
25721 (libc_cv_as_noexecstack): Likewise.
25722 * configure: Regenerate.
25724 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25726 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25728 * posix/globtest.sh (TMPDIR): Do not set.
25729 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25730 (testout): Likewise.
25732 2012-10-24 Andreas Jaeger <aj@suse.de>
25734 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25735 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25736 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25737 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25738 posix_fadvise64, posix_fallocate64.
25740 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25741 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25742 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25744 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25746 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25749 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25750 <bits/fcntl-linux.h>.
25751 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25754 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25755 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25756 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25757 [__WORDSIZE != 64]: Likewise.
25759 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25761 * Makeconfig (run-built-tests): New variable.
25762 * Rules [$(cross-compiling) = yes]: Change condition to
25763 [$(run-built-tests) = no].
25764 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25765 to [$(run-built-tests) = yes].
25766 * elf/Makefile [$(cross-compiling) = no]: Likewise
25767 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25768 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25769 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25770 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25771 * io/Makefile [$(cross-compiling) = no]: Likewise.
25772 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25773 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25774 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25775 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25776 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25777 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25778 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25779 * string/Makefile [$(cross-compiling) = no]: Likewise.
25781 * posix/Makefile ($(objpfx)globtest.out): Pass
25782 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25783 $(rtld-installed-name).
25784 * posix/globtest.sh (elf_objpfx): Remove variable.
25785 (rtld_installed_name): Likewise.
25786 (library_path): Likewise.
25787 (run_program_prefix): New variable. Use for running globtest
25790 2012-10-23 Jim Blandy <jimb@codesourcery.com>
25791 Joseph Myers <joseph@codesourcery.com>
25793 * Makeconfig (host-built-program-cmd): New variable.
25794 * elf/Makefile (tst-stackguard1-ARGS): Use
25795 $(host-built-program-cmd).
25796 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25797 (tst-spawn-ARGS): Likewise.
25798 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25800 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25801 Jim Blandy <jimb@codesourcery.com>
25803 * Makeconfig (run-via-rtld-prefix): New variable.
25804 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25805 (built-program-cmd): Likewise.
25807 2012-10-22 Andreas Jaeger <aj@suse.de>
25809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25810 __O_RSYNC if it exists, otherwise to O_SYNC.
25812 2012-10-22 Jim Blandy <jimb@codesourcery.com>
25813 Joseph Myers <joseph@codesourcery.com>
25815 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25817 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25819 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25822 2012-10-22 Andreas Jaeger <aj@suse.de>
25824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25829 bits/fcntl-linux.h.
25831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25832 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25839 2012-10-21 Jim Blandy <jimb@codesourcery.com>
25840 Joseph Myers <joseph@codesourcery.com>
25842 * config.make.in (NM): New variable.
25844 2012-10-21 Andreas Jaeger <aj@suse.de>
25846 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25847 definitions and declarations that are provided by
25848 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25850 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25853 * elf/Makefile (tests-static): Add tst-leaks1-static.
25854 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25855 ($(objpfx)tst-leaks1-static): New rule.
25856 ($(objpfx)tst-leaks1-static-mem): Likewise.
25857 (tst-leaks1-static-ENV): New macro.
25858 * elf/dl-open.c (dl_open_worker): Check the main application
25859 only if SHARED is defined.
25860 * elf/tst-leaks1-static.c: New file.
25862 2012-10-20 Andreas Jaeger <aj@suse.de>
25864 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25865 generic values for Linux.
25866 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25867 and declarations that are provided by <bits/fcntl-linux.h> and
25868 include <bits/fcntl-linux.h>.
25869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25872 2012-10-20 Roland McGrath <roland@hack.frob.com>
25874 * io/fcntl.h: Move include of <bits/types.h> to the top and
25875 include it unconditionally.
25877 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25879 * wcsmbs/Makefile (tests-ifunc): New variable.
25880 (tests): Add $(tests-ifunc).
25881 * wcsmbs/test-wcschr-ifunc.c: New file.
25882 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25883 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25884 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25885 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25886 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25888 * string/Makefile (tests-ifunc): New variable.
25889 (tests): Add $(tests-ifunc).
25890 * string/test-memccpy.c (TEST_NAME): New macro.
25891 * string/test-memchr.c (TEST_NAME): Likewise.
25892 * string/test-memcmp.c (TEST_NAME): Likewise.
25893 * string/test-memcpy.c (TEST_NAME): Likewise.
25894 * string/test-memmem.c (TEST_NAME): Likewise.
25895 * string/test-memmove.c (TEST_NAME): Likewise.
25896 * string/test-memset.c (TEST_NAME): Likewise.
25897 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25898 * string/test-stpcpy.c (TEST_NAME): Likewise.
25899 * string/test-stpncpy.c (TEST_NAME): Likewise.
25900 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25901 * string/test-strcasestr.c (TEST_NAME): Likewise.
25902 * string/test-strcat.c (TEST_NAME): Likewise.
25903 * string/test-strchr.c (TEST_NAME): Likewise.
25904 * string/test-strcmp.c(TEST_NAME): Likewise.
25905 * string/test-strcpy.c (TEST_NAME): Likewise.
25906 * string/test-strcspn.c (TEST_NAME): Likewise.
25907 * string/test-strlen.c (TEST_NAME): Likewise.
25908 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25909 * string/test-strncmp.c (TEST_NAME): Likewise.
25910 * string/test-strncpy.c (TEST_NAME): Likewise.
25911 * string/test-strnlen.c (TEST_NAME): Likewise.
25912 * string/test-strpbrk.c (TEST_NAME): Likewise.
25913 * string/test-strrchr.c (TEST_NAME): Likewise.
25914 * string/test-strspn.c (TEST_NAME): Likewise.
25915 * string/test-strstr.c (TEST_NAME): Likewise.
25916 * string/test-bcopy-ifunc.c: New file.
25917 * string/test-bzero-ifunc.c: Likewise.
25918 * string/test-memccpy-ifunc.c: Likewise.
25919 * string/test-memchr-ifunc.c: Likewise.
25920 * string/test-memcmp-ifunc.c: Likewise.
25921 * string/test-memcpy-ifunc.c: Likewise.
25922 * string/test-memmem-ifunc.c: Likewise.
25923 * string/test-memmove-ifunc.c: Likewise.
25924 * string/test-mempcpy-ifunc.c: Likewise.
25925 * string/test-memset-ifunc.c: Likewise.
25926 * string/test-rawmemchr-ifunc.c: Likewise.
25927 * string/test-stpcpy-ifunc.c: Likewise.
25928 * string/test-stpncpy-ifunc.c: Likewise.
25929 * string/test-strcasecmp-ifunc.c: Likewise.
25930 * string/test-strcasestr-ifunc.c: Likewise.
25931 * string/test-strcat-ifunc.c: Likewise.
25932 * string/test-strchr-ifunc.c: Likewise.
25933 * string/test-strchrnul-ifunc.c: Likewise.
25934 * string/test-strcmp-ifunc.c: Likewise.
25935 * string/test-strcpy-ifunc.c: Likewise.
25936 * string/test-strcspn-ifunc.c: Likewise.
25937 * string/test-strlen-ifunc.c: Likewise.
25938 * string/test-strncasecmp-ifunc.c: Likewise.
25939 * string/test-strncat-ifunc.c: Likewise.
25940 * string/test-strncmp-ifunc.c: Likewise.
25941 * string/test-strncpy-ifunc.c: Likewise.
25942 * string/test-strnlen-ifunc.c: Likewise.
25943 * string/test-strpbrk-ifunc.c: Likewise.
25944 * string/test-strrchr-ifunc.c: Likewise.
25945 * string/test-strspn-ifunc.c: Likewise.
25946 * string/test-strstr-ifunc.c: Likewise.
25948 * debug/Makefile (tests-ifunc): New variable.
25949 (tests): Add $(tests-ifunc).
25950 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25951 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25952 * debug/test-stpcpy_chk-ifunc.c: New file.
25953 * debug/test-strcpy_chk-ifunc.c: Likewise.
25955 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25958 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25959 header is not read in.
25961 2012-10-19 Joseph Myers <joseph@codesourcery.com>
25963 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25964 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25965 directly. Pass built executable to script as
25966 $(built-program-cmd).
25967 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25968 $testprogram without using LD_LIBRARY_PATH and $ldso.
25970 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25971 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25972 $(rtld-installed-name).
25973 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25974 (rtld_installed_name): Likewise.
25975 (library_path): Likewise.
25976 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25977 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25978 $(run-program-prefix) to tst-tables.sh.
25979 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25980 it to run tst-table-from and tst-table-to.
25981 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25982 Pass it to tst-table.sh.
25983 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25984 $(run-program-prefix) to tst-gettext.sh.
25985 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25987 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25989 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25990 to run tst-gettext.
25991 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25992 to run tst-gettext2.
25993 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25994 to run tst-translit.
25995 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25996 $(run-program-prefix) to tst-mtrace.sh.
25997 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25999 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26000 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26001 $(rtld-installed-name).
26002 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26003 (rtld_installed_name): Likewise.
26004 (run_program_prefix): New variable. Use it to run wordexp-test.
26006 * Makeconfig (ARCH): Remove all definitions.
26007 (machine): Likewise.
26008 [ARCH]: Remove conditional code.
26009 [!objdir]: Give error.
26010 [!objdir] (objpfx): Remove.
26011 [!objdir] (common-objpfx): Likewise.
26012 [!objdir] (common-objdir): Likewise.
26013 * configure.in (config_makefile): Remove. Hardcode Makefile in
26014 AC_CONFIG_FILES call.
26015 * configure: Regenerated.
26018 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26020 (testout): Likewise.
26022 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26023 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26024 $(rtld-installed-name).
26025 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26026 (rtld_installed_name): Likwise.
26027 (runit): Remove function.
26028 (run_getconf): New variable, Use it for running getconf binary.
26030 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26033 * string/test-memmem.c (check_result): New function.
26034 (do_one_test): Use it.
26035 (check1): New function.
26036 (test_main): Use it.
26038 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26040 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26042 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26044 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26045 (_G_LSEEK64): Likewise.
26046 (_G_MMAP64): Likewise.
26047 (_G_FSTAT64): Likewise.
26048 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26049 (_G_LSEEK64): Likewise.
26050 (_G_MMAP64): Likewise.
26051 (_G_FSTAT64): Likewise.
26052 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26053 unconditional. Call __mmap64 directly.
26054 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26055 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26056 __lseek64 directly.
26057 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26058 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26060 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26061 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26062 __lseek64 directly.
26063 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26064 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26065 __lseek64 directly.
26066 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26067 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26068 __lseek64 directly.
26069 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26070 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26071 __fxstat64 directly.
26072 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26073 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26075 (freopen64) [!_G_OPEN64]: Remove conditional code.
26076 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26078 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26079 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26081 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26082 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26084 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26085 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26087 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26088 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26090 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26091 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26093 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26094 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26096 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26098 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26101 * manual/memory.texi (Malloc Tunable Parameters): Add note
26102 about free list pointers overwriting some perturb bytes.
26103 Wording suggested by Roland McGrath.
26105 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26107 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26108 (lgamma_test): Likewise.
26109 (tgamma_test): Likewise.
26111 2012-10-16 Florian Weimer <fweimer@redhat.com>
26114 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26115 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26117 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26119 * NEWS: Mention BZ #14716.
26120 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26121 when removing AVAILABLE1_USES_J macro.
26123 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26125 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26126 (__bswap_64): __uint64_t for unsigned 64-bit int.
26128 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26130 * include/string.h (memmem): Declare libc hidden alias.
26131 * string/memmem.c (memmem): Define libc hidden alias.
26132 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26133 __read, __close instead of open, read, close.
26135 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26138 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26140 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26141 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26142 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26144 (__rawmemchr_sse2): Likewise.
26145 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26146 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26147 (__strchr_sse2): Likewise.
26148 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26149 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26150 (__strcasecmp_sse2): Likewise.
26151 (__strncasecmp_sse2): Likewise.
26152 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26153 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26154 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26155 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26156 (__strrchr_sse2): Likewise.
26157 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26159 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26160 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26161 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26162 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26163 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26164 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26165 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26166 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26167 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26168 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26169 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26170 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26171 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26172 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26173 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26174 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26175 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26176 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26177 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26178 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26179 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26180 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26181 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26182 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26183 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26184 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26185 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26186 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26187 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26188 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26190 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26192 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26193 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26194 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26195 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26197 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26199 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26200 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26201 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26202 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26204 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26205 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26206 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26207 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26208 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26209 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26210 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26211 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26212 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26213 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26214 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26215 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26216 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26217 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26218 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26219 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26220 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26221 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26222 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26223 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26224 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26225 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26226 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26227 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26228 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26229 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26230 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26231 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26232 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26233 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26234 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26235 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26236 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26237 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26238 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26239 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26240 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26241 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26242 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26243 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26244 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26246 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26247 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26248 * include/ifunc-impl-list.h: New file.
26249 * misc/ifunc-impl-list.c: Likewise.
26250 * misc/Makefile (routines): Add ifunc-impl-list.
26251 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26252 * string/test-string.h: Include <ifunc-impl-list.h>.
26253 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26254 TEST_NAME]: New variables.
26255 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26257 (test_init): Call __libc_ifunc_impl_list to initialize
26258 func_list if TEST_IFUNC and TEST_NAME are defined.
26260 * string/Makefile (strop-tests): Add bcopy and bzero.
26261 * string/test-bcopy.c: New file.
26262 * string/test-bzero.c: Likewise.
26263 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26265 * string/test-memset.c: Support bzero test if TEST_BZERO is
26267 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26269 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26271 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26274 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26276 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26277 * configure: Regenerated.
26279 * Makeconfig (+link-static-before-libc): Don't include
26280 $(link-static-libc).
26282 * libio/libio.h (_IO_pos_t): Remove.
26284 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26286 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26289 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26291 * crypt/crypt-entry.c: Include fips-private.h.
26292 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26293 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26294 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26295 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26297 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26299 * crypt/crypt-private.h: Include stdbool.h.
26300 (_ufc_setup_salt_r): Return bool.
26301 * crypt/crypt-entry.c: Include errno.h.
26302 (__crypt_r): Return NULL with EINVAL for bad salt.
26303 * crypt/crypt_util.c (bad_for_salt): New.
26304 (_ufc_setup_salt_r): Check that salt is long enough and within
26305 the specified alphabet.
26306 * crypt/badsalttest.c: New file.
26307 * crypt/Makefile (tests): Add it.
26308 ($(objpfx)badsalttest): New.
26310 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26312 * NEWS: Add entry for BZ #14602.
26314 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26316 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26318 * math/libm-test.inc: Update comment listing what functions and
26320 (isgreater_test): New function.
26321 (isgreaterequal_test): Likewise.
26322 (isless_test): Likewise.
26323 (islessequal_test): Likewise.
26324 (islessgreater_test): Likewise.
26325 (isunordered_test): Likewise.
26326 (main): Call the new functions.
26328 2012-10-09 Roland McGrath <roland@hack.frob.com>
26330 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26331 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26332 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26333 * sysdeps/i386/configure: Regenerated.
26334 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26335 * sysdeps/mach/configure: Regenerated.
26336 * sysdeps/mach/hurd/configure: Regenerated.
26337 * sysdeps/powerpc/configure: Regenerated.
26338 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26339 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26340 * sysdeps/s390/s390-32/configure: Regenerated.
26341 * sysdeps/s390/s390-64/configure: Regenerated.
26342 * sysdeps/sh/configure: Regenerated.
26343 * sysdeps/sparc/configure: Regenerated.
26344 * sysdeps/unix/sysv/linux/configure: Regenerated.
26345 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26346 * sysdeps/x86_64/configure: Regenerated.
26348 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26349 defined. Don't check if MAP is NULL.
26351 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26353 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26354 (_G_stat64): Likewise.
26355 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26356 (_G_stat64): Likewise.
26357 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26358 instead of struct _G_stat64.
26359 * libio/fileops.c (mmap_remap_check): Likewise.
26360 (decide_maybe_mmap): Likewise.
26361 (_IO_new_file_seekoff): Likewise.
26362 (_IO_file_stat): Likewise.
26363 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26365 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26366 instead of struct _G_stat64.
26367 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26369 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26372 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26374 (CHECK_EOL): New macro.
26375 (two_way_short_needle): Check beginning of haystack for EOL. Use
26377 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26378 Replace with CHECK_EOL.
26379 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26380 Replace with CHECK_EOL.
26382 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26384 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26386 * math/libm-test.inc: Update comment listing what functions and
26388 (finite_test): New function.
26389 (isinf_test): Likewise.
26390 (isnan_test): Likewise.
26391 (fpclassify_test): Test subnormal input.
26392 (isfinite_test): Likewise.
26393 (isnormal_test): Likewise.
26394 (main): Call the new functions.
26396 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26399 * Makerules (%.dynsym): Force C locale when running
26400 $(OBJDUMP) --dynamic-syms.
26402 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26404 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26407 2012-10-06 David S. Miller <davem@davemloft.net>
26409 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26410 upper 32-bits of the length value in %o2 since we use branch-on-register
26411 tests which consider the entire 64-bit register.
26413 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26415 * string/test-strstr.c (check2): Add a test for page boundary.
26417 2012-10-05 David S. Miller <davem@davemloft.net>
26419 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26420 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26422 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26424 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26425 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26426 and bzero when HWCAP_SPARC_CRYPTO is present.
26428 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26431 * string/test-strstr.c (check2): New function.
26432 (test_main): Call check2.
26434 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26436 * string/bug-strcasestr1.c (do_test): Moved to ...
26437 * string/test-strcasestr.c (check1): Here. New function.
26438 (do_one_test): Break out result checking code into ...
26439 (check_result): This. New function.
26440 (do_one_test): Call check_result.
26441 (test_main): Call check1.
26442 * string/bug-strchr1.c (do_test): Moved to ...
26443 * string/test-strchr.c (check1): Here. New function.
26444 (do_one_test): Break out result checking code into ...
26445 (check_result): This. New function.
26446 (do_one_test): Call check_result.
26447 (test_main): Call check1.
26448 * string/bug-strstr1.c (main): Moved to ...
26449 * string/test-strstr.c (check1): Here. New function.
26450 (do_one_test): Break out result checking code into ...
26451 (check_result): This. New function.
26452 (do_one_test): Call check_result.
26453 (test_main): Call check1.
26454 * string/bug-strcasestr1.c: Removed.
26455 * string/bug-strchr1.c: Likewise.
26456 * string/bug-strstr1.c: Likewise.
26458 * elf/Makefile (dl-routines): Add hwcaps.
26459 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26460 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26461 (_dl_important_hwcaps): Moved to ...
26462 * elf/dl-hwcaps.c: Here. New file.
26463 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26466 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26467 if IS_IN_rtld isn't defined.
26469 * elf/dl-support.c (_dl_sysinfo_map): New.
26470 Include "get-dynamic-info.h" and "setup-vdso.h".
26471 (_dl_non_dynamic_init): Call setup_vdso.
26472 * elf/dynamic-link.h: Don't include <assert.h>.
26473 (elf_get_dynamic_info): Moved to ...
26474 * elf/get-dynamic-info.h: Here. New file.
26475 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26476 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26477 * elf/setup-vdso.h: Here. New file.
26478 * elf/rtld.c: Include "setup-vdso.h".
26479 (dl_main): Call setup_vdso.
26481 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26483 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26484 creal in comment listing functions tested. List finite, isinf,
26485 isnan, isless, islessequal, isgreater, isgreaterequal,
26486 islessgreater, isunordered, lgamma_r and pow10 as functions and
26487 macros not tested. Mention which functions not tested are aliases
26488 for other functions. Fix typo. Note that signs of NaNs are not
26491 * scripts/config.guess: Update from config.git.
26492 * scripts/config.sub: Likewise.
26494 2012-10-04 Roland McGrath <roland@hack.frob.com>
26496 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26497 * misc/madvise.c (madvise): Renamed to __madvise.
26498 Make madvise a weak alias.
26499 * include/sys/mman.h: Declare __madvise.
26500 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26501 * sysdeps/unix/syscalls.list
26502 (madvise): Make __madvise the strong name, and madvise a weak alias.
26503 * sysdeps/unix/sysv/linux/syscalls.list
26504 (madvise, mmap): Remove redundant entries.
26505 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26506 * malloc/malloc.c (mtrim): Likewise.
26507 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26509 2012-10-03 Roland McGrath <roland@hack.frob.com>
26511 * sysdeps/mach/hurd/dl-cache.c: File removed.
26512 * config.h.in (USE_LDCONFIG): New #undef.
26513 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26514 * configure: Regenerated.
26515 * elf/Makefile (dl-routines): Add dl-cache only under
26516 [$(use-ldconfig) = yes].
26517 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26518 cache on [USE_LDCONFIG].
26519 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26521 * elf/rtld.c (dl_main): Likewise.
26523 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26525 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26526 _SC_LEVEL4_CACHE_LINESIZE.
26528 2012-10-03 Roland McGrath <roland@hack.frob.com>
26530 * sysdeps/unix/bsd/confstr.h: File removed.
26532 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26534 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26537 2012-10-02 Roland McGrath <roland@hack.frob.com>
26539 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26540 Make 'mapoff' field ElfW(Off) rather than off_t.
26542 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26544 * nscd/Makefile: Remove nscd-cflags and all its users.
26545 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26546 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26549 * malloc.c (malloc_printerr): Clarify error message.
26551 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26555 Set bit_FMA_Usable if FMA is supported.
26556 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26558 (bit_FMA4_Usable): Updated.
26559 (index_FMA_Usable): New macro.
26560 (CPUID_FMA): Likewise
26561 (HAS_FMA): Defined with bit_FMA_Usable.
26563 2012-10-01 Roland McGrath <roland@hack.frob.com>
26565 * bits/types.h (__swblk_t): Type removed.
26566 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26567 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26569 (__SWBLK_T_TYPE): Likewise.
26570 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26571 (__SWBLK_T_TYPE): Likewise.
26572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26573 (__SWBLK_T_TYPE): Likewise.
26574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26575 (__SWBLK_T_TYPE): Likewise.
26577 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26578 Honza Horak <hhorak@redhat.com>
26580 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26581 (xdr_mapname): Use YPMAXMAP as maxsize.
26582 (xdr_peername): Use YPMAXPEER as maxsize.
26583 (xdr_keydat): Use YPAXRECORD as maxsize.
26584 (xdr_valdat): Use YPMAXRECORD as maxsize.
26586 2012-10-01 Roland McGrath <roland@hack.frob.com>
26588 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26590 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26591 * csu/init-first.c: ... here.
26592 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26593 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26594 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26595 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26596 * sysdeps/i386/init-first.c: File removed.
26597 * sysdeps/sh/init-first.c: File removed.
26599 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26603 if x * y might underflow to zero and z is zero.
26604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26606 * math/libm-test.inc (min_subnorm_value): New variable.
26607 (fma_test): Add more tests.
26608 (fma_test_towardzero): Likewise.
26609 (fma_test_downward): Likewise
26610 (fma_test_upward): Likewise.
26611 (initialize): Set min_subnorm_value.
26613 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26618 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26619 mode for addition resulting in exact zero.
26620 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26623 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26625 * math/libm-test.inc (fma_test): Add more tests.
26626 (fma_test_towardzero): New function.
26627 (fma_test_downward): Likewise.
26628 (fma_test_upward): Likewise.
26629 (main): Call the new functions.
26631 2012-09-28 David S. Miller <davem@davemloft.net>
26633 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26635 2012-09-28 Roland McGrath <roland@hack.frob.com>
26637 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26638 instead of SIGALRM.
26640 * sysdeps/gnu/_G_config.h: Moved to ...
26641 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26642 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26643 * sysdeps/generic/_G_config.h: ... here.
26645 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26647 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26649 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26650 Conditionalize target on [libnss_test1.so-version].
26652 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26654 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26655 (elfobjdir): Move out of conditionals.
26657 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26658 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26659 (__nss_lookup_function): Conditionalize label remove_from_tree on
26660 [!DO_STATIC_NSS || SHARED], matching its only use.
26662 2012-09-28 David S. Miller <davem@davemloft.net>
26664 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26665 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26667 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26669 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26671 when HWCAP_SPARC_CRYPTO is present.
26673 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26675 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26677 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26680 * stdio-common/vfprintf.c (process_string_arg): Revert
26683 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26685 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26687 * stdio-common/tst-sprintf.c: Include <locale.h>
26688 (main): Test sprintf's handling of incomplete multibyte
26691 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26693 * elf/dl-runtime.c (VERSYMIDX): Removed.
26694 * elf/dl-version.c (VERSYMIDX): Likewise.
26695 * elf/do-rel.h (VERSYMIDX): Likewise.
26696 (VALIDX): Likewise.
26697 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26698 * elf/rtld.c (VALIDX): Likewise.
26699 (ADDRIDX): Likewise.
26700 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26701 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26702 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26703 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26704 (VALIDX): Likewise.
26705 (ADDRIDX): Likewise.
26707 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26709 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26711 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26714 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26716 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26717 addresses are in the same scope as 192.0.2/24.
26718 * posix/gai.conf: Document new scope table defaults.
26720 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26723 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26724 for ftell. Compute offsets from write pointers instead.
26725 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26727 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26730 * libio/Makefile (tests): New test case tst-fseek.
26731 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26732 combination works in wide mode.
26733 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26734 state when the external buffer state changes.
26736 2012-09-27 David S. Miller <davem@davemloft.net>
26739 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26740 pass reloc->r_addend in as the 'high' argument to
26741 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26745 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26747 * rt/tst-aio2.c: Include <pthread.h>.
26748 * rt/tst-aio3.c: Likewise.
26750 2012-09-27 Steve Ellcey <sellcey@mips.com>
26752 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26754 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26756 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26757 contents on [SHARED].
26759 2012-09-26 Marek Polacek <polacek@redhat.com>
26763 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26764 for C++ and GCC <4.3 as well as for non GCC compilers.
26766 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26770 2012-09-25 Roland McGrath <roland@hack.frob.com>
26772 * Makefile.in (all, install): Declare with .PHONY.
26773 Reported by Michael Hope <michael.hope@linaro.org>.
26775 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26777 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26778 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26780 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26782 (sydep_routines): Add the new and the internal functions.
26783 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26784 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26786 (GLIBC_2.17): Add the new function.
26787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26788 (GLIBC_2.17): Likewise.
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26790 (GLIBC_2.17): Likewise.
26791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26792 (GLIBC_2.17): Likewise.
26793 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26795 2012-09-25 Alan Modra <amodra@gmail.com>
26797 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26798 Add release barrier before setting once_control to say
26799 initialisation is done. Add hints on lwarx. Use macro in
26801 (clear_once_control): Add release barrier.
26803 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26806 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26808 * math/s_clog10.c (__clog10): Likewise.
26809 * math/s_clog10f.c (__clog10f): Likewise.
26810 * math/s_clog10l.c (__clog10l): Likewise.
26811 * math/s_clogf.c (__clogf): Likewise.
26812 * math/s_clogl.c (__clogl): Likewise.
26813 * math/Makefile (libm-calls): Add x2y2m1.
26814 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26815 (__x2y2m1): Likewise.
26816 (__x2y2m1l): Likewise.
26817 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26818 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26821 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26822 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26823 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26824 * sysdeps/i386/fpu/libm-test-ulps: Update.
26825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26828 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26829 int as type of variable DEPTH.
26830 (glob): Use size_t instead of int as type of variables NEWCOUNT
26833 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26835 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26836 Add s_sincosf-sse2.
26837 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26838 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26839 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26840 macros for using routine as __sincosf_ia32.
26841 Use macro for function declaration and weak_alias.
26842 * sysdeps/i386/fpu/libm-test-ulps: Update.
26844 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26847 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26848 subnormal argument.
26849 * math/s_cexpf.c (__cexpf): Likewise.
26850 * math/s_csinf.c (__csinf): Likewise.
26851 * math/s_csinhf.c (__csinhf): Likewise.
26852 * math/s_ctanf.c (__ctanf): Likewise.
26853 * math/s_ctanhf.c (__ctanhf): Likewise.
26854 * math/s_ccosh.c (__ccoshf): Likewise.
26855 * math/s_cexp.c (__cexpl): Likewise.
26856 * math/s_csin.c (__csin): Likewise.
26857 * math/s_csinh.c (__csinh): Likewise.
26858 * math/s_ctan.c (__ctan): Likewise.
26859 * math/s_ctanh.c (ctanh): Likewise.
26860 * math/s_ccoshl.c (__ccoshl): Likewise.
26861 * math/s_cexpl.c (__cexpl): Likewise.
26862 * math/s_csinl.c (__csinl): Likewise.
26863 * math/s_csinhl.c (__csinhl): Likewise.
26864 * math/s_ctanl.c (__ctanl): Likewise.
26865 * math/s_ctanhl.c (__ctanhl): Likewise.
26867 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26869 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26870 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26871 (_IO_off_t): Define to __off_t, not _G_off_t.
26872 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26873 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26874 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26875 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26876 type of __dummy and __dummy2 fields.
26877 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26878 (_G_ssize_t): Likewise.
26879 (_G_off_t): Likewise.
26880 (_G_pid_t): Likewise.
26881 (_G_uid_t): Likewise.
26882 (_G_wchar_t): Likewise.
26883 (_G_wint_t): Likewise.
26884 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26885 (_G_ssize_t): Likewise.
26886 (_G_off_t): Likewise.
26887 (_G_pid_t): Likewise.
26888 (_G_uid_t): Likewise.
26889 (_G_wchar_t): Likewise.
26890 (_G_wint_t): Likewise.
26891 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26892 (_G_ssize_t): Likewise.
26893 (_G_off_t): Likewise.
26894 (_G_pid_t): Likewise.
26895 (_G_uid_t): Likewise.
26896 (_G_wchar_t): Likewise.
26897 (_G_wint_t): Likewise.
26899 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26901 * malloc/arena.c: Include malloc-sysdep.h.
26902 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26903 is sufficient to shrink the heap or an unmap is needed.
26904 * sysdeps/generic/malloc-sysdep.h: New file. Define
26905 new function check_may_shrink_heap.
26906 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26907 new function check_may_shrink_heap.
26909 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26911 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26914 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26916 * catgets/test-gencat.sh: Add "set -e".
26917 * elf/tst-pathopt.sh: Likewise.
26918 * grp/tst_fgetgrent.sh: Likewise.
26919 * iconvdata/run-iconv-test.sh: Likewise.
26920 * intl/tst-gettext.sh: Likewise.
26921 * intl/tst-gettext2.sh: Likewise.
26922 * intl/tst-gettext4.sh: Likewise.
26923 * intl/tst-gettext6.sh: Likewise.
26924 * intl/tst-translit.sh: Likewise.
26925 * io/ftwtest-sh: Likewise.
26926 * libio/test-freopen.sh: Likewise.
26927 * malloc/tst-mtrace.sh: Likewise.
26928 * posix/globtest.sh: Likewise.
26929 * posix/tst-getconf.sh: Likewise.
26930 * posix/wordexp-tst.sh: Likewise.
26931 * stdio-common/tst-printf.sh: Likewise.
26932 * stdio-common/tst-unbputc.sh: Likewise.
26933 * stdlib/tst-fmtmsg.sh: Likewise.
26934 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26935 * catgets/Makefile: Do not specify -e option when running
26936 testsuite shell scripts.
26937 * elf/Makefile: Likewise.
26938 * grp/Makefile: Likewise.
26939 * iconvdata/Makefile: Likewise.
26940 * intl/Makefile: Likewise.
26941 * io/Makefile: Likewise.
26942 * libio/Makefile: Likewise.
26943 * malloc/Makefile: Likewise.
26944 * posix/Makefile: Likewise.
26945 * stdio-common/Makefile: Likewise.
26946 * stdlib/Makefile: Likewise.
26947 * sysdeps/x86_64/Makefile: Likewise.
26949 * io/ftwtest-sh: Add copyright header.
26950 * posix/globtest.sh: Likewise.
26951 * posix/tst-getconf.sh: Likewise.
26952 * posix/wordexp-tst.sh: Likewise.
26953 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26955 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26958 * Makeconfig (+link): Defined as $(+link-static) if
26959 $(build-shared) isn't yes.
26960 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26962 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26964 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26967 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26968 new chunk size with MALLOC_ALIGN_MASK.
26970 2012-09-24 Joseph Myers <joseph@codesourcery.com>
26973 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26975 (__printf_fphex): Determine rounding using get_rounding_mode and
26977 * stdio-common/tst-printf-round.c (struct hex_test): New
26979 (hex_tests): New variable.
26980 (test_hex_in_one_mode): New function.
26981 (do_test): Also run tests for hex float output.
26983 2012-09-21 Joseph Myers <joseph@codesourcery.com>
26985 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26986 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26987 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26988 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26989 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26990 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26991 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26992 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26994 2012-09-20 Joseph Myers <joseph@codesourcery.com>
26996 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26997 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26998 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26999 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27001 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27004 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27006 * elf/tst-rtld-load-self.sh: New test.
27007 * elf/Makefile: Run it.
27009 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27011 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27012 (tst-writev-ENV): Remove.
27013 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27015 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27017 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27019 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27021 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27023 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27025 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27026 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27027 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27030 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27033 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27034 * config.make.in (have-cpp-asm-debuginfo): Removed.
27035 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27036 * configure: Regenerated.
27038 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27041 * stdio-common/printf_fp.c: Include <stdbool.h> and
27043 (___printf_fp): Determine rounding using get_rounding_mode and
27045 * stdio-common/tst-printf-round.c: New file.
27046 * stdio-common/Makefile (tests): Add tst-printf-round.
27047 (link-libm): New variable.
27048 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27050 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27053 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27054 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27056 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27059 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27061 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27062 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27063 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27064 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27066 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27069 * include/rounding-mode.h: New file.
27070 * sysdeps/generic/get-rounding-mode.h: Likewise.
27071 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27072 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27073 (MAX_VALUE): New macro.
27074 (MIN_VALUE): Likewise.
27075 (overflow_value): New function.
27076 (underflow_value): Likewise.
27077 (round_and_return): Use overflow_value and underflow_value to
27078 determine return values in overflow and underflow cases. Use
27079 round_away to determine rounding depending on rounding mode.
27080 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27081 determine return values in overflow and underflow cases.
27082 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27083 (struct test_results): New structure.
27084 (struct test): Use struct test_results to store expected results
27085 for all rounding modes.
27086 (TEST): Include expected results for all rounding modes.
27087 (test_in_one_mode): New function.
27088 (do_test): Use test_in_one_mode to compute and check results.
27089 Check results for all rounding modes.
27090 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27093 2012-12-09 Allan McRae <allan@archlinux.org>
27095 * sysdeps/i386/fpu/libm-test-ulps: Update
27097 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27099 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27100 (_G_int32_t): Likewise.
27101 (_G_uint16_t): Likewise.
27102 (_G_uint32_t): Likewise.
27103 (_G_HAVE_BOOL): Likewise.
27104 (_G_HAVE_ATEXIT): Likewise.
27105 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27106 (_G_HAVE_IO_FILE_OPEN): Likewise.
27107 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27108 (_G_int32_t): Likewise.
27109 (_G_uint16_t): Likewise.
27110 (_G_uint32_t): Likewise.
27111 (_G_HAVE_BOOL): Likewise.
27112 (_G_HAVE_ATEXIT): Likewise.
27113 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27114 (_G_HAVE_IO_FILE_OPEN): Likewise.
27115 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27116 (_G_int32_t): Likewise.
27117 (_G_uint16_t): Likewise.
27118 (_G_uint32_t): Likewise.
27119 (_G_HAVE_BOOL): Likewise.
27120 (_G_HAVE_ATEXIT): Likewise.
27121 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27122 (_G_HAVE_IO_FILE_OPEN): Likewise.
27124 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27126 * csu/libc-tls.c: Update copyright years.
27128 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27130 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27131 [!_G_USING_THUNKS]: Remove conditional code.
27132 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27133 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27135 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27136 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27137 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27138 (_G_VTABLE_LABEL_PREFIX): Likewise.
27139 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27140 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27141 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27142 (_G_VTABLE_LABEL_PREFIX): Likewise.
27143 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27144 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27145 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27146 (_G_VTABLE_LABEL_PREFIX): Likewise.
27147 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27149 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27151 * libio/Makefile: Include ../Makeconfig before tests.
27152 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27153 only if $(build-shared) is yes.
27155 * iconv/gconv_db.c: Update copyright years.
27157 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27159 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27160 unwind info if defined PIC. Fix special cases description.
27161 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27163 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27165 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27167 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27169 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27171 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27174 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27175 (LDLIBS-tst-chk4): This.
27176 (LDFLAGS-tst-chk5): Renamed to ...
27177 (LDLIBS-tst-chk5): This.
27178 (LDFLAGS-tst-chk6): Renamed to ...
27179 (LDLIBS-tst-chk6): This.
27180 (LDFLAGS-tst-lfschk4): Renamed to ...
27181 (LDLIBS-tst-lfschk4): This.
27182 (LDFLAGS-tst-lfschk5): Renamed to ...
27183 (LDLIBS-tst-lfschk5): This.
27184 (LDFLAGS-tst-lfschk6): Renamed to ...
27185 (LDLIBS-tst-lfschk6): This.
27187 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27188 on $(common-objpfx)soversions.mk.
27190 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27193 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27196 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27198 * malloc/arena.c (arena_get_retry): New function that gets
27199 another arena for the caller to try its request on.
27200 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27201 current arena cannot fulfill the request.
27202 (__libc_memalign): Likewise.
27203 (__libc_memalign): Likewise.
27204 (__libc_pvalloc): Likewise.
27205 (__libc_calloc): Likewise.
27207 2012-09-05 John Tobey <john.tobey@gmail.com>
27210 * manual/arith.texi (Operations on Complex): Fix description
27211 of carg branch cut.
27213 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27216 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27220 * manual/memory.texi (Memory): Make order of menu items match
27223 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27225 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27226 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27227 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27229 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27231 * csu/libc-tls.c (static_dtv): Renamed to ...
27232 (_dl_static_dtv): This. Make it global.
27233 (_dl_initial_dtv): Removed.
27234 (__libc_setup_tls): Updated.
27235 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27236 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27239 2012-09-06 Petr Machata <pmachata@redhat.com>
27241 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27242 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27243 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27244 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27246 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27249 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27250 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27253 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27256 * Makeconfig (link-static-before-libc): Replace $(+prector)
27258 (link-static-after-libc): Replace $(+postctor) with
27260 (link-bounded): Replace $(+prector)/$(+postctor) with
27261 $(+prectorT)/$(+postctorT).
27262 (+prectorT): New macro.
27263 (+postctorT): Likewise.
27265 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27267 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27268 (round_str): Handle values above the maximum for IBM long double
27270 * stdlib/tst-strtod-round.c (tests): Regenerated.
27272 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27274 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27276 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27277 zarch_nohighgprs around the zarch optimized routines.
27278 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27279 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27283 2012-09-05 David S. Miller <davem@davemloft.net>
27285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27287 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27288 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27289 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27290 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27293 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27295 * malloc/arena.c: Fold copyright years.
27296 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27298 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27300 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27302 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27304 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27306 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27308 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27309 change internal state upon failure.
27311 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27313 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27314 * malloc/memusage.c (mmap): Likewise.
27315 (mmap64, mremap): Likewise. Adjust name in comment.
27317 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27319 * libio/fileops.c: Fix typos in comments.
27320 * libio/oldfileops.c: Likewise.
27321 * libio/wfileops.c: Likewise.
27323 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27326 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27327 (tst-malloc-usable-ENV): Set environment for test case.
27328 * malloc/hooks.c (malloc_check_get_size): New function to get
27330 * malloc/malloc.c (musable): Use malloc_check_get_size.
27331 * malloc/tst-malloc-usable.c: New test case.
27333 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27335 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27337 2012-09-05 Allan McRae <allan@archlinux.org>
27340 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27341 determine header location.
27342 * configure: Regenerated.
27344 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27346 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27348 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27349 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27351 (test): Regenerate.
27353 2012-09-04 David S. Miller <davem@davemloft.net>
27355 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27356 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27357 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27359 2012-09-04 Florian Weimer <fweimer@redhat.com>
27361 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27364 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27366 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27369 * libio/iogetdelim.c: Include <limits.h>.
27370 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27371 + len + 1 would overflow.
27373 2012-09-03 Andreas Jaeger <aj@suse.de>
27375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27376 * sysdeps/i386/fpu/libm-test-ulps: Update.
27378 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27380 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27381 Add s_sinf-sse2, s_conf-sse2.
27383 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27384 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27385 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27386 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27388 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27389 for using routine as __sinf_ia32.
27390 Use macro for function declaration and weak_alias.
27391 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27392 for using routine as __cosf_ia32.
27393 Use macro for function declaration and weak_alias.
27395 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27396 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27398 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27399 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27402 * math/libm-test.inc (cos_test): Add more test cases.
27403 (sin_test): Likewise.
27404 (sincos_test): Likewise.
27406 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27409 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27411 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27413 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27416 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27417 first element of the GOT.
27418 (elf_machine_load_address): Return the difference between
27419 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27421 2012-09-01 Allan McRae <allan@archlinux.org>
27424 * configure.in (AWK): Require gawk version 3.0 or later.
27425 * configure: Regenerated.
27427 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27429 * sysdeps/unix/sysv/linux/kernel-features.h
27430 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27431 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27432 [__NR_clock_getres]: Make code unconditional.
27433 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27434 (clock_getcpuclockid): Remove code left unreachable by removal of
27436 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27437 code unconditional.
27438 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27439 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27440 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27441 Make code unconditional.
27442 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27443 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27444 * sysdeps/unix/sysv/linux/clock_settime.c
27445 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27447 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27448 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27450 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27453 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27454 scripts/test-installation.pl.
27456 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27457 and $ld_so_version if it is set.
27459 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27463 failure if reading from procfs failed.
27464 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27466 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27468 * sysdeps/unix/sysv/linux/kernel-features.h
27469 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27470 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27471 Remove conditional code.
27472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27473 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27474 Remove conditional code.
27475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27476 * sysdeps/unix/sysv/linux/i386/fxstat.c
27477 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27479 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27480 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27482 * sysdeps/unix/sysv/linux/i386/lxstat.c
27483 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27485 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27486 Remove conditional code.
27487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27488 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27489 Remove conditional code.
27490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27491 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27492 <kernel-features.h>.
27493 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27495 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27496 Remove conditional code.
27497 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27498 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27499 Remove conditional.
27501 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27504 * NEWS: Add fixed bug number.
27506 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27509 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27510 underflowing exponent in case of negative sign.
27511 * stdlib/tst-strtod-round-data: Add more tests.
27512 * stdlib/tst-strtod-round.c (tests): Regenerated.
27515 * stdlib/strtod_l.c (NDIG): Remove.
27516 (HEXNDIG): Likewise.
27517 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27518 smallest representable value.
27519 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27520 lie within an exact representation of 1/2 ulp of the result.
27521 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27523 (TENS_P9_IDX): Define unconditionally.
27524 (TENS_P9_SIZE): Likewise.
27525 (TENS_P10_IDX): Likewise.
27526 (TENS_P10_SIZE): Likewise.
27527 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27528 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27529 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27530 entries for 10^2^13 and 10^2^14.
27531 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27532 (TENS_P13_IDX): Define.
27533 (TENS_P13_SIZE): Likewise.
27534 (TENS_P14_IDX): Likewise.
27535 (TENS_P14_SIZE): Likewise.
27536 (_fpioconst_pow10): Change array size to
27537 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27539 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27540 1024]: Add entries for 10^2^13 and 10^2^14.
27541 [LAST_POW10 > _LAST_POW10]: Remove #error.
27542 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27543 (_fpioconst_pow10): Change array size to
27544 FPIOCONST_POW10_ARRAY_SIZE.
27545 * stdlib/gen-fpioconst.c: New file.
27546 * stdlib/gen-tst-strtod-round.c: Likewise.
27547 * stdlib/tst-strtod-round-data: Likewise.
27548 * stdlib/tst-strtod-round.c: Likewise.
27549 * stdlib/Makefile (tests): Add tst-strtod-round.
27552 * stdlib/strtod_l.c: Include <stdint.h>.
27553 (NDEBUG): Do not define.
27554 (round_and_return): Change EXPONENT parameter to type intmax_t.
27555 Rearrange calculations to avoid internal overflow possibilities.
27556 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27557 Rearrange calculations to avoid internal overflow possibilities.
27558 Assert that number fits inside MPNSIZE limbs.
27559 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27560 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27561 calculations and add assertions to avoid internal overflow
27562 possibilities. Add casts to avoid signed/unsigned operations.
27563 * stdlib/tst-strtod-overflow.c: New file.
27564 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27566 2012-08-25 Marek Polacek <polacek@redhat.com>
27568 * time/time.h: Fix some typos in comments.
27570 2012-08-23 Roland McGrath <roland@hack.frob.com>
27572 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27573 * posix/tst-rfc3484-2.c: Likewise.
27574 * posix/tst-rfc3484-3.c: Likewise.
27576 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27578 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27579 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27581 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27583 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27584 #include of fxstatat64.c.
27586 2012-08-22 Roland McGrath <roland@hack.frob.com>
27588 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27589 * shadow/getspent_r.c: Likewise.
27590 * shadow/getspnam.c: Likewise.
27591 * shadow/getspnam_r.c: Likewise.
27592 * gshadow/getsgent.c: Likewise.
27593 * gshadow/getsgent_r.c: Likewise.
27594 * gshadow/getsgnam.c: Likewise.
27595 * gshadow/getsgnam_r.c: Likewise.
27596 * inet/getnetbyad.c: Likewise.
27597 * inet/getnetbyad_r.c: Likewise.
27598 * inet/getnetbynm.c: Likewise.
27599 * inet/getnetbynm_r.c: Likewise.
27600 * inet/getnetent.c: Likewise.
27601 * inet/getnetent_r.c: Likewise.
27602 * inet/getproto.c: Likewise.
27603 * inet/getproto_r.c: Likewise.
27604 * inet/getprtent.c: Likewise.
27605 * inet/getprtent_r.c: Likewise.
27606 * inet/getprtname.c: Likewise.
27607 * inet/getprtname_r.c: Likewise.
27608 * inet/getrpcbyname.c: Likewise.
27609 * inet/getrpcbyname_r.c: Likewise.
27610 * inet/getrpcbynumber.c: Likewise.
27611 * inet/getrpcbynumber_r.c: Likewise.
27612 * inet/getrpcent.c: Likewise.
27613 * inet/getrpcent_r.c: Likewise.
27614 * inet/getaliasent.c: Likewise.
27615 * inet/getaliasent_r.c: Likewise.
27616 * inet/getaliasname.c: Likewise.
27617 * inet/getaliasname_r.c: Likewise.
27618 * nscd/getgrgid_r.c: Likewise.
27619 * nscd/getgrnam_r.c: Likewise.
27620 * nscd/gethstbyad_r.c: Likewise.
27621 * nscd/gethstbynm3_r.c: Likewise.
27622 * nscd/getpwnam_r.c: Likewise.
27623 * nscd/getpwuid_r.c: Likewise.
27624 * nscd/getsrvbynm_r.c: Likewise.
27625 * nscd/getsrvbypt_r.c: Likewise.
27626 * nscd/gai.c: Likewise.
27628 * configure.in (build_nscd): New substituted variable, set
27629 by --disable-build-nscd and defaults to $use_nscd.
27630 * configure: Regenerated.
27631 * config.make.in (build-nscd): New substituted variable.
27632 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27633 Change conditional to require [$(build-nscd) = yes] as well.
27634 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27637 * configure.in (use_nscd): New substituted variable, set by
27638 --disable-nscd. If enabled, define USE_NSCD.
27639 * configure: Regenerated.
27640 * config.h.in: Add USE_NSCD.
27641 * config.make.in (use-nscd): New substituted variable.
27642 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27643 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27644 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27645 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27646 (CFLAGS-getgrnam_r.c): Likewise.
27647 (CFLAGS-initgroups.c): Likewise.
27648 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27649 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27651 * inet/getnetgrent_r.c
27652 (nscd_setnetgrent): New function, broken out of ...
27653 (setnetgrent): ... here. Call it.
27654 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27655 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27656 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27657 * nscd/Makefile (routines, aux): Move definitions after include of
27658 Makeconfig. Conditionalize on [$(use-nscd) != no].
27659 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27660 Conditionalize on [USE_NSCD].
27661 (is_nscd, nscd_init_cb): Likewise.
27662 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27663 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27664 * nss/nss_db/db-init.c: Likewise.
27665 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27667 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27668 (make_request): Use it.
27669 (cache_valid_p): New function.
27670 (__check_pf): Use it.
27671 * NEWS: Add item for --disable-nscd.
27673 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27675 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27676 to support sed >= 4.2.1-20-ga9bf076.
27677 * configure: Regenerated.
27679 2012-08-22 Roland McGrath <roland@hack.frob.com>
27681 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27682 Conditionalize whole body on [IREL].
27684 2012-08-22 Jeff Law <law@redhat.com>
27687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27688 if the family is PF_UNSPEC.
27690 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27692 * Makerules (lib-version): Rename from V.
27693 (install-lib-nosubdir): Change V to lib-version.
27695 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27698 * powerpc32/power6/wcschr.c: New file.
27699 * powerpc32/power6/wcscpy.c: New file.
27700 * powerpc32/power6/wcsrchr.c: New file.
27701 * powerpc64/power6/wcschr.c: New file.
27702 * powerpc64/power6/wcscpy.c: New file.
27703 * powerpc64/power6/wcsrchr.c: New file.
27705 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27707 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27708 (two_way_short_needle): Use it.
27709 * string/strstr.c (AVAILABLE1_USES_J): Define.
27710 * string/strcasestr.c: Likewise.
27712 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27714 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27717 * NEWS: Add an entry.
27718 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27719 define their defaults.
27720 (two_way_short_needle): Detect end-of-string on-the-fly.
27721 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27722 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27723 * string/bug-strcasestr1.c: New test.
27724 * string/Makefile: Run it.
27726 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27729 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27730 the first character.
27732 2012-08-21 Roland McGrath <roland@hack.frob.com>
27734 * csu/elf-init.c (__libc_csu_irel): Function removed.
27735 * csu/libc-start.c (apply_irel): New function.
27736 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27738 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27740 * sysdeps/unix/sysv/linux/kernel-features.h
27741 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27742 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27743 <kernel-features.h>.
27744 [__NR_fadvise64_64]: Make code unconditional.
27745 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27746 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27747 !__NR_fadvise64_64)]: Likewise.
27748 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27749 !__NR_fadvise64_64))]: Likewise.
27750 [__NR_fadvise64]: Make code unconditional.
27751 [!__NR_fadvise64]: Remove conditional code.
27752 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27753 <kernel-features.h>.
27754 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27756 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27759 not include <kernel-features.h>.
27760 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27762 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27764 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27765 include <kernel-features.h>.
27766 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27768 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27771 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27773 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27774 slight instruction rearrangements per scrollpipe analysis.
27775 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27777 2012-08-20 Roland McGrath <roland@hack.frob.com>
27779 * manual/syslog.texi (syslog; vsyslog, closelog):
27780 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27781 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27783 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27784 DSOCAPS to match condition on defining it.
27786 2012-08-20 Joseph Myers <joseph@codesourcery.com>
27788 * sysdeps/unix/sysv/linux/kernel-features.h
27789 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27791 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27792 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27794 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27795 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27797 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27798 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27800 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27801 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27803 * sysdeps/unix/sysv/linux/kernel-features.h
27804 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27805 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27807 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27808 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27809 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27810 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27811 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27812 Make code unconditional.
27813 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27814 (__mmap64) [!__NR_mmap2]: Likewise.
27815 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27816 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27817 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27818 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27819 [__NR_mmap2]: Make code unconditional.
27820 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27821 (__mmap64) [!__NR_mmap2]: Likewise.
27823 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27825 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27827 2012-08-18 Andreas Jaeger <aj@suse.de>
27829 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27831 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27833 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27834 * include/unistd.h (__have_sock_cloexec): Likewise.
27835 (__have_pipe2): Likewise.
27836 (__have_dup3): Likewise.
27838 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27841 * include/unistd.h (__have_pipe2): Change define into an extern int.
27842 (__have_dup3): Likewise.
27843 * socket/have_sock_cloexec.c: Include fcntl.h.
27844 (__have_pipe2): New variable.
27845 (__have_dup3): Likewise.
27847 2012-08-17 Mike Frysinger <vapier@gentoo.org>
27849 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27851 2012-08-17 Marek Polacek <polacek@redhat.com>
27853 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27854 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27856 2012-08-17 Roland McGrath <roland@hack.frob.com>
27858 * configure.in: Add AC_SUBST for sysheaders.
27859 * configure: Regenerated.
27860 * config.make.in (sysheaders): New substituted variable.
27862 * sysdeps/unix/mkfifo.c: Moved ...
27863 * sysdeps/posix/mkfifo.c: ... here.
27864 * sysdeps/unix/mkfifoat.c: Moved ...
27865 * sysdeps/posix/mkfifoat.c: ... here.
27867 * sysdeps/unix/utime.c: Moved ...
27868 * sysdeps/posix/utime.c: ... here.
27870 * sysdeps/unix/time.c: Moved ...
27871 * sysdeps/posix/time.c: ... here.
27872 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27873 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27875 * sysdeps/unix/nice.c: Moved ...
27876 * sysdeps/posix/nice.c: ... here.
27878 * sysdeps/unix/alarm.c: Moved ...
27879 * sysdeps/posix/alarm.c: ... here.
27881 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27883 2012-08-17 Jeff Law <law@redhat.com>
27885 * intl/Makefile (codeset_mo): New variable.
27886 ($(codeset_mo)): New target.
27887 (tst-codeset.out): Depend on that. Remove explicit rule.
27888 (tst-gettext3.out, tst-gettext5.out): Likewise.
27889 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27890 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27891 * intl/tst-codeset.sh: Remove.
27892 * intl/tst-gettext3.sh: Likewise.
27893 * intl/tst-gettext5.sh: Likewise.
27895 2012-08-17 Roland McGrath <roland@hack.frob.com>
27897 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27898 * sysdeps/unix/syscalls.list: ... here.
27900 * sysdeps/posix/getaddrinfo.c
27901 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27902 (gaiconf_init, gaiconf_reload): Use them.
27903 [!_STATBUF_ST_NSEC]
27904 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27905 Define using time_t rather than struct timespec.
27907 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27908 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27910 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27912 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27913 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27916 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27917 __libc_cleanup_push argument.
27919 * bits/param.h: New file.
27920 * misc/sys/param.h: New file.
27921 * include/sys/param.h: New file.
27922 * misc/Makefile (headers): Add bits/param.h.
27923 * sysdeps/generic/sys/param.h: File removed.
27924 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27925 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27926 * sysdeps/mach/hurd/bits/param.h: New file.
27927 * sysdeps/mach/hurd/sys/param.h: File removed.
27929 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27932 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27934 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27935 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27938 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27939 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27940 rather than -D_IO_MTSAFE_IO conditionally.
27941 * stdio-common/Makefile (CPPFLAGS): Likewise.
27942 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27943 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27944 Use $(libio-mtsafe).
27945 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27946 of -D_IO_MTSAFE_IO.
27947 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27948 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27949 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27950 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27951 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27952 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27953 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27954 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27955 (CFLAGS-fread_u_chk.c): Likewise.
27956 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27957 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27958 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27959 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27960 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27961 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27962 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27963 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27964 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27966 * libio/Makefile: Test [$(libc-reentrant) = yes]
27967 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27970 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27971 * sysdeps/pthread/configure: File removed.
27972 * sysdeps/pthread/Makeconfig: New file.
27973 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27974 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27976 2012-08-16 Gary Benson <gbenson@redhat.com>
27978 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27979 unmapping the first object in a namespace.
27981 2012-08-16 Roland McGrath <roland@hack.frob.com>
27983 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27984 (__internal_setnetgrent): ... this. Add internal_function to
27985 definition. Add libc_hidden_def.
27986 (setnetgrent): Update caller.
27987 (internal_endnetgrent): Renamed to ...
27988 (__internal_endnetgrent): ... this. Add internal_function to
27989 definition. Add libc_hidden_def.
27990 (endnetgrent): Update caller.
27991 (internal_getnetgrent_r): Renamed to ...
27992 (__internal_getnetgrent_r): ... this. Add internal_function to
27993 definition. Add libc_hidden_def.
27994 (__getnetgrent_r): Update caller.
27995 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27997 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27999 * stdlib/longlong.h: Update from GCC.
28001 2012-08-16 Roland McGrath <roland@hack.frob.com>
28003 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28004 on _QL, which is set by umul_ppmm but never used.
28005 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28006 variables, which are set by GMP macros but never used.
28007 * stdio-common/_itowa.c (_itowa): Likewise.
28008 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28009 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28011 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28013 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28014 struct La_sh_regs is not constant.
28015 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28016 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28017 and struct La_sparc64_regs are not constant.
28019 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28021 * sysdeps/unix/sysv/linux/kernel-features.h
28022 (__ASSUME_POSIX_TIMERS): Remove.
28023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28024 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28025 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28026 Make code unconditional.
28027 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28028 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28029 Make code unconditional.
28030 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28031 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28032 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28033 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28034 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28035 Make code unconditional.
28036 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28037 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28038 (__libc_missing_posix_timers): Remove.
28040 2012-08-15 Roland McGrath <roland@hack.frob.com>
28042 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28043 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28045 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28047 * elf/dl-sym.c: Include <stdlib.h>.
28049 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28050 constants, which avoids warnings in 32-bit builds.
28052 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28053 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28055 * misc/lseek.c: File moved to ...
28056 * io/lseek.c: ... here.
28058 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28060 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28061 shifting LEN more than 31 bits at once.
28063 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28066 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28067 segmentation fault for a case of two empty input strings.
28068 * string/test-strncasecmp.c (check1): Renamed to...
28069 (bz12205): ...this.
28070 (bz14195): Add new testcase for two empty input strings and N > 0.
28071 (test_main): Call new testcase, adapt for renamed function.
28073 2012-08-15 Andreas Jaeger <aj@suse.de>
28076 * crypt/md5test2.c: New test, based on test supplied by Serge
28077 Belyshev <belyshev@depni.sinp.msu.ru>.
28078 * crypt/Makefile (xtests): Add md5test-giant..
28079 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28081 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28084 * crypt/md5.c (md5_process_block): Don't assume the buffer
28085 length is less than 2**32.
28086 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28087 length is less than 2**64.
28089 2012-08-15 Roland McGrath <roland@hack.frob.com>
28091 * string/str-two-way.h: Include <sys/param.h>.
28092 (MAX): Macro removed.
28094 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28095 Move #define and #undef of memmove to just before and after
28096 including <string.h>.
28098 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28099 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28100 and after including <string.h>. Move declarations of
28101 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28102 to before #include "string/memmove.c".
28104 * include/dirent.h: Declare __getdirentries.
28106 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28107 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28109 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28111 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28112 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28113 * sysdeps/i386/configure: Regenerated.
28114 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28115 STABS_CURRENT_FILE, and STABS_FUN.
28116 (END): Remove call to STABS_FUN_END.
28117 (STABS_CURRENT_FILE1): Delete.
28118 (STABS_CURRENT_FILE): Likewise.
28119 (STABS_FUN): Likewise.
28120 (STABS_FUN_END): Likewise.
28121 (STABS_FUN2): Likewise.
28122 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28123 * sysdeps/x86_64/configure: Regenerated.
28125 2012-08-14 Roland McGrath <roland@hack.frob.com>
28127 * elf/dl-open.c: Include <atomic.h>.
28128 * elf/dl-lookup.c: Likewise.
28130 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28132 * sysdeps/unix/sysv/linux/kernel-features.h
28133 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28134 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28136 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28138 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28139 condition on __ASSUME_CLONE_THREAD_FLAGS.
28141 2012-08-14 Andreas Jaeger <aj@suse.de>
28143 * sysdeps/i386/fpu/libm-test-ulps: Update.
28145 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28147 * include/atomic.h (atomic_exchange_and_add): Split into ...
28148 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28151 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28155 2012-08-13 Jeff Law <law@redhat.com>
28157 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28158 null byte in the output string.
28160 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28162 * sysdeps/unix/sysv/linux/kernel-features.h
28163 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28164 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28165 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28166 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28167 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28168 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28169 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28171 2012-08-09 Jeff Law <law@redhat.com>
28174 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28175 When avoid_arena is set, don't retry in the that arena. Pick the
28176 next one, whatever it might be.
28177 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28178 (arena_lock): Pass in new parameter to arena_get2.
28179 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28181 (__libc_malloc): Unify retrying after main arena failure with
28182 __libc_memalign version.
28183 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28185 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28188 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28189 to __redirect_strstr.
28190 (__strstr_sse42): Use typeof __redirect_strstr.
28191 (__strstr_ia32): Likewise.
28192 (__libc_strstr): New prototype.
28193 (strstr): Renamed to ...
28194 (__libc_strstr): This.
28195 (strstr): New strong alias of __libc_strstr.
28196 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28197 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28200 (__libc_time): New prototype.
28201 (time_ifunc): Replace time with __libc_time.
28202 (time): New strong alias and hidden definition of __libc_time.
28203 (__GI_time): Remove strong alias.
28204 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28205 Include <stddef.h>.
28206 (memmove): Redefined to __redirect_memmove.
28207 (__memmove_sse2): Use typeof __redirect_memmove.
28208 (__memmove_ssse3): Likewise.
28209 (__memmove_ssse3_back): Likewise.
28210 (__libc_memmove): New prototype.
28211 (memmove): Renamed to ...
28212 (__libc_memmove): This.
28213 (memmove): New strong alias of __libc_memmove.
28215 2012-08-08 Mark Salter <msalter@redhat.com>
28218 (R_MN10300_TLS_GD): Define.
28219 (R_MN10300_TLS_LD): Likewise.
28220 (R_MN10300_TLS_LDO): Likewise.
28221 (R_MN10300_TLS_GOTIE): Likewise.
28222 (R_MN10300_TLS_IE): Likewise.
28223 (R_MN10300_TLS_LE): Likewise.
28224 (R_MN10300_TLS_DTPMOD): Likewise.
28225 (R_MN10300_TLS_DTPOFF): Likewise.
28226 (R_MN10300_TLS_TPOFF): Likewise.
28227 (R_MN10300_SYM_DIFF): Likewise.
28228 (R_MN10300_ALIGN): Likewise.
28229 (R_MN10300_NUM): Update.
28231 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28233 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28236 2012-08-08 Roland McGrath <roland@hack.frob.com>
28238 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28240 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28241 sysdeps/unix -> sysdeps/posix move.
28242 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28244 2012-08-07 Allan McRae <allan@archlinux.org>
28247 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28248 (SUNOS_CPP): Likewise.
28249 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28251 (open_input): Call CPP using execvp.
28253 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28255 * sysdeps/unix/sysv/linux/kernel-features.h
28256 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28257 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28258 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28259 (__ASSUME_WAITID_SYSCALL): Likewise.
28260 * sysdeps/unix/sysv/linux/dl-execstack.c
28261 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28262 code unconditional.
28263 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28265 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28266 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28267 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28269 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28271 [__ASSUME_WAITID_SYSCALL]: Likewise.
28272 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28274 2012-08-07 Roland McGrath <roland@hack.frob.com>
28276 * sysdeps/unix/closedir.c: Renamed to ...
28277 * sysdeps/posix/closedir.c: ... here.
28278 * sysdeps/unix/dirfd.c: Renamed to ...
28279 * sysdeps/posix/dirfd.c: ... here.
28280 * sysdeps/unix/dirstream.h: Renamed to ...
28281 * sysdeps/posix/dirstream.h: ... here.
28282 * sysdeps/unix/fdopendir.c: Renamed to ...
28283 * sysdeps/posix/fdopendir.c: ... here.
28284 * sysdeps/unix/opendir.c: Renamed to ...
28285 * sysdeps/posix/opendir.c: ... here.
28286 * sysdeps/unix/readdir.c: Renamed to ...
28287 * sysdeps/posix/readdir.c: ... here.
28288 * sysdeps/unix/readdir_r.c: Renamed to ...
28289 * sysdeps/posix/readdir_r.c: ... here.
28290 * sysdeps/unix/rewinddir.c: Renamed to ...
28291 * sysdeps/posix/rewinddir.c: ... here.
28292 * sysdeps/unix/seekdir.c: Renamed to ...
28293 * sysdeps/posix/seekdir.c: ... here.
28294 * sysdeps/unix/telldir.c: Renamed to ...
28295 * sysdeps/posix/telldir.c: ... here.
28296 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28297 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28298 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28299 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28301 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28302 * bits/fcntl.h: ... here.
28304 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28306 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28307 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28308 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28309 (struct flock): Move l_start, l_len to the beginning.
28310 Use __pid_t for l_pid.
28311 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28312 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28313 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28314 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28315 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28316 [__USE_LARGEFILE64] (struct flock64): New type.
28317 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28319 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28320 * bits/dirent.h: ... here.
28322 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28323 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28325 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28327 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28328 Change from 2.6.0 to 2.6.16.
28329 * sysdeps/unix/sysv/linux/configure: Regenerated.
28330 * sysdeps/unix/sysv/linux/kernel-features.h
28331 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28332 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28334 (__ASSUME_UTIMES): Likewise.
28335 (__ASSUME_CLONE_STOPPED): Remove.
28336 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28337 architectures, not kernel version.
28338 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28339 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28340 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28341 (__ASSUME_WAITID_SYSCALL): Likewise.
28342 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28343 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28344 * README: State 2.6.16 as minimum Linux kernel version. Do not
28345 refer to older versions.
28347 2012-08-06 Roland McGrath <roland@hack.frob.com>
28349 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28350 Define alphasort64 as an alias.
28351 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28352 Define versionsort64 as an alias.
28353 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28354 Define scandir64 as an alias.
28355 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28356 Define scandirat64 as an alias.
28357 * dirent/alphasort64.c (alphasort64):
28358 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28359 * dirent/versionsort64.c: Likewise.
28360 * dirent/scandir64.c: Likewise.
28361 * dirent/scandirat64.c: Likewise.
28362 * sysdeps/wordsize-64/alphasort.c: File removed.
28363 * sysdeps/wordsize-64/alphasort64.c: File removed.
28364 * sysdeps/wordsize-64/scandir.c: File removed.
28365 * sysdeps/wordsize-64/scandir64.c: File removed.
28366 * sysdeps/wordsize-64/scandirat.c: File removed.
28367 * sysdeps/wordsize-64/scandirat64.c: File removed.
28368 * sysdeps/wordsize-64/versionsort.c: File removed.
28369 * sysdeps/wordsize-64/versionsort64.c: File removed.
28370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28373 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28375 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28379 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28381 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28383 [defined __arch64__ || defined __sparcv9]
28384 (__INO_T_MATCHES_INO64_T): New macro.
28385 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28386 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28387 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28388 * sysdeps/unix/sysv/linux/bits/dirent.h
28389 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28390 (_DIRENT_MATCHES_DIRENT64): New macro.
28392 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28393 Define lockf64 as an alias.
28394 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28395 Define fseeko64 as an alias.
28396 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28397 Define ftello64 as an alias.
28398 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28399 Define _IO_fgetpos64 and fgetpos64 as aliases.
28400 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28401 Define _IO_fsetpos64 and fsetpos64 as aliases.
28402 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28403 Conditionalize body on this.
28404 * libio/fseeko64.c: Likewise.
28405 * libio/ftello64.c: Likewise.
28406 * libio/iofgetpos64.c: Likewise.
28407 * libio/iofsetpos64.c: Likewise.
28408 * sysdeps/wordsize-64/lockf.c: File removed.
28409 * sysdeps/wordsize-64/lockf64.c: File removed.
28410 * sysdeps/wordsize-64/fseeko.c: File removed.
28411 * sysdeps/wordsize-64/fseeko64.c: File removed.
28412 * sysdeps/wordsize-64/ftello.c: File removed.
28413 * sysdeps/wordsize-64/ftello64.c: File removed.
28414 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28415 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28416 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28417 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28418 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28419 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28420 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28422 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28424 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28425 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28427 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28429 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28431 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28433 [defined __arch64__ || defined __sparcv9]
28434 (__OFF_T_MATCHES_OFF64_T): New macro.
28435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28436 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28438 (__OFF_T_MATCHES_OFF64_T): New macro.
28440 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28442 * stdlib/secure-getenv.c (__secure_getenv): Replace
28443 GLIBC_2_16 with GLIBC_2_17.
28445 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28447 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28448 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28450 2012-08-03 David S. Miller <davem@davemloft.net>
28452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28454 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28456 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28458 (__ASSUME_CORRECT_SI_PID): Likewise.
28459 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28460 (__ASSUME_TMPFS_NAME): Likewise.
28461 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28462 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28463 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28464 (HAVE_AUX_SECURE): Make definition unconditional.
28465 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28466 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28468 2012-08-03 Roland McGrath <roland@hack.frob.com>
28470 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28471 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28472 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28473 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28474 __eloop_threshold instead of SYMLOOP_MAX.
28476 * sysdeps/generic/eloop-threshold.h: New file.
28477 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28479 * elf/chroot_canon.c (chroot_canon): Likewise.
28481 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28485 Change to 2.6.0 everywhere.
28486 * sysdeps/unix/sysv/linux/configure: Regenerated.
28487 * sysdeps/unix/sysv/linux/kernel-features.h
28488 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28489 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28491 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28492 (__ASSUME_FUTEX_REQUEUE): Remove.
28493 (__ASSUME_STATFS64): Define unconditionally.
28494 (__ASSUME_AT_SECURE): Likewise.
28495 (__ASSUME_CORRECT_SI_PID): Likewise.
28496 (__ASSUME_TGKILL): Define without depending on kernel version for
28498 (__ASSUME_UTIMES): Likewise.
28499 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28501 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28502 (__ASSUME_TMPFS_NAME): Likewise.
28503 * README: Update reference to Linux kernel versions.
28505 2012-08-02 Marek Polacek <polacek@redhat.com>
28508 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28509 libc_cv_asm_type_prefix with %.
28510 * configure: Regenerated.
28511 * include/libc-symbols.h: Remove comment about
28512 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28513 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28514 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28515 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28516 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28517 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28518 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28519 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28520 * elf/tst-unique2mod1.c: Likewise.
28521 * elf/tst-unique1mod2.c: Likewise.
28522 * elf/tst-unique1mod1.c: Likewise.
28523 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28524 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28525 Replace ASM_TYPE_DIRECTIVE with .type.
28526 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28527 * sysdeps/i386/sysdep.h: Likewise.
28528 * sysdeps/x86_64/sysdep.h: Likewise.
28529 * sysdeps/sh/sysdep.h: Likewise.
28530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28531 Do not define ASM_TYPE_DIRECTIVE.
28532 * sysdeps/powerpc/sysdep.h: Likewise.
28533 * sysdeps/powerpc/powerpc32/sysdep.h:
28534 Replace ASM_TYPE_DIRECTIVE with .type.
28535 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28536 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28537 * sysdeps/i386/fpu/e_powf.S: Likewise.
28538 * sysdeps/i386/fpu/e_expl.S: Likewise.
28539 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28541 * sysdeps/i386/fpu/e_pow.S: Likewise.
28542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28546 * sysdeps/i386/fpu/e_log2.S: Likewise.
28547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28549 * sysdeps/i386/fpu/e_powl.S: Likewise.
28550 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28551 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28552 * sysdeps/i386/fpu/e_logl.S: Likewise.
28553 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28554 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28555 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28556 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28557 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28558 * sysdeps/i386/fpu/e_log.S: Likewise.
28559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28560 * sysdeps/i386/fpu/e_logf.S: Likewise.
28561 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28562 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28563 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28564 * sysdeps/i386/fpu/e_log10.S: Likewise.
28565 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28566 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28567 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28568 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28569 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28570 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28571 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28572 * sysdeps/i386/i686/strtok.S: Likewise.
28573 * sysdeps/i386/i386-mcount.S: Likewise.
28574 * sysdeps/i386/strtok.S: Likewise.
28575 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28576 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28577 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28578 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28579 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28581 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28582 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28584 * sysdeps/x86_64/_mcount.S: Likewise.
28585 * sysdeps/x86_64/strtok.S: Likewise.
28586 * sysdeps/sh/_mcount.S: Likewise.
28588 2012-08-01 Roland McGrath <roland@hack.frob.com>
28590 * libio/iofopen.c: Include <fcntl.h>.
28591 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28592 (_IO_fopen64, fopen64): Define as aliases.
28593 * libio/iofopen64.c: Include <fcntl.h>.
28594 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28595 Conditionalize body on this.
28596 * sysdeps/wordsize-64/iofopen.c: File removed.
28597 * sysdeps/wordsize-64/iofopen64.c: File removed.
28599 2012-08-01 Marek Polacek <polacek@redhat.com>
28601 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28602 Use dlfcn directly instead of a variable.
28603 (binfmt-subdir): Do not define.
28606 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28609 Remove all definitions.
28610 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28611 <kernel-features.h>.
28612 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28613 (miss_F_GETOWN_EX): Remove all definitions.
28614 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28616 [!__ASSUME_FCNTL64]: Remove conditional code.
28617 [__ASSUME_FCNTL64]: Make code unconditional.
28618 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28619 <kernel-features.h>.
28620 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28621 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28622 (lockf64) [__NR_fcntl64]: Make code unconditional.
28623 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28625 * sysdeps/unix/sysv/linux/kernel-features.h
28626 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28627 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28628 Make code unconditional.
28629 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28630 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28632 [__NR_vfork]: Make code unconditional.
28633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28636 [__NR_vfork]: Make code unconditional.
28637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28640 2012-08-01 Roland McGrath <roland@hack.frob.com>
28642 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28643 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28645 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28646 Define mkstemp64 as an alias.
28647 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28648 Define mkstemps64 as an alias.
28649 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28650 Define mkostemp64 as an alias.
28651 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28652 Define mkostemps64 as an alias.
28653 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28654 Conditionalize body on this.
28655 * misc/mkostemp64.c: Likewise.
28656 * misc/mkostemps64.c: Likewise.
28657 * misc/mkstemps64.c: Likewise.
28658 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28659 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28660 * sysdeps/wordsize-64/mkostemp.c: File removed.
28661 * sysdeps/wordsize-64/mkstemp.c: File removed.
28662 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28663 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28664 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28665 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28668 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28669 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28670 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28671 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28673 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28674 compat_symbol macros from <shlib-compat.h> rather than the underlying
28675 default_symbol_version and symbol_version macros, so that DEFAULT
28676 lines in shlib-versions are respected.
28677 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28679 2012-08-01 Florian Weimer <fweimer@redhat.com>
28681 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28682 Declare with warn_unused_result.
28683 (setgid, setregid, setegid, setresgid): Likewise.
28684 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28686 * WUR-REPORT: Remove set*id functions.
28688 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28690 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28692 2012-07-31 Roland McGrath <roland@hack.frob.com>
28695 * include/sys/socket.h (__libc_accept, __libc_accept4):
28696 Add attribute_hidden.
28697 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28699 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28701 * inet/getnetgrent_r.c (setup): Likewise.
28703 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28705 2012-07-31 David S. Miller <davem@davemloft.net>
28707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28709 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28712 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28713 value between 1.0 and 2.0 and smaller part has absolute value less
28715 * math/s_clog10.c (__clog10): Likewise.
28716 * math/s_clog10f.c (__clog10f): Likewise.
28717 * math/s_clog10l.c (__clog10l): Likewise.
28718 * math/s_clogf.c (__clogf): Likewise.
28719 * math/s_clogl.c (__clogl): Likewise.
28720 * math/libm-test.inc (clog_test): Add more tests.
28721 (clog10_test): Likewise.
28722 * sysdeps/i386/fpu/libm-test-ulps: Update.
28723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28725 2012-07-31 Florian Weimer <fweimer@redhat.com>
28727 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28728 Exit with zero in case no suitable GID is found, and write a
28729 message to standard error.
28731 2012-07-30 Roland McGrath <roland@hack.frob.com>
28733 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28735 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28736 (MAXPATHLEN): Removed.
28737 (NOGROUP, NODEV): New macros.
28738 (setbit, clrbit, isset, isclr): New macros.
28739 (howmany, roundup, powerof2): New macros.
28740 (DEV_BSIZE): New macro.
28742 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28743 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28745 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28746 definition on [!__NO_LONG_DOUBLE_MATH].
28748 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28749 PTR_MANGLE and PTR_DEMANGLE.
28751 * socket/accept4.c (accept4): Rename to __libc_accept4.
28752 Define accept4 as a weak alias.
28754 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28755 on [_DIRENT_HAVE_D_TYPE].
28756 * io/ftw.c (ftw_dir): Likewise.
28758 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28760 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28762 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28763 Use the BSD numbers rather than the arbitrary ones we had.
28764 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28765 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28766 (SIGXCPU, SIGXFSZ): New macros.
28769 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28770 initializer on [_LIBC_REENTRANT].
28772 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28773 definitions inside [_POSIX_MAPPED_FILES].
28775 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28777 * dirent/opendir.c: Include <fcntl.h>.
28779 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28780 (__libc_getspecific): Likewise.
28781 (__libc_key_create): Likewise.
28783 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28784 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28785 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28786 (tmpfile64): Define as alias.
28787 * sysdeps/wordsize-64/tmpfile.c: File removed.
28788 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28792 * stdio-common/vfscanf.c: Include <stdbool.h>.
28793 * nss/makedb.c: Likewise.
28794 * stdio-common/_i18n_number.h: Likewise.
28795 * argp/argp-help.c: Likewise.
28796 * posix/wordexp.c: Likewise.
28797 * sysdeps/posix/spawni.c: Likewise.
28798 * nss/nss_files/files-initgroups.c: Likewise.
28799 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28800 * nss/nss_files/files-initgroups.c: Likewise.
28801 * nss/nss_db/db-netgrp.c: Likewise.
28802 * nss/nss_db/db-initgroups.c: Likewise.
28803 * io/fchmodat.c: Include <sys/stat.h>.
28805 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28806 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28808 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28811 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28812 Add multiple inclusion protection.
28814 2012-07-27 David S. Miller <davem@davemloft.net>
28816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28818 2012-07-27 Gary Benson <gbenson@redhat.com>
28821 * elf/rtld.c: Include <stap-probe.h>.
28822 (dl_main): Added static probes "init_start" and "init_complete".
28823 * elf/dl-load.c: Include <stap-probe.h>.
28824 (lose): Take new parameter "nsid".
28825 Added static probe "map_failed".
28826 (_dl_map_object_from_fd): Pass namespace id to lose.
28827 Added static probe "map_start".
28828 (open_verify): Pass namespace id to lose.
28829 * elf/dl-open.c: Include <stap-probe.h>.
28830 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28831 and "reloc_complete".
28832 * elf/dl-close.c: Include <stap-probe.h>.
28833 (_dl_close_worker): Added static probes "unmap_start" and
28835 * elf/rtld-debugger-interface.txt: New file documenting the above.
28837 2012-07-26 Roland McGrath <roland@hack.frob.com>
28839 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28840 rather than a string variable.
28841 * sunrpc/rpc_main.c (h_output): Likewise.
28842 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28844 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28846 * inet/check_native.c: New file.
28848 2012-07-26 Joseph Myers <joseph@codesourcery.com>
28851 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28852 if larger part has absolute value 1.0.
28853 * math/s_clog10.c (__clog10): Likewise.
28854 * math/s_clog10f.c (__clog10f): Likewise.
28855 * math/s_clog10l.c (__clog10l): Likewise.
28856 * math/s_clogf.c (__clogf): Likewise.
28857 * math/s_clogl.c (__clogl): Likewise.
28858 * math/libm-test.inc (clog_test): Add more tests.
28859 (clog10_test): Likewise.
28860 * sysdeps/i386/fpu/libm-test-ulps: Update.
28861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28863 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28864 (pltexit): Likewise.
28865 (La_regs): Likewise.
28866 (La_retval): Likewise.
28867 (int_retval): Likewise.
28868 Update #error for removed macros to refer only to definitions in
28870 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28872 (pltexit): Likewise.
28873 (La_regs): Likewise.
28874 (La_retval): Likewise.
28875 (int_retval): Likewise.
28876 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28878 (pltexit): Likewise.
28879 (La_regs): Likewise.
28880 (La_retval): Likewise.
28881 (int_retval): Likewise.
28882 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28884 (pltexit): Likewise.
28885 (La_regs): Likewise.
28886 (La_retval): Likewise.
28887 (int_retval): Likewise.
28888 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28890 (pltexit): Likewise.
28891 (La_regs): Likewise.
28892 (La_retval): Likewise.
28893 (int_retval): Likewise.
28894 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28896 (pltexit): Likewise.
28897 (La_regs): Likewise.
28898 (La_retval): Likewise.
28899 (int_retval): Likewise.
28900 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28902 (pltexit): Likewise.
28903 (La_regs): Likewise.
28904 (La_retval): Likewise.
28905 (int_retval): Likewise.
28906 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28907 macro definitions in tst-audit.h.
28908 * sysdeps/i386/tst-audit.h: New file.
28909 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28910 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28911 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28912 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28913 * sysdeps/sh/tst-audit.h: Likewise.
28914 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28915 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28916 * sysdeps/x86_64/tst-audit.h: Likewise.
28918 2012-07-26 Andreas Jaeger <aj@suse.de>
28920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28923 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28924 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28925 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28927 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28928 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28929 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28931 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28934 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28936 (si_call_addr, si_syscall, si_arch): Define new macro.
28937 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28939 (si_call_addr, si_syscall, si_arch): Define new marcro.
28940 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28942 (si_call_addr, si_syscall, si_arch): Define new macro.
28943 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28945 (si_call_addr, si_syscall, si_arch): Define new macro.
28947 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28951 Change to 2.4.21 where previously 2.4.1.
28952 * sysdeps/unix/sysv/linux/configure: Regenerated.
28953 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28954 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28955 Linux kernel version.
28956 (__ASSUME_STD_AUXV): Remove.
28957 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28959 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28960 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28961 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28962 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28963 (__ASSUME_NETLINK_SUPPORT): Likewise.
28964 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28965 (__no_netlink_support): Remove conditional definition.
28966 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28968 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28969 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28970 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28971 (if_nameindex_ioctl): Remove.
28972 (if_nameindex_netlink): Do not handle __no_netlink_support.
28973 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28975 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28976 Remove conditional code.
28977 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28979 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28981 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28982 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28983 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28985 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28986 [!__ASSUME_STD_AUXV]: Remove conditional code.
28987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28988 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28989 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28991 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28992 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28994 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28996 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28997 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28999 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29001 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29004 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29007 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29008 code unconditional.
29009 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29011 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29013 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29016 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29018 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29021 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29022 code unconditional.
29023 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29025 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29027 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29030 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29031 code unconditional.
29032 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29034 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29036 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29039 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29041 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29042 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29043 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29044 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29045 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29046 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29047 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29048 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29049 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29050 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29051 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29052 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29053 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29054 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29055 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29056 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29057 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29058 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29059 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29062 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29065 2012-07-25 Florian Weimer <fweimer@redhat.com>
29067 * Versions.def: Add GLIBC_2.17.
29068 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29069 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29070 Introduce __libc_secure_getenv.
29071 * stdlib/Versions (2.17): Add secure_getenv
29072 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29073 * stdlib/secure-getenv.c: Rename __secure_getenv to
29074 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29075 symbol __secure_getenv for GLIBC_2.0.
29076 * stdlib/tst-secure-getenv.c: New.
29077 * stdlib/Makefile (tests): Add testcase.
29078 * manual/startup.texi (Environment Access): Document
29080 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29081 __libc_secure_getenv.
29082 * inet/ruserpass.c (ruserpass): Likewise.
29083 * malloc/mtrace.c (mtrace): Likewise.
29084 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29085 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29086 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29087 * sysdeps/posix/tempname.c: Likewise. Evaluate
29088 HAVE_SECURE_GETENV.
29089 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29090 __secure_getenv to __libc_secure_getenv.
29091 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29104 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29106 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29107 (struct La_i86_retval): Likewise.
29108 (struct La_x86_64_regs): Likewise.
29109 (struct La_x86_64_retval): Likewise.
29110 (struct La_x32_regs): Likewise.
29111 (struct La_x32_retval): Likewise.
29112 (struct La_ppc32_regs): Likewise.
29113 (struct La_ppc32_retval): Likewise.
29114 (struct La_ppc64_regs): Likewise.
29115 (struct La_ppc64_retval): Likewise.
29116 (struct La_sh_regs): Likewise.
29117 (struct La_sh_retval): Likewise.
29118 (struct La_s390_32_regs): Likewise.
29119 (struct La_s390_32_retval): Likewise.
29120 (struct La_s390_64_regs): Likewise.
29121 (struct La_s390_64_retval): Likewise.
29122 (struct La_sparc32_regs): Likewise.
29123 (struct La_sparc32_retval): Likewise.
29124 (struct La_sparc64_regs): Likewise.
29125 (struct La_sparc64_retval): Likewise.
29126 (struct audit_ifaces): Remove architecture-specific pltenter and
29128 * sysdeps/i386/ldsodefs.h: New file.
29129 * sysdeps/powerpc/ldsodefs.h: Likewise.
29130 * sysdeps/s390/ldsodefs.h: Likewise.
29131 * sysdeps/sh/ldsodefs.h: Likewise.
29132 * sysdeps/sparc/ldsodefs.h: Likewise.
29133 * sysdeps/x86_64/ldsodefs.h: Likewise.
29135 2012-07-25 Marek Polacek <polacek@redhat.com>
29138 * math/libm-test.inc (yn_test): Add another test.
29139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29140 to ERANGE when the result is +-Inf.
29141 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29142 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29143 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29144 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29146 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29148 * conform/data/time.h-data (NULL): Use macro-constant. Require
29150 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29152 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29154 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29156 * configure.in <sysdeps resolving>: Correct printing
29158 * configure: Regenerate.
29160 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29162 * math/w_ilogb.c: Include <limits.h>.
29163 * math/w_ilogbl.c: Likewise.
29165 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29167 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29168 va_copy. Document allowing for unavailable va_copy only as
29169 pre-C99 compatibility.
29170 * manual/string.texi (Copying and Concatenation): Use va_copy
29171 instead of __va_copy in concat example.
29173 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29175 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29176 (__sendto): Use create_address_port. Initialize APORT and deallocate
29179 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29180 with O_NOLINK passed to __file_name_lookup.
29182 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29183 with O_NOLINK passed to __file_name_lookup.
29185 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29186 negative N or less than NGIDS.
29188 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29189 type to string_t. Set ERANGE as errno and return it if NAME is not big
29190 enough. Use memcpy instead of strncpy.
29192 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29194 * elf/Makefile (check-data): Remove.
29195 (localplt.data): New vpath directive.
29196 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29197 instead of $(check-data).
29198 * scripts/data/localplt-generic.data: Move to ...
29199 * sysdeps/generic/localplt.data: ... here.
29200 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29201 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29202 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29205 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29208 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29211 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29214 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29217 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29221 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29223 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29224 PPC32 and PPC64 files.
29225 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29226 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29228 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29230 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29231 __makecontext_ret to ...
29232 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29233 ... here and call exit if uc_link is NULL. New file.
29234 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29235 __makecontext_ret.S.
29236 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29237 __makecontext_ret to ...
29238 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29239 ... here and call exit if uc_link is NULL. New file.
29240 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29241 __makecontext_ret.S.
29243 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29245 * elf/elf.h (R_390_IRELATIVE): New definition.
29246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29247 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29248 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29249 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29250 (elf_machine_lazy_rel): Likewise.
29251 * sysdeps/s390/dl-irel.h: New file.
29252 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29253 * sysdeps/s390/s390-64/memset.S: New asm code.
29254 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29255 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29256 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29257 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29258 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29259 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29260 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29261 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29262 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29263 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29264 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29265 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29266 * sysdeps/s390/s390-32/memset.S: New asm code.
29267 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29269 2012-07-17 Marek Polacek <polacek@redhat.com>
29272 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29273 * sysdeps/s390/s390-64/configure.in: Likewise.
29274 * sysdeps/sparc/configure.in: Likewise.
29275 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29276 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29277 * sysdeps/i386/configure.in: Likewise.
29278 * sysdeps/x86_64/configure.in: Likewise.
29279 * sysdeps/sh/configure.in: Likewise.
29280 * sysdeps/s390/s390-32/configure: Regenerated.
29281 * sysdeps/s390/s390-64/configure: Likewise.
29282 * sysdeps/x86_64/configure: Likewise.
29283 * sysdeps/sh/configure: Likewise.
29284 * sysdeps/powerpc/powerpc64/configure: Likewise.
29285 * sysdeps/powerpc/powerpc32/configure: Likewise.
29286 * sysdeps/sparc/configure: Likwise.
29287 * sysdeps/i386/configure: Likewise.
29289 * elf/dl-open.c: Comment fixes.
29291 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29293 * Makefile [CXX] (check-data): Remove.
29294 [CXX] (c++-types.data): New vpath directive.
29295 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29296 vpath. Do not allow for C++ type data being missing.
29297 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29298 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29299 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29300 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29301 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29302 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29303 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29306 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29309 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29312 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29315 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29318 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29321 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29324 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29327 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29328 definitions to architecture-specific files.
29329 (TLS_IE): Likewise.
29330 (TLS_LD): Likewise.
29331 (TLS_GD): Likewise.
29332 * sysdeps/i386/tls-macros.h: New file.
29333 * sysdeps/powerpc/tls-macros.h: Likewise.
29334 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29335 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29336 * sysdeps/sh/tls-macros.h: Likewise.
29337 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29338 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29339 * sysdeps/x86_64/tls-macros.h: Likewise.
29341 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29343 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29344 zero value for regular exit case.
29346 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29347 (__start_context): Preserve zero value for regular exit case.
29349 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29350 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29352 * manual/setjmp.texi (setcontext): Clarify normal process
29353 termination when uc_link is the null pointer.
29354 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29357 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29359 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29360 preprocessor. Test for each exception mask separately.
29362 2012-07-16 Andreas Jaeger <aj@suse.de>
29364 * po/ru.po: Update from translation team.
29366 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29368 * conform/data/string.h-data (NULL): Use macro-constant. Require
29370 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29371 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29372 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29373 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29376 2012-07-13 Andreas Jaeger <aj@suse.de>
29378 * po/fr.po: Update from translation team.
29380 2012-07-12 Marek Polacek <polacek@redhat.com>
29383 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29384 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29387 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29391 Change to 2.4.1 where previously 2.4.0.
29392 * sysdeps/unix/sysv/linux/configure: Regenerated.
29393 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29394 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29396 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29397 (__ASSUME_AT_CLKTCK): Remove.
29398 (__ASSUME_AT_PAGESIZE): Likewise.
29399 (__ASSUME_AT_XID): Likewise.
29400 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29401 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29402 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29404 (HAVE_AUX_PAGESIZE): Likewise.
29405 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29406 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29407 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29409 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29413 the temporary buffer used to invoke __gethostbyname2_r,
29414 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29415 host_data / struct gaih_addrtuple.
29416 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29417 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29418 header file nss/nsswitch.h.
29419 * nss/nsswitch.h (global scope): Add definition of implementation
29420 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29421 resolv/nss_dns/dns-host.c).
29423 2012-07-11 Andreas Jaeger <aj@suse.de>
29425 * po/fr.po: Update from translation team.
29427 * po/sv.po: Update from translation team
29428 * po/fr.po: Another update from translation team.
29430 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29432 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29433 for subnormals or multiply small sinh result by itself.
29434 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29437 2012-07-11 David S. Miller <davem@davemloft.net>
29439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29441 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29444 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29445 (INTERNAL_MARK): Shift it here.
29447 2012-07-10 Marek Polacek <polacek@redhat.com>
29450 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29451 libc_cv_asm_global_directive with .globl.
29452 * configure: Regenerated.
29453 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29455 * sysdeps/i386/configure: Regenerated.
29456 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29458 * sysdeps/x86_64/configure: Regenerated.
29459 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29460 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29461 * elf/tst-unique2mod2.c: Likewise.
29462 * elf/tst-unique2mod1.c: Likewise.
29463 * elf/tst-unique1mod2.c: Likewise.
29464 * elf/tst-unique1mod1.c: Likewise.
29465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29466 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29468 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29469 * sysdeps/mach/sysdep.h: Likewise.
29470 * sysdeps/i386/sysdep.h: Likewise.
29471 * sysdeps/i386/i386-mcount.S: Likewise.
29472 * sysdeps/x86_64/_mcount.S: Likewise.
29473 * sysdeps/x86_64/sysdep.h: Likewise.
29474 * sysdeps/sh/_mcount.S: Likewise.
29475 * sysdeps/sh/sysdep.h: Likewise.
29476 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29477 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29478 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29480 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29481 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29482 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29483 * locale/localeinfo.h: Likewise.
29484 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29485 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29487 2012-07-09 Roland McGrath <roland@hack.frob.com>
29490 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29492 * manual/message.texi (The Uniforum approach): Likewise.
29493 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29494 (glibc iconv Implementation): Likewise.
29496 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29499 * math/s_clog.c (__clog): Avoid scaling a value down where that
29500 could result in underflow.
29501 * math/s_clog10.c (__clog10): Likewise.
29502 * math/s_clog10f.c (__clog10f): Likewise.
29503 * math/s_clog10l.c (__clog10l): Likewise.
29504 * math/s_clogf.c (__clogf): Likewise.
29505 * math/s_clogl.c (__clogl): Likewise.
29506 * math/libm-test.inc (clog_test): Add more tests.
29507 (clog10_test): Likewise.
29508 * sysdeps/i386/fpu/libm-test-ulps: Update.
29509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29511 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29514 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29515 by 7 not 8 to examine high bit of fractional part.
29518 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29519 for call to __mcount_internal.
29520 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29521 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29522 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29524 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29527 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29528 approximation for values within 0x1p-13f of an odd multiple of
29530 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29531 exception. Add more tests.
29532 * sysdeps/i386/fpu/libm-test-ulps: Update.
29535 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29536 inputs and return -1 for them. Do not check for +Inf in case not
29537 reachable for +Inf.
29538 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29539 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29540 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29541 and return -1 for them. Do not check for +Inf in case not
29542 reachable for +Inf.
29543 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29545 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29546 and return -1 for them. Do not check for +Inf in case not
29547 reachable for +Inf.
29548 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29549 spurious underflow.
29550 * sysdeps/i386/fpu/libm-test-ulps: Update.
29551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29553 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29555 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29557 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29561 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29562 could result in spurious underflow. Scale down values above
29563 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29564 * math/s_csqrtf.c (__csqrtf): Likewise.
29565 * math/s_csqrtl.c (__csqrtl): Likewise.
29566 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29567 spurious underflow.
29568 * sysdeps/i386/fpu/libm-test-ulps: Update.
29569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29571 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29573 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29575 * catgets/xopen-msg.awk: New file.
29576 * catgets/xopen-msg.sed: Removed.
29578 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29580 * intl/po2test.awk: New file.
29581 * intl/po2test.sed: Removed.
29583 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29586 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29587 or multiply small sinh result by itself.
29588 * math/s_ctanf.c (__ctanf): Likewise.
29589 * math/s_ctanh.c (__ctanh): Likewise.
29590 * math/s_ctanhf.c (__ctanhf): Likewise.
29591 * math/s_ctanhl.c (__ctanhl): Likewise.
29592 * math/s_ctanl.c (__ctanl): Likewise.
29593 * math/libm-test.inc (ctan_test_tonearest): New function.
29594 (ctan_test_towardzero): Likewise.
29595 (ctan_test_downward): Likewise.
29596 (ctan_test_upward): Likewise.
29597 (ctanh_test_tonearest): Likewise.
29598 (ctanh_test_towardzero): Likewise.
29599 (ctanh_test_downward): Likewise.
29600 (ctanh_test_upward): Likewise.
29601 (main): Call these new functions.
29602 * sysdeps/i386/fpu/libm-test-ulps: Update.
29603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29605 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29607 * .gitignore: Delete /ports entry.
29609 2012-07-03 Andreas Jaeger <aj@suse.de>
29611 * po/bg.po: Update from translation team.
29612 * po/cs.po: Likewise.
29613 * po/de.po: Likewise.
29614 * po/hr.po: Likewise.
29615 * po/nl.pl: Likewise.
29616 * po/pl.po: Likewise.
29617 * po/vi.po: Likewise.
29619 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29621 * Makeconfig [!+link] (+link-before-libc): New variable.
29622 [!+link] (+link-after-libc): Likewise.
29623 [!+link] (+link-tests): Likewise.
29624 [!+link] (+link): Define in terms of $(+link-before-libc) and
29625 $(+link-after-libc).
29626 [!+link-static] (+link-static-before-libc): New variable.
29627 [!+link-static] (+link-static-after-libc): Likewise.
29628 [!+link-static] (+link-static-tests): Likewise.
29629 [!+link-static] (+link-static): Define in terms of
29630 $(+link-static-before-libc) and $(+link-static-after-libc).
29631 [build-shared] (link-libc-before-gnulib): New variable.
29632 [build-shared] (link-libc-tests): Likewise.
29633 [build-shared] (link-libc): Define in terms of
29634 $(link-libc-before-gnulib).
29635 [!build-shared] (link-libc-tests): New variable.
29636 (link-libc-static-tests): New variable.
29637 [!gnulib] (gnulib-arch): New variable.
29638 [!gnulib] (gnulib-tests): Likewise.
29639 [!gnulib] (static-gnulib-arch): Likewise.
29640 [!gnulib] (static-gnulib-tests): Likewise.
29641 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29642 Define with "=" instead of ":=".
29643 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29644 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29645 * Rules (binaries-all-notests): New variable.
29646 (binaries-all-tests): Likewise.
29647 (binaries-static-notests): Likewise.
29648 (binaries-static-tests): Likewise.
29649 (binaries-all): Define using $(binaries-all-notests) and
29650 $(binaries-all-tests).
29651 (binaries-static): Define using $(binaries-static-notests) and
29652 $(binaries-static-tests).
29653 (binaries-shared-tests): New variable.
29654 (binaries-shared-notests): Likewise.
29655 (binaries-shared): Remove variable.
29656 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29657 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29658 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29659 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29660 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29661 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29662 * elf/Makefile (sln-modules): New variable.
29663 (extra-objs): Add $(sln-modules:=.o).
29664 (ldconfig-modules): Add static-stubs.
29665 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29666 * elf/static-stubs.c: New file.
29669 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29670 by 7 not 8 to examine high bit of fractional part. Use volatile
29671 variables when splitting into final array of floats if
29672 __FLT_EVAL_METHOD__ != 0.
29673 * math/libm-test.inc (cos_test): Add another test.
29674 (sin_test): Likewise.
29675 * sysdeps/i386/fpu/libm-test-ulps: Update.
29678 * math/libm-test.inc (cosh_test): Add more tests.
29680 * version.h (RELEASE): Set to "development".
29681 (VERSION): Set to "2.16.90".
29683 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29685 * NEWS: Update copyright. Remove last-updated date.
29686 Mention math library bug fixes and timezone data changes.
29687 * README: Mention GNU/Hurd, x32, and HPPA support status.
29689 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29691 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29693 2012-06-27 Andreas Jaeger <aj@suse.de>
29695 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29697 2012-06-25 Andreas Jaeger <aj@suse.de>
29699 * sysdeps/s390/fpu/libm-test-ulps: Update.
29701 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29702 Thomas Schwinge <thomas@codesourcery.com>
29704 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29705 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29709 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29711 * sysdeps/mach/start.c: Remove file.
29712 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29713 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29714 * sysdeps/sh/init-first.c: Likewise.
29716 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29717 registers for frame unwinding purposes, add CFI directives.
29718 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29719 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29720 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29723 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29724 __fortify_fail returning.
29725 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29727 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29728 sysdeps/sh/____longjmp_chk.S.
29729 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29730 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29731 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29732 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29734 * sysdeps/sh/abort-instr.h: New file.
29735 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29736 process in case exit returns.
29738 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29739 initialize the GOT register before use.
29741 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29742 calculation of ARGC > 4.
29744 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29745 meaningful names to some local labels.
29747 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29748 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29750 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29751 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29752 (__arch_compare_and_exchange_val_16_acq): Likewise.
29753 (__arch_compare_and_exchange_val_32_acq): Likewise.
29754 (atomic_exchange_and_add): Fix gUSA sequence.
29755 (atomic_add): Likewise.
29756 (atomic_add_negative): Likewise.
29757 (atomic_add_zero): Likewise.
29758 (atomic_bit_test_set): Likewise.
29760 2012-06-22 Andreas Schwab <schwab@redhat.com>
29763 * include/link.h (struct link_map): Add l_free_initfini.
29764 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29766 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29767 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29768 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29771 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29773 * configure.in: Use AC_LANG_SOURCE.
29774 * configure: Regenerate.
29776 2012-06-22 Roland McGrath <roland@hack.frob.com>
29778 * configure.in (libc_cv_localstatedir): New substituted variable.
29779 * configure: Regenerated.
29780 * config.make.in (localstatedir): New variable, substituted from
29781 libc_cv_localstatedir.
29782 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29783 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29784 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29785 * sysdeps/gnu/configure: Regenerated.
29787 2012-06-21 Jeff Law <law@redhat.com>
29790 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29791 free. Simplify list management for _LIBC case.
29793 2012-06-21 Joseph Myers <joseph@codesourcery.com>
29796 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29797 Clear sign bit of 64-bit integer value before comparing against
29800 * sysdeps/mach/configure: Regenerated.
29802 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29805 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29807 2012-06-21 Jeff Law <law@redhat.com>
29810 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29811 uint16_t for elements in the "seen" array to avoid char overflows.
29812 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29813 * elf/dl-open.c (dl_open_worker): Likewise.
29815 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29817 * scripts/list-sources.sh: Scan PORTS for translations.
29818 * po/libc.pot: Regenerated.
29820 2012-06-21 Andreas Jaeger <aj@suse.de>
29823 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29825 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29826 * bits/byteswap-16.h (__bswap_16): Likewise.
29827 * bits/byteswap.h (__bswap_constant_16): Likewise.
29829 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29832 * sysdeps/i386/fpu_control.h: Removed.
29833 * sysdeps/x86_64/fpu_control.h: Moved to ...
29834 * sysdeps/x86/fpu_control.h: Here.
29836 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29837 (_FPU_SETCW): Likewise.
29839 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29842 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29843 * sysdeps/x86/fpu/bits/mathinline.h: This.
29844 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29848 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29849 functions if __x86_64__ is defined.
29851 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29853 * string/endian.h: Add !__ASSEMBLER__ condition for including
29854 conversion interfaces.
29856 2012-06-15 Joseph Myers <joseph@codesourcery.com>
29859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29860 of ABS(x) in calculating zero to negative powers other than odd
29862 * math/libm-test.inc (pow_test): Add more tests.
29864 2012-06-15 Andreas Jaeger <aj@suse.de>
29866 * manual/contrib.texi (Contributors): Update entry of Liubov
29867 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29870 2012-06-15 Cyril Hrubis <metan@ucw.cz>
29872 * string/string.h: Add __wur to GNU version of strerror_r.
29874 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29877 * string/Makefile (tests): Add tst-strtok_r.
29878 * string/tst-strtok_r.c: New file.
29879 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29880 RAX_LP/RDX_LP on SAVE_PTR.
29882 2012-06-14 Roland McGrath <roland@hack.frob.com>
29884 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29886 2012-06-14 Joseph Myers <joseph@codesourcery.com>
29888 * libm_test.inc (csqrt_test): Allow more spurious underflow
29890 (j0_test): Likewise.
29891 (j1_test): Likewise.
29892 (y0_test): Likewise.
29893 (y1_test): Likewise.
29895 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29897 * po/Makefile (libc.pot): Use UTF-8 charset.
29899 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29902 Suppress sign-conversion warning from FD_SET.
29903 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29904 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29905 not unsigned long int.
29906 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29908 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29912 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29913 __extern_always_inline instead of __extern_inline.
29914 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29915 (__signbit): Likewise.
29916 (__signbitl): Support C++ namespace.
29917 (lrintf): New inline function.
29919 (llrintf): Likewise.
29920 (llrint): Likewise.
29930 (floorf): Likewise.
29931 (nearbyint): Likewise.
29932 (nearbyintf): Likewise.
29934 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29936 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29937 non-default versions.
29939 2012-06-11 Roland McGrath <roland@hack.frob.com>
29942 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29944 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29946 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29947 (FE_UPWARD, FE_DOWNWARD): Don't define.
29948 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29949 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29951 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29953 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29954 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29956 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29958 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29960 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29961 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29963 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29966 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29967 * sysdeps/i386/fpu/Implies: New file.
29968 * sysdeps/x86_64/fpu/Implies: Likewise.
29969 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29970 * sysdeps/x86/fpu/bits/fenv.h: This.
29972 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29975 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29978 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29979 character 0xffff that matches the last element of the
29982 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29984 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29987 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29989 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29990 values higher than 25.6283.
29992 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29994 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29995 subnormal exponent extraction and add some __builtin_expect.
29996 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29997 Fix for subnormal mantissa calculation.
29999 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30001 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30002 cpu2 is -1 and errno is not ENOSYS.
30004 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30007 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30008 * sysdeps/x86/bits/string.h: This.
30009 * sysdeps/x86_64/bits/string.h: Removed.
30011 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30012 if not compiling for x86-64, but compiling for >= i486.
30014 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30015 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30017 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30018 New macro from Linux kernel 3.4.0.
30019 (FP_XSTATE_MAGIC2): Likewise.
30020 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30021 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30022 (struct _fpx_sw_bytes): New struct.
30023 (struct _xsave_hdr): Likewise.
30024 (struct _ymmh_state): Likewise.
30025 (struct _xstate): Likewise.
30027 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30028 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30029 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30030 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30031 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30032 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30034 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30035 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30036 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30037 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30038 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30039 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30041 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30044 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30045 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30046 (sysdep_headers): Include sys/platform/ppc.h.
30047 * sysdeps/powerpc/test-gettimebase.c: Test for
30048 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30049 * manual/Makefile (appendices): Include platform.texi.
30050 * manual/contrib.texi (Contributors): Update @node pointers.
30051 * manual/maint.texi (Maintenance): Likewise.
30052 (Platform): New node.
30053 * manual/platform.texi: New file. Document the new features.
30055 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30056 Jakub Jelinek <jakub@redhat.com>
30059 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30060 where __builtin_expect is unavailable.
30062 2012-06-03 David S. Miller <davem@davemloft.net>
30064 * stdlib/longlong.h: Updated from GCC.
30066 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30069 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30070 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30073 (GLIBC_2.16): Likewise.
30075 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30077 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30079 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30082 (default-abi): New variable.
30083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30084 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30086 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30088 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30090 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30093 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30094 definition. Document in comment.
30096 2012-06-01 David S. Miller <davem@davemloft.net>
30098 * stdlib/longlong.h: Updated from GCC.
30100 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30103 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30104 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30105 sys/debugreg.h sys/io.h here.
30106 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30107 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30109 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30110 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30111 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30112 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30113 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30114 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30116 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30117 Define only if __x86_64__ is defined.
30119 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30122 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30123 Use int64_t for variable i.
30124 * math/libm-test.inc (fmod_test): Add more tests.
30126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30127 z computation is not scheduled after fetestexcept.
30128 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30129 Use math_force_eval instead of asm to ensure calculation scheduled
30130 before exception test.
30131 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30132 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30134 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30137 computation is not scheduled after fetestexcept.
30139 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30142 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30143 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30145 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30147 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30148 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30150 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30153 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30155 (__WCHAR_MIN): Support __WORDSIZE == 64.
30156 (__WCHAR_MAX): Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30159 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30162 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30163 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30166 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30167 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30169 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30170 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30172 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30173 Defined to 1 if __x86_64__ isn't defined.
30174 (_STAT_VER_LINUX_OLD): New.
30175 (st_atime): Remove duplicate.
30176 (st_mtime): Likewise.
30177 (st_ctime): Likewise.
30179 2012-05-31 David S. Miller <davem@davemloft.net>
30181 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30184 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30186 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30190 * elf/dl-reloc.c: Include <_itoa.h>.
30191 (_dl_reloc_bad_type): Remove use of INTUSE.
30192 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30193 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30194 * stdio-common/psiginfo.c (psiginfo): Likewise.
30195 * stdio-common/psignal.c (psignal): Likewise.
30196 * string/strsignal.c (strsignal): Likewise.
30197 * include/signal.h (_sys_siglist): Declare hidden proto.
30198 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30199 INTVARDEF with libc_hidden_data_def.
30200 * stdio-common/itoa-udigits.c: Likewise.
30201 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30202 (_itoa_lower_digits_internal): Remove declaration.
30203 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30204 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30205 (_sys_sigabbrev_internal): Remove aliases.
30206 (_sys_siglist): Define hidden alias.
30208 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30213 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30216 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30217 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30219 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30220 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30221 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30222 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30223 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30224 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30226 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30227 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30228 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30230 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30238 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30239 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30240 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30242 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30243 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30244 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30245 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30246 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30247 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30249 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30250 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30252 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30253 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30256 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30257 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30259 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30260 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30262 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30264 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30265 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30266 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30268 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30270 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30272 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30274 * math/math.h (M_El): Use two more decimal places.
30275 (M_LOG2El): Likewise.
30276 (M_LOG10El): Likewise.
30277 (M_LN2l): Likewise.
30278 (M_LN10l): Likewise.
30280 (M_PI_2l): Likewise.
30281 (M_PI_4l): Likewise.
30282 (M_1_PIl): Likewise.
30283 (M_2_PIl): Likewise.
30284 (M_2_SQRTPIl): Likewise.
30285 (M_SQRT2l): Likewise.
30286 (M_SQRT1_2l): Likewise.
30288 2012-05-31 David S. Miller <davem@davemloft.net>
30290 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30291 values between float registers.
30292 * sysdeps/sparc/sparc64/memset.S: Likewise.
30293 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30295 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30297 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30298 -D_FORTIFY_SOURCE=1.
30299 (CPPFLAGS-tst-longjmp_chk.c): Define.
30300 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30301 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30302 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30303 CFLAGS-tst-wchar-h.c.
30305 2012-05-31 Marek Polacek <polacek@redhat.com>
30308 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30309 __endmntent_internal): Remove declaration.
30310 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30311 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30312 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30314 2012-05-30 David S. Miller <davem@davemloft.net>
30316 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30317 (___Q_simulate_exceptions): Use real FP ops rather than writing
30319 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30322 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30325 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30326 * sysdeps/x86/bits/xtitypes.h: This.
30328 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30329 * sysdeps/x86/bits/wordsize.h: This.
30331 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30332 * sysdeps/x86/bits/huge_vall.h: This.
30334 * sysdeps/i386/bits/select.h: Removed.
30335 * sysdeps/x86_64/bits/select.h: Renamed to ...
30336 * sysdeps/x86/bits/select.h: This.
30338 * sysdeps/i386/bits/setjmp.h: Removed.
30339 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30340 * sysdeps/x86/bits/setjmp.h: This.
30342 * sysdeps/i386/bits/mathdef.h: Removed.
30343 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30344 * sysdeps/x86/bits/mathdef.h: This.
30346 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30349 * include/sys/socket.h (__connect_internal)
30350 (__libc_sa_len_internal): Remove declaration.
30351 (__connect, __libc_sa_len): Declare hidden_proto.
30352 (SA_LEN): Remove use of INTUSE.
30353 * socket/connect.c: Add libc_hidden_def.
30354 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30355 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30356 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30358 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30359 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30360 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30361 of adding _internal alias.
30363 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30366 * sysdeps/i386/bits/link.h: Removed.
30367 * sysdeps/i386/bits/linkmap.h: Likewise.
30368 * sysdeps/x86_64/bits/link.h: Renamed to ...
30369 * sysdeps/x86/bits/link.h: This.
30370 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30371 * sysdeps/x86/bits/linkmap.h: This.
30373 * sysdeps/i386/bits/endian.h: Removed.
30374 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30375 * sysdeps/x86/bits/endian.h: This.
30377 * sysdeps/i386/bits/byteswap.h: Removed.
30378 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30379 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30380 * sysdeps/x86/bits/byteswap.h: This.
30381 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30382 * sysdeps/x86/bits/byteswap-16.h: This.
30383 * sysdeps/i386/Implies: Add x86.
30384 * sysdeps/x86_64/Implies: Likewise.
30386 2012-05-30 David S. Miller <davem@davemloft.net>
30388 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30389 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30390 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30391 (FP_TRAPPING_EXCEPTIONS): Define.
30392 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30393 (FP_TRAPPING_EXCEPTIONS): Define.
30394 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30395 subnormals only when inexact has been signalled or underflow
30396 exceptions are enabled.
30397 (_FP_PACK_CANONICAL): Likewise.
30399 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30402 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30403 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30405 2012-05-30 Richard Henderson <rth@twiddle.net>
30407 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30408 with #ifndef NOT_IN_libc.
30410 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30411 marked to avoid plt entry.
30413 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30416 * Makeconfig (default-abi): New macro.
30417 (abi-includes): Likewise.
30418 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30419 $(abi-$(default-abi)-lib-soname) for soname if defined.
30420 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30422 * Makefile (installed-stubs): Likewise.
30423 * include/stubs-biarch.h: Removed.
30424 * scripts/lib-names.awk: Only handle one library at a time.
30425 * scripts/soversions.awk: Remove WORDSIZE support.
30426 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30428 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30430 (syscall-list-default-condition): Likewise.
30431 (syscall-list-default-condition): Likewise.
30432 (syscall-list-includes): Likewise.
30433 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30434 syscall-list-* with abi-*. Handle undefined abi-variants.
30435 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30436 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30437 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30438 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30440 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30442 (syscall-list-32-options): Likewise.
30443 (syscall-list-32-condition): Likewise.
30444 (syscall-list-64-options): Likewise.
30445 (syscall-list-64-condition): Likewise.
30446 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30448 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30451 (abi-64-ld-soname): New macro.
30452 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30453 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30456 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30457 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30459 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30461 * sysdeps/unix/sysv/linux/kernel-features.h
30462 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30463 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30464 include <kernel-features.h>.
30465 [!__NR_ftruncate64]: Remove conditional code.
30466 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30467 [__NR_ftruncate64]: Make code unconditional.
30468 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30469 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30470 include <kernel-features.h>.
30471 [!__NR_ftruncate64]: Remove conditional code.
30472 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30473 [__NR_ftruncate64]: Make code unconditional.
30474 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30476 include <kernel-features.h>.
30477 [!__NR_ftruncate64]: Remove conditional code.
30478 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30479 [__NR_ftruncate64]: Make code unconditional.
30480 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30482 include <kernel-features.h>.
30483 [!__NR_ftruncate64]: Remove conditional code.
30484 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30485 [__NR_ftruncate64]: Make code unconditional.
30486 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30488 * configure.in (libc_cv_fpie): Weaken to a compile test using
30489 LIBC_TRY_CC_OPTION.
30490 * configure: Regenerated.
30492 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30507 2012-05-27 David S. Miller <davem@davemloft.net>
30509 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30511 (__Q_simulate_exceptions): Return void. Change to simulate
30512 exceptions by writing into the %fsr.
30513 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30514 (__Qp_handle_exceptions): Likewise.
30516 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30517 __Qp_handle_exceptions.
30518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30519 __Qp_handle_exceptions.
30520 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30521 as unused and give dummy FP_RND_NEAREST initializer.
30522 (FP_INHIBIT_RESULTS): Define.
30523 (___Q_simulate_exceptions): Update declaration.
30524 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30526 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30527 as unused and give dummy FP_RND_NEAREST initializer.
30528 (__Qp_handle_exceptions): Update declaration.
30529 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30532 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30534 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30535 the temporary FPU control word.
30536 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30537 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30538 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30539 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30540 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30541 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30542 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30543 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30544 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30545 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30546 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30548 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30550 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30553 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30555 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30556 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30557 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30558 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30560 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30561 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30564 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30566 * po/h.po: Update from translation team.
30568 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30570 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30572 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30573 handling of denormals.
30574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30575 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30576 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30577 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30578 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30583 2012-05-26 Marek Polacek <polacek@redhat.com>
30586 * math/libm-test.inc (fma_test): Don't always expect underflow
30589 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30592 * elf/tst-execstack.c: Include stackinfo.h.
30593 (do_test): Adjust test case to ensure that pthread_getattr_np
30594 behaviour remains the same after marking stack executable.
30596 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30598 * sysdeps/unix/sysv/linux/kernel-features.h
30599 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30600 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30602 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30603 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30604 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30606 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30607 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30609 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30611 * configure.in: Define the default includes to being none.
30612 * configure: Regenerated.
30614 2012-05-25 Roland McGrath <roland@hack.frob.com>
30616 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30617 * sysdeps/x86_64/setjmp.S: Likewise.
30618 * sysdeps/i386/bsd-setjmp.S: Likewise.
30619 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30620 * sysdeps/i386/setjmp.S: Likewise.
30621 * sysdeps/i386/__longjmp.S: Likewise.
30622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30623 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30625 * include/stap-probe.h: New file.
30626 * configure.in: Handle --enable-systemtap.
30627 * configure: Regenerated.
30628 * config.h.in (USE_STAP_PROBE): New #undef.
30629 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30630 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30631 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30633 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30637 to 2.4.0 where earlier.
30638 * sysdeps/unix/sysv/linux/configure: Regenerated.
30639 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30640 <kernel-features.h>.
30641 [__ASSUME_32BITUIDS]: Make code unconditional.
30642 [!__ASSUME_32BITUIDS]: Remove conditional code.
30643 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30644 <kernel-features.h>.
30645 [__ASSUME_32BITUIDS]: Make code unconditional.
30646 [!__ASSUME_32BITUIDS]: Remove conditional code.
30647 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30648 [__ASSUME_32BITUIDS]: Make code unconditional.
30649 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30650 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30651 <kernel-features.h>.
30652 [__ASSUME_32BITUIDS]: Make code unconditional.
30653 [!__ASSUME_32BITUIDS]: Remove conditional code.
30654 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30655 <kernel-features.h>.
30656 [__ASSUME_32BITUIDS]: Make code unconditional.
30657 [!__ASSUME_32BITUIDS]: Remove conditional code.
30658 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30659 <kernel-features.h>.
30660 [__ASSUME_32BITUIDS]: Make code unconditional.
30661 [!__ASSUME_32BITUIDS]: Remove conditional code.
30662 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30663 <kernel-features.h>.
30664 [__ASSUME_32BITUIDS]: Make code unconditional.
30665 [!__ASSUME_32BITUIDS]: Remove conditional code.
30666 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30667 <kernel-features.h>.
30668 [__ASSUME_32BITUIDS]: Make code unconditional.
30669 [!__ASSUME_32BITUIDS]: Remove conditional code.
30670 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30671 <kernel-features.h>.
30672 [__ASSUME_32BITUIDS]: Make code unconditional.
30673 [!__ASSUME_32BITUIDS]: Remove conditional code.
30674 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30675 <kernel-features.h>.
30676 [__ASSUME_32BITUIDS]: Make code unconditional.
30677 [!__ASSUME_32BITUIDS]: Remove conditional code.
30678 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30679 <kernel-features.h>.
30680 [__ASSUME_32BITUIDS]: Make code unconditional.
30681 [!__ASSUME_32BITUIDS]: Remove conditional code.
30682 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30683 <kernel-features.h>.
30684 [__ASSUME_32BITUIDS]: Make code unconditional.
30685 [!__ASSUME_32BITUIDS]: Remove conditional code.
30686 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30687 <kernel-features.h>.
30688 [__ASSUME_32BITUIDS]: Make code unconditional.
30689 [!__ASSUME_32BITUIDS]: Remove conditional code.
30690 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30691 <kernel-features.h>.
30692 [__NR_setresgid] (__setresgid): Do not declare.
30693 [__ASSUME_32BITUIDS]: Make code unconditional.
30694 [!__ASSUME_32BITUIDS]: Remove conditional code.
30695 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30696 <kernel-features.h>.
30697 [__NR_setresuid] (__setresuid): Do not declare.
30698 [__ASSUME_32BITUIDS]: Make code unconditional.
30699 [!__ASSUME_32BITUIDS]: Remove conditional code.
30700 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30701 <kernel-features.h>.
30702 [__ASSUME_32BITUIDS]: Make code unconditional.
30703 [!__ASSUME_32BITUIDS]: Remove conditional code.
30704 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30705 <kernel-features.h>.
30706 [__ASSUME_32BITUIDS]: Make code unconditional.
30707 [!__ASSUME_32BITUIDS]: Remove conditional code.
30708 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30709 <kernel-features.h>.
30710 [__ASSUME_32BITUIDS]: Make code unconditional.
30711 [!__ASSUME_32BITUIDS]: Remove conditional code.
30712 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30713 <kernel-features.h>.
30714 [__ASSUME_32BITUIDS]: Make code unconditional.
30715 [!__ASSUME_32BITUIDS]: Remove conditional code.
30716 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30717 <kernel-features.h>.
30718 [__ASSUME_32BITUIDS]: Make code unconditional.
30719 [!__ASSUME_32BITUIDS]: Remove conditional code.
30720 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30721 <kernel-features.h>.
30722 [__ASSUME_32BITUIDS]: Make code unconditional.
30723 [!__ASSUME_32BITUIDS]: Remove conditional code.
30724 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30725 <kernel-features.h>.
30726 [__ASSUME_32BITUIDS]: Make code unconditional.
30727 [!__ASSUME_32BITUIDS]: Remove conditional code.
30728 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30729 <kernel-features.h>.
30730 [__ASSUME_32BITUIDS]: Make code unconditional.
30731 [!__ASSUME_32BITUIDS]: Remove conditional code.
30732 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30733 <kernel-features.h>.
30734 [__ASSUME_32BITUIDS]: Make code unconditional.
30735 [!__ASSUME_32BITUIDS]: Remove conditional code.
30736 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30737 <kernel-features.h>.
30738 [__ASSUME_32BITUIDS]: Make code unconditional.
30739 [!__ASSUME_32BITUIDS]: Remove conditional code.
30740 * sysdeps/unix/sysv/linux/kernel-features.h
30741 (__ASSUME_SETRESUID_SYSCALL): Remove.
30742 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30743 (__ASSUME_32BITUIDS): Likewise.
30744 (__ASSUME_LDT_WORKS): Likewise.
30745 (__ASSUME_O_DIRECTORY): Likewise.
30746 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30747 architecture but not kernel version.
30748 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30749 (__ASSUME_MMAP2_SYSCALL): Likewise.
30750 (__ASSUME_STAT64_SYSCALL): Likewise.
30751 (__ASSUME_IPC64): Likewise.
30752 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30753 <kernel-features.h>.
30754 [__ASSUME_32BITUIDS]: Make code unconditional.
30755 [!__ASSUME_32BITUIDS]: Remove conditional code.
30756 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30757 <kernel-features.h>.
30758 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30759 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30760 132096]: Remove conditional code.
30761 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30762 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30763 <kernel-features.h>.
30764 [__ASSUME_32BITUIDS]: Make code unconditional.
30765 [!__ASSUME_32BITUIDS]: Remove conditional code.
30766 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30767 <kernel-features.h>.
30768 [__ASSUME_32BITUIDS]: Make code unconditional.
30769 [!__ASSUME_32BITUIDS]: Remove conditional code.
30770 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30771 <kernel-features.h>.
30772 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30774 (__setresgid): Do not declare.
30775 [__ASSUME_32BITUIDS]: Make code unconditional.
30776 [!__ASSUME_32BITUIDS]: Remove conditional code.
30777 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30778 <kernel-features.h>.
30779 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30781 (__setresuid): Do not declare.
30782 [__ASSUME_32BITUIDS]: Make code unconditional.
30783 [!__ASSUME_32BITUIDS]: Remove conditional code.
30784 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30785 <kernel-features.h>.
30786 [__ASSUME_32BITUIDS]: Make code unconditional.
30787 [!__ASSUME_32BITUIDS]: Remove conditional code.
30788 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30789 <kernel-features.h>.
30790 [__ASSUME_32BITUIDS]: Make code unconditional.
30791 [!__ASSUME_32BITUIDS]: Remove conditional code.
30793 2012-05-25 Richard Henderson <rth@twiddle.net>
30795 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30796 dl_hwcap to ifunc resolver.
30797 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30799 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30800 dl_hwcap to ifunc resolver.
30801 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30803 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30806 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30807 for |x| <= 2**-26, not 2**-57.
30808 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30811 2012-05-24 Jeff Law <law@redhat.com>
30813 * stdio-common/Makefile (tests): Add bug25.
30814 * stdio-common/bug25.c: New test.
30816 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30819 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30820 multiple of MALLOC_ALIGNMENT in size.
30821 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30823 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30825 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30827 (FILENAME_MAX): Use macro-int-constant.
30828 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30829 (_IOFBF): Use macro-int-constant.
30830 (_IOLBF): Likewise.
30831 (_IONBF): Likewise.
30832 (SEEK_CUR): Likewise.
30833 (SEEK_END): Likewise.
30834 (SEEK_SET): Likewise.
30835 (TMP_MAX): Likewise.
30836 (EOF): Use macro-int-constant. Require < 0.
30837 (NULL): Use macro-constant. Require == 0.
30838 (stdin): Require type to be FILE *.
30839 (stdout): Likewise.
30840 (stderr): Likewise.
30841 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30842 macro-int-constant.
30843 (EXIT_SUCCESS): Likewise.
30844 (NULL): Use macro-constant. Require == 0.
30845 (RAND_MAX): Use macro-int-constant.
30846 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30847 [C99-based standards] (strtof): Require function.
30848 [C99-based standards] (strtold): Likewise.
30849 [C99-based standards] (strtoll): Likewise.
30850 [C99-based standards] (strtoull): Likewise.
30851 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30852 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30853 [ISO || ISO99 || ISO11] (math.h): Likewise.
30854 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30855 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30858 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30861 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30862 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30863 * intl/dgettext.c (DCGETTEXT): Likewise.
30864 * intl/gettext.c (DCGETTEXT): Likewise.
30865 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30866 * posix/regex_internal.h (gettext): Likewise.
30867 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30868 Remove declaration.
30869 * include/argz.h (__argz_count_internal)
30870 (__argz_stringify_internal): Remove declaration.
30871 (__argz_count, __argz_stringify): Declare hidden proto.
30872 * intl/dcgettext.c: Remove use of INTDEF.
30873 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30874 * string/argz-stringify.c: Likewise.
30875 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30876 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30877 Declare hidden proto.
30878 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30879 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30880 Declare hidden proto.
30881 * include/stdio.h (__asprintf_internal): Don't declare.
30882 (__asprintf): Don't define as macro. Declare hidden proto.
30883 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30884 (__fsetlocking): Declare hidden proto.
30885 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30886 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30888 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30889 (_IO_setlinebuf): Remove use of INTUSE.
30890 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30891 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30892 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30893 Remove declaration.
30894 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30895 (_IO_do_flush): Remove use of INTUSE.
30896 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30897 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30898 (_IO_adjust_column, _IO_least_wmarker)
30899 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30900 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30901 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30902 (_IO_default_doallocate, _IO_wdefault_doallocate)
30903 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30904 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30905 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30906 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30907 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30908 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30909 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30910 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30911 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30912 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30913 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30914 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30915 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30917 (_IO_flush_all_internal, _IO_adjust_column_internal)
30918 (_IO_default_uflow_internal, _IO_default_finish_internal)
30919 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30920 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30921 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30922 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30923 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30924 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30925 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30926 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30927 (_IO_file_close_internal, _IO_file_close_it_internal)
30928 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30929 (_IO_file_init_internal, _IO_file_attach_internal)
30930 (_IO_file_fopen_internal, _IO_file_read_internal)
30931 (_IO_file_sync_internal, _IO_file_seek_internal)
30932 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30933 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30934 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30935 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30936 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30937 (_IO_list_all_internal, _IO_link_in_internal)
30938 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30939 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30940 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30941 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30942 (_IO_do_write_internal, _IO_padn_internal)
30943 (_IO_getline_info_internal, _IO_getline_internal)
30944 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30945 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30946 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30947 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30948 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30949 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30950 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30951 with libc_hidden_ver, remove use of INTUSE.
30952 * libio/genops.c: Likewise.
30953 * libio/freopen.c: Likewise.
30954 * libio/freopen64.c: Likewise.
30955 * libio/iofclose.c: Likewise.
30956 * libio/iofdopen.c: Likewise.
30957 * libio/iofflush.c: Likewise.
30958 * libio/iofflush_u.c: Likewise.
30959 * libio/iofgets.c: Likewise.
30960 * libio/iofgets_u.c: Likewise.
30961 * libio/iofopen.c: Likewise.
30962 * libio/iofopncook.c: Likewise.
30963 * libio/iofread.c: Likewise.
30964 * libio/iofread_u.c: Likewise.
30965 * libio/ioftell.c: Likewise.
30966 * libio/iofwrite.c: Likewise.
30967 * libio/iogetline.c: Likewise.
30968 * libio/iogets.c: Likewise.
30969 * libio/iogetwline.c: Likewise.
30970 * libio/iopadn.c: Likewise.
30971 * libio/iopopen.c: Likewise.
30972 * libio/ioseekoff.c: Likewise.
30973 * libio/ioseekpos.c: Likewise.
30974 * libio/iosetbuffer.c: Likewise.
30975 * libio/iosetvbuf.c: Likewise.
30976 * libio/ioungetc.c: Likewise.
30977 * libio/ioungetwc.c: Likewise.
30978 * libio/iovdprintf.c: Likewise.
30979 * libio/iovsprintf.c: Likewise.
30980 * libio/iovsscanf.c: Likewise.
30981 * libio/memstream.c: Likewise.
30982 * libio/obprintf.c: Likewise.
30983 * libio/oldfileops.c: Likewise.
30984 * libio/oldiofclose.c: Likewise.
30985 * libio/oldiofdopen.c: Likewise.
30986 * libio/oldiofopen.c: Likewise.
30987 * libio/oldiopopen.c: Likewise.
30988 * libio/oldstdfiles.c: Likewise.
30989 * libio/putc.c: Likewise.
30990 * libio/setbuf.c: Likewise.
30991 * libio/setlinebuf.c: Likewise.
30992 * libio/stdfiles.c: Likewise.
30993 * libio/strops.c: Likewise.
30994 * libio/vasprintf.c: Likewise.
30995 * libio/vscanf.c: Likewise.
30996 * libio/vsnprintf.c: Likewise.
30997 * libio/vswprintf.c: Likewise.
30998 * libio/wfiledoalloc.c: Likewise.
30999 * libio/wfileops.c: Likewise.
31000 * libio/wgenops.c: Likewise.
31001 * libio/wmemstream.c: Likewise.
31002 * libio/wstrops.c: Likewise.
31003 * libio/__fpurge.c: Likewise.
31004 * libio/__fsetlocking.c: Likewise.
31005 * assert/assert.c: Likewise.
31006 * debug/fgets_chk.c: Likewise.
31007 * debug/fgets_u_chk.c: Likewise.
31008 * debug/fread_chk.c: Likewise.
31009 * debug/fread_u_chk.c: Likewise.
31010 * debug/gets_chk.c: Likewise.
31011 * debug/obprintf_chk.c: Likewise.
31012 * debug/vasprintf_chk.c: Likewise.
31013 * debug/vdprintf_chk.c: Likewise.
31014 * debug/vsnprintf_chk.c: Likewise.
31015 * debug/vsprintf_chk.c: Likewise.
31016 * malloc/mtrace.c: Likewise.
31017 * misc/error.c: Likewise.
31018 * misc/syslog.c: Likewise.
31019 * stdio-common/asprintf.c: Likewise.
31020 * stdio-common/fxprintf.c: Likewise.
31021 * stdio-common/getw.c: Likewise.
31022 * stdio-common/isoc99_fscanf.c: Likewise.
31023 * stdio-common/isoc99_scanf.c: Likewise.
31024 * stdio-common/isoc99_vfscanf.c: Likewise.
31025 * stdio-common/isoc99_vscanf.c: Likewise.
31026 * stdio-common/isoc99_vsscanf.c: Likewise.
31027 * stdio-common/printf-prs.c: Likewise.
31028 * stdio-common/printf_fp.c: Likewise.
31029 * stdio-common/printf_fphex.c: Likewise.
31030 * stdio-common/printf_size.c: Likewise.
31031 * stdio-common/putw.c: Likewise.
31032 * stdio-common/scanf.c: Likewise.
31033 * stdio-common/sprintf.c: Likewise.
31034 * stdio-common/tmpfile.c: Likewise.
31035 * stdio-common/vfprintf.c: Likewise.
31036 * stdio-common/vfscanf.c: Likewise.
31037 * stdlib/strfmon_l.c: Likewise.
31038 * sunrpc/openchild.c: Likewise.
31039 * sunrpc/xdr_stdio.c: Likewise.
31040 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31041 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31043 2012-05-24 Roland McGrath <roland@hack.frob.com>
31045 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31047 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31048 in the third column, to generate for the shared library an IFUNC
31049 that uses _dl_vdso_vsym.
31050 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31051 * Makeconfig (object-suffixes-noshared): New variable.
31053 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31054 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31055 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31056 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31059 * include/sys/time.h (__gettimeofday): Remove macro.
31060 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31061 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31063 (__gettimeofday): Add libc_hidden_def.
31064 (gettimeofday): Add libc_hidden_weak.
31065 * sysdeps/mach/gettimeofday.c: Likewise.
31066 * sysdeps/posix/gettimeofday.c: Likewise.
31067 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31068 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31070 (__gettimeofday_internal): Remove strong_alias.
31071 (__gettimeofday): Add libc_hidden_def.
31072 (gettimeofday): Add libc_hidden_weak.
31073 * sysdeps/unix/syscalls.list (gettimeofday):
31074 Remove __gettimeofday_internal alias.
31076 2012-05-24 Daniel Jacobowitz <drow@false.org>
31077 H.J. Lu <hongjiu.lu@intel.com>
31080 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31081 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31082 (largebin_index_32_big): New.
31083 (largebin_index): Use it for 16-byte alignment.
31084 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31085 correction with front_misalign.
31087 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31115 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31116 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31118 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31122 * math/libm-test.inc (exp_test): Add test from bug 14036.
31123 (pow_test): Add test from bug 10846.
31125 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31127 (special_function): Do not include flags in test name.
31128 (parse_args): Likewise.
31129 * sysdeps/i386/fpu/libm-test-ulps: Update.
31130 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31131 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31135 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31137 * math/libm-test.inc ("Philosophy"): Update comment about
31139 (UNDERFLOW_EXCEPTION): New macro.
31140 (UNDERFLOW_EXCEPTION_OK): Likewise.
31141 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31142 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31143 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31144 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31145 (INVALID_EXCEPTION_OK): Update value.
31146 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31147 (OVERFLOW_EXCEPTION_OK): Likewise.
31148 (IGNORE_ZERO_INF_SIGN): Likewise.
31149 (test_exceptions): Handle underflow exceptions.
31150 (acos_test): Update for underflow exception expectations.
31151 (cexp_test): Likewise.
31152 (clog_test): Likewise.
31153 (clog10_test): Likewise.
31154 (csqrt_test): Likewise.
31155 (ctan_test): Likewise.
31156 (ctanh_test): Likewise.
31157 (exp_test): Likewise.
31158 (exp10_test): Likewise.
31159 (exp2_test): Likewise.
31160 (expm1_test): Likewise.
31161 (fma_test): Likewise.
31162 (j0_test): Likewise.
31163 (jn_test): Likewise.
31164 (nexttoward_test): Likewise.
31165 (pow_test): Likewise.
31166 (scalbn_test): Likewise.
31167 (scalbln_test): Likewise.
31168 (tan_test): Likewise.
31169 (y1_test): Likewise.
31170 * sysdeps/i386/fpu/libm-test-ulps: Update.
31171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31173 2012-05-23 David S. Miller <davem@davemloft.net>
31175 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31176 (__libc_sigaction): Remove unused local variables.
31178 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31180 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31182 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31184 mktime: avoid signed integer overflow
31185 * time/mktime.c (__mktime_internal): Do not mishandle the case
31186 where diff == INT_MIN.
31188 mktime: simplify computation of average
31189 * time/mktime.c (ranged_convert): Use new time_t_avg function
31190 instead of rolling our own (probably-slower) code.
31192 mktime: do not assume signed right shift propagates sign bit
31193 * time/mktime.c (isdst_differ): New static function.
31194 (__mktime_internal): No need to normalize tm_isdst now.
31195 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31198 mktime: merge another wrapv change from gnulib
31199 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31200 from some compilers.
31202 mktime: remove incorrect attempt at unusual arithmetics
31203 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31204 The code didn't really work on such machines anyway.
31205 (TYPE_MINIMUM): Assume two's complement.
31206 (twos_complement_arithmetic): Verify that long_int and time_t
31207 are two's complement (or unsigned, in the latter case).
31209 mktime: check signed shifts on long_int and time_t, too
31210 * time/mktime.c (SHR): Check that shifts work as desired
31211 on the types long_int and time_t too, as SHR is used on
31214 mktime: do not assume 'long' is wide enough
31215 * time/mktime.c (verify): Move decl up.
31216 (long_int): New type.
31217 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31218 to remove assumption in the code that 'long' is wide enough to
31219 store year values. This assumption is not true on x32 and on
31220 some non-glibc platforms.
31222 mktime: merge wrapv change from gnulib
31223 * time/mktime.c (WRAPV): New macro.
31224 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31225 (guess_time_tm, __mktime_internal): Do not assume that signed
31226 integer overflow wraps around; modern compilers generate code
31227 where this assumption is no longer valid.
31229 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31231 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31232 Replace "jmp L(pseudo_end)" with "ret".
31233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31236 2012-05-23 Andreas Jaeger <aj@suse.de>
31238 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31239 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31241 2012-05-23 Andreas Jaeger <aj@suse.de>
31242 Maximilian Attems <max@stro.at>
31244 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31247 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31249 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31250 code so that pseudo_end is just ret and the stack pointer is
31251 correct also for static library in error case.
31253 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31255 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31256 move to syscalls.list.
31257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31262 * manual/install.texi (Running make install): Do not mention Linux
31263 kernel version for which pt_chown is not needed.
31264 (Linux): Do not mention problems with nscd with 2.0 kernels.
31265 * INSTALL: Regenerated.
31267 2012-05-23 Andreas Jaeger <aj@suse.de>
31269 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31270 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31272 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31273 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31274 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31275 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31276 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31277 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31279 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31280 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31281 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31282 * sysdeps/unix/sysv/linux/bits/in.h
31283 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31285 2012-05-22 Roland McGrath <roland@hack.frob.com>
31287 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31288 (PREPARE_VERSION): Just use assert instead, it will be elided
31289 under [NDEBUG] anyway.
31291 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31293 * sysdeps/unix/sysv/linux/Makefile: Include
31294 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31295 (sysdep_routines): Remove sysctl.
31296 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31297 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31298 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31299 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31300 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31302 2012-05-22 Andreas Jaeger <aj@suse.de>
31304 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31305 that pseudo_end is just ret and the stack pointer is correct also
31306 for static library in error case.
31308 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31311 * nss/nsswitch.c (defconfig_entries): New variable.
31312 (__nss_database_lookup): Don't leak defconfig entries.
31313 (nss_parse_service_list): Don't leak on error paths.
31314 (free_database_entries): New function.
31315 (free_defconfig): New function.
31316 (free_mem): Move common code to free_database_entries.
31318 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31320 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31322 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31324 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31325 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31328 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31329 (INTERNAL_SYSCALL_TYPES): Likewise.
31330 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31331 (LOAD_REGS_TYPES_[1-6]): Likewise.
31332 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31333 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31335 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31337 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31338 copysignl for GLIBC_2_0.
31339 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31340 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31342 logbl for GLIBC_2_0.
31343 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31344 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31346 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31349 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31351 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31354 * time/mktime.c: Update copyright years.
31356 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31358 mktime: merge comment-quoting-style change from gnulib
31359 * time/mktime.c: Quote 'like this' in comments.
31360 The GNU coding standards suggest that we no longer quote `like this',
31361 as "`" and "'" are typically rendered asymmetrically nowadays.
31362 The typical gnulib style is to quote 'like this' when quoting
31363 code, and "like this" when quoting English.
31365 * time/mktime.c (compile-command): Add "-I.".
31367 mktime: merge mktime-internal.h change from gnulib
31368 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31370 mktime: merge time_r change from gnulib
31371 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31373 mktime: merge DEBUG change from gnulib
31374 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31375 case system <time.h> has a #define.
31377 mktime: merge <sys/types.h> change from gnulib
31378 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31379 since <time.t> is now guaranteed to define time_t.
31381 mktime: merge HAVE_CONFIG_H change from gnulib
31382 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31384 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31389 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31391 (struct rusage): Use anonymous union to pad each field to
31394 2012-05-21 David S. Miller <davem@davemloft.net>
31396 * Makefules (o-iterator): Remove .s cases.
31397 (compile-command.s): Delete.
31398 (COMPILE.s): Delete.
31399 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31401 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31403 * configure.in (libc_cv_predef_stack_protector): Only consider
31404 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31405 * configure: Regenerated.
31407 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31410 New macro. Use R*LP on int and pointer.
31411 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31412 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31413 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31414 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31416 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31417 [__WORDSIZE_TIME64_COMPAT32] instead of
31418 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31419 (struct utmp): Likewise.
31420 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31421 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31423 (__WORDSIZE_TIME64_COMPAT32): This.
31424 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31425 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31426 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31427 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31428 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31429 (__WORDSIZE_TIME64_COMPAT32): New macro.
31431 2012-05-21 Andreas Jaeger <aj@suse.de>
31433 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31434 only if [SHARED]. Add prototype for __wcschr_ia32.
31436 2012-05-21 Roland McGrath <roland@hack.frob.com>
31438 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31439 of %rbp unmolested in the jmp_buf while mangling the low bits.
31440 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31441 unmolested high bits of %rbp while demangling the low bits.
31442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31444 2012-05-21 Andreas Jaeger <aj@suse.de>
31446 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31447 * sunrpc/svc_simple.c: Use it for registerrpc.
31448 * sunrpc/xcrypt.c: Use it for passwd2des.
31450 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31452 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31454 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31455 Don't define if [__SYSCALL_WORDSIZE != 32].
31456 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31459 2012-05-21 Bruno Haible <bruno@clisp.org>
31460 Andreas Jaeger <aj@suse.de>
31462 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31463 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31464 inptr and inend for must_buffer_ch.
31465 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31466 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31467 * stdio-common/Makefile (tests): Remove bug15.
31468 (bug15-ENV): Remove macro.
31469 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31472 2012-05-19 Andreas Jaeger <aj@suse.de>
31473 Roland McGrath <roland@hack.frob.com>
31475 * manual/contrib.texi: Completely rewritten. It contains now an
31476 alphabetical list of contributors and their contributions.
31478 2012-05-21 Richard Henderson <rth@twiddle.net>
31480 * misc/getauxval.c (__getauxval): Use unsigned long int.
31481 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31482 (getauxval): Use unsigned long int.
31484 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31486 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31488 2012-05-21 Roland McGrath <roland@hack.frob.com>
31490 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31491 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31492 __alignof__ (long double).
31494 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31498 2012-05-20 Richard Henderson <rth@twiddle.net>
31500 * misc/getauxval.c: New file.
31501 * misc/sys/auxv.h: New file.
31502 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31503 (routines): Add getauxval.
31504 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31505 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31506 * elf/dl-sysdep.c (_dl_auxv): Remove.
31507 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31508 * elf/dl-support.c (_dl_auxv): New variable.
31509 (_dl_aux_init): Initialize it.
31510 * manual/startup.texi (Auxiliary Vector): New node.
31511 * sysdeps/generic/bits/hwcap.h: New file.
31512 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31513 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31514 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31515 * sysdeps/sparc/sysdep.h: ... here. Include it.
31516 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31517 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31523 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31529 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31533 2012-05-19 David S. Miller <davem@davemloft.net>
31535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31537 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31540 * math/s_ccosh.c: Include <float.h>
31541 (__ccosh): Avoid internal overflow calculating sinh and cosh
31542 values before multiplying by sin and cos values.
31543 * math/s_ccoshf.c: Likewise.
31544 * math/s_ccoshl.c: Likewise.
31545 * math/s_csin.c: Likewise.
31546 * math/s_csinf.c: Likewise.
31547 * math/s_csinl.c: Likewise.
31548 * math/s_csinh.c: Likewise.
31549 * math/s_csinhf.c: Likewise.
31550 * math/s_csinhl.c: Likewise.
31551 * math/libm-test.inc (ccos_test): Add more tests.
31552 (ccosh_test): Likewise.
31553 (csin_test): Likewise.
31554 (csinh_test): Likewise.
31555 * sysdeps/i386/fpu/libm-test-ulps: Update.
31556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31558 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31560 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31561 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31563 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31565 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31567 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31568 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31569 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31570 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31571 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31572 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31573 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31574 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31575 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31576 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31577 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31578 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31579 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31580 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31581 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31582 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31583 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31584 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31585 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31586 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31587 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31588 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31589 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31590 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31591 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31592 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31593 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31594 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31595 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31596 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31597 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31599 2012-05-18 Andreas Jaeger <aj@suse.de>
31601 * csu/.gitignore: Delete.
31603 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31605 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31606 (timex): Use __syscall_slong_t.
31608 2012-05-18 Andreas Jaeger <aj@suse.de>
31609 Carlos O'Donell <carlos_odonell@mentor.com>
31611 * manual/install.texi (Configuring and compiling): Update
31612 description about files modified in the source directory.
31613 * INSTALL: Regenerated.
31615 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31617 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31618 value. Use "or" to set return value to -1.
31619 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31620 negate return value.
31622 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31624 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31625 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31626 failure if the compiler has Graphite support disabled.
31627 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31629 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31630 (CFLAGS-memmove.c): Likewise.
31631 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31634 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31636 * sysdeps/x86_64/x32/_itoa.h: New file.
31638 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31639 getdents system call only if kernel and user dirents have the
31640 same d_ino and d_off.
31642 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31643 LLONG_MAX != LONG_MAX.
31644 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31645 (_fitoa_word): Likewise.
31647 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31649 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31650 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31651 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31653 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31654 include <bits/wordsize.h>. Check __x86_64__ instead of
31656 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31657 if __x86_64__ is defined. Use anonymous union on fpstate.
31659 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31662 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31664 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31665 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31666 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31667 Refer to _rtld_local_ro instead of _rtld_global_ro.
31668 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31670 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31672 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31674 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31675 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31676 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31678 * sysdeps/powerpc/powerpc32/dl-machine.c
31679 (__elf_machine_runtime_setup) [PROF]: Don't reference
31682 2012-05-18 Andreas Jaeger <aj@suse.de>
31684 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31685 function only available for GCCs before 3.4 since GCC 3.4
31686 introduced a builtin.
31688 (llrintf): Likewise.
31689 (llrint): Likewise.
31696 (nearbyint): Likewise.
31697 (nearbyintf): Likewise.
31701 (floorf): Likewise.
31703 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31705 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31706 on both fields and cast pointer to __syscall_ulong_t.
31708 * bits/types.h (__fsword_t): New type.
31709 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31710 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31712 (__FSWORD_T_TYPE): Likewise.
31713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31714 (__FSWORD_T_TYPE): Likewise.
31715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31716 (__FSWORD_T_TYPE): Likewise.
31717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31718 (__FSWORD_T_TYPE): Likewise.
31719 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31720 __SWORD_TYPE with __fsword_t.
31721 (statfs64): Likewise.
31723 2012-05-17 David S. Miller <davem@davemloft.net>
31725 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31727 2012-05-17 Andreas Jaeger <aj@suse.de>
31729 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31732 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31734 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31736 2012-05-17 Andreas Jaeger <aj@suse.de>
31738 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31741 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31743 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31745 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31747 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31748 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31750 2012-05-17 Andreas Jaeger <aj@suse.de>
31751 Carlos O'Donell <carlos_odonell@mentor.com>
31754 * sysdeps/x86_64/multiarch/init-arch.h
31755 (bit_YMM_Usable): Rename to...
31756 (bit_AVX_Usable): ... this.
31757 (bit_FMA4_Usable): New macro.
31758 (bit_XMM_state): New macro.
31759 (bit_YMM_state): New macro.
31760 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31761 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31762 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31763 (CPUID_OSXSAVE): New macro.
31764 (CPUID_AVX): New macro.
31765 (CPUID_FMA4): New macro.
31766 (index_YMM_Usable): Rename to...
31767 (index_AVX_Usable): ... this.
31768 (HAS_AVX): Use HAS_ARCH_FEATURE.
31769 (HAS_FMA4): Likewise.
31770 (HAS_YMM_USABLE): Remove.
31771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31772 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31774 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31775 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31776 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31777 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31778 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31780 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31782 * math/libm-test.c: Support platforms without multiple rounding modes.
31783 * math/bug-nextafter.c: Support platforms without FP exceptions.
31784 * math/bug-nexttoward.c: Likewise.
31785 * math/test-fenv.c: Likewise.
31786 * math/test-misc.c: Likewise.
31787 * stdlib/bug-getcontext.c: Likewise.
31789 2012-05-17 Andreas Jaeger <aj@suse.de>
31791 * manual/examples/search.c (critter_cmp): Change signature to
31793 * manual/string.texi (Collation Functions): Likewise.
31795 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31797 * bits/types.h: Fold copyright years.
31798 * bits/typesizes.h: Likewise.
31799 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31803 * time/time.h: Likewise.
31805 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31808 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31809 in instead of returning them. Return void.
31810 (__libc_mallinfo): Accumulate over all arenas.
31811 (__malloc_stats): Adjust for change in int_mallinfo interface.
31813 2012-05-16 Roland McGrath <roland@hack.frob.com>
31816 * configure.in (NM): Add AC_CHECK_TOOL for it.
31817 (libc_extra_cflags): New substituted variable.
31818 Check for -fstack-protector being used implicitly.
31819 * configure: Regenerated.
31820 * config.make.in (config-extra-cflags): New variable,
31821 gets @libc_extra_cflags@.
31822 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31825 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31826 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31827 * configure: Regenerated.
31828 * config.make.in (CPPUNDEFS): New substituted variable.
31829 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31830 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31831 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31833 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31835 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31836 (mq_attr): Use __syscall_slong_t.
31838 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31840 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31841 Check __x86_64__ instead of __WORDSIZE.
31842 (_STAT_VER_LINUX): Likewise.
31843 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31844 __syscall_ulong_t and __syscall_slong_t.
31845 (stat64): Likewise.
31847 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31849 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31851 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31853 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31855 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31857 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31860 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31861 include <bits/wordsize.h>. Check __x86_64__ instead of
31863 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31865 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31867 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31868 include <bits/wordsize.h>. Check __x86_64__ instead of
31870 (user_regs_struct): Use "__extension__ unsigned long long"
31871 instead of "unsigned long" if __x86_64__ is defined.
31872 (user): Likewise. Pad after pointer field if __ILP32__ is
31875 2012-05-16 Joseph Myers <joseph@codesourcery.com>
31877 * configure.in (makeinfo): Require version 4.5 or later. Allow
31879 * configure: Regenerated.
31880 * manual/install.texi (texinfo): Increase version requirement to
31882 * INSTALL: Regenerated.
31884 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31886 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31888 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31890 * sysdeps/x86_64/x32/ffs.c: New file.
31892 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31894 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31895 defined. Use __syscall_ulong_t.
31896 (shminfo): Use __syscall_ulong_t.
31897 (shm_info): Likewise.
31899 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31902 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31904 (msgqnum_t): Use __syscall_ulong_t.
31905 (msglen_t): Likewise.
31906 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31909 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31910 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31912 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31914 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31915 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31917 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31920 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31921 include <bits/wordsize.h>. Check __x86_64__ instead of
31924 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31925 "unsigned long long int" if __x86_64__ is defined.
31926 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31928 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31929 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31930 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31932 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31934 (GET_PC): Cast to uintptr_t first.
31935 (GET_FRAME): Likewise.
31936 (GET_STACK): Likewise.
31938 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31939 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31940 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31941 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31942 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31943 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31944 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31945 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31946 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31947 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31948 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31949 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31950 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31951 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31952 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31953 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31954 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31957 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31958 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31959 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31960 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31961 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31962 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31965 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31966 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31968 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31970 * Makerules (+depfiles): Also collect depfiles from .oS in
31972 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31973 .oS, $(libnldbl-routines)).
31975 * Makerules (native-compile-mkdep-flags): Define.
31976 * sunrpc/Makefile (extra-objs): Add $(addprefix
31977 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31978 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31979 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31980 calling $(make-target-directory).
31982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31984 * bits/types.h (__snseconds_t): Removed.
31985 * time/time.h (struct timespec): Replace __snseconds_t with
31987 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31988 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31991 (__SNSECONDS_T_TYPE): Likewise.
31992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31993 (__SNSECONDS_T_TYPE): Likewise.
31994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31995 (__SNSECONDS_T_TYPE): Likewise.
31997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31999 * sysdeps/mach/hurd/bits/typesizes.h
32000 (__SYSCALL_SLONG_TYPE): New macro.
32001 (__SYSCALL_ULONG_TYPE): Likewise.
32003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32005 * bits/types.h (__syscall_slong_t): New type.
32006 (__syscall_ulong_t): Likewise.
32008 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32009 (__SYSCALL_ULONG_TYPE): Likewise.
32010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32011 (__SYSCALL_SLONG_TYPE): Likewise.
32012 (__SYSCALL_ULONG_TYPE): Likewise.
32013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32014 (__SYSCALL_SLONG_TYPE): Likewise.
32015 (__SYSCALL_ULONG_TYPE): Likewise.
32016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32017 (__SYSCALL_SLONG_TYPE): Likewise.
32018 (__SYSCALL_ULONG_TYPE): Likewise.
32020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32022 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32023 Add sigaltstack-offsets.sym.
32024 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32025 <sigaltstack-offsets.h>.
32026 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32027 longjmp_msg pointer.
32028 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32029 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32031 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32033 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32035 * elf/stackguard-macros.h: Remove file.
32036 * sysdeps/generic/stackguard-macros.h: New file.
32037 * sysdeps/i386/stackguard-macros.h: Likewise.
32038 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32039 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32040 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32041 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32042 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32043 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32044 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32045 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32046 <elf/stackguard-macros.h>.
32049 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32050 __aligned__ in attribute.
32051 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32052 (gregset_t): Likewise.
32054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32056 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32057 * sysdeps/x86_64/64/Implies-after: Here. New file.
32058 * sysdeps/x86_64/x32/Implies-after: New file.
32060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32062 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32063 and access return value for _dl_profile_fixup. Use R10_LP to
32066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32068 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32072 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32073 * sysdeps/x86_64/x32/sysdep.h: New file.
32075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32077 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32078 * sysdeps/x86_64/setjmp.S: Likewise.
32080 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32082 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32083 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32084 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32085 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32086 remove unused global constant.
32088 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32090 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32091 include of <not-cancel.h>.
32093 2012-05-15 Roland McGrath <roland@hack.frob.com>
32095 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32097 2012-05-15 Jeff Law <law@redhat.com>
32098 Andreas Jaeger <aj@suse.de>
32101 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32103 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32104 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32105 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32106 code changing __hst_map_handle.map.
32108 2012-05-15 Roland McGrath <roland@hack.frob.com>
32110 * configure.in (sysnames): Look for Implies-before and Implies-after
32112 * configure: Regenerated.
32114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32116 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32117 8-byte data alignment with LP_SIZE alignment.
32119 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32121 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32126 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32130 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32131 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32132 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32134 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32138 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32139 (stackinfo_sub_sp): Likewise.
32141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32143 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32148 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32153 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32158 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32162 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32163 into R11_LP and load __x86_64_shared_cache_size_half into
32166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32168 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32171 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32177 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32179 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32180 powerpc32/power7/fpu/s_logb.c via #include.
32181 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32182 powerpc32/power7/fpu/s_logbf.c via #include.
32183 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32184 powerpc32/power7/fpu/s_logbl.c via #include.
32186 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32188 * README.libm: Remove file.
32190 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32192 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32193 count for x32. Use R*_LP and omit operand-size suffix.
32195 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32197 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32198 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32199 * sysdeps/x86_64/x32/shlib-versions: New file.
32201 2012-05-14 Roland McGrath <roland@hack.frob.com>
32203 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32204 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32205 Use _dl_fatal_printf instead.
32207 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32209 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32210 set if not set by the user. Do not allow for being unset.
32211 * sysdeps/unix/sysv/linux/configure: Regenerated.
32213 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32215 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32216 the `q' suffix from lea and replace .quad with ASM_ADDR.
32218 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32221 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32223 (PTR_DEMANGLE): Likewise.
32225 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32227 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32229 (ASM_ADDR): Likewise.
32230 (RAX_LP): Likewise.
32231 (RBP_LP): Likewise.
32232 (RBX_LP): Likewise.
32233 (RCX_LP): Likewise.
32234 (RDI_LP): Likewise.
32235 (RSI_LP): Likewise.
32236 (RSP_LP): Likewise.
32239 (R10_LP): Likewise.
32240 (R10_LP): Likewise.
32241 (R11_LP): Likewise.
32242 (R12_LP): Likewise.
32243 (R13_LP): Likewise.
32244 (R14_LP): Likewise.
32245 (R15_LP): Likewise.
32247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32249 * sysdeps/x86_64/x32/dl-machine.h: New file.
32251 2012-05-14 Andreas Jaeger <aj@suse.de>
32253 * manual/Makefile (subdir): Remove export of subdir.
32254 (all): Remove target.
32255 (.PHONY): Remove all from list.
32256 (mkinstalldirs): Remove.
32257 (.PHONY): Remove installdirs from list.
32258 ($(inst_infodir)/libc.info): Use make-target-directory.
32259 (installdirs): Remove.
32260 (subdir_%): Remove.
32261 (glibc-targets): Remove.
32264 ($(objpfx)stubs ../po/manual.pot): Remove.
32265 ($(objpfx)stamp%): Remove.
32266 (make-target-directory): Remove.
32267 (subdir_install): Remove.
32268 (routines): Remove.
32275 * manual/.gitignore: Remove, it's not needed anymore.
32276 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32278 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32280 (texis): Renamed to $(objpfx)texis.
32281 (texis-path): New, contains path to generated files.
32282 (chapters.%): Use texis-path for complete path, add extra argument
32284 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32285 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32286 (summary,texi, stamp-summary): Use complete path of
32287 files. Generate files in build dir.
32288 (dir-add.texi): Build in build dir.
32289 (libm-err.texi,stamp-libm-err): Likewise.
32290 (version.texi, stamp-version): Likewise.
32291 (.%c.texi): Likewise.
32292 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32293 (mostlyclean): Remove target.
32294 (realclean): Remove target.
32295 (generated): Add new variable with contents from mostlyclean and
32296 realclean, remove entries duplicated in common-mostlyclean, add
32297 stamp-libm-err and stamp-version.
32298 (generated-dirs): Add libc directory.
32299 ($(inst_infodir)/libc.info): Install files from build dir.
32301 * manual/install.texi (Configuring and compiling): Adjust since
32302 the info files are not part of the tar ball anymore.
32304 2012-05-14 Andreas Jaeger <aj@suse.de>
32306 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32309 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32312 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32313 to 2.2.0 where earlier.
32314 * sysdeps/unix/sysv/linux/configure: Regenerated.
32315 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32316 Remove conditional code.
32317 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32318 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32319 Remove conditional code.
32320 [!__NR_lchown]: Likewise.
32321 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32322 [__NR_lchown]: Likewise.
32323 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32324 comment referencing __ASSUME_LCHOWN_SYSCALL.
32325 * sysdeps/unix/sysv/linux/i386/sigaction.c
32326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32328 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32329 Remove conditional code.
32330 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32331 (__protocol_available): Remove #if 0 code.
32332 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32334 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32335 * sysdeps/unix/sysv/linux/kernel-features.h
32336 (__ASSUME_GETCWD_SYSCALL): Don't define.
32337 (__ASSUME_REALTIME_SIGNALS): Likewise.
32338 (__ASSUME_PREAD_SYSCALL): Likewise.
32339 (__ASSUME_PWRITE_SYSCALL): Likewise.
32340 (__ASSUME_POLL_SYSCALL): Likewise.
32341 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32342 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32344 (__ASSUME_SIOCGIFNAME): Don't define.
32345 (__ASSUME_MSG_NOSIGNAL): Likewise.
32346 (__ASSUME_SENDFILE): Define unconditionally.
32347 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32348 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32350 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32351 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32352 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32353 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32354 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32355 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32356 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32358 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32361 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32364 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32370 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32371 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32373 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32376 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32377 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32379 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32380 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32381 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32382 Remove conditional code.
32383 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32384 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32385 Remove conditional code.
32386 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32387 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32388 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32389 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32390 Remove conditional code.
32391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32392 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32393 Remove conditional code.
32394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32395 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32396 Remove conditional code.
32397 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32398 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32399 Remove conditional code.
32400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32401 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32402 Remove conditional code.
32403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32404 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32405 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32406 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32407 * sysdeps/unix/sysv/linux/sigaction.c
32408 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32409 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32410 * sysdeps/unix/sysv/linux/sigpending.c
32411 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32412 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32413 * sysdeps/unix/sysv/linux/sigprocmask.c
32414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32416 * sysdeps/unix/sysv/linux/sigsuspend.c
32417 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32418 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32419 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32420 (__libc_missing_rt_sigs): Remove.
32421 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32422 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32423 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32424 Remove conditional code.
32425 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32426 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32429 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32431 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32433 2012-05-14 Andreas Jaeger <aj@suse.de>
32435 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32436 it's not used in glibc.
32437 (__coshm1): Likewise.
32438 (__acosh1p): Likewise.
32441 * manual/string.texi (Copying and Concatenation): Add missing
32442 variable in concat example.
32443 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32445 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32448 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32449 __builtin_clzl with __builtin_clzll.
32451 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32454 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32457 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32459 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32460 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32461 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32462 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32464 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32466 * NEWS: Update ia64 info.
32468 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32470 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32473 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32475 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32476 * sysdeps/unix/syscalls.list (dup3): Likewise.
32477 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32478 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32480 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32482 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32483 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32485 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32487 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32489 (TLS_IE): Use mov/add instead of movq/addq to load thread
32491 (TLS_GD_PREFIX): New.
32494 2012-05-11 David S. Miller <davem@davemloft.net>
32496 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32497 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32498 (_FPU_SETCW): Likewise.
32500 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32502 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32503 is 32-byte aligned.
32505 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32508 * iconvdata/gb18030.c: Update tables.
32509 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32510 characters specially.
32511 (BODY for TO_LOOP): Add encoding of missing ranges.
32513 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32516 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32517 * sysdeps/mach/hurd/dup3.c: Likewise.
32518 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32519 * sysdeps/powerpc/memmove.c:: Likewise.
32521 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32524 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32526 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32528 * elf/elf.h (R_X86_64_RELATIVE64): New.
32529 (R_X86_64_NUM): Updated.
32530 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32531 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32532 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32533 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32534 tst-quad1pie tst-quad2pie
32535 (modules-names): Add tst-quadmod1 tst-quadmod2.
32536 ($(objpfx)tst-quad1): New dependency.
32537 ($(objpfx)tst-quad2): Likewise.
32538 ($(objpfx)tst-quad1pie): Likewise.
32539 ($(objpfx)tst-quad2pie): Likewise.
32540 * sysdeps/x86_64/tst-quad1.c: New file.
32541 * sysdeps/x86_64/tst-quad1pie.c: New file.
32542 * sysdeps/x86_64/tst-quad2.c: Likewise.
32543 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32544 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32545 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32546 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32547 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32551 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32552 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32553 * streams/stropts.h (t_scalar_t): Define type.
32555 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32556 (_PATH_PRESERVE): Set to "/var/lib".
32557 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32559 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32562 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32563 if __dir_mkfile succeeded.
32565 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32566 checking for _hurd_dtablesize. Unlock it right after having
32567 finished _hurd_dtable allocation.
32569 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32571 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32572 * sysdeps/mach/hurd/configure: Regenerated.
32573 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32574 special-casing to...
32575 * sysdeps/gnu/configure.in: ... this new file.
32576 * sysdeps/unix/sysv/linux/configure: Regenerated.
32577 * sysdeps/gnu/configure: New generated file.
32579 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32580 for Linux: use nsec instead of usec, as well as:
32581 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32582 members of type struct timespec.
32583 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32585 (struct stat64): Likewise.
32586 (_STATBUF_ST_NSEC): New macro.
32587 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32589 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32590 __strtoul_internal rather than strtoul.
32592 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32594 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32599 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32600 which preserves existing values.
32601 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32603 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32605 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32606 TIMEOUT values. Return EINVAL for NFDS values either negative or
32607 greater than FD_SETSIZE.
32609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32611 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32612 allocated, call __vm_protect to finish enabling the existing space, and
32613 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32614 allocate the remainder.
32616 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32618 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32619 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32621 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32623 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32624 sysdeps/mach/hurd/readlink.c.
32626 * posix/tst-sysconf.c (posix_options): Only use
32627 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32628 _POSIX_SYNCHRONIZED_IO when they are defined
32629 * sysdeps/mach/hurd/bits/posix_opt.h:
32630 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32631 (_XOPEN_REALTIME): Undefine macro.
32632 (_XOPEN_REALTIME_THREADS): Undefine macro.
32633 (_XOPEN_SHM): Undefine macro.
32634 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32636 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32638 (_POSIX_ASYNC_IO): Undefine macro.
32639 (_POSIX_PRIORITIZED_IO): Undefine macro.
32640 (_POSIX_SPIN_LOCKS): Define macro to -1.
32642 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32643 SA_NODEFER, SA_RESETHAND.
32644 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32645 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32650 * elf/Makefile (pldd-modules): Define unconditionally.
32652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32654 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32658 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32659 Return ENOENT when name is empty.
32660 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32662 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32664 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32666 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32670 Fix mlock in all cases except non-readable pages.
32671 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32672 instead of VM_PROT_ALL as parameter to __vm_wire function.
32674 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32675 (__mkdir): When path is `/', just fail with EEXIST.
32676 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32678 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32680 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32681 <sys/uio.h> (for writev).
32682 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32683 and <sys/param.h> (for MIN).
32685 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32687 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32688 REQUESTED_TIME. Properly set the remaining time and return EINTR
32691 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32693 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32694 Depend on against $(link-rpcuserlibs).
32696 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32698 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32699 (__libc_stack_end): Do not use attribute_relro.
32700 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32701 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32702 to libthread-provided value.
32703 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32706 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32709 * bits/libc-lock.h (__libc_once_get): New macro.
32710 * sysdeps/mach/bits/libc-lock.h: Likewise.
32711 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32712 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32713 instead of using implementation details.
32715 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32716 * libio/freopen.c: Likewise.
32717 * libio/freopen64.c: Likewise.
32718 * misc/syslog.c: Likewise.
32719 * nscd/connections.c: Likewise.
32720 * nscd/netgroupcache.c: Likewise.
32721 * sysdeps/posix/getcwd.c: Likewise.
32723 2012-05-10 Roland McGrath <roland@hack.frob.com>
32725 * math/w_ilogbf.c: Add #include <limits.h>.
32727 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32729 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32730 path instead of returning without unlocking.
32732 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32733 immediate-write ioctls.
32734 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32738 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32739 __builtin_frame_address instead of making assumptions about the
32740 location of the return address relative to DATA. Force early load of
32741 the return address.
32742 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32743 __builtin_frame_address.
32746 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32747 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32748 implement dup3 and do some further code clean-ups.
32749 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32750 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32754 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32756 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32757 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32758 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32759 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32760 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32763 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32764 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32765 when handler == SIG_ERR, not when handler != SIG_ERR.
32767 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32769 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32770 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32773 accept4 for GNU Hurd.
32774 * include/sys/socket.h (__libc_accept4): New prototype.
32775 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32776 to implement __libc_accept4.
32777 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32779 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32781 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32782 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32783 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32784 signal-defines.sym.
32786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32788 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32790 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32792 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32793 assertion on O_CLOEXEC flag.
32794 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32795 * hurd/intern-fd.c: Likewise.
32796 * hurd/port2fd.c: Likewise.
32798 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32801 * bits/in.h (IPV6_PKTINFO): Define new macro.
32802 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32804 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32809 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32810 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32811 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32812 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32814 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32815 * math/libm-test.inc (logb_test) : Additional logb tests.
32817 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32818 Andreas Jaeger <aj@suse.de>
32820 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32821 * configure: Regenerated.
32822 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32823 * config.make.in (link-obsolete-rpc): New substituted variable.
32824 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32825 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32826 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32827 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32828 so that libc.a contains the symbols.
32829 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32830 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32831 * sunrpc/auth_none.c: Likewise.
32832 * sunrpc/auth_unix.c: Likewise.
32833 * sunrpc/authdes_prot.c: Likewise.
32834 * sunrpc/authuxprot.c: Likewise.
32835 * sunrpc/clnt_gen.c: Likewise.
32836 * sunrpc/clnt_perr.c: Likewise.
32837 * sunrpc/clnt_raw.c: Likewise.
32838 * sunrpc/clnt_simp.c: Likewise.
32839 * sunrpc/clnt_tcp.c: Likewise.
32840 * sunrpc/clnt_udp.c: Likewise.
32841 * sunrpc/clnt_unix.c: Likewise.
32842 * sunrpc/des_crypt.c: Likewise.
32843 * sunrpc/des_soft.c: Likewise.
32844 * sunrpc/get_myaddr.c: Likewise.
32845 * sunrpc/key_call.c: Likewise.
32846 * sunrpc/key_prot.c: Likewise.
32847 * sunrpc/netname.c: Likewise.
32848 * sunrpc/pm_getmaps.c: Likewise.
32849 * sunrpc/pm_getport.c: Likewise.
32850 * sunrpc/pmap_clnt.c: Likewise.
32851 * sunrpc/pmap_prot.c: Likewise.
32852 * sunrpc/pmap_prot2.c: Likewise.
32853 * sunrpc/pmap_rmt.c: Likewise.
32854 * sunrpc/publickey.c: Likewise.
32855 * sunrpc/rpc_cmsg.c: Likewise.
32856 * sunrpc/rpc_common.c: Likewise.
32857 * sunrpc/rpc_dtable.c: Likewise.
32858 * sunrpc/rpc_prot.c: Likewise.
32859 * sunrpc/rpc_thread.c: Likewise.
32860 * sunrpc/rtime.c: Likewise.
32861 * sunrpc/svc.c: Likewise.
32862 * sunrpc/svc_auth.c: Likewise.
32863 * sunrpc/svc_raw.c: Likewise.
32864 * sunrpc/svc_run.c: Likewise.
32865 * sunrpc/svc_tcp.c: Likewise.
32866 * sunrpc/svc_udp.c: Likewise.
32867 * sunrpc/svc_unix.c: Likewise.
32868 * sunrpc/svcauth_des.c: Likewise.
32869 * sunrpc/xcrypt.c: Likewise.
32870 * sunrpc/xdr.c: Likewise.
32871 * sunrpc/xdr_array.c: Likewise.
32872 * sunrpc/xdr_float.c: Likewise.
32873 * sunrpc/xdr_intXX_t.c: Likewise.
32874 * sunrpc/xdr_mem.c: Likewise.
32875 * sunrpc/xdr_rec.c: Likewise.
32876 * sunrpc/xdr_ref.c: Likewise.
32877 * sunrpc/xdr_sizeof.c: Likewise.
32878 * sunrpc/xdr_stdio.c: Likewise.
32880 2012-05-10 Roland McGrath <roland@hack.frob.com>
32882 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32883 change. Update copyright years.
32885 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32887 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32889 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32890 Joseph Myers <joseph@codesourcery.com>
32891 Paul Pluzhnikov <ppluzhnikov@google.com>
32894 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32896 [cross-compiling] (extra-libs): Likewise.
32897 [cross-compiling] (extra-libs-others): Likewise.
32898 [cross-compiling] (librpcsvc-routines): Likewise.
32899 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32900 [cross-compiling] (omit-deps): Likewise.
32901 (sunrpc-CPPFLAGS): New variable.
32902 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32903 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32904 (cross-rpcgen-objs): New variable.
32905 (extra-objs): Append $(cross-rpcgen-objs).
32906 ($(cross-rpcgen-objs)): New rule.
32907 ($(objpfx)cross-rpcgen): Likewise.
32908 (rpcgen-cmd): Define to use $(built-program-file). Expand
32910 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32911 ($(objpfx)x%.stmp): Likewise.
32912 * sunrpc/proto.h [IS_IN_build] (_): Define.
32913 [IS_IN_build] (_libc_intl_domainname): Likewise.
32915 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32918 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32919 and R_X86_64_TPOFF64.
32921 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32923 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32924 sysdeps/unix/sysv/syscalls.list.
32927 * sysdeps/unix/sysv/syscalls.list: Remove file.
32929 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32932 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32933 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32934 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32935 (__LC_IDENTIFICATION): Make these macros useful in #if
32936 expressions, as required by C99.
32938 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32940 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32941 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32944 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32946 * stdlib/longlong.h: Updated from GCC.
32948 2012-05-09 Andreas Jaeger <aj@suse.de>
32950 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32951 default is first entry.
32952 (run_mode): Set type.
32953 (main): Remove informal message about syslog.
32954 (options): Fix typo.
32957 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32960 (llrintf): Likewise.
32961 (llrint): Likewise.
32964 (nearbyint): Likewise.
32965 (nearbyintf): Likewise.
32967 2012-05-09 Andreas Jaeger <aj@suse.de>
32968 Pedro Alves <palves@redhat.com>
32970 * nscd/nscd.c (run_mode): Use enum.
32971 (main): Cleanup coding style issue.
32973 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
32974 Andreas Jaeger <aj@suse.de>
32976 * nscd/nscd.c (go_background): Replaced with...
32977 (run_mode): ... this.
32978 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32979 (options): Add -F --foreground.
32980 (main): Implement it.
32981 (parse_opt): Parse it.
32983 2012-05-09 Andreas Jaeger <aj@suse.de>
32986 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32987 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32988 -Wconversion warning.
32989 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32992 2012-05-09 Joseph Myers <joseph@codesourcery.com>
32994 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32996 (LC_ALL): Use macro-int-constant.
32997 (LC_COLLATE): Likewise.
32998 (LC_CTYPE): Likewise.
32999 (LC_MESSAGES): Likewise.
33000 (LC_MONETARY): Likewise.
33001 (LC_NUMERIC): Likewise.
33002 (LC_TIME): Likewise.
33003 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33004 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33006 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33008 [C99-based standards] (float_t): Expect type.
33009 [C99-based standards] (double_t): Expect type.
33010 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33012 [C99-based standards] (HUGE_VALL): Likewise.
33013 [C99-based standards] (INFINITY): Likewise.
33014 [C99-based standards] (NAN): Likewise.
33015 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33016 [C99-based standards] (FP_NAN): Likewise.
33017 [C99-based standards] (FP_NORMAL): Likewise.
33018 [C99-based standards] (FP_SUBNORMAL): Likewise.
33019 [C99-based standards] (FP_ZERO): Likewise.
33020 [C99-based standards] (FP_FAST_FMA): Use
33021 optional-macro-int-constant. Specify type. Require == 1.
33022 [C99-based standards] (FP_FAST_FMAF): Likewise.
33023 [C99-based standards] (FP_FAST_FMAL): Likewise.
33024 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33025 [C99-based standards] (FP_ILOGBNAN): Likewise.
33026 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33028 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33029 [C99-based standards] (math_errhandling): Specify type.
33030 [ISO99 || ISO11] (signgam): Do not allow.
33031 [non-C99-based standards] (copysignf): Do not allow.
33032 [non-C99-based standards] (exp2f): Likewise.
33033 [non-C99-based standards] (log2f): Likewise.
33034 [non-C99-based standards] (modff): Allow.
33035 [non-C99-based standards] (erff): Do not allow.
33036 [non-C99-based standards] (erfcf): Likewise.
33037 [non-C99-based standards] (gammaf): Likewise.
33038 [non-C99-based standards] (hypotf): Likewise.
33039 [non-C99-based standards] (j0f): Likewise.
33040 [non-C99-based standards] (j1f): Likewise.
33041 [non-C99-based standards] (jnf): Likewise.
33042 [non-C99-based standards] (lgammaf): Likewise.
33043 [non-C99-based standards] (tgammaf): Likewise.
33044 [non-C99-based standards] (y0f): Likewise.
33045 [non-C99-based standards] (y1f): Likewise.
33046 [non-C99-based standards] (ynf): Likewise.
33047 [non-C99-based standards] (isnanf): Likewise.
33048 [non-C99-based standards] (acoshf): Likewise.
33049 [non-C99-based standards] (asinhf): Likewise.
33050 [non-C99-based standards] (atanhf): Likewise.
33051 [non-C99-based standards] (cbrtf): Likewise.
33052 [non-C99-based standards] (expm1f): Likewise.
33053 [non-C99-based standards] (ilogbf): Likewise.
33054 [non-C99-based standards] (log1pf): Likewise.
33055 [non-C99-based standards] (logbf): Likewise.
33056 [non-C99-based standards] (nextafterf): Likewise.
33057 [non-C99-based standards] (remainderf): Likewise.
33058 [non-C99-based standards] (rintf): Likewise.
33059 [non-C99-based standards] (scalbf): Likewise.
33060 [non-C99-based standards] (copysignl): Likewise.
33061 [non-C99-based standards] (exp2l): Likewise.
33062 [non-C99-based standards] (log2l): Likewise.
33063 [non-C99-based standards] (modfl): Allow.
33064 [non-C99-based standards] (erfl): Do not allow.
33065 [non-C99-based standards] (erfcl): Likewise.
33066 [non-C99-based standards] (gammal): Likewise.
33067 [non-C99-based standards] (hypotl): Likewise.
33068 [non-C99-based standards] (j0l): Likewise.
33069 [non-C99-based standards] (j1l): Likewise.
33070 [non-C99-based standards] (jnl): Likewise.
33071 [non-C99-based standards] (lgammal): Likewise.
33072 [non-C99-based standards] (tgammal): Likewise.
33073 [non-C99-based standards] (y0l): Likewise.
33074 [non-C99-based standards] (y1l): Likewise.
33075 [non-C99-based standards] (ynl): Likewise.
33076 [non-C99-based standards] (isnanl): Likewise.
33077 [non-C99-based standards] (acoshl): Likewise.
33078 [non-C99-based standards] (asinhl): Likewise.
33079 [non-C99-based standards] (atanhl): Likewise.
33080 [non-C99-based standards] (cbrtl): Likewise.
33081 [non-C99-based standards] (expm1l): Likewise.
33082 [non-C99-based standards] (ilogbl): Likewise.
33083 [non-C99-based standards] (log1pl): Likewise.
33084 [non-C99-based standards] (logbl): Likewise.
33085 [non-C99-based standards] (nextafterl): Likewise.
33086 [non-C99-based standards] (remainderl): Likewise.
33087 [non-C99-based standards] (rintl): Likewise.
33088 [non-C99-based standards] (scalbl): Likewise.
33089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33090 [non-C99-based standards] (FP_*): Do not allow.
33091 [C99-based standards] (FP_*): Change to
33092 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33093 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33095 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33096 (SIG_ERR): Likewise.
33097 [X/Open-based standards] (SIG_HOLD): Likewise.
33098 (SIG_IGN): Likewise.
33099 (SIGABRT): Use macro-int-constant. Specify type. Require
33101 (SIGFPE): Likewise.
33102 (SIGILL): Likewise.
33103 (SIGINT): Likewise.
33104 (SIGSEGV): Likewise.
33105 (SIGTER): Likewise.
33106 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33107 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33108 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33109 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33110 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33111 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33112 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33113 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33114 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33115 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33116 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33117 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33118 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33119 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33120 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33121 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33122 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33123 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33124 [X/Open-based standards] (SIGTRAP): Likewise.
33125 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33126 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33127 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33128 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33129 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33132 2012-05-08 Ian Wienand <ianw@vmware.com>
33135 * time/tzset.c (__tzset_parse_tz): Update default rules for
33136 daylight time changes in the Energy Policy Act of 2005.
33138 2012-05-09 Andreas Jaeger <aj@suse.de>
33141 * elf/ldconfig.c (parse_conf): Change string to make clear that
33142 ldconfig only issued a warning if ld.so.conf does not exist.
33144 2012-05-08 David S. Miller <davem@davemloft.net>
33146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33147 movxtod instead of popping the value on the stack.
33149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33151 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33153 * config.h.in: Add HAVE_ARM_PCS_VFP.
33155 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33158 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33159 checking but the checks are disabled for any reason.
33161 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33163 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33164 and ELF64_R_TYPE with ELFW(R_TYPE).
33166 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33168 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33169 (ulimit): Likewise.
33171 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33172 (settimeofday): Likewise.
33174 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33176 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33177 a struct th_u2 inside the union, and move tu_block/tu_code into
33178 a new th_u3 union of tu_block/tu_code inside of that. Move
33179 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33180 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33181 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33182 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33183 (th_stuff): Change to th_u1.tu_stuff.
33185 (th_msg): Change to th_u1.th_u2.tu_data.
33187 2012-05-07 David S. Miller <davem@davemloft.net>
33189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33192 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33193 (SETUP_PIC_REG): Use it.
33194 (SETUP_PIC_REG_LEAF): Use it.
33196 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33200 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33202 (EXPL_FINITE): Likewise.
33203 (FLDLOG): Likewise.
33204 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33205 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33207 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33209 (EXPL_FINITE): Likewise.
33210 (FLDLOG): Likewise.
33211 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33212 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33214 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33215 test of -max_value argument for long double.
33216 * sysdeps/i386/fpu/libm-test-ulps: Update.
33217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33219 2012-05-06 David S. Miller <davem@davemloft.net>
33221 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33222 quad soft-float symbols whose references which are compiler
33224 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33226 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33230 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33232 (EXPL_FINITE): Likewise.
33233 (FLDLOG): Likewise.
33236 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33237 Adjust comments for base varying.
33238 (__expl_finite): Change alias to EXPL_FINITE.
33239 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33241 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33242 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33243 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33244 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33245 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33247 (EXPL_FINITE): Likewise.
33248 (FLDLOG): Likewise.
33251 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33252 Adjust comments for base varying.
33253 (__expl_finite): Change alias to EXPL_FINITE.
33254 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33259 * math/libm-test.inc (check_float_internal): Correct ulp
33260 calculation for subnormal expected results.
33262 2012-05-06 Andreas Jaeger <aj@suse.de>
33264 * Makeconfig (+math-flags): New, set to -frounding-math.
33265 (+cflags): Add +math-flags so that all of glibc gets compiled with
33268 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33270 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33272 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33278 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33279 (__ieee754_expl): Allow for and saturate large arguments.
33280 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33281 (u_threshold): Likewise.
33282 (__exp): Call __ieee754_exp before checking for overflow and
33284 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33285 (u_threshold): Likewise.
33286 (__expf): Call __ieee754_expf before checking for overflow and
33288 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33289 (u_threshold): Likewise.
33290 (__expl): Call __ieee754_expl before checking for overflow and
33292 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33293 (__ieee754_expl): Allow for and saturate large arguments.
33294 * math/libm-test.inc (exp_test): Add another test. Do not allow
33295 missing overflow exception on overflow.
33296 (expm1_test): Do not allow missing overflow exception on overflow.
33298 * sysdeps/i386/fpu/e_expl.c: Move to ...
33299 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33300 rather than using inline asm.
33301 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33302 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33303 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33305 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33308 (signal): Likewise.
33312 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33314 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33315 sysdeps/unix/common/syscalls.list.
33316 (fchmod): Likewise.
33317 (fchown): Likewise.
33318 (ftruncate): Likewise.
33319 (getrusage): Likewise.
33320 (gettimeofday): Likewise.
33321 (setpgid): Likewise.
33322 (setregid): Likewise.
33323 (setreuid): Likewise.
33324 (sigaction): Likewise.
33325 (truncate): Likewise.
33326 (vhangup): Likewise.
33327 * sysdeps/unix/common/syscalls.list: Remove file.
33328 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33329 * sysdeps/unix/sysv/linux/Implies: Likewise.
33331 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33333 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33335 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33339 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33342 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33345 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33348 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33351 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33354 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33357 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33361 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33365 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33368 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33372 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33376 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33378 * sysdeps/unix/common/bits/dirent.h: Remove file.
33379 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33381 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33382 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33383 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33384 * sysdeps/unix/bsd/isatty.c: Likewise.
33385 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33386 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33387 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33389 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33392 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33393 long double comparison inaccuracies.
33394 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33397 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33399 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33400 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33402 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33405 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33406 nonzero digits before rounding a hex value.
33407 * stdlib/tst-strtod.c (tests): Add another test.
33409 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33411 * sysdeps/s390/fpu/libm-test-ulps: Update.
33413 2012-05-03 Andreas Jaeger <aj@suse.de>
33415 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33416 does not get optimized out.
33417 (malloc_opt_barrier): New.
33419 2012-05-03 Andreas Jaeger <aj@suse.de>
33420 Roland McGrath <roland@hack.frob.com>
33422 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33423 intermediate file deletion.
33424 (generated): Add .symlist files.
33426 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33429 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33430 Redirect under this condition.
33431 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33432 [__USE_GNU] (__dprintf_chk): Not under this condition.
33433 [__USE_GNU] (__vdprintf_chk): Likewise.
33434 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33435 under this condition.
33436 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33437 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33438 [__USE_XOPEN2K8] (vdprintf): Likewise.
33439 [__USE_GNU] (__dprintf_chk): Not under this condition.
33440 [__USE_GNU] (__vdprintf_chk): Likewise.
33441 [__USE_GNU] (dprintf): Likewise.
33442 [__USE_GNU] (vdprintf): Likewise.
33444 2012-05-03 Roland McGrath <roland@hack.frob.com>
33446 * elf/Makefile (common-generated): Set this instead of generated for
33447 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33448 $(all-built-dso)-derived lists.
33450 2012-05-03 Andreas Jaeger <aj@suse.de>
33452 * sysdeps/i386/fpu/libm-test-ulps: Update.
33455 * FAQ.in: Likewise.
33456 * scripts/gen-FAQ.pl: Likewise.
33457 * manual/install.texi (Installation): Point to online location of
33459 * Makefile (files-for-dist): Remove FAQ.
33462 2012-05-02 Allan McRae <allan@archlinux.org>
33464 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33465 (LDFLAGS-reldepmod5.so): Likewise.
33466 (LDFLAGS-reldep6mod1.so): Likewise.
33467 (LDFLAGS-reldep6mod4.so): Likewise.
33468 (LDFLAGS-reldep8mod3.so): Likewise.
33469 (LDFLAGS-unload4mod1.so): Likewise.
33470 (LDFLAGS-unload4mod2.so): Likewise.
33471 (LDFLAGS-tst-initorder): Likewise.
33472 (LDFLAGS-tst-initordera2.so): Likewise.
33473 (LDFLAGS-tst-initordera3.so): Likewise.
33474 (LDFLAGS-tst-initordera4.so): Likewise.
33475 (LDFLAGS-tst-initorderb2.so): Likewise.
33476 (LDFLAGS-noload): Likewise.
33477 (LDFLAGS-next): Likewise.
33478 (LDFLAGS-order2mod1.so): Likewise.
33479 (LDFLAGS-order2mod2.so): Likewise.
33480 (LDFLAGS-tst-initorder2): Likewise.
33481 (LDFLAGS-tst-initorder2a.so): Likewise.
33482 (LDFLAGS-tst-initorder2b.so): Likewise.
33483 (LDFLAGS-tst-initorder2c.so): Likewise.
33484 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33486 2012-05-02 David S. Miller <davem@davemloft.net>
33488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33490 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33493 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33495 2012-05-02 Andreas Jaeger <aj@suse.de>
33497 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33498 since we manipulate rounding mode.
33499 (CPPFLAGS-test-idouble.c): Likewise.
33500 (CPPFLAGS-test-ifloat.c): Likewise.
33501 (CFLAGS-test-ldouble.c): Likewise.
33502 (CFLAGS-test-double.c): Likewise.
33503 (CFLAGS-test-float.c): Likewise.
33504 (CFLAGS-test-misc.c): Likewise.
33505 (CFLAGS-test-test-fenv.c): Likewise.
33507 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33511 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33512 comparisons to determine direction to adjust input.
33514 2012-05-01 Roland McGrath <roland@hack.frob.com>
33516 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33517 output to the target.
33519 * scripts/localplt.awk: New file.
33520 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33521 (check-localplt-CFLAGS): Variable removed.
33522 ($(all-built-dso:=.jmprel)): New static pattern rule.
33523 (generated): Add those targets.
33524 (localplt-built-dso): New variable.
33525 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33527 * elf/check-localplt.c: File removed.
33529 * scripts/check-execstack.awk: New file.
33530 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33531 (check-execstack-CFLAGS): Variable removed.
33532 ($(objpfx)check-execstack.h): Target removed.
33533 ($(objpfx)execstack-default): New target.
33534 (generated): Add that instead of check-execstack.h.
33535 ($(all-built-dso:=.phdr)): New static pattern rule.
33536 (generated): Add those targets.
33537 * elf/check-execstack.c: File removed.
33539 * scripts/check-textrel.awk: New file.
33540 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33541 (check-textrel-CFLAGS): Variable removed.
33542 (all-built-dso): Use := to define.o
33543 ($(all-built-dso:=.dyn)): New static pattern rule.
33544 (generated): Add those targets.
33545 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33546 * config.make.in (READELF): New substituted variable.
33547 * elf/check-textrel.c: File removed.
33549 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33551 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33553 * conform/data/ctype.h-data [C99-based standards] (isblank):
33555 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33556 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33558 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33559 Specify type. Require positive value.
33560 (EILSEQ): Likewise.
33561 (ERANGE): Likewise.
33562 [ISO || POSIX] (EILSEQ): Do not expect.
33563 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33564 Specify type. Require positive value.
33565 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33566 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33567 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33568 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33569 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33570 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33571 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33572 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33573 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33574 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33575 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33576 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33577 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33578 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33579 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33580 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33581 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33582 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33583 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33584 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33585 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33586 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33587 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33588 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33589 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33590 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33591 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33592 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33593 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33594 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33595 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33596 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33597 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33598 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33599 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33600 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33601 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33602 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33603 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33604 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33605 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33606 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33607 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33608 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33609 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33610 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33611 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33612 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33613 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33614 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33615 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33616 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33617 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33618 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33619 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33620 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33621 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33622 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33623 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33624 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33625 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33626 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33627 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33628 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33629 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33630 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33631 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33632 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33633 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33634 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33635 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33636 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33637 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33638 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33639 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33640 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33641 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33643 (FLT_ROUNDS): Expect as macro, not constant.
33644 (FLT_MANT_DIG): Use macro-int-constant.
33645 (DBL_MANT_DIG): Likewise.
33646 (LDBL_MANT_DIG): Likewise.
33647 (FLT_DIG): Likewise.
33648 (DBL_DIG): Likewise.
33649 (LDBL_DIG): Likewise.
33650 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33651 (DBL_MIN_EXP): Likewise.
33652 (LDBL_MIN_EXP): Likewise.
33653 (FLT_MAX_EXP): Use macro-int-constant.
33654 (DBL_MAX_EXP): Likewise.
33655 (LDBL_MAX_EXP): Likewise.
33656 (FLT_MAX_10_EXP): Likewise.
33657 (DBL_MAX_10_EXP): Likewise.
33658 (LDBL_MAX_10_EXP): Likewise.
33659 (FLT_MAX): Use macro-constant.
33660 (DBL_MAX): Likewise.
33661 (LDBL_MAX): Likewise.
33662 (FLT_EPSILON): Use macro-constant. Give upper bound.
33663 (DBL_EPSILON): Likewise.
33664 (LDBL_EPSILON): Likewise.
33665 (FLT_MIN): Likewise.
33666 (DBL_MIN): Likewise.
33667 (LDBL_MIN): Likewise.
33668 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33669 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33670 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33671 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33672 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33673 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33674 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33675 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33676 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33677 [ISO11] (FLT_TRUE_MIN): Likewise.
33678 [ISO11] (LDBL_TRUE_MIN): Likewise.
33679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33680 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33681 (SCHAR_MIN): Use macro-int-constant. Specify type.
33682 (SCHAR_MAX): Likewise.
33683 (UCHAR_MAX): Likewise.
33684 (CHAR_MIN): Likewise.
33685 (CHAR_MAX): Likewise.
33686 (MB_LEN_MAX): Use macro-int-constant.
33687 (SHRT_MIN): Use macro-int-constant. Specify type.
33688 (SHRT_MAX): Likewise.
33689 (USHRT_MAX): Likewise.
33690 (INT_MAX): Likewise.
33691 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33693 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33695 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33697 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33698 bound negative. Suffix upper bound with "L".
33699 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33701 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33703 [C99-based standards] (LLONG_MAX): Likewise.
33704 [C99-based standards] (ULLONG_MAX): Likewise.
33705 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33707 [ISO11] (max_align_t): Require type.
33708 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33710 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33711 from $CFLAGS, without defining away __attribute__ calls.
33712 (checknamespace): Use $CFLAGS_namespace.
33714 * conform/conformtest.pl (@keywords): Only include C99 keywords
33715 for standards based on C99 or C11.
33717 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33719 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33722 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33723 usability of symbols in #if.
33725 * conform/conformtest.pl: If macro or constant types start
33726 "promoted:", expect the symbol to be of the following type
33727 promoted by the integer promotions.
33729 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33730 in one place. Also handle "macro-constant".
33732 * conform/conformtest.pl: Only accept expected macro values with
33733 "==". Parse all "macro" lines in one place.
33734 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33736 * conform/conformtest.pl: Handle braced types on "constant" lines
33737 instead of handling "typed-constant".
33738 * conform/data/signal.h-data: Use "constant" instead of
33741 * conform/conformtest.pl: Handle "optional-" at start of lines in
33742 one place rather than duplicating several cases. Handle each
33743 format of "macro" line with initial "optional-".
33745 * conform/conformtest.pl: Only accept expected constant or
33746 optional-constant values with "==". Parse all "constant" lines in
33747 one place. Parse all "optional-constant" lines in one place.
33748 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33749 * conform/data/fmtmsg.h-data: Likewise.
33750 * conform/data/netinet/in.h-data: Likewise.
33751 * conform/data/tar.h-data: Likewise.
33752 * conform/data/limits.h-data: Use "==" form on "constant" and
33753 "optional-constant" lines.
33755 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33756 Use -std=c99 for XOPEN2K.
33757 (@knownproblems): Remove.
33758 (newtoken): Don't check %isknown.
33760 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33761 Do not expect macro.
33762 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33763 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33764 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33772 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33773 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33774 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33775 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33776 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33777 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33778 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33779 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33780 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33781 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33782 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33783 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33784 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33785 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33786 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33787 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33788 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33789 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33790 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33791 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33792 [XPG3] (acosh): Likewise.
33793 [XPG3] (asinh): Likewise.
33794 [XPG3] (atanh): Likewise.
33795 [XPG3] (cbrt): Likewise.
33796 [XPG3] (expm1): Likewise.
33797 [XPG3] (ilogb): Likewise.
33798 [XPG3] (log1p): Likewise.
33799 [XPG3] (logb): Likewise.
33800 [XPG3] (nextafter): Likewise.
33801 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33802 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33803 [XPG3] (remainder): Likewise.
33804 [XPG3] (rint): Likewise.
33805 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33806 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33807 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33808 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33809 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33810 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33811 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33812 [UNIX98 || XOPEN2K] (scalb): Expect.
33813 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33814 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33815 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33816 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33817 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33818 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33819 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33820 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33821 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33822 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33823 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33824 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33825 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33826 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33827 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33828 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33829 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33830 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33831 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33832 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33833 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33834 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33835 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33836 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33837 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33838 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33839 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33840 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33841 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33842 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33843 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33844 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33845 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33846 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33847 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33848 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33849 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33850 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33851 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33852 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33853 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33854 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33855 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33856 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33857 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33858 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33859 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33860 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33861 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33862 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33863 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33864 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33865 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33866 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33867 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33868 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33869 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33870 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33871 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33872 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33873 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33874 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33875 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33876 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33877 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33878 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33879 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33880 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33881 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33882 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33883 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33884 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33885 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33886 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33887 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33888 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33889 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33890 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33891 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33892 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33893 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33894 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33895 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33896 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33897 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33898 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33899 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33900 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33901 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33902 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33903 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33904 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33905 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33906 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33907 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33908 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33909 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33910 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33911 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33912 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33913 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33914 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33915 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33916 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33917 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33918 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33919 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33920 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33921 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33922 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33923 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33924 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33925 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33926 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33927 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33928 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33929 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33930 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33931 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33932 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33933 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33934 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33935 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33936 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33937 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33938 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33939 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33940 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33941 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33942 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33943 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33944 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33945 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33946 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33947 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33948 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33949 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33951 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33952 _XOPEN_SOURCE_EXTENDED for XPG4.
33954 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33956 * Makeconfig (localtime): Remove variable.
33957 (inst_localtime-file): Likewise.
33959 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33980 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33984 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33985 comparisons to determine direction to adjust input.
33986 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33987 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33990 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33992 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33994 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33995 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33997 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33999 * math/libm-test.inc (nexttoward_test): Add more tests.
34001 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34005 in version GLIBC_2.1, not GLIBC_2.0.
34006 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34009 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34012 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34014 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34015 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34016 * math/libm-test.inc (acos_test): Add more tests.
34017 (asin_test): Likewise.
34018 * sysdeps/i386/fpu/libm-test-ulps: Update.
34019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34022 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34024 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34025 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34026 * math/libm-test.inc (acos_test_tonearest): New function.
34027 (acos_test_towardzero): Likewise.
34028 (acos_test_downward): Likewise.
34029 (acos_test_upward): Likewise.
34030 (asin_test_tonearest): Likewise.
34031 (asin_test_towardzero): Likewise.
34032 (asin_test_downward): Likewise.
34033 (asin_test_upward): Likewise.
34034 (main): Call the new functions.
34035 * sysdeps/i386/fpu/libm-test-ulps: Update.
34036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34040 * math/e_exp10.c: Include <float.h>.
34041 (__ieee754_exp10): Handle underflow here rather than multiplying
34042 large negative argument by M_LN10.
34043 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34045 * math/e_exp10l.c: Include <float.h>.
34046 (__ieee754_exp10l): Handle underflow here rather than multiplying
34047 large negative argument by M_LN10l.
34048 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34049 spurious overflow exception on underflow.
34051 2012-04-29 Marek Polacek <polacek@redhat.com>
34053 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34054 (__fortify_function): New macro.
34055 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34056 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34057 __extern_always_inline.
34058 * libio/bits/stdio2.h: Likewise.
34059 * libio/bits/stdio.h: Likewise.
34060 * string/string.h: Likewise.
34061 * string/bits/string3.h: Likewise.
34062 * include/stdio.h: Likewise.
34063 * stdlib/bits/stdlib.h: Likewise.
34064 * stdlib/stdlib.h: Likewise.
34065 * rt/bits/mqueue2.h: Likewise.
34066 * rt/mqueue.h: Likewise.
34067 * posix/bits/unistd.h: Likewise.
34068 * posix/unistd.h: Likewise.
34069 * io/bits/poll2.h: Likewise.
34070 * io/bits/fcntl2.h: Likewise.
34071 * io/fcntl.h: Likewise.
34072 * io/sys/poll.h: Likewise.
34073 * misc/bits/syslog.h: Likewise.
34074 * misc/bits/syslog-ldbl.h: Likewise.
34075 * misc/sys/syslog.h: Likewise.
34076 * socket/bits/socket2.h: Likewise.
34077 * socket/sys/socket.h: Likewise.
34078 * debug/tst-chk1.c: Likewise.
34079 * wcsmbs/bits/wchar2.h: Likewise.
34080 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34081 * wcsmbs/wchar.h: Likewise.
34083 2012-04-29 Andreas Jaeger <aj@suse.de>
34085 * Makerules (tests): Remove enable-check-abi protection.
34086 (check-abi-warn): Remove.
34087 (check-abi-%): Remove check-abi-warn usage.
34089 * configure.in: Remove check-abi configure option.
34090 * configure: Regenerated.
34091 * config.make.in (enable-check-abi): Remove.
34093 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34096 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34097 double functions to double *_finite functions.
34100 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34101 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34103 * stdio-common/Makefile (tests): Add tst-sprintf3.
34104 * stdio-common/tst-sprintf3.c: New file.
34106 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34107 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34109 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34111 * conform/conformtest.pl: Remove duplicate typed-constant
34114 2012-04-28 David S. Miller <davem@davemloft.net>
34116 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34117 (check-abi-%): Remove AWK script prerequisite and explicit
34119 (check-abi): Rewrite to just diff the symlist with the abilist.
34120 (config-tls, config-abi-config): Delete, no longer used.
34121 (update-abi-%): Remove AWK script and explicit abilist directory.
34122 (update-abi): Rewrite to simply compare and conditionally copy the
34123 symlist and the sysdep abilist file. Remove update-abi-config
34125 * abilist/ld.abilist: Remove.
34126 * abilist/libBrokenLocale.abilist: Remove.
34127 * abilist/libanl.abilist: Remove.
34128 * abilist/libcrypt.abilist: Remove.
34129 * abilist/libdl.abilist: Remove.
34130 * abilist/librt.abilist: Remove.
34131 * abilist/libthread_db.abilist: Remove.
34132 * abilist/libutil.abilist: Remove.
34133 * scripts/extract-abilist.awk: Remove.
34134 * scripts/merge-abilist.awk: Remove.
34135 * sysdeps/generic/libcidn.abilist: New file.
34136 * sysdeps/generic/libnss_compat.abilist: New file.
34137 * sysdeps/generic/libnss_db.abilist: New file.
34138 * sysdeps/generic/libnss_dns.abilist: New file.
34139 * sysdeps/generic/libnss_files.abilist: New file.
34140 * sysdeps/generic/libnss_hesiod.abilist: New file.
34141 * sysdeps/generic/libnss_nis.abilist: New file.
34142 * sysdeps/generic/libnss_nisplus.abilist: New file.
34143 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34144 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34145 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34147 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34148 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34149 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34150 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34151 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34152 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34153 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34154 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34155 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34157 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34158 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34159 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34160 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34162 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34163 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34164 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34165 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34166 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34167 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34169 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34170 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34171 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34173 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34276 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34277 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34278 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34281 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34282 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34283 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34284 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34285 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34286 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34287 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34288 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34289 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34341 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34343 * conform/conformtest.pl: Fix typo in handling typed-constant from
34346 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34348 * README: Cut down references to pre-2.6 Linux kernels and
34349 Linuxthreads. Update lists of configurations in libc and ports
34350 and sort alphabetically. Say "or newer" with Linux kernel version
34353 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34355 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34358 * math/libm-test.inc (logb_test_downward): New test to expose
34359 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34362 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34365 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34367 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34368 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34370 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34372 * sysdeps/unix/i386/brk.S: Remove file.
34373 * sysdeps/unix/i386/dl-brk.S: Likewise.
34374 * sysdeps/unix/i386/pipe.S: Likewise.
34375 * sysdeps/unix/i386/sigreturn.S: Likewise.
34376 * sysdeps/unix/i386/syscall.S: Likewise.
34377 * sysdeps/unix/i386/vfork.S: Likewise.
34378 * sysdeps/unix/i386/wait.S: Likewise.
34380 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34381 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34383 * configure.in (arm*-none*): Do not allow without
34384 --enable-hacker-mode.
34385 (netbsd*): Remove case setting base_os.
34386 (386bsd*): Likewise.
34387 (freebsd*): Likewise.
34390 (sunos*): Likewise.
34391 (ultrix*): Likewise.
34392 (newsos*): Likewise.
34393 (dynix*): Likewise.
34399 (minix*): Likewise.
34400 (irix4*): Likewise.
34401 (irix6*): Likewise.
34402 (solaris[2-9]*): Likewise.
34404 * configure: Regenerated.
34406 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34409 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34410 overflow or cancellation in calculating denominator.
34411 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34412 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34413 down expression to avoid unexpected rounding in newer GCCs.
34414 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34416 2012-04-26 David S. Miller <davem@davemloft.net>
34418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34419 long-double compat symbols.
34420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34434 2012-04-25 David S. Miller <davem@davemloft.net>
34436 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34437 HWCAP_* values only after the memory barriers have been defined.
34438 (atomic_full_barrier): Define.
34439 (atomic_read_barrier): Define.
34440 (atomic_write_barrier): Define.
34442 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34444 * shlib-versions: Add libgcc_s version information.
34445 * sysdeps/generic/libgcc_s.h: Remove.
34446 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34448 * sysdeps/gnu/unwind-resume.c: Likewise.
34449 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34451 2012-04-25 David S. Miller <davem@davemloft.net>
34453 * sysdeps/unix/sparc/brk.S: Delete.
34454 * sysdeps/unix/sparc/dl-brk.S: Delete.
34455 * sysdeps/unix/sparc/pipe.S: Delete.
34456 * sysdeps/unix/sparc/sysdep.S: Delete.
34457 * sysdeps/unix/sparc/sysdep.h: Delete.
34458 * sysdeps/unix/sparc/vfork.S: Delete.
34459 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34460 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34461 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34462 (ret_ERRVAL, r0, r1, MOVE): Define.
34463 (JUMPTARGET): Remove.
34464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34465 sysdeps/unix/sparc/sysdep.h
34466 (ENTRY, END): Remove.
34467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34469 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34471 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34472 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34475 * timezone/README: Update upstream location and email address for
34477 * timezone/zdump.c: Update from tzcode 2012b.
34478 * timezone/zic.c: Likewise.
34480 * configure.in (libc_cv_as_needed): Remove test.
34481 * configure: Regenerated.
34482 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34483 conditional definition.
34484 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34485 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34486 * config.make.in (have-as-needed): Remove variable.
34488 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34489 Paul Pluzhnikov <ppluzhnikov@google.com>
34491 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34494 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34496 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34497 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34498 * sysdeps/sh/strlen.S: Likewise.
34500 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34502 * sysdeps/unix/fork.S: Remove file.
34503 * sysdeps/unix/i386/fork.S: Likewise.
34504 * sysdeps/unix/sparc/fork.S: Likewise.
34506 * sysdeps/unix/system.c: Remove file.
34507 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34509 * sysdeps/unix/getegid.S: Remove file.
34510 * sysdeps/unix/geteuid.S: Likewise.
34512 2012-04-24 Roland McGrath <roland@hack.frob.com>
34514 * scripts/check-localplt.awk: New file.
34515 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34517 * scripts/data/localplt-generic.data: Add a comment.
34519 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34520 NODE when __dir_mkfile failed.
34521 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34522 Reported by Ludovic Courtès <ludo@gnu.org>.
34524 2012-04-24 Andreas Jaeger <aj@suse.de>
34526 * Makerules (common-clean): Also remove gen-as-const-headers
34529 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34531 * Makerules (native-compile): Do not change working directory for
34532 build. Use $(OUTPUT_OPTION) in command.
34533 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34535 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34538 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34539 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34540 * math/libm-test.inc (floor_test): Add more tests.
34541 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34543 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34545 * sysdeps/unix/getdents.c: Remove file.
34546 * sysdeps/unix/sysv/getdents.c: Likewise.
34547 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34549 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34550 sysdeps/unix/mman/syscalls.list.
34552 (mprotect): Likewise.
34554 (munmap): Likewise.
34555 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34556 * sysdeps/unix/mman/syscalls.list: Remove.
34557 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34559 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34560 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34561 * configure: Regenerated.
34562 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34563 $(libgcc_s_suffix).
34564 * config.make.in (libgcc_s_suffix): Remove variable.
34566 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34568 * sysdeps/unix/sysv/gethostname.c: Move to ...
34569 * sysdeps/posix/gethostname.c: ... here.
34571 * sysdeps/unix/execve.S: Remove file.
34573 * sysdeps/unix/_exit.S: Remove file.
34575 2012-04-23 Andreas Jaeger <aj@suse.de>
34578 * manual/Makefile: Remove make dist support, there's no
34579 need for a stand-alone documentation tar ball.
34580 (TEXI2DVI): Define always, it's not in Makeconfig.
34583 (edition): Removed.
34584 (glibc-doc-$(edition).tar): Removed
34588 (ETAGS): Remove, it's in Makeconfig.
34589 (move-if-change): Remove, it's in Makeconfig.
34591 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34594 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34595 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34596 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34597 (strtod_l, strtof_l, strtold_l): Remove __wur.
34598 It is not necessarily an error to ignore strtol's return value.
34599 One can reliably look at the stored endptr to decide whether
34600 the number had valid syntax.
34602 2012-04-21 Andreas Jaeger <aj@suse.de>
34605 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34607 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34609 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34610 * sysdeps/unix/sysv/Versions: Remove file.
34612 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34617 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34620 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34621 version from __vm86.
34623 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34625 * sysdeps/unix/common/lxstat.c: Remove file.
34626 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34628 * sysdeps/unix/sysv/Makefile: Remove file.
34630 * sysdeps/unix/sysv/direct.h: Remove file.
34632 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34633 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34634 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34635 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34636 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34637 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34638 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34640 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34642 * sysdeps/unix/xmknod.c: Remove file.
34643 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34645 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34647 * sysdeps/unix/sysv/i386/time.S: Remove file.
34649 * sysdeps/unix/fxstat.c: Remove file.
34650 * sysdeps/unix/xstat.c: Likewise.
34651 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34653 * sysdeps/unix/sysv/sigaction.c: Remove file.
34655 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34656 (sysdep_headers): Remove variable.
34657 [termio.h not in sysdep_headers] (generated): Likewise.
34658 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34659 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34660 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34661 * sysdeps/unix/sysv/tcflow.c: Likewise.
34662 * sysdeps/unix/sysv/tcflush.c: Likewise.
34663 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34664 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34665 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34666 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34667 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34669 * sysdeps/unix/siglist.c: Remove file.
34671 * sysdeps/unix/getppid.S: Remove file.
34673 * sysdeps/unix/mkdir.c: Remove file.
34674 * sysdeps/unix/rmdir.c: Likewise.
34676 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34678 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34680 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34681 errlist-compat value.
34683 2012-04-18 David S. Miller <davem@davemloft.net>
34685 * sysdeps/generic/memcopy.h (reg_char): Delete.
34686 * debug/strcat_chk.c: Use char, not reg_char.
34687 * debug/strcpy_chk.c: Likewise.
34688 * debug/strncat_chk.c: Likewise.
34689 * debug/strncpy_chk.c: Likewise.
34690 * string/memchr.c: Likewise.
34691 * string/memrchr.c: Likewise.
34692 * string/rawmemchr.c: Likewise.
34693 * string/strcat.c: Likewise.
34694 * string/strchr.c: Likewise.
34695 * string/strchrnul.c: Likewise.
34696 * string/strcmp.c: Likewise.
34697 * string/strcpy.c: Likewise.
34698 * string/strncat.c: Likewise.
34699 * string/strncmp.c: Likewise.
34700 * string/strncpy.c: Likewise.
34702 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34704 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34705 __builtin_memcopy is called when src and dest ranges are known to not
34708 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34710 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34711 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34712 fwd_align_merge macro call.
34713 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34714 bwd_align_merge macro call.
34715 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34717 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34719 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34720 bwd_align_merge macros.
34721 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34722 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34723 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34725 2012-04-18 David S. Miller <davem@davemloft.net>
34727 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34729 2012-04-18 Andreas Jaeger <aj@suse.de>
34732 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34733 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34734 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34736 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34737 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34738 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34740 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34741 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34742 Adjust for changed ldbl-128 files.
34744 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34745 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34746 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34748 2012-04-17 David S. Miller <davem@davemloft.net>
34750 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34752 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34754 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34755 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34756 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34757 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34758 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34759 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34761 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34764 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34765 * math/libm-test.inc: Add ilogb errno and exception tests.
34766 * math/w_ilogb.c: New file: ilogb wrapper.
34767 * math/w_ilogbf.c: New file: ilogbf wrapper.
34768 * math/w_ilogbl.c: New file: ilogbl wrapper.
34769 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34770 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34771 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34772 exception being thrown with 0.0 as argument.
34773 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34774 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34775 exception being thrown with 0.0 as argument.
34776 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34777 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34778 exception being thrown with 0.0 as argument.
34779 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34780 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34781 exception being thrown with 0.0 as argument.
34782 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34783 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34784 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34785 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34787 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34788 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34789 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34790 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34792 2012-04-17 Petr Baudis <pasky@ucw.cz>
34794 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34797 2012-04-16 Marek Polacek <polacek@redhat.com>
34799 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34801 2012-04-16 Marek Polacek <polacek@redhat.com>
34803 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34804 operands of fdivp instruction.
34806 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34808 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34809 * elf/tst-auditmod3b.c: Likewise.
34810 * elf/tst-auditmod4b.c: Likewise.
34811 * elf/tst-auditmod5b.c: Likewise.
34812 * elf/tst-auditmod6b.c: Likewise.
34813 * elf/tst-auditmod6c.c: Likewise.
34814 * elf/tst-auditmod7b.c: Likewise.
34815 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34816 * sysdeps/x86_64/preconfigure.in: Likewise.
34817 * sysdeps/x86_64/preconfigure: Regenerated.
34819 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34821 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34824 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
34826 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34827 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34829 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34832 * locale/iso-639.def: Fix gl language name. Spotted by
34835 2012-04-12 Roland McGrath <roland@hack.frob.com>
34838 * libio/libio.h (__io_write_fn): Update comment.
34840 2012-04-12 Petr Baudis <pasky@ucw.cz>
34843 * stdio.texi (Hook Functions): The user provided writer function
34844 is not allowed to return -1.
34846 2012-04-11 David S. Miller <davem@davemloft.net>
34848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34850 2012-04-11 Mike Frysinger <vapier@gentoo.org>
34852 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34853 Add a leading slash to rtkaio.
34855 2012-04-11 Jim Meyering <meyering@redhat.com>
34858 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34859 It is not necessarily an error to ignore fwrite's return
34860 value. One can reliably use ferror to test for errors after
34863 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34865 * bits/types.h (__snseconds_t): New type.
34866 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34868 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34870 (__SNSECONDS_T_TYPE): Likewise.
34871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34872 (__SNSECONDS_T_TYPE): Likewise.
34873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34874 (__SNSECONDS_T_TYPE): Likewise.
34876 2012-04-10 Andreas Jaeger <aj@suse.de>
34879 * manual/time.texi (Processor Time): Return type of times is
34880 elapsed real time since an arbitrary point in the past.
34881 (CPU Time): Move CLK_TCK from here...
34882 (Processor Time): ...to here. Correct description.
34883 * manual/conf.texi (Constants for Sysconf): Correct description of
34886 2012-04-10 David S. Miller <davem@davemloft.net>
34889 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34890 where the is a gap between DT_REL(A) and DT_JMPREL.
34892 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34894 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34895 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34896 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34898 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34900 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34901 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34902 (dl_main): Handle --inhibit-cache.
34903 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34905 * elf/dl-load.c (_dl_map_object): Use it.
34906 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34908 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34911 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34912 (__ieee754_powl): Saturate large exponents rather than testing for
34913 overflow of y*log2(x).
34914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34915 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34919 * math/s_ctan.c: Include <float.h>.
34920 (__ctan): Avoid internal overflow or cancellation in calculating
34922 * math/s_ctanf.c: Likewise.
34923 * math/s_ctanl.c: Likewise.
34924 * math/s_ctanh.c: Likewise.
34925 * math/s_ctanhf.c: Likewise.
34926 * math/s_ctanhl.c: Likewise.
34927 * math/libm-test.inc (ctan_test): Add more tests.
34928 (ctanh_test): Likewise.
34929 * sysdeps/i386/fpu/libm-test-ulps: Update.
34930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34932 2012-04-09 Andreas Jaeger <aj@suse.de>
34935 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34936 is an optional BSD extension.
34939 * manual/stdio.texi (Opening Streams): Document additional fopen
34942 2012-04-09 Roland McGrath <roland@hack.frob.com>
34944 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34945 %eax without telling the compiler.
34947 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34950 * manual/install.texi: Use sourceware.org.
34952 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34955 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34956 (__ieee754_pow): Generate overflow and underflow using huge*huge
34957 and tiny*tiny rather than just returning constant infinity or zero
34958 for large exponents.
34959 * math/libm-test.inc (pow_test): Require overflow exceptions for
34960 applicable cases of large exponents.
34963 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34964 (__ieee754_pow): Use iterative multiplication algorithm only for
34965 integer exponents with absolute value below 1024. Check for odd
34966 integer exponents when using algorithm for real exponents.
34967 * math/libm-test.inc (pow_test): Add more tests.
34968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34970 2012-04-08 Joseph Myers <joseph@codesourcery.com>
34973 * math/libm-test.inc (exp_test): Do not allow overflow exception
34976 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34979 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34980 instead of __kernel_standard_f.
34982 2012-04-08 Mike Frysinger <vapier@gentoo.org>
34984 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34985 * sysdeps/x86_64/memset_chk.S: Likewise.
34987 2012-04-08 Andreas Jaeger <aj@suse.de>
34990 * manual/startup.texi (Environment Access): Describe return value
34991 for putenv and setenv.
34994 * manual/filesys.texi (Directory Entries): Add description for
34998 * manual/filesys.texi (Directory Entries): Clarify that it's file
34999 system not operating system in the description of DT_UNKNOWN.
35002 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35004 2012-04-08 Stephen Compall <s11@member.fsf.org>
35007 * manual/llio.texi (Opening and Closing Files): Add cross
35008 reference to explain mode argument.
35010 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35012 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35013 * sysdeps/x86_64/memset_chk.S: Likewise.
35015 2012-04-07 David S. Miller <davem@davemloft.net>
35017 * elf/elf.h (R_SPARC_WDISP10): Define.
35018 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35020 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35021 R_SPARC_SIZE64 and R_SPARC_H34.
35023 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35025 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35026 conditions and remove no longer applicable assertion.
35028 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35030 * bits/byteswap.h: Include <features.h>.
35031 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35032 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35034 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35036 * bits/byteswap.h (__bswap_16): Removed.
35037 Include <bits/byteswap-16.h> to get __bswap_16.
35038 * sysdeps/i386/bits/byteswap.h: Likewise.
35039 * sysdeps/s390/bits/byteswap.h: Likewise.
35040 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35041 * bits/byteswap-16.h: New file.
35042 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35043 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35044 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35045 * string/Makefile (headers): Add bits/byteswap-16.h.
35047 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35050 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35052 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35053 * nss/tst-nss-static.c: New.
35055 2012-04-06 Robert Millan <rmh@gnu.org>
35058 * manual/llio.texi (File Position Primitive): lseek
35059 refers to WHENCE when it really means OFFSET.
35061 2012-04-06 Andreas Jaeger <aj@suse.de>
35063 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35064 strncmp declarations.
35066 * abilist/libc.abilist: Add __poll and __ppoll.
35068 2012-04-05 David S. Miller <davem@davemloft.net>
35070 * scripts/check-local-headers.sh: Accept a host triplet in the
35071 path matched by the exclude regexp.
35073 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35075 * sysdeps/powerpc/powerpc32/dl-machine.h
35076 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35077 * sysdeps/s390/s390-32/dl-machine.h
35078 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35079 * sysdeps/sparc/sparc32/dl-machine.h
35080 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35081 * sysdeps/sparc/sparc64/dl-machine.h
35082 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35084 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35086 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35087 undefined symbol errors.
35089 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35092 2012-04-05 Michael Matz <matz@suse.de>
35095 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35097 2012-04-05 Andreas Jaeger <aj@suse.de>
35100 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35103 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35105 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35106 which ROUND is no valid rounding mode.
35108 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35110 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35112 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35114 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35116 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35117 an exception using FPU order intentionally.
35119 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35121 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35122 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35123 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35124 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35126 2012-04-05 Simon Josefsson <simon@josefsson.org>
35129 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35130 EINVAL when BUFLEN is too smal.
35132 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35135 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35136 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35138 2012-04-03 Andreas Jaeger <aj@suse.de>
35141 * manual/setjmp.texi (System V contexts): Fix sentence.
35144 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35145 New macro for this case.
35146 [!__GNUC__] (__bswap_64): New inline function for this case.
35147 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35148 * bits/byteswap.h: Likewise.
35149 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35150 ull, guard with __GLIBC_HAVE_LONG_LONG.
35152 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35153 __GLIBC_HAVE_LONG_LONG.
35155 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35156 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35158 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35161 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35162 inptr and inend, rather than using last_ch.
35164 2012-04-02 David S. Miller <davem@davemloft.net>
35166 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35167 * stdio-common/printf-parse.h (read_int): Change return type to
35168 'int', return -1 on INT_MAX overflow.
35169 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35170 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35171 overflows INT_MAX. Check for overflow of in-format-string precision
35172 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35173 SIZE_MAX not INT_MAX for integer overflow test.
35174 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35175 skip the construct in the format string but do not record anything.
35176 * stdio-common/bug22.c: Adjust to test both width/prevision
35177 INT_MAX overflow as well as total length INT_MAX overflow. Check
35178 explicitly for proper errno values.
35180 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35182 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35184 * string/test-strcmp.c [! WIDE]: Likewise.
35185 * time/tst-mktime2.c: Likewise for INT_MAX.
35186 * string/test-string.h: #include <sys/param.h> for MIN.
35188 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35189 * sysdeps/i386/init-first.c (init): Likewise.
35190 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35191 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35192 * sysdeps/sh/init-first.c (init): Likewise.
35194 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35196 * po/ru.po: Update from translation team.
35197 * po/vi.po: Likewise.
35199 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35201 * resolv/nss_dns/dns-host.c: Merge copyright years.
35203 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35205 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35206 Optimize memcpy with prefetch if
35207 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35208 src, dst pointers have unequal 16 byte alignments.
35210 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35213 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35214 from a CNAME entry and return the minimum ttl for the query.
35215 (gaih_getanswer_slice): Likewise.
35217 2012-03-30 Jeff Law <law@redhat.com>
35219 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35221 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35222 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35224 * resolv/nss_dns/dns-host.c: Update copyright year.
35226 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35228 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35229 requests to save a system call. Fix check that all bytes are sent.
35231 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35232 comments for sendmmsg.
35234 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35237 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35238 with only 1 character between 0x0041 and 0x01b0.
35239 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35240 * wcsmbs/tst-mbsnrtowcs.c: New file.
35242 2012-03-29 David S. Miller <davem@davemloft.net>
35244 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35245 small copies by hand.
35247 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35250 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35251 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35254 2012-03-28 David S. Miller <davem@davemloft.net>
35256 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35257 that branches into memcpy.
35258 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35261 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35264 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35265 implementation too.
35266 * sysdeps/sparc/mempcpy.S: New file.
35268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35269 the IFUNC routine in the libc case.
35270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35272 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35273 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35274 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35275 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35276 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35277 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35278 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35279 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35281 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35282 loop to 256 bytes instead of 64 bytes and fix test signedness.
35284 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35285 * sysdeps/sparc/sparc32/Makefile: rather than here...
35286 * sysdeps/sparc/sparc64/Makefile: and here.
35288 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35290 * malloc/mallocbug.c: Avoid warnings about unused variables.
35292 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35295 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35296 in the right place. Discard and retry query if response is
35297 larger than input buffer size.
35299 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35304 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35305 x for large integer exponent.
35306 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35307 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35308 sign of result as needed afterwards.
35309 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35310 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35311 result for underflowing pow the same as for overflow.
35312 (__kernel_standard_l): Handle powl overflow and underflow here
35313 rather than calling __kernel_standard.
35314 * math/libm-test.inc (pow_test): Add more tests.
35329 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35330 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35331 (__kernel_standard_l): New function.
35332 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35334 * math/w_acosl.c (__acosl): Likewise.
35335 * math/w_asinl.c (__asinl): Likewise.
35336 * math/w_atan2l.c (__atan2l): Likewise.
35337 * math/w_atanhl.c (__atanhl): Likewise.
35338 * math/w_coshl.c (__coshl): Likewise.
35339 * math/w_exp10l.c (__exp10l): Likewise.
35340 * math/w_exp2l.c (__exp2l): Likewise.
35341 * math/w_fmodl.c (__fmodl): Likewise.
35342 * math/w_hypotl.c (__hypotl): Likewise.
35343 * math/w_j0l.c (__j0l, __y0l): Likewise.
35344 * math/w_j1l.c (__j1l, __y1l): Likewise.
35345 * math/w_jnl.c (__jnl, __ynl): Likewise.
35346 * math/w_lgammal.c (__lgammal): Likewise.
35347 * math/w_log10l.c (__log10l): Likewise.
35348 * math/w_log2l.c (__log2l): Likewise.
35349 * math/w_logl.c (__logl): Likewise.
35350 * math/w_powl.c (__powl): Likewise.
35351 * math/w_remainderl.c (__remainderl): Likewise.
35352 * math/w_scalbl.c (sysv_scalbl): Likewise.
35353 * math/w_sinhl.c (__sinhl): Likewise.
35354 * math/w_sqrtl.c (__sqrtl): Likewise.
35355 * math/w_tgammal.c (__tgammal): Likewise.
35356 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35357 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35358 * math/libm-test.inc (acos_test): Add more tests.
35359 (acosh_test): Likewise.
35360 (asin_test): Likewise.
35361 (atanh_test): Likewise.
35362 (exp_test): Likewise.
35363 (exp10_test): Likewise.
35364 (exp2_test): Likewise.
35365 (expm1_test): Likewise.
35366 (lgamma_test): Likewise.
35367 (log_test): Likewise.
35368 (log10_test): Likewise.
35369 (log1p_test): Likewise.
35370 (log2_test): Likewise.
35371 (pow_test): Do not allow some spurious overflow exceptions.
35372 (sqrt_test): Add more tests.
35373 (tgamma_test): Likewise.
35374 (y0_test): Likewise.
35375 (y1_test): Likewise.
35376 (yn_test): Likewise.
35378 2012-03-27 Anton Blanchard <anton@samba.org>
35380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35382 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35383 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35386 2012-03-27 David S. Miller <davem@davemloft.net>
35388 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35390 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35391 have-as-vis3 check.
35393 2012-03-27 Andreas Jaeger <aj@suse.de>
35395 * sysdeps/x86_64/elf/configure.in: Moved to ...
35396 * sysdeps/x86_64/configure.in: ... here.
35397 * sysdeps/x86_64/elf/start.S: Moved to ...
35398 * sysdeps/x86_64/start.S: ... here.
35399 * sysdeps/x86_64/elf/configure: Delete.
35401 * sysdeps/x86_64/configure.in: Merge contents from
35402 sysdeps/i386/configure.in (without i686 check).
35404 * sysdeps/i386/elf/Versions: Merge into ...
35405 * sysdeps/i386/Versions: ... this.
35406 * sysdeps/i386/elf/Versions: Delete file.
35407 * sysdeps/i386/elf/start.S: Moved to ...
35408 * sysdeps/i386/start.S: ...here.
35409 * sysdeps/i386/elf/configure.in: Merge into...
35410 * sysdeps/i386/configure.in: ...here.
35411 * sysdeps/i386/elf/configure.in: Delete file.
35412 * sysdeps/i386/elf/configure: Delete file.
35414 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35415 * debug/backtracesyms.c: ... here.
35416 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35417 * debug/backtracesymsfd.c: ... here.
35418 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35419 * sysdeps/generic/ifunc-sel.h: ... here.
35421 * sysdeps/unix/i386/start.c: Delete file.
35422 * sysdeps/unix/sparc/start.c: Delete file.
35423 * sysdeps/unix/start.c: Delete file.
35425 * sysdeps/sh/elf/configure.in: Moved to ...
35426 * sysdeps/sh/configure.in: ... here.
35427 * sysdeps/sh/elf/start.S: Moved to ...
35428 * sysdeps/sh/start.S: ... here.
35429 * sysdeps/sh/elf/configure: Delete file.
35431 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35432 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35433 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35434 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35435 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35436 * sysdeps/powerpc/powerpc64/start.S: here.
35437 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35438 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35439 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35440 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35441 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35443 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35444 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35445 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35446 * sysdeps/powerpc/powerpc32/start.S: ... here.
35447 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35448 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35449 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35451 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35452 * sysdeps/powerpc/ifunc-sel.h: ... here.
35453 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35454 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35456 * sysdeps/sparc/elf/configure.in: Moved to ...
35457 * sysdeps/sparc/configure.in: ... here.
35458 * sysdeps/sparc/elf/configure: Delete file.
35459 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35460 * sysdeps/sparc/sparc32/start.S: ... here.
35461 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35462 * sysdeps/sparc/sparc64/start.S: ... here.
35463 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35464 * sysdeps/sparc/sparc32/Makefile: ... this.
35465 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35466 * sysdeps/sparc/sparc64/Makefile: ... this.
35468 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35469 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35470 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35471 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35472 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35473 * sysdeps/s390/s390-32/setjmp.S: ... here.
35474 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35475 * sysdeps/s390/s390-32/configure.in: ... here.
35476 * sysdeps/s390/s390-32/elf/configure: Delete file.
35477 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35478 * sysdeps/s390/s390-32/start.S: ... here.
35480 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35481 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35482 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35483 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35484 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35485 * sysdeps/s390/s390-64/setjmp.S: ... here.
35486 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35487 * sysdeps/s390/s390-64/configure.in: ... here
35488 * sysdeps/s390/s390-64/elf/configure: Delete file.
35489 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35490 * sysdeps/s390/s390-64/start.S: ... here.
35491 * sysdeps/s390/s390-64/elf/configure: Delete.
35493 * configure.in: Remove support for elf directories in sysdeps.
35495 * configure: Regenerated.
35496 * sysdeps/i386/configure: Regenerated.
35497 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35498 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35499 * sysdeps/s390/s390-32/configure: Regenerated.
35500 * sysdeps/s390/s390-64/configure: Regenerated.
35501 * sysdeps/sh/configure: Regenerated.
35502 * sysdeps/sparc/configure: Regenerated.
35503 * sysdeps/x86_64/configure: Regenerated.
35505 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35510 denormal result into account.
35512 2012-03-25 Roland McGrath <roland@hack.frob.com>
35514 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35515 Reported by Allan McRae <allan@archlinux.org>.
35517 2012-03-23 Jeff Law <law@redhat.com>
35519 * nss/getnssent.c (__nss_getent): Fix typo.
35521 2012-03-23 David S. Miller <davem@davemloft.net>
35523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35525 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35527 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35528 to pad to uint64_t for each field.
35529 (dl_tls_index): Replace unsigned long with uint64_t.
35531 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35532 Paul Pluzhnikov <ppluzhnikov@google.com>
35535 * grp/Makefile (otherlibs): Don't set it.
35536 * inet/Makefile (otherlibs): Likewise.
35537 * login/Makefile (otherlibs): Likewise.
35538 * nscd/Makefile (otherlibs): Likewise.
35539 * posix/Makefile (otherlibs): Likewise.
35540 * pwd/Makefile (otherlibs): Likewise.
35541 * rt/Makefile (otherlibs): Likewise.
35542 * sunrpc/Makefile (otherlibs): Likewise.
35543 * nss/Makefile (otherlibs): Likewise.
35544 Add libnss_files to routines and static-only-routines.
35545 ($(objpfx)getent): Remove rule.
35546 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35547 static-only-routines.
35549 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35552 * math/s_cexp.c: Include <float.h>.
35553 (__cexp): Handle exp result overflowing not necessarily
35554 overflowing both real and imaginary parts of result.
35555 * math/s_cexpf.c: Likewise.
35556 * math/s_cexpl.c: Likewise.
35557 * math/libm-test.inc (cexp_test): Add more tests.
35558 * sysdeps/i386/fpu/libm-test-ulps: Update.
35559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35561 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35563 * include/link.h (ELFW): New macro.
35564 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35565 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35567 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35569 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35572 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35574 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35576 (struct La_x32_retval): Likewise.
35578 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35580 * sysdeps/x86_64/preconfigure.in: New file.
35581 * sysdeps/x86_64/preconfigure: New generated file.
35583 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35586 * math/e_exp2l.c: Include <float.h>.
35587 (__ieee754_exp2l): Handle overflow and underflow cases
35588 separately. Only pass fractional part of argument to
35590 * math/libm-test.inc (exp2_test): Add more tests.
35592 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35593 negating x to take absolute value.
35594 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35596 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35597 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35599 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35600 computing low part if x was negated.
35601 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35603 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35605 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35606 la_x32_gnu_pltexit.
35607 (pltexit): Cast int_retval to ptrdiff_t.
35608 * elf/tst-auditmod3b.c: Likewise.
35609 * elf/tst-auditmod4b.c: Likewise.
35610 * elf/tst-auditmod5b.c: Likewise.
35611 * elf/tst-auditmod6b.c: Likewise.
35612 * elf/tst-auditmod6c.c: Likewise.
35613 * elf/tst-auditmod7b.c: Likewise.
35615 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35616 and x32_gnu_pltexit.
35618 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35619 __ELF_NATIVE_CLASS.
35620 (La_x32_regs): New macro.
35621 (La_x32_retval): Likewise.
35622 (la_x32_gnu_pltenter): New function prototype.
35623 (la_x32_gnu_pltexit): Likewise.
35625 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35627 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35632 * configure.in (libc_cv_cc_nofma): Check for option to disable
35633 generation of FMA instructions.
35634 * configure: Regenerate.
35635 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35636 * sysdeps/ieee754/dbl-64/Makefile: New file.
35637 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35638 Remove brandred-fma4.
35639 (CFLAGS-brandred-fma4.c): Remove.
35640 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35641 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35643 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35646 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35648 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35649 LLONG_MAX != LONG_MAX.
35650 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35651 (_fitoa_word): Likewise.
35652 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35653 LLONG_MAX != LONG_MAX.
35654 * stdio-common/_itowa.h: Include <_itoa.h>.
35655 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35656 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35657 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35658 only if not defined.
35659 (_ITOA_WORD_TYPE): Likewise.
35660 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35661 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35663 2012-03-21 David S. Miller <davem@davemloft.net>
35665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35667 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35669 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35670 of x86_64 when setting libc_cv_slibdir, libdir and
35672 * sysdeps/unix/sysv/linux/configure: Regenerated.
35674 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35676 * manual/lang.texi (Old Varargs): Remove section.
35677 (How Variadic): Update menu.
35678 (va_start): Do not mention varargs.h.
35680 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35681 Joseph Myers <joseph@codesourcery.com>
35683 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35685 * configure: Regenerated.
35687 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35689 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35690 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35693 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35696 * Makefile (files-for-dist): Remove NOTES.
35697 (NOTES): Remove rule.
35698 * README: Don't refer to NOTES.
35699 * manual/creature.texi: Don't include macros.texi.
35700 * manual/intro.texi (creature.texi): Remove comment referring to
35703 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35704 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35705 * configure: Regenerated.
35706 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35707 LIBC_TRY_CC_OPTION.
35708 (libc_cv_as_i686): Likewise.
35709 (libc_cv_cc_avx): Likewise.
35710 (libc_cv_cc_sse2avx): Likewise.
35711 (libc_cv_cc_fma4): Likewise.
35712 (libc_cv_cc_novzeroupper): Likewise.
35713 * sysdeps/i386/configure: Regenerated.
35716 * sysdeps/i386/fpu/s_cexp.S: Remove.
35717 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35718 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35719 * math/libm-test.inc (cexp_test): Add more tests.
35720 * sysdeps/i386/fpu/libm-test-ulps: Update.
35721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35723 2012-03-21 Allan McRae <allan@archlinux.org>
35725 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35727 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35730 * math/w_exp2.c: Do not include <float.h>.
35731 (o_threshold, u_threshold): Remove.
35732 (__exp2): Calculate result before checking finiteness and calling
35734 * math/w_exp2f.c: Likewise.
35735 * math/w_exp2l.c: Likewise.
35736 * math/libm-test.inc (exp2_test): Require overflow exception for
35740 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35741 range of signed 64-bit integers before using fistpll. Remove
35742 checks for whether integers fit in mantissa bits.
35743 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35744 the range of signed 32-bit integers before using fistpl. Remove
35745 checks for whether integers fit in mantissa bits.
35746 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35747 (__ieee754_powl): Test for y outside the range of signed 64-bit
35748 integers before using fistpll. Reduce 64-bit values to 63-bit
35750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35751 divide-by-zero is raised for zero to large negative powers.
35752 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35753 (__ieee754_powl): Test for y outside the range of signed 64-bit
35754 integers before using fistpll. Reduce 64-bit values to 63-bit
35756 * math/libm-test.inc (pow_test): Add more tests.
35758 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35760 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35761 <stdio-common/_itoa.h>.
35762 * debug/segfault.c: Likewise.
35763 * elf/dl-cache.c: Likewise.
35764 * elf/dl-minimal.c: Likewise.
35765 * elf/dl-misc.c: Likewise.
35766 * elf/dl-sysdep.c: Likewise.
35767 * elf/dl-version.c: Likewise.
35768 * elf/rtld.c: Likewise.
35769 * hurd/hurdsock.c: Likewise.
35770 * hurd/lookup-retry.c: Likewise.
35771 * malloc/malloc.c: Likewise.
35772 * malloc/mtrace.c: Likewise.
35773 * nscd/nscd_getgr_r.c: Likewise.
35774 * nscd/nscd_getpw_r.c: Likewise.
35775 * nscd/nscd_getserv_r.c: Likewise.
35776 * posix/getopt_init.c: Likewise.
35777 * posix/wordexp.c: Likewise.
35778 * stdio-common/_itoa.c: Likewise.
35779 * stdio-common/printf_fphex.c: Likewise.
35780 * stdio-common/vfprintf.c: Likewise.
35781 * string/_strerror.c: Likewise.
35782 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35783 * sysdeps/i386/i686/hp-timing.h: Likewise.
35784 * sysdeps/mach/_strerror.c: Likewise.
35785 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35786 * sysdeps/mach/hurd/sethostid.c: Likewise.
35787 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35788 * sysdeps/mach/xpg-strerror.c: Likewise.
35789 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35790 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35791 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35792 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35793 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35794 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35795 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35796 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35797 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35798 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35799 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35800 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35801 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35802 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35803 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35804 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35805 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35806 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35807 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35808 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35809 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35811 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35813 * stdio-common/_itoa.h: Moved to ...
35814 * sysdeps/generic/_itoa.h: Here.
35816 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35818 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35819 instead of "_itoa.h" and "_itowa.h".
35820 * stdio-common/vfprintf.: Likewise.
35822 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35824 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35826 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35827 (__signbit): Likwise.
35828 (llrintf): Likwise.
35831 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35833 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35836 2012-03-20 Joseph Myers <joseph@codesourcery.com>
35838 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35839 OVERFLOW_EXCEPTION_OK.
35840 * math/libm-test.inc ("Philosophy"): Update comment about
35842 (OVERFLOW_EXCEPTION): Define.
35843 (OVERFLOW_EXCEPTION_OK): Likewise.
35844 (INVALID_EXCEPTION_OK): Renumber.
35845 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35846 (IGNORE_ZERO_INF_SIGN): Likewise.
35847 (test_exceptions): Handle FE_OVERFLOW.
35848 (exp10_test): Expect overflow exceptions.
35849 (exp2_test): Likewise.
35850 (expm1_test): Likewise.
35851 (nextafter_test): Likewise.
35852 (pow_test): Likewise.
35853 (scalbn_test): Likewise.
35854 (scalbln_test): Likewise.
35856 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35858 * sysdeps/x86_64/bits/atomic.h
35859 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35861 (atomic_exchange_acq): Likewise.
35862 (__arch_exchange_and_add_body): Likewise.
35863 (__arch_add_body): Likewise.
35864 (atomic_add_negative): Likewise.
35865 (atomic_add_zero): Likewise.
35867 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35869 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35870 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35872 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35874 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35875 Check __x86_64__ instead of __WORDSIZE.
35877 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35879 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35881 2012-03-19 David S. Miller <davem@davemloft.net>
35883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35885 * sysdeps/sparc/fpu/fenv_private.h: New file.
35886 * sysdeps/sparc/fpu/math_private.h: Use it.
35887 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35889 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35890 (libc_feholdexcept_setroundl): Remove.
35891 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35893 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35894 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35896 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35898 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35899 int64_t instead of long int.
35900 (INSERT_WORDS64): Likwise.
35902 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35904 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35905 _Unwind_GetCFA return to _Unwind_Ptr first.
35907 2012-03-19 Joseph Myers <joseph@codesourcery.com>
35910 * math/s_clog.c: Include <float.h>.
35911 (__clog): Scale large or subnormal inputs.
35912 * math/s_clogf.c: Likewise.
35913 * math/s_clogl.c: Likewise.
35914 * math/s_clog10.c: Include <float.h>.
35915 (M_LOG10_2): Define.
35916 (__clog10): Scale large or subnormal inputs.
35917 * math/s_clog10f.c: Likewise.
35918 * math/s_clog10l.c: Likewise.
35919 * math/libm-test.inc (clog_test): Add more tests.
35920 (clog10_test): Likewise.
35921 * sysdeps/i386/fpu/libm-test-ulps: Update.
35922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35925 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35927 * math/libm-test.inc (atan2_test): Add another test.
35929 * Makerules (common-objdir-compile): Remove.
35930 * sysdeps/unix/Makefile (config-generated): Do not add
35931 $(unix-generated) to variable.
35932 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35933 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35935 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35937 [generic bits/local_lim.h] (before-compile): Do not append to
35939 [generic bits/local_lim.h] (common-generated): Likewise.
35940 [generic sys/param.h] (before-compile): Do not append to variable.
35941 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35942 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35943 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35944 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35946 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35947 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35948 [generic sys/param.h] ($(addprefix
35949 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35950 [generic sys/param.h] (common-generated): Do not append to
35952 [generic sys/param.h] (sysdep_headers): Likewise.
35953 [generic bits/errno.h] (before-compile): Do not append to
35955 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35957 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35958 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35959 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35960 [generic bits/errno.h] (common-generated): Do not append to
35962 [generic bits/ioctls.h] (before-compile): Do not append to
35964 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35966 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35967 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35968 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35970 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35971 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35972 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35973 [generic bits/ioctls.h] (common-generated): Do not append to
35975 [generic sys/syscall.h] (syscall.h): Remove variable.
35976 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35978 [generic sys/syscall.h] (before-compile): Do not append to
35980 [generic sys/syscall.h] (common-generated): Likewise.
35981 * sysdeps/unix/errnos-tmpl.c: Remove file.
35982 * sysdeps/unix/errnos.awk: Likewise.
35983 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35984 * sysdeps/unix/ioctls.awk: Likewise.
35985 * sysdeps/unix/mk-local_lim.c: Likewise.
35986 * sysdeps/unix/snarf-ioctls: Likewise.
35988 2012-03-19 Richard Henderson <rth@twiddle.net>
35990 * sysdeps/i386/fpu/fenv_private.h: New file.
35991 * sysdeps/i386/fpu/math_private.h: Use it.
35992 (math_opt_barrier, math_force_eval): Remove.
35993 (libc_feholdexcept_setround_53bit): Remove.
35994 (libc_feupdateenv_53bit): Remove.
35995 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35996 (math_opt_barrier, math_force_eval): Remove.
35997 (libc_feholdexcept): Remove.
35998 (libc_feholdexcept_setround): Remove.
35999 (libc_fetestexcept, libc_fesetenv): Remove.
36000 (libc_feupdateenv_test): Remove.
36001 (libc_feupdateenv, libc_feholdsetround): Remove.
36002 (libc_feresetround): Remove.
36004 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36005 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36007 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36008 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36009 (libc_feupdateenv_testl): New.
36010 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36011 (libc_feupdateenv_testf): New.
36012 (libc_feupdateenv): Use libc_feupdateenv_test.
36013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36014 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36016 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36017 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36018 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36019 (libc_feresetround_noex): New.
36020 (libc_feresetround_noexf): New.
36021 (libc_feresetround_noexl): New.
36022 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36023 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36024 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36025 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36030 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36031 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36032 SET_RESTORE_ROUND_NOEX.
36033 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36034 SET_RESTORE_ROUND_NOEXF.
36035 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36036 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36037 (libc_feholdsetroundf): New.
36038 (libc_feresetround, libc_feresetroundf): New.
36040 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36041 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36042 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36044 * sysdeps/generic/math_private.h: Include <fenv.h>.
36045 (default_libc_feholdexcept): New.
36046 (default_libc_feholdexcept_setround): New.
36047 (default_libc_fesetenv, default_libc_feupdateenv): New.
36048 (libc_feholdexcept): Only define if undefined.
36049 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36050 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36051 (libc_feholdexcept_setroundl): Likewise.
36052 (libc_feholdexcept_setround_53bit): Likewise.
36053 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36054 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36055 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36056 (libc_feupdateenv_53bit): Likewise.
36057 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36058 (libc_feholdexcept): Convert from macro to inline function.
36059 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36060 (libc_fesetenv, libc_feupdateenv): Likewise.
36062 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36063 not previously defined.
36064 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36065 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36066 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36067 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36068 * sysdeps/ieee754/flt-32/math_private.h: New file.
36069 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36070 math_private.h below SET_FLOAT_WORD.
36071 (__isnan, __isinf_ns, __finite): Remove.
36072 (__isnanf, __isinf_nsf, __finitef): Remove.
36074 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36078 2012-03-17 David S. Miller <davem@davemloft.net>
36081 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36084 2012-03-16 David S. Miller <davem@davemloft.net>
36086 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36090 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36092 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36093 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36094 sysdep_routines when subdir is sysvipc.
36095 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36096 __getshmlba helper.
36098 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36100 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36102 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36105 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36107 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36108 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36109 (__lround): Renamed to ...
36110 (__llround): This. Replace long int with long long int.
36111 Define lround functions as aliases of llround functions.
36112 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36114 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36116 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36117 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36118 adresses to uintptr_t. Replace "long int" and "unsigned long
36119 int" with "greg_t" on va_arg.
36121 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36123 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36124 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36126 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36127 Move e_machine check before EI_CLASS check. Handle x32
36128 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36129 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36130 SKIP_EM_IA_64 and include
36131 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36133 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36134 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36135 (add_system_dir): New macro.
36137 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36138 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36140 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36151 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36153 * math/w_j0f.c (j0f): Likewise.
36155 * math/w_j0l.c (__j0l): Likewise.
36157 * math/w_j1.c (j1): Likewise.
36159 * math/w_j1f.c (j1f): Likewise.
36161 * math/w_j1l.c (__j1l): Likewise.
36163 * math/w_jn.c (jn): Likewise.
36165 * math/w_jnf.c (jnf): Likewise.
36167 * math/w_jnl.c (__jnl): Likewise.
36169 * math/libm-test.inc (j0_test): Add more tests.
36170 (j1_test): Likewise.
36171 (jn_test): Likewise. Add trailing semicolon to existing test.
36172 (y0_test): Likewise.
36173 (y1_test): Likewise.
36174 * sysdeps/i386/fpu/libm-test-ulps: Update.
36175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36179 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36180 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36181 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36182 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36183 (__tanl): Set errno for infinite argument.
36184 * sysdeps/i386/fpu/mptan.c: Remove.
36185 * sysdeps/i386/fpu/s_tan.S: Likewise.
36186 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36187 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36188 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36189 * math/libm-test.inc (tan_test): Add more tests and enable more
36190 tests for double and long double.
36191 * sysdeps/i386/fpu/libm-test-ulps: Update.
36192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36194 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36196 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36197 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36199 2012-03-16 Roland McGrath <roland@hack.frob.com>
36201 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36202 * configure.in: Use it for both main tree and add-ons.
36203 * configure: Regenerated.
36205 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36207 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36209 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36211 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36215 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36216 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36217 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36218 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36219 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36221 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36223 != 0 for prec == 2.
36224 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36225 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36226 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36227 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36228 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36229 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36230 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36231 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36232 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36233 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36234 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36235 * math/libm-test.inc (cos_test): Add more tests and enable more
36236 tests for long double.
36237 (sin_test): Likewise.
36238 (sincos_test): Likewise.
36239 * sysdeps/i386/fpu/libm-test-ulps: Update.
36240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36242 2012-03-16 David S. Miller <davem@davemloft.net>
36244 * sysdeps/sparc/fpu/math_private.h: New file.
36246 2012-03-15 David S. Miller <davem@davemloft.net>
36248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36258 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36262 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36263 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36265 * sysdeps/sparc/sparc-ifunc.h: New file.
36266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36309 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36311 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36313 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36317 2012-03-15 Andreas Jaeger <aj@suse.de>
36320 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36321 ieee754/flt-32 implementation for sin, cos and sincos.
36322 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36323 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36324 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36325 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36326 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36327 ieee754/flt-32 implementation for tan.
36329 * math/libm-test.inc (cos_test): Enable some large input tests for
36331 (sin_test): Likewise.
36332 (sincos_test): Likewise.
36333 (tan_test): Add tests for large input.
36335 * sysdeps/i386/fpu/libm-test-ulps: Update.
36337 2012-03-15 Andreas Jaeger <aj@suse.de>
36340 * math/libm-test.inc (cos_test): Add more test cases.
36341 (sin_test): Likewise.
36342 (sincos_test): Likewise.
36344 2012-03-15 Andreas Jaeger <aj@suse.de>
36347 * math/libm-test.inc (cos_test): Add a test case for large input
36349 (sin_test): Likewise.
36350 (sincos_test): Likewise.
36352 2012-03-15 Andreas Jaeger <aj@suse.de>
36353 Joseph Myers <joseph@codesourcery.com>
36356 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36357 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36358 * sysdeps/i386/fpu/branred.c: Likewise.
36359 * sysdeps/i386/fpu/dosincos.c: Likewise.
36360 * sysdeps/i386/fpu/mpa.c: Likewise.
36361 * sysdeps/i386/fpu/s_cos.S: Likewise.
36362 * sysdeps/i386/fpu/s_sin.S: Likewise.
36363 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36364 * sysdeps/i386/fpu/sincos32.c: Likewise.
36366 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36368 (libc_feupdateenv_53bit): Define.
36369 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36371 (libc_feupdateenv_53bit): Define.
36373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36374 53 bit (without extend i386 double precision).
36376 * math/libm-test.inc (sincos_test): Add tests for large input.
36380 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36382 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36386 2012-03-15 David S. Miller <davem@davemloft.net>
36388 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36389 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36390 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36391 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36416 fmin/fmax sysdep routines.
36417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36419 2012-03-14 David S. Miller <davem@davemloft.net>
36421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36428 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36493 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36498 * sysdeps/sparc/configure.in: New file.
36499 * sysdeps/sparc/configure: Generate.
36500 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36501 * configure: Regenerate.
36502 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36503 * config.make.in (have-as-vis3): New.
36504 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36505 available use -Av9d instead of -Av9a.
36506 * sysdeps/sparc/sparc64/Makefile: Likewise.
36507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36522 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36523 fzeros/fnegs to load 0x80000000 into a float register instead of
36525 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36527 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36531 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36532 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36533 ($(inst_includedir)/bits/syscall.h): Remove rule.
36534 ($(objpfx)bits/syscall.d): Include instead of
36535 $(objpfx)syscall-list.d.
36536 (generated): Change syscall-list.h and syscall-list.d to
36537 bits/syscall.h and bits/syscall.d.
36539 2012-03-14 Roland McGrath <roland@hack.frob.com>
36542 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36544 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36547 * math/s_csqrt.c: Include <float.h>.
36548 (__csqrt): Scale large or subnormal inputs.
36549 * math/s_csqrtf.c: Likewise.
36550 * math/s_csqrtl.c: Likewise.
36551 * math/libm-test.inc (csqrt_test): Add more tests.
36552 * sysdeps/i386/fpu/libm-test-ulps: Update.
36553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36556 * math/libm-test.inc (hypot_test): Add more tests.
36558 2012-03-13 David S. Miller <davem@davemloft.net>
36561 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36562 double-precision for the calculation instead of scaling.
36564 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36566 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36567 manipulate bits before adding and subtracting TWO52[sx].
36568 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36569 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36571 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36573 2012-03-13 David S. Miller <davem@davemloft.net>
36575 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36576 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36578 rtld-global-offsets.h
36579 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36581 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36584 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36586 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36587 'err' in the ifdef scope in which it is actually used.
36589 * nss/nss_db/db-init.c: Include string.h
36591 2012-03-12 David S. Miller <davem@davemloft.net>
36593 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36594 masking out of the most significant byte of random value used.
36595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36596 Fix coding style in previous change.
36598 * sysdeps/unix/sysv/linux/kernel-features.h
36599 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36600 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36602 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36605 2012-03-11 David S. Miller <davem@davemloft.net>
36607 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36608 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36609 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36610 for 'resultvar' otherwise things get truncated on 64-bit.
36612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36613 Fix masking out of the most significant byte of random value used.
36615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36617 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36621 2012-03-09 David S. Miller <davem@davemloft.net>
36623 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36624 variables with appropriate CPP guards.
36625 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36626 from the frame pointer, not the stack pointer. Correct layout
36627 comments. Fix test on resulting framesize and the management of
36628 the outregs buffer for pltexit. Preserve floating point return
36629 values across _dl_call_pltexit call.
36630 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36631 framesize and the management of the outregs buffer for pltexit.
36632 Preserve floating point return values across _dl_call_pltexit
36634 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36635 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36636 (la_sparc64_gnu_pltexit): New functions.
36637 (print_exit): Fix format string for return register value.
36639 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36641 * sunrpc/Makefile (others): Add rpcgen.
36642 ($(objpfx)rpcgen): Remove special build rule and dependency on
36644 * sunrpc/rpcgen.c: New file.
36646 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36649 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36650 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36651 * sysdeps/i386/crti.S: Likewise.
36652 * sysdeps/i386/crtn.S: Likewise.
36653 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36654 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36655 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36656 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36657 * sysdeps/sh/crti.S: Likewise.
36658 * sysdeps/sh/crtn.S: Likewise.
36659 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36662 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36664 * locale/programs/locfile-kw.gperf: Likewise.
36665 * locale/programs/charmap-kw.h: Regenerated.
36666 * locale/programs/locfile-kw.h: Likewise.
36669 * intl/plural.y: Replace FSF snail mail address with URL.
36670 * intl/plural.c: Regenerated.
36672 2012-03-09 Richard Henderson <rth@twiddle.net>
36674 * include/math_private.h: Remove file.
36675 * math/math_private.h: Move file ...
36676 * sysdeps/generic/math_private.h: ... here.
36678 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36679 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36680 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36682 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36683 and <math_private.h>.
36684 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36685 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36686 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36687 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36688 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36689 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36690 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36692 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36695 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36696 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36698 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36700 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36701 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36702 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36703 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36706 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36708 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36709 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36710 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36714 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36716 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36717 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36718 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36719 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36720 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36721 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36722 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36723 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36724 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36725 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36726 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36727 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36728 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36729 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36730 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36731 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36733 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36734 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36735 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36736 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36737 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36738 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36740 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36741 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36742 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36743 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36745 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36747 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36748 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36749 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36750 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36751 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36752 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36753 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36754 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36756 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36757 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36758 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36763 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36764 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36765 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36766 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36767 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36768 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36771 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36772 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36773 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36774 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36775 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36776 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36777 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36778 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36779 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36780 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36781 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36782 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36783 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36784 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36785 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36786 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36787 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36788 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36789 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36790 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36791 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36792 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36793 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36794 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36795 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36796 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36797 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36798 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36799 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36800 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36801 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36802 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36803 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36804 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36805 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36807 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36808 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36809 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36810 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36811 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36812 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36813 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36814 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36816 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36817 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36818 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36819 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36820 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36821 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36822 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36823 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36824 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36825 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36826 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36827 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36828 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36829 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36830 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36831 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36832 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36833 * sysdeps/ieee754/k_standard.c: Likewise.
36834 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36838 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36839 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36842 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36843 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36844 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36845 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36846 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36847 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36848 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36849 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36850 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36851 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36852 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36853 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36854 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36855 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36858 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36860 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36861 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36862 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36863 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36864 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36865 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36866 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36868 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36869 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36870 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36871 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36872 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36873 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36874 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36875 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36876 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36877 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36878 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36879 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36880 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36881 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36882 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36883 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36884 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36885 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36886 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36887 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36888 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36889 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36890 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36891 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36892 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36893 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36894 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36895 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36896 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36901 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36902 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36906 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36908 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36910 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36911 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36913 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36914 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36915 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36916 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36917 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36918 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36919 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36920 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36921 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36922 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36924 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36925 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36926 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36927 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36928 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36930 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36931 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36932 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36933 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36935 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36936 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36938 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36941 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36942 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36943 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36944 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36945 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36946 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36947 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36948 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36949 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36950 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36951 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36952 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36953 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36955 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36956 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36957 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36958 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36959 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36960 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36961 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36962 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36963 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36964 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36965 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36966 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36967 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36968 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36969 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36970 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36971 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36972 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36973 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36974 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36975 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36976 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36977 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36978 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36979 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36980 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36983 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36985 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36986 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36987 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36988 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36989 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36990 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36991 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36992 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36993 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36994 * sysdeps/ieee754/s_lib_version.c: Likewise.
36995 * sysdeps/ieee754/s_matherr.c: Likewise.
36996 * sysdeps/ieee754/s_signgam.c: Likewise.
36997 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36998 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36999 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37000 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37001 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37002 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37003 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37004 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37005 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37006 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37007 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37008 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37009 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37010 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37011 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37012 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37013 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37014 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37015 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37019 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37021 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37022 * sunrpc/rpc_main.c: Likewise.
37023 * sunrpc/rpc_svcout.c: Likewise.
37025 2012-03-09 David S. Miller <davem@davemloft.net>
37027 * include/math_private.h: New file.
37029 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37031 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37032 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37033 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37034 from <bits/socket_type.h>.
37035 (enum __socket_type): Don't define here.
37036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37038 bits/socket_type.h.
37041 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37042 checking __USE_GNU.
37044 * Makerules ($(inst_includedir)/%.h): New rule.
37045 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37046 (install-others): Remove variable setting.
37047 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37049 2012-03-08 Richard Henderson <rth@twiddle.net>
37051 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37052 from macro to inline function; merge with the
37053 !__LIBC_INTERNAL_MATH_INLINES version.
37054 (__ieee754_sqrtf): Likewise.
37056 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37057 to inline function.
37058 (__rintf, __floor, __floorf): Likewise.
37060 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37061 macro to inline function.
37062 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37064 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37065 not <math/math_private.h>.
37067 2012-03-08 David S. Miller <davem@davemloft.net>
37069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37071 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37073 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37075 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37077 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37078 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37080 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37082 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37083 be defined individually, they must be defined as a block. Define
37084 S for printing a string instead of hidint the different by using a
37085 macro for adding the 'l'.
37086 * stdio-common/tst-fphex-wide.c: Adjust.
37088 2012-03-07 Marek Polacek <polacek@redhat.com>
37090 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37092 2012-03-08 Marek Polacek <polacek@redhat.com>
37095 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37096 * stdio-common/tst-fphex.c: Define a few macros to make the
37097 test reusable. Use them.
37098 * stdio-common/tst-fphex-wide.c: New file.
37100 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37103 * manual/macros.texi (gnusystems): New macro.
37104 (nongnusystems): Likewise.
37105 (gnulinuxhurdsystems): Likewise.
37106 (gnuhurdsystems): Likewise..
37107 (gnulinuxsystems): Likewise.
37108 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37109 variants of the GNU system, not "GNU system".
37110 * manual/conf.texi: Likewise.
37111 * manual/errno.texi: Likewise. Update example of errno macro
37113 * manual/filesys.texi: Likewise.
37114 (getumask): Document as specific to GNU/Hurd.
37115 * manual/install.texi: Likewise. Reword some references to
37117 * manual/intro.texi: Likewise.
37118 * manual/io.texi: Likewise.
37119 (File Name Portability): Detail which constraints are inapplicable
37120 to all GNU systems and which are only inapplicable to GNU/Hurd.
37121 * manual/job.texi: Likewise.
37122 * manual/llio.texi: Likewise.
37123 (O_NOCTTY): Document as present on GNU/Linux.
37124 * manual/maint.texi: Likewise.
37125 * manual/memory.texi: Likewise.
37126 * manual/pattern.texi: Likewise.
37127 * manual/pipe.texi: Likewise.
37128 * manual/process.texi: Likewise.
37129 * manual/resource.texi: Likewise.
37130 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37132 * manual/setjmp.texi: Likewise.
37133 * manual/signal.texi: Likewise.
37134 * manual/startup.texi: Likewise.
37135 * manual/stdio.texi: Likewise.
37136 * manual/terminal.texi: Likewise.
37137 (ONLCR): Document as POSIX.
37138 (OXTABS): Document availability on GNU/Linux as XTABS.
37139 (ONOEOT): Document availability separately from other bits.
37140 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37141 * manual/time.texi: Likewise.
37142 * manual/users.texi: Likewise.
37143 * INSTALL: Regenerated.
37144 * sysdeps/gnu/errlist.c: Regenerated.
37146 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37147 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37148 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37150 * configure: Regenerated.
37152 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37154 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37155 default includes instead of AC_HEADER_CHECK.
37156 * sysdeps/i386/configure: Regenerated.
37159 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37160 * math/s_cacoshf.c (__cacoshf): Likewise.
37161 * math/s_cacoshl.c (__cacoshl): Likewise.
37162 * math/s_casinh.c (__casinh): Set signs of result from argument.
37163 * math/s_casinhf.c (__casinhf): Likewise.
37164 * math/s_casinhl.c (__casinhl): Likewise.
37165 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37166 (casinh_test): Add more tests.
37167 * sysdeps/i386/fpu/libm-test-ulps: Update.
37168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37170 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37172 * po/zh_TW.po: Update from translation team.
37174 * login/Makefile (distribute): Remove variable.
37175 * catgets/Makefile: Likewise.
37176 * mach/Makefile: Likewise.
37177 * malloc/Makefile: Likewise.
37178 * misc/Makefile: Likewise.
37179 * iconv/Makefile: Likewise.
37180 * nscd/Makefile: Likewise.
37181 * hurd/Makefile: Likewise.
37182 * manual/Makefile: Likewise.
37183 * locale/Makefile: Likewise.
37184 * intl/Makefile: Likewise.
37185 * conform/Makefile: Likewise.
37186 * nss/Makefile: Likewise.
37187 * time/Makefile: Likewise.
37188 * soft-fp/Makefile: Likewise.
37189 * dirent/Makefile: Likewise.
37190 * gmon/Makefile: Likewise.
37191 * po/Makefile: Likewise.
37192 * rt/Makefile: Likewise.
37193 * socket/Makefile: Likewise.
37194 * math/Makefile: Likewise.
37195 * signal/Makefile: Likewise.
37196 * debug/Makefile: Likewise.
37197 * elf/Makefile: Likewise.
37198 * timezone/Makefile: Likewise.
37199 * stdlib/Makefile: Likewise.
37200 * iconvdata/Makefile: Likewise.
37201 * sunrpc/Makefile: Likewise.
37202 * io/Makefile: Likewise.
37203 * argp/Makefile: Likewise.
37204 * inet/Makefile: Likewise.
37205 * hesiod/Makefile: Likewise.
37206 * grp/Makefile: Likewise.
37207 * csu/Makefile: Likewise.
37208 * wctype/Makefile: Likewise.
37209 * crypt/Makefile: Likewise.
37210 * libio/Makefile: Likewise.
37211 * string/Makefile: Likewise.
37212 * nis/Makefile: Likewise.
37213 * resolv/Makefile: Likewise.
37214 * stdio-common/Makefile: Likewise.
37215 * wcsmbs/Makefile: Likewise.
37216 * dlfcn/Makefile: Likewise.
37217 * posix/Makefile: Likewise.
37220 * timezone/Makefile: Don't install timezone files, just the programs
37223 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37225 * nss/databases.def: Add missing gshadow entry.
37227 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37229 2012-03-06 Marek Polacek <polacek@redhat.com>
37232 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37233 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37234 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37235 * stdio-common/tst-long-dbl-fphex.c: New file.
37237 2012-03-06 David S. Miller <davem@davemloft.net>
37239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37240 (set_obp_int): New function.
37241 (get_obp_int): New function.
37242 (__get_clockfreq_via_dev_openprom): Likewise.
37243 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37244 Avoid unused variable warnings on 'val' and use builtin_expect.
37245 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37247 (INLINE_CLONE_SYSCALL): Likewise.
37249 2012-03-05 David S. Miller <davem@davemloft.net>
37251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37253 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37258 only for |x| >= 40.
37259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37261 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37264 Replace gettimeofday with __vdso_gettimeofday.
37266 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37267 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37268 __vdso_clock_gettime and __vdso_getcpu.
37270 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37271 time with __vdso_time.
37273 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37275 * manual/lang.texi (size_t): Note types to which size_t may be
37276 equivalent with the GNU C Library, but do not describe when
37277 differences between them are significant.
37279 2012-03-05 Andreas Jaeger <aj@suse.de>
37281 * sysdeps/i386/fpu/libm-test-ulps: Update.
37283 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37286 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37287 (__ieee754_pow): Save and restore rounding mode and use
37288 round-to-nearest for main computations.
37289 * math/libm-test.inc (pow_test_tonearest): New function.
37290 (pow_test_towardzero): Likewise.
37291 (pow_test_downward): Likewise.
37292 (pow_test_upward): Likewise.
37293 (main): Call the new functions.
37294 * sysdeps/i386/fpu/libm-test-ulps: Update.
37295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37298 * math/libm-test.inc (cosh_test_tonearest): New function.
37299 (cosh_test_towardzero): Likewise.
37300 (cosh_test_downward): Likewise.
37301 (cosh_test_upward): Likewise.
37302 (sinh_test_tonearest): Likewise.
37303 (sinh_test_towardzero): Likewise.
37304 (sinh_test_downward): Likewise.
37305 (sinh_test_upward): Likewise.
37306 (main): Call the new functions.
37307 * sysdeps/i386/fpu/libm-test-ulps: Update.
37308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37310 2012-03-05 Tom de Vries <tom@codesourcery.com>
37312 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37313 default stack guard is set in last bytes.
37314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37316 2012-03-05 Kees Cook <keescook@chromium.org>
37318 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37321 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37322 possibly allocate from heap instead of stack.
37323 * stdio-common/bug-vfprintf-nargs.c: New file.
37324 * stdio-common/Makefile (tests): Add nargs overflow test.
37326 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37330 2012-03-03 Marek Polacek <polacek@redhat.com>
37332 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37333 * math/math_private.h: Likewise.
37334 * stdlib/tst-strtod.c: Likewise.
37335 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37336 * sysdeps/x86_64/bits/atomic.h: Likewise.
37338 2012-03-02 David S. Miller <davem@davemloft.net>
37340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37344 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37347 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37349 2012-03-02 Roland McGrath <roland@hack.frob.com>
37352 * manual/examples/README: New file, says the example source files
37353 can be used under GPL>=2.
37354 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37355 line containing just "*/".
37356 * manual/examples/add.c: Add copyright header (GPL>=2).
37357 * manual/examples/argp-ex1.c: Likewise.
37358 * manual/examples/argp-ex2.c: Likewise.
37359 * manual/examples/argp-ex3.c: Likewise.
37360 * manual/examples/argp-ex4.c: Likewise.
37361 * manual/examples/atexit.c: Likewise.
37362 * manual/examples/db.c: Likewise.
37363 * manual/examples/dir.c: Likewise.
37364 * manual/examples/dir2.c: Likewise.
37365 * manual/examples/execinfo.c: Likewise.
37366 * manual/examples/filecli.c: Likewise.
37367 * manual/examples/filesrv.c: Likewise.
37368 * manual/examples/fmtmsgexpl.c: Likewise.
37369 * manual/examples/genpass.c: Likewise.
37370 * manual/examples/inetcli.c: Likewise.
37371 * manual/examples/inetsrv.c: Likewise.
37372 * manual/examples/isockad.c: Likewise.
37373 * manual/examples/longopt.c: Likewise.
37374 * manual/examples/memopen.c: Likewise.
37375 * manual/examples/memstrm.c: Likewise.
37376 * manual/examples/mkfsock.c: Likewise.
37377 * manual/examples/mkisock.c: Likewise.
37378 * manual/examples/mygetpass.c: Likewise.
37379 * manual/examples/pipe.c: Likewise.
37380 * manual/examples/popen.c: Likewise.
37381 * manual/examples/rprintf.c: Likewise.
37382 * manual/examples/search.c: Likewise.
37383 * manual/examples/select.c: Likewise.
37384 * manual/examples/setjmp.c: Likewise.
37385 * manual/examples/sigh1.c: Likewise.
37386 * manual/examples/sigusr.c: Likewise.
37387 * manual/examples/stpcpy.c: Likewise.
37388 * manual/examples/strdupa.c: Likewise.
37389 * manual/examples/strftim.c: Likewise.
37390 * manual/examples/strncat.c: Likewise.
37391 * manual/examples/subopt.c: Likewise.
37392 * manual/examples/swapcontext.c: Likewise.
37393 * manual/examples/termios.c: Likewise.
37394 * manual/examples/testopt.c: Likewise.
37395 * manual/examples/testpass.c: Likewise.
37396 * manual/examples/timeval_subtract.c: Likewise.
37399 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37401 * manual/timeval_subtract.c.texi: ... here, new file.
37403 2012-03-02 David S. Miller <davem@davemloft.net>
37405 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37407 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37410 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37411 (__sin): Save and restore rounding mode and use round-to-nearest
37412 for all computations.
37413 (__cos): Save and restore rounding mode and use round-to-nearest
37414 for all computations.
37415 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37417 (tan): Save and restore rounding mode and use round-to-nearest for
37419 * math/libm-test.inc (cos_test_tonearest): New function.
37420 (cos_test_towardzero): Likewise.
37421 (cos_test_downward): Likewise.
37422 (cos_test_upward): Likewise.
37423 (sin_test_tonearest): Likewise.
37424 (sin_test_towardzero): Likewise.
37425 (sin_test_downward): Likewise.
37426 (sin_test_upward): Likewise.
37427 (tan_test_tonearest): Likewise.
37428 (tan_test_towardzero): Likewise.
37429 (tan_test_downward): Likewise.
37430 (tan_test_upward): Likewise.
37431 (main): Call the new functions.
37432 * sysdeps/i386/fpu/libm-test-ulps: Update.
37433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37436 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37437 small n, then large n, before computing and testing k+n.
37438 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37443 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37444 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37445 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37446 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37447 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37448 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37449 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37450 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37451 * math/libm-test.inc (scalbn_test): Add more tests.
37452 (scalbln_test): Likewise.
37454 * manual/filesys.texi (mode_t): Describe constraints on size and
37455 signedness, not exact equivalence to a particular type.
37457 (ino64_t): Likewise.
37459 (nlink_t): Likewise.
37460 (blkcnt_t): Likewise.
37461 (blkcnt64_t): Likewise.
37462 * manual/llio.texi (off_t): Likewise.
37465 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37466 (__ieee754_exp): Save and restore rounding mode and use
37467 round-to-nearest for all computations.
37468 * math/libm-test.inc (exp_test_tonearest): New function.
37469 (exp_test_towardzero): Likewise.
37470 (exp_test_downward): Likewise.
37471 (exp_test_upward): Likewise.
37472 (main): Call the new functions.
37473 * sysdeps/i386/fpu/libm-test-ulps: Update.
37474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37476 2012-03-01 Chris Demetriou <cgd@google.com>
37478 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37479 have predictable order.
37481 2012-03-01 David S. Miller <davem@davemloft.net>
37483 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37485 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37486 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37487 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37488 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37490 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37491 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37492 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37494 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37495 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37496 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37497 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37498 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37503 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37504 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37506 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37507 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37508 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37509 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37510 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37511 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37513 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37514 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37515 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37516 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37517 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37522 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37523 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37524 * sysdeps/sparc/elf/configure: Regenerated.
37526 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37528 * configure.in (AS, LD): Require binutils 2.20 or later.
37529 * configure: Regenerated.
37530 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37531 as required minimum version.
37532 * INSTALL: Regenerated.
37536 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37537 before squaring exponent.
37538 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37539 bottom long double and 27 bits of top long double before squaring
37541 * math/libm-test.inc (erfc_test): Add more tests.
37542 * sysdeps/i386/fpu/libm-test-ulps: Update.
37543 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37546 2012-03-01 Kai Tietz <ktietz@redhat.com>
37548 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37549 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37550 containing bit-fields.
37551 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37552 * soft-fp/single.h (_FP_UNION_S): Likewise.
37553 * soft-fp/double.h (_FP_UNION_D): Likewise.
37555 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37558 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37559 not include ../strcmp.S.
37560 [USE_AS_STRNCASECMP_L]: Likewise.
37561 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37562 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37563 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37564 (__strncasecmp_l_ia32): Define as alias to
37565 __strncasecmp_l_nonascii.
37568 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37569 * sysdeps/i386/fpu/libm-test-ulps: Update.
37570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37572 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37575 2012-02-29 Jeff Law <law@redhat.com>
37577 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37578 out of bounds read.
37580 2012-02-29 Marek Polacek <polacek@redhat.com>
37583 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37584 * elf/Makefile: Add rules to run tst-unused-dep.out.
37586 2012-02-28 David S. Miller <davem@davemloft.net>
37588 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37589 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37592 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37593 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37595 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37597 * math/libm-test.inc (llround_test): Move one test from
37598 lround_test. Use TEST_f_L in moved test.
37599 (lround_test): Move misplaced test to llround_test. Add testcase
37602 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37604 * sysdeps/x86_64/fpu/e_expf.S: New file.
37605 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37607 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37610 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37611 of remain_len that may cause incomplete multi-byte character and
37613 * posix/bug-regex33.c: New file.
37614 * posix/Makefile (tests): Add bug-regex33.
37616 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37618 * manual/macros.texi: New file.
37619 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37620 * manual/libc.texinfo: Include macros.texi.
37621 * manual/creatute.texi: Likewise.
37622 * manual/install.texi: Likewise.
37623 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37624 @glibcadj{} in references to the GNU C Library.
37625 * manual/charset.texi: Likewise.
37626 * manual/conf.texi: Likewise.
37627 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37628 when not using those macros.
37629 * manual/creature.texi: Likewise.
37630 * manual/crypt.texi: Likewise.
37631 * manual/errno.texi: Likewise.
37632 * manual/filesys.texi: Likewise.
37633 * manual/header.texi: Likewise.
37634 * manual/install.texi: Likewise.
37635 * manual/intro.texi: Likewise.
37636 * manual/io.texi: Likewise.
37637 * manual/job.texi: Likewise.
37638 * manual/lang.texi: Likewise.
37639 * manual/libc.texiinfo: Likewise.
37640 * manual/llio.texi: Likewise.
37641 * manual/locale.texi: Likewise.
37642 * manual/maint.texi: Likewise.
37643 * manual/math.texi: Likewise.
37644 * manual/memory.texi: Likewise.
37645 * manual/message.texi: Likewise.
37646 * manual/nss.texi: Likewise.
37647 * manual/pattern.texi: Likewise.
37648 * manual/process.texi: Likewise.
37649 * manual/resource.texi: Likewise.
37650 * manual/search.texi: Likewise.
37651 * manual/setjmp.texi: Likewise.
37652 * manual/signal.texi: Likewise.
37653 * manual/socket.texi: Likewise.
37654 * manual/startup.texi: Likewise.
37655 * manual/stdio.texi: Likewise.
37656 * manual/string.texi: Likewise.
37657 * manual/sysinfo.texi: Likewise.
37658 * manual/syslog.texi: Likewise.
37659 * manual/terminal.texi: Likewise.
37660 * manual/time.texi: Likewise.
37661 * manual/users.texi: Likewise.
37662 * INSTALL: Regenerated.
37663 * NOTES: Regenerated.
37664 * sysdeps/gnu/errlist.c: Regenerated.
37666 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37668 * include/dirent.h: Include <dirstream.h> before
37671 2012-02-28 David S. Miller <davem@davemloft.net>
37673 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37674 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37675 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37676 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37678 2012-02-27 David S. Miller <davem@davemloft.net>
37680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37682 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37683 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37686 frame pointer instead of stack pointer relative arg slot.
37687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37688 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37689 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37691 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37694 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37696 2012-02-27 David S. Miller <davem@davemloft.net>
37698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37702 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37703 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37704 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37705 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37707 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37709 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37710 later. Allow versions 5-9.
37711 * configure: Regenerated.
37712 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37713 required minimum version and 4.6 as recommended version. Do not
37714 mention bugs in GCC 2.7 and 2.8.
37715 * INSTALL: Regenerated.
37717 2012-02-27 David S. Miller <davem@davemloft.net>
37719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37723 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37724 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37725 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37726 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37729 manipulate bits before adding and subtracting TWO112[sx].
37730 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37732 2012-02-27 Roland McGrath <roland@hack.frob.com>
37735 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37736 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37737 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37738 being in POSIX, because they are in 1003.1-2008.
37740 * rt/tst-aio.c: Include <fcntl.h>.
37741 * rt/tst-aio7.c: Likewise.
37742 * rt/tst-aio64.c: Likewise.
37744 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37746 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37748 * manual/install.texi (--with-headers): Describe headers as
37749 interface headers, not private headers.
37750 (Specific advice for GNU/Linux systems): Describe use of headers
37751 from "make headers_install", not private headers from older
37753 * INSTALL: Regenerated.
37754 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37756 * sysdeps/unix/sysv/linux/configure: Regenerated.
37758 * manual/llio.texi (fclean): Remove documentation.
37760 * manual/Makefile (libc-texi-generated): New variable. Include
37762 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37763 $(libc-texi-generated), not duplicated list of files.
37764 (version.texi, stamp-version): New rules.
37765 (realclean): Remove $(libc-texi-generated), not individual files
37766 from that list. Do not remove dir-add.texinfo.
37767 * manual/libc.texinfo: Comment out uses of edition numbers and
37768 references to printed manual. Remove last-updated dates.
37769 (EDITION): Comment out.
37771 (VERSION, UPDATED): Remove.
37772 (version.texi): Include.
37774 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37776 * sysdeps/posix/spawni.c: Include <signal.h>.
37777 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37778 * sysdeps/pthread/aio_fsync.c: Likewise.
37780 2012-02-26 Ulrich Drepper <drepper@gmail.com>
37782 * conform/Makefile (tests): Run only when not cross-compiling and
37783 when fast-check is not defined.
37785 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37786 * conform/data/limits.h-data: Fixes for POSIX2008.
37787 * conform/run-conformtest.sh: Run all tests.
37788 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37790 * include/bits/dlfcn.h: Likewise.
37791 * include/langinfo.h: Likewise.
37792 * include/monetary.h: Likewise.
37793 * include/sys/poll.h: Likewise.
37795 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37797 * posix/spawn.h: Define __need_sigset_t.
37798 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37799 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37800 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37801 to get sigevent_t only.
37802 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37803 only for __USE_GNU.
37804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37805 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37806 process_vm_writev only for __USE_GNU.
37807 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37809 * conform/Makefile: For now ignore errors from run-conformtest.
37810 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37811 POSIX to avoid namespace pollution. Don't prepend headers.
37812 * conform/data/aio.h-data: Fixes for POSIX testing.
37813 * conform/data/fcntl.h-data: Likewise.
37814 * conform/data/glob.h-data: Likewise.
37815 * conform/data/grp.h-data: Likewise.
37816 * conform/data/pthread.h-data: Likewise.
37817 * conform/data/pwd.h-data: Likewise.
37818 * conform/data/signal.h-data: Likewise.
37819 * conform/data/spawn.h-data: Likewise.
37820 * conform/data/stdio.h-data: Likewise.
37821 * conform/data/stdlib.h-data: Likewise.
37822 * conform/data/stropts.h-data: Likewise.
37823 * conform/data/sys/mman.h-data: Likewise.
37824 * conform/data/sys/stat.h-data: Likewise.
37825 * conform/data/sys/types.h-data: Likewise.
37826 * conform/data/sys/wait.h-data: Likewise.
37827 * conform/data/time.h-data: Likewise.
37828 * conform/data/unistd.h-data: Likewise.
37829 * conform/data/utime.h-data: Likewise.
37831 * io/sys/stat.h: fchmod was always in POSIX.
37832 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37833 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37834 * rt/aio.h: Define __need_timespec before including <time.h>.
37835 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37836 struct. Add forward declaration of pthread_attr_t and use it in
37838 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37839 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37840 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37841 always remove CLK_TCK definition.
37843 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37845 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37847 2012-02-25 Ulrich Drepper <drepper@gmail.com>
37849 * conform/run-conformtest.sh: New file.
37850 * conform/Makefile: Run run-conformtest for tests.
37851 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37854 * conform/data/uchar.h-data: New file.
37855 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37856 * conform/data/arpa/inet.h-data: Likewise.
37857 * conform/data/assert.h-data: Likewise.
37858 * conform/data/complex.h-data: Likewise.
37859 * conform/data/cpio.h-data: Likewise.
37860 * conform/data/ctype.h-data: Likewise.
37861 * conform/data/dirent.h-data: Likewise.
37862 * conform/data/dlfcn.h-data: Likewise.
37863 * conform/data/errno.h-data: Likewise.
37864 * conform/data/fcntl.h-data: Likewise.
37865 * conform/data/float.h-data: Likewise.
37866 * conform/data/fmtmsg.h-data: Likewise.
37867 * conform/data/fnmatch.h-data: Likewise.
37868 * conform/data/ftw.h-data: Likewise.
37869 * conform/data/glob.h-data: Likewise.
37870 * conform/data/grp.h-data: Likewise.
37871 * conform/data/iconv.h-data: Likewise.
37872 * conform/data/inttypes.h-data: Likewise.
37873 * conform/data/langinfo.h-data: Likewise.
37874 * conform/data/libgen.h-data: Likewise.
37875 * conform/data/limits.h-data: Likewise.
37876 * conform/data/locale.h-data: Likewise.
37877 * conform/data/math.h-data: Likewise.
37878 * conform/data/monetary.h-data: Likewise.
37879 * conform/data/mqueue.h-data: Likewise.
37880 * conform/data/ndbm.h-data: Likewise.
37881 * conform/data/net/if.h-data: Likewise.
37882 * conform/data/netdb.h-data: Likewise.
37883 * conform/data/netinet/in.h-data: Likewise.
37884 * conform/data/nl_types.h-data: Likewise.
37885 * conform/data/poll.h-data: Likewise.
37886 * conform/data/pthread.h-data: Likewise.
37887 * conform/data/pwd.h-data: Likewise.
37888 * conform/data/regex.h-data: Likewise.
37889 * conform/data/sched.h-data: Likewise.
37890 * conform/data/search.h-data: Likewise.
37891 * conform/data/semaphore.h-data: Likewise.
37892 * conform/data/setjmp.h-data: Likewise.
37893 * conform/data/signal.h-data: Likewise.
37894 * conform/data/spawn.h-data: Likewise.
37895 * conform/data/stdarg.h-data: Likewise.
37896 * conform/data/stdio.h-data: Likewise.
37897 * conform/data/stdlib.h-data: Likewise.
37898 * conform/data/string.h-data: Likewise.
37899 * conform/data/strings.h-data: Likewise.
37900 * conform/data/stropts.h-data: Likewise.
37901 * conform/data/sys/ipc.h-data: Likewise.
37902 * conform/data/sys/mman.h-data: Likewise.
37903 * conform/data/sys/msg.h-data: Likewise.
37904 * conform/data/sys/resource.h-data: Likewise.
37905 * conform/data/sys/select.h-data: Likewise.
37906 * conform/data/sys/sem.h-data: Likewise.
37907 * conform/data/sys/shm.h-data: Likewise.
37908 * conform/data/sys/socket.h-data: Likewise.
37909 * conform/data/sys/stat.h-data: Likewise.
37910 * conform/data/sys/statvfs.h-data: Likewise.
37911 * conform/data/sys/time.h-data: Likewise.
37912 * conform/data/sys/timeb.h-data: Likewise.
37913 * conform/data/sys/times.h-data: Likewise.
37914 * conform/data/sys/types.h-data: Likewise.
37915 * conform/data/sys/uio.h-data: Likewise.
37916 * conform/data/sys/un.h-data: Likewise.
37917 * conform/data/sys/utsname.h-data: Likewise.
37918 * conform/data/sys/wait.h-data: Likewise.
37919 * conform/data/syslog.h-data: Likewise.
37920 * conform/data/tar.h-data: Likewise.
37921 * conform/data/termios.h-data: Likewise.
37922 * conform/data/utime.h-data: Likewise.
37923 * conform/data/utmpx.h-data: Likewise.
37924 * conform/data/varargs.h-data: Likewise.
37925 * conform/data/wchar.h-data: Likewise.
37926 * conform/data/wctype.h-data: Likewise.
37927 * conform/data/wordexp.h-data: Likewise.
37929 * include/stropts.h: New file.
37930 * include/uchar.h: New file.
37931 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37932 * include/assert.h: Likewise.
37933 * include/ctype.h: Likewise.
37934 * include/dirent.h: Likewise.
37935 * include/dlfcn.h: Likewise.
37936 * include/fcntl.h: Likewise.
37937 * include/fnmatch.h: Likewise.
37938 * include/glob.h: Likewise.
37939 * include/grp.h: Likewise.
37940 * include/libio.h: Likewise.
37941 * include/locale.h: Likewise.
37942 * include/math.h: Likewise.
37943 * include/net/if.h: Likewise.
37944 * include/netdb.h: Likewise.
37945 * include/netinet/in.h: Likewise.
37946 * include/pthread.h: Likewise.
37947 * include/pwd.h: Likewise.
37948 * include/regex.h: Likewise.
37949 * include/sched.h: Likewise.
37950 * include/search.h: Likewise.
37951 * include/setjmp.h: Likewise.
37952 * include/signal.h: Likewise.
37953 * include/stdio.h: Likewise.
37954 * include/stdlib.h: Likewise.
37955 * include/string.h: Likewise.
37956 * include/sys/cdefs.h: Likewise.
37957 * include/sys/mman.h: Likewise.
37958 * include/sys/msg.h: Likewise.
37959 * include/sys/resource.h: Likewise.
37960 * include/sys/select.h: Likewise.
37961 * include/sys/socket.h: Likewise.
37962 * include/sys/stat.h: Likewise.
37963 * include/sys/statvfs.h: Likewise.
37964 * include/sys/time.h: Likewise.
37965 * include/sys/times.h: Likewise.
37966 * include/sys/uio.h: Likewise.
37967 * include/sys/utsname.h: Likewise.
37968 * include/sys/wait.h: Likewise.
37969 * include/termios.h: Likewise.
37970 * include/time.h: Likewise.
37971 * include/ulimit.h: Likewise.
37972 * include/unistd.h: Likewise.
37973 * include/utime.h: Likewise.
37974 * include/wchar.h: Likewise.
37975 * include/wctype.h: Likewise.
37976 * include/wordexp.h: Likewise.
37978 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37980 * time/time.h: TIME_UTC must be a macro.
37981 Make timespec_get available for ISO C11 only as well.
37983 2012-02-24 Ulrich Drepper <drepper@gmail.com>
37985 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37986 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37988 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37990 * configure.in: Use -o not -a in test for unsupported multi-arch.
37992 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37994 * manual/texinfo.tex: Update to version 2012-01-19.16.
37996 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37998 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38000 2012-02-24 Roland McGrath <roland@hack.frob.com>
38003 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38004 * manual/fdl-1.3.texi: New file.
38005 * manual/fdl-1.1.texi: File removed.
38008 * manual/libc.texinfo (FDL_VERSION): New @set.
38009 Use it for mention of FDL in cover text.
38010 (Documentation License): Use it in @include file name.
38012 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38013 Roland McGrath <roland@hack.frob.com>
38016 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38017 (not LONG_LONG_MAX and LONG_LONG_MIN.
38018 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38019 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38021 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38023 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38027 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38028 manipulate bits before adding and subtracting TWO23[sx].
38029 * math/libm-test.inc (nearbyint_test): Add more tests.
38031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38034 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38035 bits before adding and subtracting TWO23[sx].
38036 * math/libm-test.inc (rint_test): Add more tests.
38037 (rint_test_tonearest): Likewise.
38038 (rint_test_towardzero): Likewise.
38039 (rint_test_downward): Likewise.
38040 (rint_test_upward: Likewise.
38042 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38045 * include/stdc-predef.h: New file. Extracted from features.h.
38046 * include/features.h: Include stdc-predef.h.
38047 * Makefile (headers): Add stdc-predef.h.
38048 * CONFORMANCE (Compiler limitations): Update.
38050 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38052 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38054 2012-02-21 David S. Miller <davem@davemloft.net>
38056 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38057 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38059 2012-02-20 David S. Miller <davem@davemloft.net>
38061 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38062 using a normal save/restore sequence, rather than allocating a
38063 dummy stack frame just to store a frame pointer and restore.
38064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38066 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38068 * manual/install.texi: Fix stray word in line-wrapped comment.
38070 2012-02-20 David S. Miller <davem@davemloft.net>
38072 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38073 both binutils and gcc support GOTDATA.
38075 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38076 "rd %pc" in the PIC register setup sequences.
38078 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38079 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38080 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38081 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38082 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38084 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38085 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38087 (SYSCALL_ERROR_HANDLER): Likewise.
38088 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38089 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38091 (SYSCALL_ERROR_HANDLER): Likewise.
38093 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38094 (HAVE_GCC_GOTDATA): New.
38095 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38096 relocation support in both binutils and gcc.
38097 * sysdeps/sparc/elf/configure: Regenerate.
38099 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38100 * sysdeps/sparc/sparc32/elf/configure: Delete.
38101 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38102 * sysdeps/sparc/sparc64/elf/configure: Delete.
38103 * sysdeps/sparc/elf/configure.in: New file.
38104 * sysdeps/sparc/elf/configure: Generate.
38106 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38107 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38108 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38109 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38110 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38112 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38114 * manual/install.texi: Do not mention specific glibc version
38116 * manual/libc.texinfo (VERSION, UPDATED): Update.
38117 (@copying): Use @copyright{} and range of years.
38119 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38122 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38123 [crti.S not in sysdirs] (generated): Do not append.
38124 [crti.S not in sysdirs] (omit-deps): Likewise.
38125 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38126 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38127 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38128 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38129 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38131 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38132 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38133 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38134 * csu/defs.awk: Remove file.
38135 * sysdeps/generic/initfini.c: Likewise.
38136 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38138 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38141 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38143 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38144 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38145 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38146 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38148 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38150 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38151 (__EPOLL_PACKED): Define to empty if not defined by
38153 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38157 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38159 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38160 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38161 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38162 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38164 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38168 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38170 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38174 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38177 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38179 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38180 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38182 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38184 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38185 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38187 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38189 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38192 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38194 * math/w_acos.c: Use non-signaling floating-point comparisons.
38195 * math/w_acosf.c: Likewise.
38196 * math/w_acosh.c: Likewise.
38197 * math/w_acoshf.c: Likewise.
38198 * math/w_acoshl.c: Likewise.
38199 * math/w_acosl.c: Likewise.
38200 * math/w_asin.c: Likewise.
38201 * math/w_asinf.c: Likewise.
38202 * math/w_asinl.c: Likewise.
38203 * math/w_atanh.c: Likewise.
38204 * math/w_atanhf.c: Likewise.
38205 * math/w_atanhl.c: Likewise.
38206 * math/w_exp2.c: Likewise.
38207 * math/w_exp2f.c: Likewise.
38208 * math/w_exp2l.c: Likewise.
38209 * math/w_j0.c: Likewise.
38210 * math/w_j0f.c: Likewise.
38211 * math/w_j0l.c: Likewise.
38212 * math/w_j1.c: Likewise.
38213 * math/w_j1f.c: Likewise.
38214 * math/w_j1l.c: Likewise.
38215 * math/w_jn.c: Likewise.
38216 * math/w_jnf.c: Likewise.
38217 * math/w_log.c: Likewise.
38218 * math/w_log10.c: Likewise.
38219 * math/w_log10f.c: Likewise.
38220 * math/w_log10l.c: Likewise.
38221 * math/w_log2.c: Likewise.
38222 * math/w_log2f.c: Likewise.
38223 * math/w_log2l.c: Likewise.
38224 * math/w_logf.c: Likewise.
38225 * math/w_logl.c: Likewise.
38226 * math/w_sqrt.c: Likewise.
38227 * math/w_sqrtf.c: Likewise.
38228 * math/w_sqrtl.c: Likewise.
38229 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38230 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38231 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38232 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38233 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38235 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38238 * manual/string.texi (strnlen): Use correct parameter name in
38239 equivalent expression.
38241 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38244 * manual/users.texi (seteuid): Consistently use neweuid for
38247 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38250 * manual/nss.texi (Services in the NSS configuration): Correct
38251 list of services in example configuration file.
38253 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38256 * manual/arith.texi: Remove statements about negative zero
38257 behaving identically to zero.
38259 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38262 * manual/install.texi: Do not document upgrading from libc5.
38264 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38267 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38269 2012-02-18 David S. Miller <davem@davemloft.net>
38271 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38272 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38273 %o7 across the call.
38274 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38277 SETUP_PIC_REG_LEAF.
38278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38279 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38280 * sysdeps/sparc/crtn.S: Likewise.
38282 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38284 * aout/Makefile: Remove.
38286 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38289 * manual/examples/argp-ex1.c (main): Format definition in GNU
38291 * manual/examples/argp-ex2.c (main): Likewise.
38292 * manual/examples/argp-ex3.c (main): Likewise.
38293 * manual/examples/argp-ex4.c (main): Likewise.
38294 * manual/examples/longopt.c (main): Use new-style prototype
38296 * manual/examples/strncat.c (main): Specify return type and use
38297 (void) for arguments.
38298 * manual/examples/subopt.c (main): Use char **argv argument.
38300 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38303 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38306 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38309 * manual/string.texi (strchr): Change when strchrnul is
38312 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38315 * manual/locale.texi (setlocale): Document LOCPATH.
38317 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38320 * manual/process.texi (execle): Move @dots{} before last argument.
38322 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38325 * manual/charset.texi (Generic Charset Conversion): Fix typo
38326 (LC_TYPE -> LC_CTYPE).
38328 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38331 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38332 (scalbnf): Likewise.
38333 (scalbnl): Likewise.
38334 (scalbln): Likewise.
38335 (scalblnf): Likewise.
38336 (scalblnl): Likewise.
38337 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38338 (vwarnx): Likewise.
38341 * manual/filesys.texi (telldir): Use braces around return type.
38342 * manual/llio.texi (mmap): Add space after comma.
38343 (mmap64): Likewise.
38344 * manual/math.texi (jn): Use @var{} on parameter names.
38350 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38352 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38354 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38355 (sched_get_priority_max): Likewise.
38356 * manual/signal.texi (sigvec): Add space after comma.
38357 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38359 (if_indextoname): Likewise.
38360 (if_freenameindex): Likewise.
38361 (sendto): Use ',' instead of '.' in prototype.
38362 * manual/startup.texi (syscall): Use @dots{} instead of literal
38364 * manual/stdio.texi (__fpending): Separate initial words of
38365 paragraph from @deftypefun line.
38366 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38368 (vsyslog): Use @var{} on parameter names.
38369 * manual/terminal.texi (stty): Use @var{} on parameter names.
38370 * manual/users.texi (getutmp): Use @var{} on parameter names.
38371 (getutmpx): Likewise.
38373 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38376 * manual/stdio.texi (fopen): Fix typos in description of
38379 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38382 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38383 get clock_id definition.
38385 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38388 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38389 (madvise): Cast every argument to void on its own.
38391 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38394 * manual/startup.texi (Exit Status): Fix typo.
38396 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38399 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38400 * manual/examples/argp-ex2.c: Likewise.
38401 * manual/examples/argp-ex3.c: Likewise.
38403 2012-02-16 Richard Henderson <rth@redhat.com>
38405 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38406 * sysdeps/s390/s390-32/initfini.c: Remove.
38407 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38408 * sysdeps/s390/s390-64/initfini.c: Remove.
38410 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38412 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38413 compiler output for sysdeps/generic/initfini.c.
38414 * sysdeps/sh/elf/initfini.c: Remove file.
38416 2012-02-16 David S. Miller <davem@davemloft.net>
38419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38421 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38422 * sysdeps/sparc/crti.S: New file.
38423 * sysdeps/sparc/crtn.S: New file.
38424 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38425 * sysdeps/sparc/sparc64/Makefile: Likewise.
38427 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38430 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38432 2012-02-15 Roland McGrath <roland@hack.frob.com>
38435 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38437 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38438 (write, read, close): Likewise.
38439 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38441 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38443 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38444 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38445 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38446 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38448 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38452 2012-02-14 Marek Polacek <polacek@redhat.com>
38454 * sysdeps/x86_64/crti.S: New file.
38455 * sysdeps/x86_64/crtn.S: New file.
38456 * sysdeps/x86_64/elf/initfini.c: Remove file.
38458 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38460 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38461 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38462 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38463 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38465 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38469 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38471 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38472 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38473 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38474 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38476 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38480 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38482 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38483 __feraiseexcept instead of feraiseexcept.
38485 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38486 nanosleep invocations.
38487 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38488 strings, and add error checking for a nanosleep invocations.
38490 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38492 Replace FSF snail mail address with URLs, as per GNU coding standards.
38493 Most of the snail mail addresses were wrong anyway, and omitting
38494 them makes the source code easier to maintain. Almost all of the
38495 changes are to license notices and to locale LC_IDENTIFICATION
38496 addresses, except for this one:
38497 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38498 not its snail mail address.
38500 2012-02-09 Richard Henderson <rth@twiddle.net>
38502 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38503 of kernel-features.h.
38505 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38507 2012-02-08 Marek Polacek <polacek@redhat.com>
38509 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38510 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38511 * sysdeps/gnu/_G_config.h: Likewise.
38512 * sysdeps/generic/_G_config.h: Likewise.
38514 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38516 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38520 * sysdeps/powerpc/powerpc32/crti.S: New file.
38521 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38522 * sysdeps/powerpc/powerpc64/crti.S: New file.
38523 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38525 * Makeconfig (have-initfini): Don't set.
38526 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38527 * configure.in (nopic_initfini): Don't substitute.
38528 * config.h.in (HAVE_INITFINI): Don't #undef.
38529 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38530 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38532 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38534 Support crti.S and crtn.S provided directly by architectures.
38535 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38536 [crti.S in sysdirs] (omit-deps): Likewise.
38537 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38538 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38539 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38540 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38541 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38542 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38543 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38544 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38545 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38546 compiler output for sysdeps/generic/initfini.c.
38547 * sysdeps/i386/elf/Makefile: Remove file.
38548 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38550 2012-02-07 Marek Polacek <polacek@redhat.com>
38552 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38553 * sysdeps/gnu/_G_config.h: Likewise.
38554 * sysdeps/mach/hurd/_G_config.h: Likewise.
38556 2012-02-07 Marek Polacek <polacek@redhat.com>
38558 * math/Makefile (tests): Add tst-CMPLX2.
38559 * math/tst-CMPLX2.c: New file.
38561 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38565 * math/libm-test.inc (jn_test): Add missing L suffix.
38567 2012-02-06 Marek Polacek <polacek@redhat.com>
38569 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38570 * sysdeps/i386/fpu/e_powf.S: Likewise.
38571 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38572 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38573 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38574 * sysdeps/i386/fpu/e_pow.S: Likewise.
38575 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38576 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38577 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38578 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38579 * sysdeps/i386/fpu/e_log2.S: Likewise.
38580 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38581 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38582 * sysdeps/i386/fpu/e_powl.S: Likewise.
38583 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38584 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38585 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38586 * sysdeps/i386/fpu/e_logl.S: Likewise.
38587 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38588 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38589 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38590 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38592 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38593 * sysdeps/i386/fpu/e_log.S: Likewise.
38594 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38595 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38596 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38597 * sysdeps/i386/fpu/e_logf.S: Likewise.
38598 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38599 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38600 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38601 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38602 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38603 * sysdeps/i386/fpu/e_log10.S: Likewise.
38604 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38605 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38606 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38607 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38608 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38609 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38610 * sysdeps/i386/asm-syntax.h: Likewise.
38611 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38612 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38613 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38614 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38615 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38616 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38617 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38618 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38619 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38620 * sysdeps/powerpc/sysdep.h: Likewise.
38621 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38624 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38627 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38629 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38631 * sysdeps/i386/sysdep.h: Include <features.h>.
38632 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38635 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38637 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38639 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38642 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38644 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38645 (SETUP_PIC_REG): Use GET_PC_THUNK.
38646 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38649 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38651 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38652 for non-PIC compilation.
38653 (SETUP_PIC_REG): Add .p2align directive.
38654 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38655 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38656 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38657 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38658 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38659 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38660 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38661 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38662 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38663 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38664 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38665 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38666 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38667 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38668 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38669 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38670 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38671 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38672 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38673 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38674 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38676 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38677 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38678 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38680 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38681 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38682 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38683 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38684 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38685 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38686 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38687 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38688 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38689 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38690 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38691 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38692 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38693 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38694 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38696 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38698 * math/tst-CMPLX.c: Include <stdio.h>.
38700 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38702 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38704 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38705 * sysdeps/sparc/bits/mathdef.h: Likewise.
38707 2012-01-31 Marek Polacek <polacek@redhat.com>
38709 * libio/libio.h: Don't define _PARAMS.
38710 * locale/programs/config.h: Don't define PARAMS.
38711 * stdlib/strtol_l.c: Likewise.
38712 (__strtol_l): Remove PARAMS from the prototype.
38714 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38716 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38717 names. Just use the correct names. Remove unnecessary wrapper
38719 * malloc/arena.c: Likewise.
38720 * malloc/hooks.c: Likewise.
38722 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38723 ARENA_TEST says not to. Simplify test for creation of a new arena.
38724 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38726 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38728 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38730 (update_get_addr): New function.
38731 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38732 GET_ADDR_MODULE parameter.
38734 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38736 * crypt/cert.c: Remove __STDC__ conditionals.
38737 * crypt/crypt-entry.c: Likewise.
38738 * crypt/crypt_util.c: Likewise.
38739 * libio/filedoalloc.c: Likewise.
38740 * libio/fileops.c: Likewise.
38741 * libio/genops.c: Likewise.
38742 * libio/iofclose.c: Likewise.
38743 * libio/iofdopen.c: Likewise.
38744 * libio/iofopen.c: Likewise.
38745 * libio/iofopen64.c: Likewise.
38746 * libio/iogetdelim.c: Likewise.
38747 * libio/iopopen.c: Likewise.
38748 * libio/obprintf.c: Likewise.
38749 * libio/oldfileops.c: Likewise.
38750 * libio/oldiofclose.c: Likewise.
38751 * libio/oldiofdopen.c: Likewise.
38752 * libio/oldiofopen.c: Likewise.
38753 * libio/oldiopopen.c: Likewise.
38754 * libio/wfiledoalloc.c: Likewise.
38755 * libio/wgenops.c: Likewise.
38756 * locale/programs/xmalloc.c: Likewise.
38757 * misc/syslog.c: Likewise.
38758 * stdio-common/xbug.c: Likewise.
38759 * string/memchr.c: Likewise.
38760 * string/memcmp.c: Likewise.
38761 * string/memrchr.c: Likewise.
38762 * string/rawmemchr.c: Likewise.
38763 * sysdeps/posix/getcwd.c: Likewise.
38764 * time/strftime_l.c: Likewise.
38766 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38768 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38769 * config.make.in (config-cflags-sse2avx): Define.
38770 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38773 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38775 * scripts/config.guess: Update from upstream config git repository.
38776 * scripts/config.sub: Likewise.
38778 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38780 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38782 (R_TILEPRO_*, R_TILEGX_*): New macros.
38784 * scripts/firstversions.awk: Fix bug in version range handling.
38786 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38788 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38790 * include/sys/epoll.h: New file.
38791 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38794 2012-01-28 Ulrich Drepper <drepper@gmail.com>
38796 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38797 Avoid unnecessary __WORDSIZE == 64 test.
38798 (fmaxf): Use VEX format if possible.
38803 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38804 * math/math_private.h: Remove libc_fegetround* and
38806 * sysdeps/i386/configure.in: Check for -msse2avx.
38807 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38808 also if SSE2AVX is defined.
38809 Remove libc_fegetround* and libc_fesetround*.
38810 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38811 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38812 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38814 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38815 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38817 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38820 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38822 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38824 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38826 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38828 2012-01-27 Ulrich Drepper <drepper@gmail.com>
38831 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38833 * Makeconfig (libm): Define.
38834 * elf/Makefile: Add rules to build and run tst-relsort1.
38835 * elf/tst-relsort1.c: New file.
38836 * elf/tst-relsort1mod1.c: New file.
38837 * elf/tst-relsort1mod2.c: New file.
38839 2012-01-27 Joseph Myers <joseph@codesourcery.com>
38841 * math/s_ldexp.c: Remove __STDC__ conditionals.
38842 * math/s_ldexpf.c: Likewise.
38843 * math/s_ldexpl.c: Likewise.
38844 * math/s_nextafter.c: Likewise.
38845 * math/s_nexttowardf.c: Likewise.
38846 * math/s_significand.c: Likewise.
38847 * math/s_significandf.c: Likewise.
38848 * math/s_significandl.c: Likewise.
38849 * math/w_jnl.c: Likewise.
38850 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38851 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38852 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38853 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38854 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38857 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38869 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38870 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38871 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38872 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38873 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38874 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38875 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38876 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38877 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38878 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38879 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38880 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38881 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38882 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38883 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38884 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38885 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38886 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38887 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38888 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38889 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38890 * sysdeps/ieee754/k_standard.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38909 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38910 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38923 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38939 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38943 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38952 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38953 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38955 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38956 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38957 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38958 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38964 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38965 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38966 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38967 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38968 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38969 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38970 * sysdeps/ieee754/s_matherr.c: Likewise.
38971 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38972 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38976 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38978 * crypt/md5.h: Remove __STDC__ conditionals.
38979 * libio/libioP.h: Likewise.
38980 * locale/programs/config.h: Likewise.
38981 * sysdeps/generic/sysdep.h: Likewise.
38982 * sysdeps/i386/asm-syntax.h: Likewise.
38983 * sysdeps/s390/asm-syntax.h: Likewise.
38984 * sysdeps/unix/sysdep.h: Likewise.
38985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38988 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38990 * libio/libio.h: Remove __STDC__ conditionals.
38991 * malloc/obstack.h: Likewise.
38992 * math/complex.h: Likewise.
38993 * math/math.h: Likewise.
38994 * sysdeps/generic/_G_config.h: Likewise.
38995 * sysdeps/gnu/_G_config.h: Likewise.
38996 * sysdeps/mach/hurd/_G_config.h: Likewise.
38997 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38998 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38999 * sysdeps/sparc/bits/mathdef.h: Likewise.
39001 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39004 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39005 Clean up HAS_* macros.
39006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39007 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39011 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39012 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39013 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39017 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39019 * elf/tst-unique3.cc (gets): Remove declaration.
39020 * elf/tst-unique3lib.cc (gets): Likewise.
39021 * elf/tst-unique3lib2.cc (gets): Likewise.
39022 * elf/tst-unique4.cc (gets): Likewise.
39024 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39026 * include/stdio.h: Add C++ protection. Add gets declarations and
39028 * debug/tst-chk1.c: Don't declare gets here.
39029 * stdio-common/tst-gets.c: Likewise.
39031 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39033 * posix/glob: Remove directory.
39035 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39037 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39039 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39041 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39042 of the non-standard EPFNOSUPPORT.
39044 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39046 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39047 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39048 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39050 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39052 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39054 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39056 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39058 * nscd/grpcache.c (cache_addgr): Likewise.
39059 * nscd/hstcache.c (cache_addhst): Likewise.
39060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39061 * nscd/pwdcache.c (cache_addpw): Likewise.
39062 * nscd/servicescache.c (cache_addserv): Likewise.
39064 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39066 * malloc/malloc.c: Various cleanups.
39067 * malloc/hooks.c: Likewise.
39069 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39070 * stdlib/bug-fmtmsg1.c: New file.
39072 * stdlib/fmtmsg.c (init): Add missing unlock.
39073 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39075 2012-01-12 Marek Polacek <polacek@redhat.com>
39077 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39080 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39082 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39083 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39084 macro to ensure uniqueness of label name.
39085 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39086 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39088 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39090 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39092 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39093 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39094 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39097 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39099 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39101 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39102 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39103 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39105 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39112 * math/bits/math-finite.h: Add ldexp support.
39114 2012-01-10 Marek Polacek <polacek@redhat.com>
39116 * locale/programs/localedef.h (show_archive_content): Add noreturn
39119 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39121 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39123 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39125 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39127 * io/Makefile (headers): Add bits/poll2.h.
39129 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39132 typo #include statement.
39134 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39136 * include/sys/cdefs.h: Define __attribute_alloc_size.
39137 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39138 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39139 * elf/pldd.c: Likewise.
39140 * iconv/iconv_charmap.c: Likewise.
39141 * iconv/iconvconfig.c: Likewise.
39142 * iconv/strtab.c: Likewise.
39143 * locale/programs/locale.c: Likewise.
39144 * locale/programs/localedef.h: Likewise.
39145 * locale/programs/simple-hash.c: Likewise.
39146 * nscd/nscd.h: Likewise.
39147 * nss/makedb.c: Likewise.
39148 * sysdeps/generic/ldconfig.h: Likewise.
39149 * locale/programs/localedef.c: Remove xmalloc prototype.
39150 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39152 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39154 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39157 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39159 * math/Makefile (tests): Add tst-CMPLX.
39160 * math/tst-CMPLX.c: New file.
39162 * math/complex.h (CMPLXL): Fix typo.
39164 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39165 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39167 * debug/tst-chk1.c: Add poll and ppoll tests.
39168 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39169 * include/sys/poll.h: Add hidden proto for ppoll.
39170 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39171 * sysdeps/mach/hurd/ppoll.c: Likewise.
39172 * io/ppoll.c: Likewise.
39173 * debug/poll_chk.c: New file.
39174 * debug/ppoll_chk.c: New file.
39175 * include/bits/poll2.h: New file.
39176 * io/bits/poll2.h: New file.
39179 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39181 * configure.in: static is always set to yes. Remove.
39182 * config.make.in: Don't set build-static.
39183 * Makeconfig: Remove use of build-static.
39184 * dlfcn/Makefile: Likewise.
39185 * elf/Makefile: Likewise.
39186 * math/Makefile: Likewise.
39187 * misc/Makefile: Likewise.
39188 * nptl/Makefile: Likewise.
39189 * sysdeps/mach/hurd/Makefile: Likewise.
39191 * configure.in: PWD_P is not used anymore.
39192 * config.make.in: Remove PWD_P entry.
39194 * configure.in: Remove last remnants of RANLIB.
39195 No need to check for signed size_t anymore.
39196 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39198 Remove __builtin_expect test because we require at least gcc 3.4.
39199 * aclocal.m4: Likewise.
39201 * wcsmbs/mbrtoc16.c: Implement using towc function.
39202 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39203 * wcsmbs/wcsmbsload.c: Likewise.
39204 * iconv/gconv_simple.c: Likewise.
39205 * iconv/gconv_int.h: Likewise.
39206 * iconv/gconv_builtin.h: Likewise.
39207 * iconv/iconv_prog.c: Remove CHAR16 handling.
39209 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39211 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39213 * configure.in: Remove --with-elf and --enable-bounded options.
39214 Dont set base_machine for ia64. More non-ELF conditions removed.
39215 Remove testing and setting of leading underscore information.
39216 * config.make.in (build-bounded): Set to no.
39217 * config.h.in: Remove NO_UNDERSCORES entry.
39218 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39220 * csu/start.c: Remove !NO_UNDERSCORE code.
39221 * locale/localeinfo.h: Likewise.
39222 * sysdeps/generic/machine-gmon.h: Likewise.
39223 * sysdeps/generic/sysdep.h: Likewise.
39224 * sysdeps/i386/sysdep.h: Likewise.
39225 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39226 * sysdeps/mach/sysdep.h: Likewise.
39227 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39228 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39229 * sysdeps/sh/sysdep.h: Likewise.
39230 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39231 * sysdeps/unix/i386/sysdep.S: Likewise.
39232 * sysdeps/unix/sparc/start.c: Likewise.
39233 * sysdeps/unix/sparc/sysdep.S: Likewise.
39234 * sysdeps/unix/sparc/sysdep.h: Likewise.
39235 * sysdeps/unix/start.c: Likewise.
39236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39237 * sysdeps/x86_64/sysdep.h: Likewise.
39239 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39242 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39244 * argp/argp-fmtstream.h: Use const instead __const.
39245 * argp/argp.h: Likewise.
39246 * assert/assert.h: Likewise.
39247 * bits/fenv.h: Likewise.
39248 * bits/sched.h: Likewise.
39249 * bits/sigset.h: Likewise.
39250 * bits/sigthread.h: Likewise.
39251 * catgets/nl_types.h: Likewise.
39252 * conform/data/pthread.h-data: Likewise.
39253 * crypt/crypt-private.h: Likewise.
39254 * crypt/crypt.h: Likewise.
39255 * crypt/crypt_util.c: Likewise.
39256 * ctype/ctype.h: Likewise.
39257 * debug/execinfo.h: Likewise.
39258 * debug/mbsnrtowcs_chk.c: Likewise.
39259 * debug/mbsrtowcs_chk.c: Likewise.
39260 * debug/wcsnrtombs_chk.c: Likewise.
39261 * debug/wcsrtombs_chk.c: Likewise.
39262 * debug/wcstombs_chk.c: Likewise.
39263 * dirent/dirent.h: Likewise.
39264 * dlfcn/dlfcn.h: Likewise.
39265 * elf/neededtest4.c: Likewise.
39266 * grp/grp.h: Likewise.
39267 * gshadow/gshadow.h: Likewise.
39268 * iconv/gconv.h: Likewise.
39269 * iconv/gconv_int.h: Likewise.
39270 * iconv/gconv_simple.c: Likewise.
39271 * iconv/iconv.h: Likewise.
39272 * iconv/loop.c: Likewise.
39273 * iconv/skeleton.c: Likewise.
39274 * include/aio.h: Likewise.
39275 * include/aliases.h: Likewise.
39276 * include/argz.h: Likewise.
39277 * include/arpa/inet.h: Likewise.
39278 * include/assert.h: Likewise.
39279 * include/dirent.h: Likewise.
39280 * include/dlfcn.h: Likewise.
39281 * include/execinfo.h: Likewise.
39282 * include/fcntl.h: Likewise.
39283 * include/fenv.h: Likewise.
39284 * include/glob.h: Likewise.
39285 * include/grp.h: Likewise.
39286 * include/libintl.h: Likewise.
39287 * include/mntent.h: Likewise.
39288 * include/netdb.h: Likewise.
39289 * include/pwd.h: Likewise.
39290 * include/rpc/netdb.h: Likewise.
39291 * include/sched.h: Likewise.
39292 * include/search.h: Likewise.
39293 * include/shadow.h: Likewise.
39294 * include/signal.h: Likewise.
39295 * include/stdio.h: Likewise.
39296 * include/stdlib.h: Likewise.
39297 * include/string.h: Likewise.
39298 * include/sys/socket.h: Likewise.
39299 * include/sys/stat.h: Likewise.
39300 * include/sys/statfs.h: Likewise.
39301 * include/sys/statvfs.h: Likewise.
39302 * include/sys/syslog.h: Likewise.
39303 * include/sys/time.h: Likewise.
39304 * include/sys/uio.h: Likewise.
39305 * include/time.h: Likewise.
39306 * include/unistd.h: Likewise.
39307 * include/utmp.h: Likewise.
39308 * include/wchar.h: Likewise.
39309 * include/wctype.h: Likewise.
39310 * inet/aliases.h: Likewise.
39311 * inet/arpa/inet.h: Likewise.
39312 * inet/netinet/ether.h: Likewise.
39313 * inet/netinet/in.h: Likewise.
39314 * intl/libintl.h: Likewise.
39315 * io/bits/fcntl2.h: Likewise.
39316 * io/fcntl.h: Likewise.
39317 * io/ftw.h: Likewise.
39318 * io/sys/poll.h: Likewise.
39319 * io/sys/stat.h: Likewise.
39320 * io/sys/statfs.h: Likewise.
39321 * io/sys/statvfs.h: Likewise.
39322 * io/utime.h: Likewise.
39323 * libio/bits/stdio.h: Likewise.
39324 * libio/bits/stdio2.h: Likewise.
39325 * libio/libio.h: Likewise.
39326 * libio/libioP.h: Likewise.
39327 * libio/stdio.h: Likewise.
39328 * locale/lc-ctype.c: Likewise.
39329 * locale/locale.h: Likewise.
39330 * login/utmp.h: Likewise.
39331 * malloc/arena.c: Likewise.
39332 * malloc/malloc.c: Likewise.
39333 * malloc/malloc.h: Likewise.
39334 * malloc/mcheck.c: Likewise.
39335 * malloc/mtrace.c: Likewise.
39336 * math/bits/mathcalls.h: Likewise.
39337 * math/fenv.h: Likewise.
39338 * math/math_private.h: Likewise.
39339 * misc/bits/error.h: Likewise.
39340 * misc/bits/syslog.h: Likewise.
39341 * misc/err.h: Likewise.
39342 * misc/error.h: Likewise.
39343 * misc/fstab.h: Likewise.
39344 * misc/mntent.h: Likewise.
39345 * misc/regexp.h: Likewise.
39346 * misc/search.h: Likewise.
39347 * misc/sgtty.h: Likewise.
39348 * misc/sys/mman.h: Likewise.
39349 * misc/sys/syslog.h: Likewise.
39350 * misc/sys/uio.h: Likewise.
39351 * misc/sys/xattr.h: Likewise.
39352 * misc/ttyent.h: Likewise.
39353 * nis/rpcsvc/ypclnt.h: Likewise.
39354 * nss/nss.h: Likewise.
39355 * posix/bits/unistd.h: Likewise.
39356 * posix/fnmatch.h: Likewise.
39357 * posix/glob.h: Likewise.
39358 * posix/sched.h: Likewise.
39359 * posix/spawn.h: Likewise.
39360 * posix/sys/wait.h: Likewise.
39361 * posix/unistd.h: Likewise.
39362 * posix/wordexp.h: Likewise.
39363 * pwd/pwd.h: Likewise.
39364 * resolv/netdb.h: Likewise.
39365 * resource/sys/resource.h: Likewise.
39366 * rt/aio.h: Likewise.
39367 * rt/bits/mqueue2.h: Likewise.
39368 * rt/mqueue.h: Likewise.
39369 * shadow/shadow.h: Likewise.
39370 * signal/signal.h: Likewise.
39371 * socket/send.c: Likewise.
39372 * socket/sendto.c: Likewise.
39373 * socket/sys/socket.h: Likewise.
39374 * stdio-common/printf.h: Likewise.
39375 * stdlib/bits/stdlib.h: Likewise.
39376 * stdlib/fmtmsg.h: Likewise.
39377 * stdlib/monetary.h: Likewise.
39378 * stdlib/stdlib.h: Likewise.
39379 * stdlib/ucontext.h: Likewise.
39380 * streams/stropts.h: Likewise.
39381 * string/argz.h: Likewise.
39382 * string/bits/string2.h: Likewise.
39383 * string/string.h: Likewise.
39384 * string/strings.h: Likewise.
39385 * sunrpc/rpc/auth.h: Likewise.
39386 * sunrpc/rpc/auth_des.h: Likewise.
39387 * sunrpc/rpc/clnt.h: Likewise.
39388 * sunrpc/rpc/netdb.h: Likewise.
39389 * sunrpc/rpc/pmap_clnt.h: Likewise.
39390 * sunrpc/rpc/xdr.h: Likewise.
39391 * sysdeps/generic/inttypes.h: Likewise.
39392 * sysdeps/generic/net/if.h: Likewise.
39393 * sysdeps/generic/sys/swap.h: Likewise.
39394 * sysdeps/gnu/net/if.h: Likewise.
39395 * sysdeps/gnu/utmpx.h: Likewise.
39396 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39397 * sysdeps/i386/i486/bits/string.h: Likewise.
39398 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39399 * sysdeps/s390/bits/string.h: Likewise.
39400 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39401 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39402 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39403 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39404 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39405 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39406 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39407 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39408 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39409 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39410 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39412 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39413 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39414 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39415 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39416 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39419 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39420 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39422 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39423 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39424 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39425 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39426 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39427 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39428 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39429 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39430 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39431 * sysvipc/sys/ipc.h: Likewise.
39432 * sysvipc/sys/msg.h: Likewise.
39433 * sysvipc/sys/sem.h: Likewise.
39434 * sysvipc/sys/shm.h: Likewise.
39435 * termios/termios.h: Likewise.
39436 * time/sys/time.h: Likewise.
39437 * time/time.h: Likewise.
39438 * wcsmbs/bits/wchar2.h: Likewise.
39439 * wcsmbs/uchar.h: Likewise.
39440 * wcsmbs/wchar.h: Likewise.
39441 * wctype/wctype.h: Likewise.
39444 * Makeconfig: Remove all but ELF support including AIX support.
39445 * Makerules: Likewise.
39446 * config.h.in: Likewise.
39447 * config.make.in: Likewise.
39448 * configure: Likewise.
39449 * configure.in: Likewise.
39450 * csu/Makefile: Likewise.
39451 * csu/version.c: Likewise.
39452 * debug/Makefile: Likewise.
39453 * dlfcn/Makefile: Likewise.
39454 * elf/Makefile: Likewise.
39455 * extra-lib.mk: Likewise.
39456 * iconv/Makefile: Likewise.
39457 * include/libc-symbols.h: Likewise.
39458 * include/shlib-compat.h: Likewise.
39459 * resolv/Makefile: Likewise.
39460 * resolv/res_libc.c: Likewise.
39461 * rt/Makefile: Likewise.
39462 * sysdeps/i386/asm-syntax.h: Likewise.
39463 * sysdeps/i386/sysdep.h: Likewise.
39464 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39465 * sysdeps/mach/sysdep.h: Likewise.
39466 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39467 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39468 * sysdeps/s390/asm-syntax.h: Likewise.
39469 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39471 * sysdeps/sh/sysdep.h: Likewise.
39472 * sysdeps/unix/sparc/sysdep.h: Likewise.
39473 * sysdeps/wordsize-32/divdi3.c: Likewise.
39474 * sysdeps/x86_64/sysdep.h: Likewise.
39476 * argp/Versions: Remove _argp_unlock_xxx.
39479 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39480 * abilist/libBrokenLocale.abilist: Likewise.
39481 * abilist/libanl.abilist: Likewise.
39482 * abilist/libc.abilist: Likewise.
39483 * abilist/libcrypt.abilist: Likewise.
39484 * abilist/libdl.abilist: Likewise.
39485 * abilist/libm.abilist: Likewise.
39486 * abilist/libnsl.abilist: Likewise.
39487 * abilist/libpthread.abilist: Likewise.
39488 * abilist/libresolv.abilist: Likewise.
39489 * abilist/librt.abilist: Likewise.
39490 * abilist/libthread_db.abilist: Likewise.
39491 * abilist/libutil.abilist: Likewise.
39492 * abilist/libnss_db.abilist: New file.
39494 * scripts/abilist.awk: Add support for indirect functions.
39496 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39498 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39500 * shlib-versions: Remove entries for ports architectures.
39502 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39504 * elf/stackguard-macros.h: Remove support for IA-64.
39505 * elf/tst-auditmod1.c: Likewise.
39506 * sysdeps/generic/ldsodefs.h: Likewise.
39508 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39509 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39513 * configure.in: Remove --enable-omitfp support.
39515 * config.make.in: Likewise.
39516 * Makeconfig: Likewise.
39517 * manual/install.texi: Likewise.
39519 In case anyone cares, the IA-64 architecture could move to ports.
39520 * sysdeps/ia64/*: Removed.
39521 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39522 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39525 * configure.in: Remove entries for unsupported architectures.
39528 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39529 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39531 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39532 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39533 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39534 fall back to using wcrtomb.
39535 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39536 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39538 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39539 * wcsmbs/tst-c16c32-1.c: New file.
39541 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39544 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39546 * elf/tst-unique3.cc: Add explicit declaration of gets.
39547 * elf/tst-unique3lib.cc: Likewise.
39548 * elf/tst-unique3lib2.cc: Likewise.
39549 * elf/tst-unique4.cc: Likewise.
39551 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39553 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39556 * assert/assert.h (static_assert): Don't define for C++.
39557 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39558 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39560 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39562 * iconv/loop.c (single loop): Fix assertion in storing of
39565 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39567 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39569 * posix/getconf.c: Update copyright year.
39570 * nss/getent.c: Likewise.
39571 * nss/makedb.c: Likewise.
39572 * iconv/iconvconfig.c: Likewise.
39573 * iconv/iconv_prog.c: Likewise.
39574 * elf/ldconfig.c: Likewise.
39575 * elf/pldd.c: Likewise.
39576 * elf/sotruss.ksh: Likewise.
39577 * catgets/gencat.c: Likewise.
39578 * csu/version.c: Likewise.
39579 * elf/ldd.bash.in: Likewise.
39580 * elf/sprof.c (print_version): Likewise.
39581 * locale/programs/locale.c: Likewise.
39582 * locale/programs/localedef.c: Likewise.
39583 * login/programs/pt_chown.c: Likewise.
39584 * nscd/nscd.c (print_version): Likewise.
39585 * debug/xtrace.sh: Likewise.
39586 * malloc/memusage.sh: Likewise.
39587 * malloc/mtrace.pl: Likewise.
39588 * debug/catchsegv.sh: Likewise.
39590 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39592 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39595 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39598 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39599 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39601 * iconv/gconv_int.h: Likewise.
39602 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39603 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39604 from libc for GLIBC_2.16.
39605 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39606 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39607 * wcsmbs/uchar.h: Really define mbstate_t.
39608 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39609 * wcsmbs/c16rtomb.c: New file.
39610 * wcsmbs/mbrtoc16.c: New file.
39611 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39612 for C/POSIX locale.
39613 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39614 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39616 * wcsmbs/wchar.h: Add missing __restrict.
39618 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39621 * time/Makefile (routines): Add timespec_get.
39622 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39623 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39624 timespec for ISO C11.
39625 * time/timespec_get.c: New file.
39626 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39627 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39630 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39631 * stdlib/stdlib.h: Declare aligned_alloc.
39632 * Versions.def: Add GLIBC_2.16 for libc.
39633 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39636 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39639 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39643 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39646 * assert/assert.h (static_assert): Define.
39648 * version.h: Update for 2.16 development version.
39651 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39654 * version.h (RELEASE): Bump for 2.15 release.
39655 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39657 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39658 Patch by Marek Polacek <mpolacek@redhat.com>.
39660 * bits/byteswap.h: Protect long long constants with __extension__.
39661 * sysdeps/i386/bits/byteswap.h: Likewise.
39662 * sysdeps/ia64/bits/byteswap.h: Likewise.
39663 * sysdeps/s390/bits/byteswap.h: Likewise.
39664 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39666 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39670 destination buffer.
39671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39673 2011-12-23 Marek Polacek <polacek@redhat.com>
39675 * elf/dl-addr.c (determine_info): Add inline keyword.
39676 * elf/tst-auditmod4b.c (check_avx): Likewise.
39677 * elf/tst-auditmod6b.c (check_avx): Likewise.
39678 * elf/tst-auditmod6c.c (check_avx): Likewise.
39679 * elf/tst-auditmod7b.c (check_avx): Likewise.
39681 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39683 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39686 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39690 processing for last bytes.
39692 2011-08-06 Bruno Haible <bruno@clisp.org>
39695 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39696 U+0385, not to U+1FEE.
39699 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39700 entry for U+00A5 U+0301.
39702 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39705 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39706 buffer for the output is too small.
39708 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39712 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39713 SSE flags if possible.
39715 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39718 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39719 processing for last bytes.
39721 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39723 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39724 (syscall-list-default-options, syscall-list-default-condition)
39725 (syscall-list-includes): Define.
39726 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39727 list of ABIs and options and #if conditions for each ABI. Do not
39728 handle common syscalls between ABIs specially.
39729 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39731 (syscall-list-variants, syscall-list-32bit-options)
39732 (syscall-list-32bit-condition, syscall-list-64bit-options)
39733 (syscall-list-64bit-condition): Define.
39734 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39735 (syscall-list-variants, syscall-list-32bit-options)
39736 (syscall-list-32bit-condition, syscall-list-64bit-options)
39737 (syscall-list-64bit-condition): Define.
39738 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39740 (syscall-list-variants, syscall-list-32bit-options)
39741 (syscall-list-32bit-condition, syscall-list-64bit-options)
39742 (syscall-list-64bit-condition): Define.
39743 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39745 (syscall-list-variants, syscall-list-32bit-options)
39746 (syscall-list-32bit-condition, syscall-list-64bit-options)
39747 (syscall-list-64bit-condition): Define.
39749 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39751 * locale/iso-639.def: Add brx entry.
39754 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39755 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39757 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39758 __feraiseexcept_renamed.
39760 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39763 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39764 EPOLLET with unsigned values.
39765 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39768 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39769 to large cancellation.
39770 * math/s_cacoshf.c: Likewise.
39771 * math/s_cacoshl.c: Likewise.
39773 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39777 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39778 * math/s_cacoshf.c: Likewise.
39779 * math/s_cacoshl.c: Likewise.
39781 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39784 * iconv/gconv.h: Define __GCONV_SWAP.
39785 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39786 * iconvdata/utf-16.c: Likewise.
39787 * iconvdata/utf-32.c: Likewise.
39789 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39793 numerator after shifting it by one limb.
39795 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39797 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39798 under [__USE_EXTERN_INLINES].
39800 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39803 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39805 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39807 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39808 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39810 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39811 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39812 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39813 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39814 for strncasecmp/strncasecmp_l compilation.
39815 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39816 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39818 2011-12-08 Marek Polacek <mpolacek@redhat.com>
39821 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39824 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39827 * time/tzfile.c (__tzfile_read): Check values from file header.
39829 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39831 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39832 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39833 * powerpc/powerpc32/dl-start.S: Likewise.
39834 * powerpc/powerpc32/elf/start.S: Likewise.
39835 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39836 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39837 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39838 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39839 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39840 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39841 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39842 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39843 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39844 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39845 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39846 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39847 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39848 * powerpc/powerpc32/memset.S: Likewise.
39849 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39850 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39851 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39852 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39853 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39854 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39855 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39856 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39857 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39858 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39859 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39860 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39861 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39863 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39865 * math/libm-test.inc: Added more nearbyint tests.
39866 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39871 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39873 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39876 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39878 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39879 Add wcscpy-ssse3 wcscpy-c.
39880 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39881 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39882 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39883 * sysdeps/x86_64/wcschr.S: New file.
39884 * sysdeps/x86_64/wcsrchr.S: New file.
39885 * string/test-strcmp.c: Remove checking of wcscmp function for
39887 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39888 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39889 wcsrchr-sse2 wcsrchr-c.
39890 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39891 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39892 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39893 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39894 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39895 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39896 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39897 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39898 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39899 * wcsmbc/wcschr.c (WCSCHR): New macro.
39901 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39903 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39904 * wcsmbs/test-wcsrchr.c: New file.
39905 * string/test-strrchr.c: Add wcsrchr support.
39907 * wcsmbs/test-wcscpy.c: New file.
39908 * string/test-strcpy.c: Add wcscpy support.
39911 2011-12-10 Ulrich Drepper <drepper@gmail.com>
39913 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39916 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39919 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39921 2011-12-04 Ulrich Drepper <drepper@gmail.com>
39923 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39924 Minor optimizations.
39926 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39927 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39928 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39930 2011-12-03 Ulrich Drepper <drepper@gmail.com>
39932 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39933 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39934 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39935 for gcc to avoid warnings.
39936 * inet/Makefile (tests): Add tst-checks.
39937 * inet/tst-checks.c: New file.
39939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39942 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39945 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39946 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39948 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39950 2011-12-02 Ulrich Drepper <drepper@gmail.com>
39952 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39955 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39957 2011-11-29 Joseph Myers <joseph@codesourcery.com>
39959 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39960 conditional on GCC version.
39961 (__arch_compare_and_exchange_val_8_acq)
39962 (__arch_compare_and_exchange_val_16_acq)
39963 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39964 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39965 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39967 2011-12-02 Joseph Myers <joseph@codesourcery.com>
39969 * sysdeps/sh/backtrace.c: New file.
39971 2011-12-02 Andreas Schwab <schwab@redhat.com>
39973 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39976 2011-12-01 Andreas Schwab <schwab@redhat.com>
39978 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39979 falling back to utime.
39981 2011-11-30 Andreas Schwab <schwab@redhat.com>
39983 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39984 expectations for float.
39986 2011-11-29 Andreas Schwab <schwab@redhat.com>
39988 * locale/weight.h (findidx): Add parameter len.
39989 * locale/weightwc.h (findidx): Likewise.
39990 * posix/fnmatch_loop.c (FCT): Adjust caller.
39991 * posix/regcomp.c (build_equiv_class): Likewise.
39992 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39993 * posix/regexec.c (check_node_accept_bytes): Likewise.
39994 * string/strcoll_l.c (STRCOLL): Likewise.
39995 * string/strxfrm_l.c (STRXFRM): Likewise.
39997 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39999 * Makefile.in: Remove CVSOPT handling.
40000 * configure.in: Remove use of AC_REVISION.
40001 * iconvdata/Makefile (distribute): No need to filter out CVS.
40002 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40005 2011-11-16 Andreas Schwab <schwab@redhat.com>
40007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40008 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40009 [USE_AS_STRNCASECMP_L]: Likewise.
40010 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40011 NO_TLS_DIRECT_SEG_REFS.
40012 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40013 Fix argument offsets for non-PIC.
40014 [USE_AS_STRNCASECMP_L]: Likewise.
40015 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40016 NO_TLS_DIRECT_SEG_REFS.
40018 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40020 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40022 * locale/loadlocale.c (_nl_load_locale): Likewise.
40024 2011-11-15 Andreas Schwab <schwab@redhat.com>
40026 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40027 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40028 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40029 (SYSCALL_GETTIME): Set errno on error.
40031 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40032 count references to noai6ai_cached.
40034 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40036 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40038 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40039 FD_CLOEXEC for /proc/self/maps.
40041 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40042 FD_CLOEXEC for /proc/meminfo.
40044 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40047 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40048 FD_CLOEXEC for given file.
40050 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40052 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40053 FD_CLOEXEC for /etc/hosts.
40054 (_gethtent): Likewise.
40056 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40058 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40059 cancellation and set FD_CLOEXEC for /etc/netgroup.
40061 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40062 reading /etc/publickey.
40064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40065 allow cancellation when reading /etc/group.
40067 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40069 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40071 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40072 when using data file.
40074 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40076 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40077 (write_nis_obj): Use "c" and "e" in fopen.
40079 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40081 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40083 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40085 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40087 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40090 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40092 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40094 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40096 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40097 file parsing and set FD_CLOEXEC.
40099 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40101 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40103 2011-11-14 Andreas Schwab <schwab@redhat.com>
40105 * malloc/arena.c (arena_get2): Don't call reused_arena when
40106 _int_new_arena failed.
40108 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40110 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40111 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40112 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40113 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40115 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40116 to compile strcasecmp and strncasecmp.
40117 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40118 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40122 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40124 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40125 locale-defines.sym to gen-as-const-headers.
40126 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40127 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40129 to compile strcasecmp and strncasecmp.
40130 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40131 strcasecmp_l and strncasecmp_l.
40132 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40133 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40134 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40135 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40136 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40137 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40138 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40139 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40140 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40141 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40142 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40144 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40146 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40147 result of SYSDEP_GETTIME_CPU to retval.
40148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40149 parameter list to macro. Remove trailing semicolon. Adjust users.
40151 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40154 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40156 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40158 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40159 from unused variable.
40161 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40163 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40166 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40169 * sunrpc/rpc_prot.c (rejected): Fix case value.
40171 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40172 unsigned long long int to avoid warnings in shift.
40174 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40176 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40179 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40180 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40181 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40183 * nis/nis_table.c (nis_list): Use variable of correct type for
40184 result of __follow_path call.
40186 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40188 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40189 of math functions ceil, trunc, floor, round, and sqrt, when
40190 avaliable on the platform.
40191 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40193 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40194 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40195 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40197 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40199 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40200 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40202 2011-11-11 Roland McGrath <roland@hack.frob.com>
40204 * include/unistd.h: Fix __readlink return type.
40205 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40207 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40209 * stdlib/ucontext.h: Undo last change for makecontext.
40211 2011-11-11 Andreas Schwab <schwab@redhat.com>
40213 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40215 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40216 * setjmp/setjmp.h: Mark functions as non-leaf.
40217 * setjmp/bits/setjmp2.h: Likewise.
40218 * stdlib/ucontext.h: Likewise.
40220 2011-11-10 Andreas Schwab <schwab@redhat.com>
40222 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40223 (reused_arena): Don't check arena limit.
40224 (arena_get2): Atomically check arena limit.
40226 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40228 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40229 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40234 2011-11-07 Andreas Schwab <schwab@redhat.com>
40236 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40237 handler when locking.
40239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40240 Fix size of allocated buffer.
40242 2011-11-04 Andreas Schwab <schwab@redhat.com>
40245 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40246 declarations for long double functions.
40247 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40249 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40251 2011-11-03 Andreas Schwab <schwab@redhat.com>
40253 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40256 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40259 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40261 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40263 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40265 * include/alloca.h (stackinfo_alloca_round): Define.
40266 (extend_alloca): Use it.
40267 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40268 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40271 * scripts/check-local-headers.sh: Ignore libaudit.h.
40273 * nscd/Makefile (extra-objs): Make recursively expanded.
40275 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40277 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40278 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40280 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40281 * posix/tst-rfc3484-2.c: Likewise.
40282 * posix/tst-rfc3484-3.c: Likewise.
40284 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40286 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40288 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40289 process_vm_writev from libc using GLIBC_2.15 version.
40291 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40293 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40295 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40298 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40301 * nss/getent.c (initgroups_keys): Show error message in case no group
40304 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40305 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40306 __bump_nl_timestamp.
40307 * nscd/connections (nscd_init): When host database is served open
40308 netlink socket and request notification about configuration changes.
40309 (main_loop_poll): Track netlink file descriptor and bump timestamp
40310 in case data becomes available.
40311 (main_loop_epoll): Likewise.
40312 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40313 (database_pers_head): Add extra_data fileds.
40314 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40315 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40316 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40318 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40319 in6ai data, call __free_in6ai.
40320 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40321 Add -DHAVE_NETLINK.
40322 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40323 interface information. Reuse previous data if netlink timestamp
40325 (__bump_nl_timestamp): New function.
40326 (__free_in6ai): New function.
40328 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40331 close_not_cancel_no_status here.
40332 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40334 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40337 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40340 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40341 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40342 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40344 2011-07-03 Andreas Jaeger <aj@suse.de>
40347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40348 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40349 * math/libm-test.inc (sin_test): Add test case.
40351 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40354 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40355 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40357 * elf/chroot_canon.c (chroot_canon): Cleanups.
40359 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40362 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40363 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40365 * string/test-strchr.c: Make usable for strchrnul testing.
40366 * string/test-strchrnul.c: New file.
40367 * string/Makefile (strop-tests): Add strchrnul.
40369 * po/it.po: Update from translation team.
40370 * po/es.po: Likewise.
40372 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40374 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40375 the three constants needed as parameters. Drop the others.
40376 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40377 __m128i_strloadu_tolower.
40378 Create and initialize variable zero and use it in all the places
40379 where _mm_setzero_si128 was used.
40381 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40382 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40383 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40384 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40386 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40387 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40388 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40389 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40390 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40391 __mpranred, __mptan.
40392 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40393 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40394 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40395 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40396 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40397 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40399 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40400 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40402 2011-10-28 Andreas Schwab <schwab@redhat.com>
40404 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40405 redefine if SHARED.
40406 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40409 wide char related routines to wcsmbs subdir.
40411 2011-10-27 Andreas Schwab <schwab@redhat.com>
40414 * misc/sys/cdefs.h (__THROWNL): Define.
40415 * posix/unistd.h: Use __THREADNL instead of __THREAD
40416 for memory synchronization functions.
40418 2011-10-26 Roland McGrath <roland@hack.frob.com>
40421 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40423 * manual/stdio.texi (Obstack Streams): Node removed.
40425 2011-10-26 Andreas Schwab <schwab@redhat.com>
40427 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40428 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40429 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40431 * math/math_private.h (math_force_eval): Allow non-addressable
40433 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40435 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40437 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40438 file is not needed.
40440 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40447 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40449 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40450 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40451 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40452 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40453 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40454 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40455 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40456 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40457 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40458 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40459 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40460 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40461 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40462 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40463 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40464 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40465 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40466 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40467 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40469 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40470 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40472 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40473 place. Use VEX encoding when compiling for AVX.
40475 2011-10-25 Andreas Schwab <schwab@redhat.com>
40477 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40478 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40480 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40482 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40484 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40485 useless if() expression.
40486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40488 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40489 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40490 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40493 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40494 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40495 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40496 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40497 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40498 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40499 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40500 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40501 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40502 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40504 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40506 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40508 2011-10-25 Andreas Schwab <schwab@redhat.com>
40510 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40512 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40514 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40516 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40517 .text section. Avoid duplicate constants.
40518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40520 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40522 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40526 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40527 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40528 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40529 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40530 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40531 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40532 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40533 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40534 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40535 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40536 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40538 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40539 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40540 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40541 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40542 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40543 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40544 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40545 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40546 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40547 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40548 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40549 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40551 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40552 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40553 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40554 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40555 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40556 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40557 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40559 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40560 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40561 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40562 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40564 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40566 * sysdeps/x86_64/dla.h: Move to ...
40567 * sysdeps/x86_64/fpu/dla.h: ...here.
40568 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40569 situations. Use __builtin_fma only for gcc 4.6 and up.
40571 * config.make.in: Add have-mfma4 entry.
40572 * configure.in: Substitute libc_cv_cc_fma4.
40573 * math/Makefile (dbl-only-routines): Add sincostab.
40574 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40575 Use __sincostab not sincos.
40576 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40583 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40584 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40585 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40586 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40588 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40589 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40591 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40592 define aliases when function name is a macro.
40593 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40594 sysdeps/ieee754/dbl-64/sincos.tbl.
40595 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40596 fma4-enabled routines.
40597 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40598 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40599 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40600 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40601 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40602 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40604 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40606 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40607 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40608 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40609 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40610 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40611 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40612 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40613 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40614 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40615 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40617 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40618 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40620 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40622 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40624 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40625 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40626 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40628 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40639 2011-10-24 Andreas Schwab <schwab@redhat.com>
40641 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40643 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40645 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40647 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40649 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40651 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40652 Remove unused variable magic_bits.
40653 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40655 * string/strnlen.c: Define and use STRNLEN macro.
40656 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40657 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40659 * wcsmbs/wcslen.c: Define and use WCSLEN.
40660 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40661 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40662 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40663 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40664 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40665 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40666 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40668 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40671 strnlen-sse2-no-bsf.
40672 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40673 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40674 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40675 Add strnlen support.
40676 (USE_AS_STRNLEN): New macro.
40677 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40678 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40679 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40680 * sysdeps/x86_64/wcslen.S: New file.
40682 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40684 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40685 XMM-moves are used for copying on small sizes.
40687 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40689 * wcsmbs/Makefile (strop-tests): Add wcschr.
40690 * wcsmbs/test-wcschr.c: New file.
40691 * string/test-strchr.c: Update.
40692 Add wcschr support.
40695 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40697 * wcsmbs/Makefile (strop-tests): Add wcslen.
40698 * wcsmbs/test-wcslen.c: New file.
40699 * string/test-strlen.c: Update.
40700 Add wcslen support.
40703 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40705 * po/it.po: Update from translation team.
40707 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40709 * sysdeps/x86_64/wcscmp.S: Update.
40710 Fix wrong comparison semantics.
40711 wcscmp shall use signed comparison not unsigned.
40712 Don't use substraction to avoid overflow bug.
40713 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40714 * wcsmbc/wcscmp.c: Likewise.
40715 * string/test-strcmp.c: Likewise.
40716 Add new tests to check cases with negative values.
40718 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40720 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40721 * sysdeps/x86_64/dla.h: ...here. New file.
40722 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40727 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40729 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40732 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40735 __ynl_finite aliases.
40737 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40741 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40743 [DLA_FMA] (EMULV): Use DLA_FMA.
40744 [DLA_FMA] (MUL12): Use EMULV.
40745 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40746 that are not needed.
40747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40751 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40752 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40753 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40755 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40757 * math/s_nan.c: Undef __nan.
40758 * math/s_nanf.c: Undef __nanf.
40759 * math/s_nanl.c: Undef __nanl.
40760 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40763 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40765 * math/s_catan.c: Add branch predictions.
40766 * math/s_catanf.c: Likewise.
40767 * math/s_catanh.c: Likewise.
40768 * math/s_catanhf.c: Likewise.
40769 * math/s_catanhl.c: Likewise.
40770 * math/s_catanl.c: Likewise.
40771 * math/s_cexp.c: Likewise.
40772 * math/s_cexpf.c: Likewise.
40773 * math/s_cexpl.c: Likewise.
40774 * math/s_clog.c: Likewise.
40775 * math/s_clog10.c: Likewise.
40776 * math/s_clog10f.c: Likewise.
40777 * math/s_clog10l.c: Likewise.
40778 * math/s_clogf.c: Likewise.
40779 * math/s_clogl.c: Likewise.
40780 * math/s_csqrt.c: Likewise.
40781 * math/s_csqrtf.c: Likewise.
40782 * math/s_csqrtl.c: Likewise.
40783 * math/s_ctanf.c: Likewise.
40784 * math/s_ctanh.c: Likewise.
40785 * math/s_ctanhf.c: Likewise.
40786 * math/s_ctanhl.c: Likewise.
40787 * math/s_ctanl.c: Likewise.
40789 * math/math_private.h: Define __nan, __nanf, __nanl.
40790 * math/s_cacosh.c: Include <math_private.h>.
40791 * math/s_cacoshl.c: Likewise.
40792 * math/s_casinh.c: Likewise.
40793 * math/s_casinhf.c: Likewise.
40794 * math/s_casinhl.c: Likewise.
40795 * math/s_ccos.c: Rely entire on ccosh.
40796 * math/s_ccosf.c: Rely entire on ccoshf.
40797 * math/s_ccosl.c: Rely entirely on ccoshl.
40798 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40799 Remove tests for FE_INVALID.
40800 * math/s_ccoshf.c: Likewise.
40801 * math/s_ccoshl.c: Likewise.
40802 * math/s_csin.c: Likewise.
40803 * math/s_csinf.c: Likewise.
40804 * math/s_csinh.c Likewise.
40805 * math/s_csinhf.c: Likewise.
40806 * math/s_csinhl.c: Likewise.
40807 * math/s_csinl.c: Likewise.
40808 * math/s_ctan.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40810 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40811 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40813 2011-10-21 Ulrich Drepper <drepper@gmail.com>
40815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40816 compilation problems.
40818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40821 2011-10-20 Ulrich Drepper <drepper@gmail.com>
40823 * sysdeps/i386/configure.in: Test for -mfma4 option.
40824 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40825 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40826 COMMON_CPUID_INDEX_80000001.
40827 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40828 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40829 use it if FMA3 is not supported.
40830 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40832 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40833 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40835 2011-10-20 Andreas Schwab <schwab@redhat.com>
40838 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40839 it would create a cycle with a link time dependency.
40841 2011-10-19 Ulrich Drepper <drepper@gmail.com>
40843 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40845 * string/Makefile (strop-tests): Add rawmemchr.
40846 * string/test-rawmemchr.c: New file.
40848 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40850 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40851 when compiling str{,n}casecmp and when AVX is available. Hook up
40852 new optimized code in initializers.
40854 2011-10-19 Andreas Schwab <schwab@redhat.com>
40856 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40857 __feraiseexcept instead of feraiseexcept.
40859 2011-10-18 Ulrich Drepper <drepper@gmail.com>
40861 * math/math_private.h: Define defaults for libc_fetestexcept and
40863 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40864 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40865 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40866 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40867 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40868 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40869 libc_fetestexcept and libc_feupdateenv.
40871 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40872 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40873 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40874 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40875 libc_feholdexcept_setround.
40877 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40878 Add s_nearbyint-c and s_nearbyintf-c.
40879 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40880 nearbyintf inlines.
40881 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40883 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40886 * math/math_private.h: Define defaults for libc_fegetround,
40887 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40888 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40889 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40891 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40892 standard functions.
40893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40894 Remove comments and hacks for old compiler versions.
40895 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40896 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40897 libc_feholdexceptl.
40899 2011-10-18 Andreas Schwab <schwab@redhat.com>
40901 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40902 (__feraiseexcept_renamed): Add __NTH.
40903 (feraiseexcept): Add __NTH. Rename local variables to fix
40904 namespace violations.
40906 2011-10-17 Ulrich Drepper <drepper@gmail.com>
40908 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40910 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40912 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40913 recently added interfaces.
40914 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40916 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40917 about macro parameter expansion.
40919 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40920 __NO_MATH_INLINES is defined. Cleanups.
40922 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40923 and __floorf is target has SSE4.1.
40924 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40925 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40926 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40927 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40929 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40931 (floorf): Likewise.
40933 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40935 2011-10-17 Andreas Schwab <schwab@redhat.com>
40937 * misc/sys/cdefs.h: Fix last change.
40939 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40942 2011-10-16 Ulrich Drepper <drepper@gmail.com>
40944 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40946 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40947 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40953 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40954 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40955 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40956 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40957 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40958 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40959 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40960 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40961 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40962 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40963 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40964 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40965 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40966 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40967 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40969 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40970 ceil, ceilf, floor, floorf.
40972 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40973 Perform IRELATIVE relocations last.
40975 * elf/do-rel.h: Add another parameter nrelative, replacing the
40976 local variable with the same name. Change name of the function
40977 to end in Rel or Rela (uppercase).
40978 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40979 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40980 elf_dynamic_do_##reloc function.
40982 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40984 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40985 is sufficient, at least on modern CPUs.
40987 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40989 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40992 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40994 * math/bits/math-finite.h: Add entries for exp.
40995 * math/e_expl.c: Add __*_finite alias.
40996 * sysdeps/i386/fpu/e_exp.S: Likewise.
40997 * sysdeps/i386/fpu/e_expf.S: Likewise.
40998 * sysdeps/i386/fpu/e_expl.c: Likewise.
40999 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41000 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41003 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41004 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41005 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41007 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41008 is sufficient, at least on modern CPUs.
41010 * ctype/ctype-info.c (__ctype_init): Define.
41011 * include/ctype.h (__ctype_init): Declare.
41012 (__ctype_b_loc): The variable is always initialized.
41013 (__ctype_toupper_loc): Likewise.
41014 (__ctype_tolower_loc): Likewise.
41015 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41016 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41018 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41020 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41022 * configure.in: Also look in $cxxmachine/include for C++ system
41025 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41027 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41028 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41029 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41030 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41031 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41032 (USE_AS_WMEMCMP): New macro.
41034 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41035 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41036 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41037 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41039 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41040 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41041 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41042 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41043 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41044 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41045 (USE_AS_WMEMCMP): New macro.
41046 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41047 * sysdeps/string/test-memcmp.c: Update.
41048 Fix simple_wmemcmp.
41050 * wcsmbs/wmemcmp.c: Update.
41051 (WMEMCMP): New macro.
41054 2011-10-12 Andreas Jaeger <aj@suse.de>
41057 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41059 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41061 * libio/iofwide.c (do_length): Avoid warning.
41063 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41065 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41067 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41069 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41070 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41071 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41072 * sysdeps/i386/i686/fpu/e_log.S: New file.
41073 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41074 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41076 * ctype/ctype.h: Add support for inlined isXXX functions when
41077 compiling C++ code.
41079 2011-10-14 Andreas Schwab <schwab@redhat.com>
41081 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41083 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41085 2011-10-13 Roland McGrath <roland@hack.frob.com>
41088 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41090 2011-10-13 Andreas Schwab <schwab@redhat.com>
41092 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41093 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41096 * sysdeps/x86_64/memrchr.S: Check for zero size.
41098 * string/stratcliff.c: Add memrchr tests.
41100 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41103 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41104 rawmemchr-sse2 rawmemchr-sse2-bsf.
41105 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41106 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41107 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41108 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41109 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41110 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41111 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41112 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41113 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41114 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41115 * string/memrchr.c (MEMRCHR): New macro.
41117 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41119 Add integration with gcc's -ffinite-math-only and optimize wrapper
41121 * Versions.def: Define GLIBC_2.15 version for libm.
41122 * math/Makefile (headers): Add bits/math-finite.h.
41123 * math/bits/math-finite.h: New file.
41124 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41125 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41126 * math/e_acoshl.c: Add __*_finite alias.
41127 * math/e_acosl.c: Likewise.
41128 * math/e_asinl.c: Likewise.
41129 * math/e_atan2l.c: Likewise.
41130 * math/e_atanhl.c: Likewise.
41131 * math/e_coshl.c: Likewise.
41132 * math/e_exp10.c: Likewise.
41133 * math/e_exp10f.c: Likewise.
41134 * math/e_exp10l.c: Likewise.
41135 * math/e_exp2l.c: Likewise.
41136 * math/e_fmodl.c: Likewise.
41137 * math/e_gammal_r.c: Likewise.
41138 * math/e_hypotl.c: Likewise.
41139 * math/e_j0l.c: Likewise.
41140 * math/e_j1l.c: Likewise.
41141 * math/e_jnl.c: Likewise.
41142 * math/e_lgammal_r.c: Likewise.
41143 * math/e_log10l.c: Likewise.
41144 * math/e_log2l.c: Likewise.
41145 * math/e_logl.c: Likewise.
41146 * math/e_powl.c: Likewise.
41147 * math/e_sinhl.c: Likewise.
41148 * math/e_sqrtl.c: Likewise.
41149 * math/e_scalb.c: Completely rewritten and optimized.
41150 * math/e_scalbf.c: Likewise.
41151 * math/e_scalbl.c: Likewise.
41152 * math/w_acos.c: Likewise.
41153 * math/w_acosf.c: Likewise.
41154 * math/w_acosl.c: Likewise.
41155 * math/w_acosh.c: Likewise.
41156 * math/w_acoshf.c: Likewise.
41157 * math/w_acoshl.c: Likewise.
41158 * math/w_asin.c: Likewise.
41159 * math/w_asinf.c: Likewise.
41160 * math/w_asinl.c: Likewise.
41161 * math/w_atan2.c: Likewise.
41162 * math/w_atan2f.c: Likewise.
41163 * math/w_atan2l.c: Likewise.
41164 * math/w_atanh.c: Likewise.
41165 * math/w_atanhf.c: Likewise.
41166 * math/w_atanhl.c: Likewise.
41167 * math/w_exp10.c: Likewise.
41168 * math/w_exp10f.c: Likewise.
41169 * math/w_exp10l.c: Likewise.
41170 * math/w_fmod.c: Likewise.
41171 * math/w_fmodf.c: Likewise.
41172 * math/w_fmodl.c: Likewise.
41173 * math/w_j0.c: Likewise.
41174 * math/w_j0f.c: Likewise.
41175 * math/w_j0l.c: Likewise.
41176 * math/w_j1.c: Likewise.
41177 * math/w_j1f.c: Likewise.
41178 * math/w_j1l.c: Likewise.
41179 * math/w_jn.c: Likewise.
41180 * math/w_jnf.c: Likewise.
41181 * math/w_log.c: Likewise.
41182 * math/w_logf.c: Likewise.
41183 * math/w_logl.c: Likewise.
41184 * math/w_log10.c: Likewise.
41185 * math/w_log10f.c: Likewise.
41186 * math/w_log10l.c: Likewise.
41187 * math/w_log2.c: Likewise.
41188 * math/w_log2f.c: Likewise.
41189 * math/w_log2l.c: Likewise.
41190 * math/w_pow.c: Likewise.
41191 * math/w_powf.c: Likewise.
41192 * math/w_powl.c: Likewise.
41193 * math/w_remainder.c: Likewise.
41194 * math/w_remainderf.c: Likewise.
41195 * math/w_remainderl.c: Likewise.
41196 * math/w_scalb.c: Likewise.
41197 * math/w_scalbf.c: Likewise.
41198 * math/w_scalbl.c: Likewise.
41199 * math/w_sqrt.c: Likewise.
41200 * math/w_sqrtf.c: Likewise.
41201 * math/w_sqrtl.c: Likewise.
41202 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41203 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41205 * math/math_private.h: Declare __kernel_standard_f.
41206 * math/w_cosh.c: Remove cruft and optimize a bit.
41207 * math/w_coshf.c: Likewise.
41208 * math/w_coshl.c: Likewise.
41209 * math/w_exp2.c: Likewise.
41210 * math/w_exp2f.c: Likewise.
41211 * math/w_exp2l.c: Likewise.
41212 * math/w_hypot.c: Likewise.
41213 * math/w_hypotf.c: Likewise.
41214 * math/w_hypotl.c: Likewise.
41215 * math/w_lgamma.c: Likewise.
41216 * math/w_lgamma_r.c: Likewise.
41217 * math/w_lgammaf.c: Likewise.
41218 * math/w_lgammaf_r.c: Likewise.
41219 * math/w_lgammal.c: Likewise.
41220 * math/w_lgammal_r.c: Likewise.
41221 * math/w_sinh.c: Likewise.
41222 * math/w_sinhf.c: Likewise.
41223 * math/w_sinhl.c: Likewise.
41224 * math/w_tgamma.c: Likewise.
41225 * math/w_tgammaf.c: Likewise.
41226 * math/w_tgammal.c: Likewise.
41227 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41229 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41230 Minor optimizations. Pretty printing. Remove cruft.
41231 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41232 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41233 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41234 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41235 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41236 * sysdeps/i386/fpu/e_asin.S: Likewise.
41237 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41238 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41239 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41240 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41241 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41242 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41243 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41244 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41245 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41246 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41247 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41248 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41249 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41250 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41251 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41252 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41253 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41254 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41255 * sysdeps/i386/fpu/e_log.S: Likewise.
41256 * sysdeps/i386/fpu/e_log10.S: Likewise.
41257 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41258 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41259 * sysdeps/i386/fpu/e_log2.S: Likewise.
41260 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41261 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41262 * sysdeps/i386/fpu/e_logf.S: Likewise.
41263 * sysdeps/i386/fpu/e_logl.S: Likewise.
41264 * sysdeps/i386/fpu/e_pow.S: Likewise.
41265 * sysdeps/i386/fpu/e_powf.S: Likewise.
41266 * sysdeps/i386/fpu/e_powl.S: Likewise.
41267 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41268 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41269 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41270 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41271 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41272 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41273 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41274 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41275 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41276 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41277 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41278 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41279 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41280 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41281 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41282 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41283 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41284 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41285 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41286 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41287 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41289 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41290 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41292 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41293 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41294 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41296 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41297 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41298 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41299 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41300 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41301 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41302 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41303 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41304 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41305 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41307 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41308 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41309 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41310 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41311 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41312 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41313 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41314 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41315 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41316 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41317 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41318 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41319 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41320 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41321 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41323 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41324 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41325 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41326 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41327 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41328 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41330 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41331 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41332 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41333 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41334 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41335 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41336 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41340 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41341 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41344 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41345 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41346 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41347 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41348 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41350 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41352 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41353 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41354 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41355 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41356 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41357 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41358 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41361 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41362 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41363 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41364 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41365 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41367 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41368 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41369 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41371 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41372 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41373 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41374 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41375 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41376 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41377 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41378 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41379 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41380 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41381 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41382 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41383 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41384 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41385 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41386 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41387 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41388 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41389 (__isnanf): Likewise.
41390 (__isinf_ns): Likewise.
41391 (__isinf_nsf): Likewise.
41392 (__finite): Likewise.
41393 (__finitef): Likewise.
41394 (__ieee754_sqrt): Define as macro.
41395 (__ieee754_sqrtf): Define as macro.
41396 (__ieee754_sqrtl): Define as macro.
41397 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41399 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41400 __FINITE_MATH_ONLY__ consistent.
41401 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41403 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41405 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41408 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41410 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41412 * po/ja.po: Update from translation team.
41414 2011-10-08 Roland McGrath <roland@hack.frob.com>
41416 * locale/programs/locarchive.c (prepare_address_space): New function.
41417 (create_archive, enlarge_archive, open_archive): Use it.
41419 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41420 inside [SHARED], where it is used.
41422 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41424 * nss/getent.c (netgroup_keys): Remove unused variable.
41425 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41427 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41429 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41430 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41432 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41433 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41434 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41435 * math/Makefile (libm-calls): Add s_isinf_ns.
41436 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41437 * math/multc3.c: Likewise.
41438 * math/s_casin.c: Likewise.
41439 * math/s_casinf.c: Likewise.
41440 * math/s_casinl.c: Likewise.
41441 * math/s_ccos.c: Likewise.
41442 * math/s_ccosf.c: Likewise.
41443 * math/s_ccosl.c: Likewise.
41444 * math/s_ctan.c: Likewise.
41445 * math/s_ctanf.c: Likewise.
41446 * math/s_ctanh.c: Likewise.
41447 * math/s_ctanhf.c: Likewise.
41448 * math/s_ctanhl.c: Likewise.
41449 * math/s_ctanl.c: Likewise.
41450 * math/w_fmod.c: Likewise.
41451 * math/w_fmodf.c: Likewise.
41452 * math/w_fmodl.c: Likewise.
41453 * math/w_remainder.c: Likewise.
41454 * math/w_remainderf.c: Likewise.
41455 * math/w_remainderl.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41457 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41458 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41460 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41461 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41462 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41463 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41465 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41467 * stdio-common/printf_fphex.c: Likewise.
41468 * stdio-common/printf_size.c: Likewise.
41470 * math/e_exp10.c: Include math_private.h using <...> not "...".
41471 * math/e_exp10f.c: Likewise.
41472 * math/e_exp10l.c: Likewise.
41473 * math/e_exp2l.c: Likewise.
41474 * math/e_j0l.c: Likewise.
41475 * math/e_j1l.c: Likewise.
41476 * math/e_jnl.c: Likewise.
41477 * math/e_lgammal_r.c: Likewise.
41478 * math/e_rem_pio2l.c: Likewise.
41479 * math/e_scalb.c: Likewise.
41480 * math/e_scalbf.c: Likewise.
41481 * math/e_scalbl.c: Likewise.
41482 * math/k_cosl.c: Likewise.
41483 * math/k_sinl.c: Likewise.
41484 * math/k_tanl.c: Likewise.
41485 * math/s_cacoshf.c: Likewise.
41486 * math/s_catan.c: Likewise.
41487 * math/s_catanf.c: Likewise.
41488 * math/s_catanh.c: Likewise.
41489 * math/s_catanhf.c: Likewise.
41490 * math/s_catanhl.c: Likewise.
41491 * math/s_catanl.c: Likewise.
41492 * math/s_ccosh.c: Likewise.
41493 * math/s_ccoshf.c: Likewise.
41494 * math/s_ccoshl.c: Likewise.
41495 * math/s_cexp.c: Likewise.
41496 * math/s_cexpf.c: Likewise.
41497 * math/s_cexpl.c: Likewise.
41498 * math/s_clog.c: Likewise.
41499 * math/s_clog10.c: Likewise.
41500 * math/s_clog10f.c: Likewise.
41501 * math/s_clog10l.c: Likewise.
41502 * math/s_clogf.c: Likewise.
41503 * math/s_clogl.c: Likewise.
41504 * math/s_csin.c: Likewise.
41505 * math/s_csinf.c: Likewise.
41506 * math/s_csinh.c: Likewise.
41507 * math/s_csinhf.c: Likewise.
41508 * math/s_csinhl.c: Likewise.
41509 * math/s_csinl.c: Likewise.
41510 * math/s_csqrt.c: Likewise.
41511 * math/s_csqrtf.c: Likewise.
41512 * math/s_csqrtl.c: Likewise.
41513 * math/s_ctan.c: Likewise.
41514 * math/s_ctanf.c: Likewise.
41515 * math/s_ctanh.c: Likewise.
41516 * math/s_ctanhf.c: Likewise.
41517 * math/s_ctanhl.c: Likewise.
41518 * math/s_ctanl.c: Likewise.
41519 * math/s_ldexp.c: Likewise.
41520 * math/s_ldexpf.c: Likewise.
41521 * math/s_ldexpl.c: Likewise.
41522 * math/s_significand.c: Likewise.
41523 * math/s_significandf.c: Likewise.
41524 * math/s_significandl.c: Likewise.
41525 * math/w_acos.c: Likewise.
41526 * math/w_acosf.c: Likewise.
41527 * math/w_acosh.c: Likewise.
41528 * math/w_acoshf.c: Likewise.
41529 * math/w_acoshl.c: Likewise.
41530 * math/w_acosl.c: Likewise.
41531 * math/w_asin.c: Likewise.
41532 * math/w_asinf.c: Likewise.
41533 * math/w_asinl.c: Likewise.
41534 * math/w_atan2.c: Likewise.
41535 * math/w_atan2f.c: Likewise.
41536 * math/w_atan2l.c: Likewise.
41537 * math/w_atanh.c: Likewise.
41538 * math/w_atanhf.c: Likewise.
41539 * math/w_atanhl.c: Likewise.
41540 * math/w_cosh.c: Likewise.
41541 * math/w_coshf.c: Likewise.
41542 * math/w_coshl.c: Likewise.
41543 * math/w_dremf.c: Likewise.
41544 * math/w_exp10.c: Likewise.
41545 * math/w_exp10f.c: Likewise.
41546 * math/w_exp10l.c: Likewise.
41547 * math/w_exp2.c: Likewise.
41548 * math/w_exp2f.c: Likewise.
41549 * math/w_fmod.c: Likewise.
41550 * math/w_fmodf.c: Likewise.
41551 * math/w_fmodl.c: Likewise.
41552 * math/w_hypot.c: Likewise.
41553 * math/w_hypotf.c: Likewise.
41554 * math/w_hypotl.c: Likewise.
41555 * math/w_j0.c: Likewise.
41556 * math/w_j0f.c: Likewise.
41557 * math/w_j0l.c: Likewise.
41558 * math/w_j1.c: Likewise.
41559 * math/w_j1f.c: Likewise.
41560 * math/w_j1l.c: Likewise.
41561 * math/w_jn.c: Likewise.
41562 * math/w_jnf.c: Likewise.
41563 * math/w_jnl.c: Likewise.
41564 * math/w_lgamma.c: Likewise.
41565 * math/w_lgamma_r.c: Likewise.
41566 * math/w_lgammaf.c: Likewise.
41567 * math/w_lgammaf_r.c: Likewise.
41568 * math/w_lgammal.c: Likewise.
41569 * math/w_lgammal_r.c: Likewise.
41570 * math/w_log.c: Likewise.
41571 * math/w_log10.c: Likewise.
41572 * math/w_log10f.c: Likewise.
41573 * math/w_log10l.c: Likewise.
41574 * math/w_log2.c: Likewise.
41575 * math/w_log2f.c: Likewise.
41576 * math/w_log2l.c: Likewise.
41577 * math/w_logf.c: Likewise.
41578 * math/w_logl.c: Likewise.
41579 * math/w_pow.c: Likewise.
41580 * math/w_powf.c: Likewise.
41581 * math/w_powl.c: Likewise.
41582 * math/w_remainder.c: Likewise.
41583 * math/w_remainderf.c: Likewise.
41584 * math/w_remainderl.c: Likewise.
41585 * math/w_scalb.c: Likewise.
41586 * math/w_scalbf.c: Likewise.
41587 * math/w_scalbl.c: Likewise.
41588 * math/w_sinh.c: Likewise.
41589 * math/w_sinhf.c: Likewise.
41590 * math/w_sinhl.c: Likewise.
41591 * math/w_sqrt.c: Likewise.
41592 * math/w_sqrtf.c: Likewise.
41593 * math/w_sqrtl.c: Likewise.
41594 * math/w_tgamma.c: Likewise.
41595 * math/w_tgammaf.c: Likewise.
41596 * math/w_tgammal.c: Likewise.
41598 * po/ja.po: Update from translation team.
41600 2011-09-29 Andreas Jaeger <aj@suse.de>
41603 * sunrpc/netname.c (netname2host): Fix logic.
41607 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41609 * math/w_remainder.c (__remainder): Likewise.
41610 * math/w_remainderf.c (__remainderf): Likewise.
41611 * math/libm-test.inc (remainder_test): Add test cases.
41613 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41615 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41618 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41620 * string/test-memcmp.c: Avoid unncessary #defines.
41621 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41623 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41625 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41626 Use new sse2 version for core i3 - i7 as it's faster
41627 than sse42 version.
41628 (bit_Prefer_PMINUB_for_stringop): New.
41629 * sysdeps/x86_64/rawmemchr.S: Update.
41630 Replace with faster SSE2 version.
41631 * sysdeps/x86_64/memrchr.S: New file.
41632 * sysdeps/x86_64/memchr.S: Update.
41633 Replace with faster SSE2 version.
41635 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41637 * elf/dl-load.c (lose): Add cast to avoid warning.
41639 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41641 * po/ca.po: Update from translation team.
41643 * inet/getnetgrent_r.c: Hook up nscd.
41644 * nscd/Makefile (routines): Add nscd_netgroup.
41645 (nscd-modules): Add netgroupcache.
41646 (CFLAGS-netgroupcache.c): Define.
41647 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41648 (cache_search): Add const to second parameter.
41649 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41651 (dbs): Add netgrdb entry.
41652 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41653 (verify_persistent_db): Handle netgrdb.
41654 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41655 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41657 (netgroup_response_header): Define.
41658 (innetgroup_response_header): Define.
41659 (datahead): Add netgroup_response_header and innetgroup_response_header
41661 * nscd/nscd.conf: Add entries for netgroup cache.
41662 * nscd/nscd.h (dbtype): Add netgrdb.
41663 (_PATH_NSCD_NETGROUP_DB): Define.
41664 (netgroup_iov_disabled): Declare.
41665 (xmalloc, xcalloc, xrealloc): Move declarations here.
41666 (cache_search): Adjust prototype.
41667 Add netgroup-related prototypes.
41668 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41669 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41670 (__nscd_innetgr): Declare.
41671 * nscd/selinux.c (perms): Use access_vector_t as element type and
41672 add netgroup-related initializers.
41673 * nscd/netgroupcache.c: New file.
41674 * nscd/nscd_netgroup.c: New file.
41675 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41676 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41677 For four parameters use innetgr.
41678 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41679 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41680 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41681 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41683 * nscd/connections.c (register_traced_file): Don't register file
41684 for disabled databases.
41686 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41688 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41690 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41691 from tree and freeing node.
41693 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41695 * nss/nsswitch.c (__nss_database_lookup): Handle
41696 nss_parse_service_list out of memory case.
41698 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41700 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41701 out of memory case.
41703 2011-10-04 Andreas Schwab <schwab@redhat.com>
41705 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41706 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41708 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41709 elf_machine_rela, elf_machine_lazy_rel.
41710 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41711 (ELF_DYNAMIC_DO_REL): Likewise.
41712 (ELF_DYNAMIC_DO_RELA): Likewise.
41713 (ELF_DYNAMIC_RELOCATE): Likewise.
41714 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41715 to ELF_DYNAMIC_DO_REL.
41716 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41717 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41718 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41721 skip_ifunc, don't call ifunc function if non-zero.
41722 (elf_machine_rela): Likewise.
41723 (elf_machine_lazy_rel): Likewise.
41724 (elf_machine_lazy_rela): Likewise.
41725 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41726 (elf_machine_lazy_rel): Likewise.
41727 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41729 (elf_machine_lazy_rel): Likewise.
41730 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41732 (elf_machine_lazy_rel): Likewise.
41733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41734 (elf_machine_lazy_rel): Likewise.
41735 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41736 (elf_machine_lazy_rel): Likewise.
41737 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41738 (elf_machine_lazy_rel): Likewise.
41739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41740 (elf_machine_lazy_rel): Likewise.
41741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41742 (elf_machine_lazy_rel): Likewise.
41743 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41744 (elf_machine_lazy_rel): Likewise.
41746 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41748 * nss/nss_files/files-init.c (_nss_files_init): Use static
41749 initialization for all the *_traced_file variables.
41751 2011-09-28 Andreas Schwab <schwab@redhat.com>
41753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41755 2011-09-27 Roland McGrath <roland@hack.frob.com>
41758 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41760 2011-09-27 Andreas Schwab <schwab@redhat.com>
41762 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41763 Reread the line before reparsing it.
41765 2011-09-26 Andreas Schwab <schwab@redhat.com>
41767 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41769 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41770 Maxim Kuvyrkov <maxim@codesourcery.com>
41771 Joseph Myers <joseph@codesourcery.com>
41773 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41774 if needed for __stack_chk_guard.
41776 2011-09-19 Roland McGrath <roland@hack.frob.com>
41778 * sysdeps/posix/spawni.c (script_execute): Always define it.
41779 It will be optimized away if unused.
41780 (maybe_script_execute): New function.
41781 (__spawni): Call it.
41783 * Makerules: Don't include tls.make.
41784 (config-tls): Always set to thread.
41785 * tls.make.c: File removed.
41787 2011-09-19 Mike Frysinger <vapier@gentoo.org>
41789 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41790 * config.make.in (CPPFLAGS-config): New substituted variable.
41792 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41794 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41797 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41798 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41800 2011-09-15 Roland McGrath <roland@hack.frob.com>
41802 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41803 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41805 (CALL_FAIL): Likewise.
41806 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41807 (CALL_FAIL): Macro removed.
41808 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41810 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41812 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41813 for __FINITE_MATH_ONLY__ == 1.
41815 2011-09-15 Andreas Schwab <schwab@redhat.com>
41817 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41818 __ieee754_sqrt instead of sqrt.
41819 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41820 __ieee754_sqrtf instead of sqrtf.
41821 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41822 __floorf instead of floorf.
41823 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41824 __floorf, __truncf instead of floorf, truncf.
41826 2011-09-14 Ulrich Drepper <drepper@gmail.com>
41828 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41830 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41831 __extern_always_inline.
41832 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41835 2011-09-14 Andreas Schwab <schwab@redhat.com>
41837 * elf/rtld.c (dl_main): Also relocate in dependency order when
41838 doing symbol dependency testing.
41840 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41843 Always define `refsym'.
41845 2011-09-13 Andreas Schwab <schwab@redhat.com>
41847 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41848 (__FD_ELT): Renamed from __FDELT.
41849 * misc/bits/select2.h (__FD_ELT): Likewise.
41850 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41851 __FD_MASK instead of __FDELT, __FDMASK.
41852 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41854 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41857 * elf/Makefile (gen-ldd): Fix pattern.
41859 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41860 (init_tls): Likewise.
41862 2011-09-12 Ulrich Drepper <drepper@gmail.com>
41864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41866 2011-09-12 Andreas Schwab <schwab@redhat.com>
41868 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41869 `struct cmsghdr *' instead of `void *'.
41870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41873 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41875 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41877 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41878 ldd_rewrite_script.
41880 2011-09-11 Ulrich Drepper <drepper@gmail.com>
41882 * configure.in: Remove --with-tls option.
41883 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41884 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41885 out in case it is missing.
41886 * sysdeps/ia64/elf/configure.in: Likewise.
41887 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41888 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41889 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41890 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41891 * sysdeps/sh/elf/configure.in: Likewise.
41892 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41893 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41894 * sysdeps/x86_64/elf/configure.in: Likewise.
41895 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41896 * sysdeps/mach/hurd/tls.h: Likewise.
41899 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41902 * configure.in: Fix use of AC_INIT.
41904 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41906 2011-09-10 Ulrich Drepper <drepper@gmail.com>
41908 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41910 * malloc/hooks.c: Likewise.
41913 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41914 variables statically.
41915 (narenas): Initialize.
41916 (list_lock): Initialize.
41917 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41918 initializtion of main_arena and list_lock. Small cleanups.
41919 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41920 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41921 Add initializers to main_arena and mp_.
41922 (malloc_state): Remove pagesize member. Change all users to use
41925 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41926 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41927 is always initialized.
41929 * malloc/malloc.c: Removed unused configurations and dead code.
41930 * malloc/arena.c: Likewise.
41931 * malloc/hooks.c: Likewise.
41932 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41934 * include/tls.h: Removed. USE___THREAD must always be defined.
41935 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41936 * elf/dl-libc.c: Likewise.
41937 * elf/dl-tsd.c: Likewise.
41938 * include/errno.h: Likewise.
41939 * include/netdb.h: Likewise.
41940 * include/resolv.h: Likewise.
41941 * inet/herrno-loc.c: Likewise.
41942 * inet/herrno.c: Likewise.
41943 * malloc/arena.c: Likewise.
41944 * malloc/hooks.c: Likewise.
41945 * malloc/malloc.c: Likewise.
41946 * resolv/res-state.c: Likewise.
41947 * resolv/res_libc.c: Likewise.
41948 * sysdeps/i386/dl-machine.h: Likewise.
41949 * sysdeps/ia64/dl-machine.h: Likewise.
41950 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41951 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41952 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41953 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41954 * sysdeps/sh/dl-machine.h: Likewise.
41955 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41956 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41957 * sysdeps/unix/i386/sysdep.S: Likewise.
41958 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41959 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41964 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41968 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41969 * sysdeps/x86_64/dl-machine.h: Likewise.
41970 * tls.make.c: Likewise.
41972 * configure.in: Remove --with-__thread option. Make tests for
41973 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41974 tls_model attribute fail if no support is available. Remove
41976 * Makeconfig: Adjust for dropped configure option. All features are
41978 * Makerules: Likewise.
41979 * Versions.def: Likewise.
41980 * argp/argp-fmtstream.c: Likewise.
41981 * argp/argp-fmtstream.h: Likewise.
41982 * argp/argp-help.c: Likewise.
41983 * assert/assert.c: Likewise.
41984 * config.h.in: Likewise.
41985 * config.make.in: Likewise.
41986 * configure: Likewise.
41987 * configure.in: Likewise.
41988 * csu/Versions: Likewise.
41989 * csu/init.c: Likewise.
41990 * elf/tst-audit2.c: Likewise.
41991 * elf/tst-tls10.c: Likewise.
41992 * elf/tst-tls10.h: Likewise.
41993 * elf/tst-tls11.c: Likewise.
41994 * elf/tst-tls12.c: Likewise.
41995 * elf/tst-tls14.c: Likewise.
41996 * elf/tst-tlsmod11.c: Likewise.
41997 * elf/tst-tlsmod12.c: Likewise.
41998 * elf/tst-tlsmod13.c: Likewise.
41999 * elf/tst-tlsmod13a.c: Likewise.
42000 * elf/tst-tlsmod14a.c: Likewise.
42001 * elf/tst-tlsmod15b.c: Likewise.
42002 * elf/tst-tlsmod16a.c: Likewise.
42003 * elf/tst-tlsmod16b.c: Likewise.
42004 * elf/tst-tlsmod7.c: Likewise.
42005 * elf/tst-tlsmod8.c: Likewise.
42006 * elf/tst-tlsmod9.c: Likewise.
42007 * gmon/gmon.c: Likewise.
42008 * grp/fgetgrent_r.c: Likewise.
42009 * grp/putgrent.c: Likewise.
42010 * hurd/fopenport.c: Likewise.
42011 * include/libc-symbols.h: Likewise.
42012 * include/tls.h: Likewise.
42013 * intl/gettextP.h: Likewise.
42014 * intl/loadinfo.h: Likewise.
42015 * locale/global-locale.c: Likewise.
42016 * locale/localeinfo.h: Likewise.
42017 * mach/devstream.c: Likewise.
42018 * malloc/arena.c: Likewise.
42019 * malloc/set-freeres.c: Likewise.
42020 * misc/err.c: Likewise.
42021 * misc/getttyent.c: Likewise.
42022 * misc/mntent_r.c: Likewise.
42023 * posix/getopt.c: Likewise.
42024 * posix/wordexp.c: Likewise.
42025 * pwd/fgetpwent_r.c: Likewise.
42026 * resolv/Versions: Likewise.
42027 * resolv/res_hconf.c: Likewise.
42028 * shadow/fgetspent_r.c: Likewise.
42029 * shadow/putspent.c: Likewise.
42030 * stdio-common/printf_fphex.c: Likewise.
42031 * stdio-common/tmpfile.c: Likewise.
42032 * stdlib/abort.c: Likewise.
42033 * stdlib/fmtmsg.c: Likewise.
42034 * sunrpc/auth_unix.c: Likewise.
42035 * sunrpc/clnt_perr.c: Likewise.
42036 * sunrpc/clnt_tcp.c: Likewise.
42037 * sunrpc/clnt_udp.c: Likewise.
42038 * sunrpc/clnt_unix.c: Likewise.
42039 * sunrpc/openchild.c: Likewise.
42040 * sunrpc/svc_simple.c: Likewise.
42041 * sunrpc/svc_tcp.c: Likewise.
42042 * sunrpc/svc_udp.c: Likewise.
42043 * sunrpc/svc_unix.c: Likewise.
42044 * sunrpc/xdr.c: Likewise.
42045 * sunrpc/xdr_array.c: Likewise.
42046 * sunrpc/xdr_rec.c: Likewise.
42047 * sunrpc/xdr_ref.c: Likewise.
42048 * sunrpc/xdr_stdio.c: Likewise.
42050 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42052 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42054 2011-07-03 Andreas Jaeger <aj@suse.de>
42056 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42057 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42058 regenerate with gen-libm-tests.pl.
42060 2010-05-12 Petr Baudis <pasky@suse.cz>
42063 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42064 around j0() zero points by switching to j1().
42065 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42070 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42072 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42074 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42077 Patch in part by Pavel Roskin <proski@gnu.org>.
42080 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42082 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42083 Free memory block if necessary.
42086 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42087 be NULL. Don't lock in this case.
42089 2011-09-09 Roland McGrath <roland@hack.frob.com>
42091 * elf/elf.h (ELFOSABI_GNU): New macro.
42092 (ELFOSABI_LINUX): Define to that.
42094 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42096 * string/strncat.c (strncat): Undef the symbol in case it has been
42097 defined in bits/string.h.
42099 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42101 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42103 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42106 2011-08-17 Andreas Jaeger <aj@suse.de>
42108 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42110 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42111 Ian Lance Taylor <iant@google.com>
42113 * math/libm-test.inc (lround_test): New testcase.
42114 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42116 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42118 * Makefile: Remove support for automatic cvs check-ins.
42119 * Makerules: Likewise.
42120 * config.make.in: Likewise.
42121 * configure.in: Likewise.
42122 * intl/Makefile: Likewise.
42123 * locale/Makefile: Likewise.
42124 * po/Makefile: Likewise.
42125 * posix/Makefile: Likewise.
42126 * sysdeps/gnu/Makefile: Likewise.
42127 * sysdeps/mach/hurd/Makefile: Likewise.
42128 * sysdeps/sparc/sparc32/Makefile: Likewise.
42131 * posix/Makefile (bug-regex32-ENV): Define.
42132 Patch by John Stanley <jpsinthemix@verizon.net>.
42134 * misc/Makefile (headers): Add bits/select2.h.
42135 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42136 * misc/bits/select2.h: New file.
42137 * include/bits/select2.h: New file.
42138 * debug/Makefile (routines): Add fdelt_chk.
42139 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42140 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42142 * debug/fdelt_chk.c: New file.
42144 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42145 * wcsmbs/test-wmemcmp.c: Likewise.
42146 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42147 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42149 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42151 * string/Makefile (strop-tests): Add memcmp.
42152 * string/test-wmemcmp.c: New file.
42153 * string/test-memcmp.c: Add wmemcmp support.
42155 2011-09-08 Roland McGrath <roland@hack.frob.com>
42158 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42161 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42162 garbage value in a __mach_port_mod_refs call in the cases of the
42163 task-self and thread-self ports.
42165 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42167 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42169 2011-09-08 Andreas Schwab <schwab@redhat.com>
42171 * elf/dl-load.c (lose): Check for non-null L.
42173 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42175 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42177 * elf/dl-libc.c (dlerror_run): Pass back error code from
42181 * elf/dl-load.c (lose): Free l_origin if it is valid.
42183 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42185 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42186 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42187 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42188 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42189 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42190 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42192 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42194 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42195 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42196 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42197 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42198 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42199 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42200 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42201 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42202 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42203 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42205 2011-08-15 Alan Modra <amodra@gmail.com>
42208 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42209 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42210 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42211 ppc_mcount to static-only-routines.
42212 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42214 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42215 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42217 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42219 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42220 for finite and infinity parameters.
42222 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42225 and add nop instructions for throughput optimization.
42226 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42228 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42231 aligned copy for power7 with vector-scalar instructions.
42232 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42234 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42239 2011-09-07 Andreas Schwab <schwab@redhat.com>
42242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42245 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42247 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42248 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42249 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42250 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42253 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42255 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42256 Forgot to demangle the pointer.
42258 * sysdeps/i386/sysdep.h: Define atom_text_section.
42259 * sysdeps/x86_64/sysdep.h: Likewise.
42260 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42261 section with atom_text_section.
42262 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42263 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42264 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42266 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42268 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42269 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42270 already be defined. Change to take two parameters and don't assign
42271 result to variable. Adjust all users.
42272 Define INTERNAL_GETTIME if not already defined.
42273 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42276 HAVE_CLOCK_GETTIME_VSYSCALL.
42277 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42280 gettimeofday vsyscall, just use time.
42282 2011-09-06 Andreas Schwab <schwab@redhat.com>
42284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42287 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42289 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42291 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42293 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42294 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42295 syscall if possible.
42297 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42299 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42300 e_ident. Don't pass to find_mapsXX.
42301 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42303 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42306 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42307 * sysdeps/x86_64/multiarch/strchr.S: Update.
42308 Check bit_slow_BSF bit.
42309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42310 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42311 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42313 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42316 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42318 (tryshell): Define.
42319 (__spawni): Change last parameter to be flag. Test
42320 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42321 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42322 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42323 * posix/spawni.c: Likewise.
42324 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42325 * posix/spawnp.c: Likewise. Change normal version to use
42326 SPAWN_XFLAGS_USE_PATH.
42327 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42328 SPAWN_XFLAGS_TRY_SHELL.
42331 * posix/glob.h: Remove gcc 1.x support.
42334 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42336 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42339 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42341 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42342 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42343 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42344 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42345 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42346 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42348 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42350 * sysdeps/x86_64/wcscmp.S: New file.
42352 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42353 wcscmp-c wcscmp-sse2
42354 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42355 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42356 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42357 * wcsmbs/wcscmp.c: Allow renaming.
42359 2011-09-05 David S. Miller <davem@davemloft.net>
42361 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42362 stack slot, rather than the struct return pointer slot.
42363 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42364 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42366 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42368 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42370 * po/ja.po: Update from translation team.
42373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42374 kernel in 64-bit binaries.
42376 2011-09-01 David S. Miller <davem@davemloft.net>
42378 * elf/elf.h (HWCAP_SPARC_*): Move to..
42379 * sysdeps/sparc/sysdep.h: this new file and add new values.
42380 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42381 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42382 _DL_HWCAP_COUNT to 24.
42383 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42385 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42386 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42387 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42389 instead of magic constants.
42390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42392 2011-08-31 David S. Miller <davem@davemloft.net>
42394 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42396 Reimplement to do errno handling inline.
42397 (SYSCALL_ERROR_HANDLER): New macro.
42398 (__SYSCALL_STRING): Do not do errno handling in asm.
42399 (__CLONE_SYSCALL_STRING): Delete.
42400 (__INTERNAL_SYSCALL_STRING): Delete.
42401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42402 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42403 (PSEUDO): Reimplement to do errno handling inline.
42404 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42405 (SYSCALL_ERROR_HANDLER): New macro.
42406 (__SYSCALL_STRING): Do not do errno handling in asm.
42407 (__CLONE_SYSCALL_STRING): Delete.
42408 (__INTERNAL_SYSCALL_STRING): Delete.
42409 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42410 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42412 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42413 (inline_syscall*): Add 'err' argument.
42414 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42415 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42416 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42417 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42419 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42420 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42422 2011-08-30 Andreas Schwab <schwab@redhat.com>
42424 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42426 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42428 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42431 2011-08-24 David S. Miller <davem@davemloft.net>
42433 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42435 2011-08-24 Andreas Schwab <schwab@redhat.com>
42437 * elf/Makefile: Add rules to build and run unload8 test.
42438 * elf/unload8.c: New file.
42439 * elf/unload8mod1.c: New file.
42440 * elf/unload8mod1x.c: New file.
42441 * elf/unload8mod2.c: New file.
42442 * elf/unload8mod3.c: New file.
42444 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42447 2011-08-23 David S. Miller <davem@davemloft.net>
42449 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42450 subtract stack bias.
42451 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42452 %sp not %fp in calculations.
42453 (_JMPBUF_UNWINDS_ADJ): Likewise.
42455 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42456 (aio_suspend): Call it to force an exception region around the
42457 AIO_MISC_WAIT() invocation.
42459 2011-08-23 Andreas Schwab <schwab@redhat.com>
42461 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42464 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42466 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42468 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42469 and <dl-machine.h>.
42470 (Elf64_FuncDesc): Remove.
42472 2011-08-22 David S. Miller <davem@davemloft.net>
42474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42475 sigaltstack check, add missing cfi directives.
42476 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42477 missing cfi directives, and sigaltstack handling.
42479 2011-08-16 Andreas Schwab <schwab@redhat.com>
42482 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42483 object is seen twice.
42484 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42486 * elf/Makefile (distribute): Add tst-initorder2.c.
42487 (tests): Add tst-initorder2.
42488 (modules-names): Add tst-initorder2a tst-initorder2b
42489 tst-initorder2c tst-initorder2d. Add rules to build them.
42490 ($(objpfx)tst-initorder2.out): New rule.
42491 * elf/tst-initorder2.c: New file.
42492 * elf/tst-initorder2.exp: New file.
42494 2011-08-22 Andreas Schwab <schwab@redhat.com>
42496 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42498 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42499 dependencies back to end of function.
42501 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42502 $(elfobjdir)/ld.so.
42504 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42506 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42507 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42508 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42509 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42510 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42511 of __vdso_gettimeofday.
42512 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42513 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42515 (_libc_vdso_platform_setup): Remove initialization of
42516 __vdso_gettimeofday and __vdso_time.
42518 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42520 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42521 and fgetc_unlocked.
42522 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42525 * elf/dl-open.c (add_to_global): Report additions to the global scope
42526 for LD_DEBUG=scopes.
42527 (dl_open_worker): Also print scope of newly loaded dependencies.
42528 (_dl_show_scope): Indicate if there is no scope.
42531 * stdio-common/Makefile (tests): Add bug24.
42532 * stdio-common/bug24.c: New file.
42534 2011-08-19 Andreas Jaeger <aj@suse.de>
42537 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42538 non-existant file when using close-on-exec mode.
42540 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42543 the very first instruction.
42545 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42546 the CFI state in the end.
42547 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42548 inclusion of dl-trampoline.h.
42549 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42551 2011-08-19 Andreas Schwab <schwab@redhat.com>
42553 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42554 expectations for long double.
42556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42557 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42559 2011-08-14 David S. Miller <davem@davemloft.net>
42561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42562 artificual limit depends upon the system page size.
42564 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42566 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42567 * resolv/Makefile: Define CFLAGS-libresolv.
42569 2011-08-17 Andreas Schwab <schwab@redhat.com>
42571 * nss/makedb.c (compute_tables): Make variables used in nested
42574 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42576 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42577 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42578 if buffer was too small.
42580 * elf/pldd.c (main): Attach to all threads in the process.
42581 Rewrite /proc handling to use *at functions.
42583 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42585 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42586 specifies first scope to show.
42587 (dl_open_worker): Update callers. Move printing scope of new
42588 object to before the relocation.
42589 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42590 * sysdeps/generic/ldsodefs.h: Update declaration.
42592 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42593 string for the scope number.
42595 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42597 * nscd/servicescache.c (cache_addserv): Make sure written is always
42600 2011-08-14 Roland McGrath <roland@hack.frob.com>
42602 * sysdeps/i386/i486/bits/atomic.h
42603 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42604 statement expression, so as to suppress "set but not used" warning.
42605 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42607 * string/strncat.c (STRNCAT): Use prototype definition.
42609 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42610 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42612 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42613 (localedef-modules): Add localedef.
42614 (locale-modules): Add locale.
42616 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42617 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42618 to avoid a warning.
42620 2011-08-14 David S. Miller <davem@davemloft.net>
42622 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42623 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42625 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42627 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42628 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42629 * elf/rtld.c (dl_main): Set l_name of vDSO.
42630 Call _dl_show_scope when DL_DEBUG_SCOPES.
42631 (process_dl_debug): Recognize scopes flag and also set it for all.
42632 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42633 Declare _dl_show_scope.
42635 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42636 (do_dlopen): Pass caller_dlopen to dl_open.
42637 (__libc_dlopen_mode): Initialize caller_dlopen.
42639 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42640 of libc. Make tolower call locale-independent. Optimize a bit by
42641 using isdigit instead of isalnum.
42642 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42644 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42646 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42647 was a dependency or dynamically loaded.
42649 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42651 * intl/l10nflist.c: Allow architecture-specific pop function.
42652 * sysdeps/x86_64/l10nflist.c: New file.
42654 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42657 2011-08-10 Andreas Schwab <schwab@redhat.com>
42659 * include/dirent.h: Add libc_hidden_proto for scandirat and
42660 scandirat64. Don't declare __scandirat64.
42661 * dirent/scandirat.c: Add libc_hidden_def.
42662 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42663 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42665 2011-08-10 David S. Miller <davem@davemloft.net>
42667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42670 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42673 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42675 * Versions.def [libc]: Add GLIBC_2.15.
42676 * dirent/Makefile (routines): Add scandirat and scandirat64.
42677 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42679 * dirent/dirent.h: Declare scandirat and scandirat64.
42680 * dirent/scandirat.c: New file.
42681 * dirent/scandirat64.c: New file.
42682 * sysdeps/wordsize-64/scandirat.c: New file.
42683 * sysdeps/wordsize-64/scandirat64.c: New file.
42684 * dirent/opendir.c: Define opendirat.
42685 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42687 * dirent/scandir64.c: Adjust for scandir.c change.
42688 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42689 __scandirat64, and __scandir_cancel_handler.
42690 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42691 additional parameter and use openat instead of open (outside of ld.so).
42692 Add new __opendir as wrapper around __opendirat.
42693 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42694 here without requiring old scandirat implementation.
42696 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42698 * dirent/scandir.c (cancel_handler): Renamed to
42699 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42700 defined. Adjust users.
42701 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42702 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42704 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42706 * string/test-string.h (IMPL): Use __STRING to expand name and then
42709 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42712 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42714 * string/Makefile: Update.
42715 (strop-tests): Append strncat.
42716 * string/test-wcscmp.c: New file.
42717 New comprehensive test for wcscmp.
42718 * string/test-strcmp.c: Update.
42719 (WIDE): New define.
42721 2011-07-22 Andreas Schwab <schwab@redhat.com>
42723 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42726 2011-07-26 Andreas Schwab <schwab@redhat.com>
42728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42729 encoding to ACE if AI_IDN.
42731 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42734 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42736 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42738 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42739 Fix overflow bug in strncat.
42740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42742 * string/test-strncat.c: Update.
42743 Add new tests for checking overflow bugs.
42745 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42748 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42749 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42750 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42751 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42752 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42753 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42754 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42755 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42757 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42758 (USE_AS_STRCAT): Define.
42759 Add strcat and strncat support.
42760 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42762 2011-07-25 Andreas Schwab <schwab@redhat.com>
42764 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42765 __n bigger than INT_MAX+1.
42766 (__strncmp_g): Likewise.
42768 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42770 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42771 * libio/stido.h: Likewise.
42773 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42778 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42779 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42780 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42781 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42785 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42790 (_dl_x86_64_save_sse): Likewise.
42792 2011-07-22 Ulrich Drepper <drepper@gmail.com>
42794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42796 (_dl_x86_64_save_sse): Likewise.
42798 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42800 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42802 2011-07-21 Andreas Schwab <schwab@redhat.com>
42804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42806 (_dl_x86_64_save_sse): Use correct AVX check.
42808 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42810 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42811 bug in strncpy/strncat.
42812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42814 2011-07-21 Ulrich Drepper <drepper@gmail.com>
42816 * string/tester.c (test_strcat): Add tests for different alignments
42817 of source and destination.
42818 (test_strncat): Likewise.
42820 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42823 * posix/glob.c (glob): Check passed in values before using them in
42824 expressions to avoid some overflows.
42825 (glob_in_dir): Likewise.
42828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42829 check for AVX enablement so that we don't crash with old kernels and
42831 * elf/tst-audit4.c: Add same checks here.
42832 * elf/tst-audit6.c: Likewise.
42834 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42836 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42838 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42840 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42842 * po/cs.po: Update from translation team.
42843 * po/bg.po: Likewise.
42845 2011-07-12 Marek Polacek <mpolacek@redhat.com>
42847 * misc/sys/cdefs.h: Add support for const attribute.
42848 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42849 to gnu_dev_{major,minor,makedev} functions.
42851 2011-07-20 Marek Polacek <mpolacek@redhat.com>
42853 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42855 2011-07-20 Andreas Schwab <schwab@redhat.com>
42857 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42860 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42863 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42864 register in order to avoid conflicts with the soft frame pointer
42865 being held in r11 when necessary.
42866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42867 (INTERNAL_VSYSCALL_NCS): Likewise.
42869 2011-07-14 Marek Polacek <mpolacek@redhat.com>
42871 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42872 * elf/dl-fini.c (_dl_fini): Adjust caller.
42873 * elf/dl-close.c (_dl_close_worker): Likewise.
42874 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42876 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42878 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42879 "aux_cache->nlibs < 0".
42881 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42882 in the reload-count case.
42884 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42887 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42888 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42889 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42890 * sysdeps/x86_64/multiarch/strcat.S: New file.
42891 * sysdeps/x86_64/multiarch/strncat.S: New file.
42892 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42893 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42894 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42895 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42896 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42897 (USE_AS_STRCAT): Define.
42898 Add strcat and strncat support.
42899 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42900 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42901 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42902 * string/strncat.c: Update.
42903 (USE_AS_STRNCAT): Define.
42904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42905 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42907 * sysdeps/x86_64/multiarch/init-arch.h
42908 (bit_Prefer_PMINUB_for_stringop): New.
42909 (index_Prefer_PMINUB_for_stringop): Likewise.
42910 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42911 bit_Prefer_PMINUB_for_stringop.
42913 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42915 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42917 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42918 of casting of buffer.
42919 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42920 buffer32 and buffer64.
42921 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42922 writes instead of casting of buffer.
42923 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42925 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42928 2011-07-19 Andreas Schwab <schwab@redhat.com>
42930 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42932 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42934 * nscd/nscd.c (termination_handler): Don't do anything for a database
42935 if it has not yet been initialized.
42937 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42939 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42941 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42943 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42945 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42947 * po/nl.po: Update from translation team.
42948 * po/sv.po: Likewise.
42950 2011-07-16 Roland McGrath <roland@hack.frob.com>
42952 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42953 now disallowed by GCC.
42955 * configure.in (use-default-link): Default to yes if a test -shared
42956 link meets our qualifications.
42957 * configure: Regenerated.
42959 * config.make.in (output-format): New variable.
42960 * configure.in: Check for ld --print-output-format support.
42961 * configure: Regenerated.
42962 * Makerules ($(common-objpfx)format.lds)
42963 [$(output-format) != unknown]: Just use $(output-format),
42964 instead of the linker-script munging.
42966 2011-07-14 Roland McGrath <roland@hack.frob.com>
42968 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42969 of $(common-objpfx)shlib.lds.
42970 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42972 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42973 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42975 * configure.in (-z relro check): Adjust test code to add a large
42976 writable data section after it.
42977 * configure: Regenerated.
42979 2011-07-11 Roland McGrath <roland@hack.frob.com>
42981 * configure.in (-z relro check): Fix test code to make the variable
42983 * configure: Regenerated.
42985 2011-07-11 Ulrich Drepper <drepper@gmail.com>
42987 * nscd/nscd.h (struct traced_file): Define.
42988 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42989 elements. Add traced_files.
42990 (inotify_fd): Declare.
42991 (register_traced_file): Declare.
42992 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42993 (inotify_fd): Export.
42994 (resolv_conf_descr): Remove.
42995 (nscd_init): Move inotify descriptor creation to main.
42996 Don't register files for notification here.
42997 (register_traced_file): New function.
42998 (invalidate_cache): Don't use reset_res to determine whether to call
42999 res_init, go through the list of registered files.
43000 (main_loop_poll): The inotify descriptors are now stored in the
43001 structures for the traced files.
43002 (main_loop_epoll): Likewise
43003 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43004 to __nss_disable_nscd.
43005 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43006 for a database anymore. Check the records for all the registered
43008 * nss/Makefile (libnss_files-routines): Add files-init.
43009 (libnss_db-routines): Add db-init.
43010 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43011 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43012 * nss/nss_db/db-init.c: New file.
43013 * nss/nss_files/files-init.c: New file.
43014 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43015 __nss_lookup_function.
43016 (__nss_lookup_function): Call nss_load_library.
43017 (nss_load_all_libraries): New function.
43018 (__nss_disable_nscd): Take parameter with callback function for files
43019 to register. Set is_nscd. Load all the DSOs for the NSS modules
43020 used for the cached services.
43021 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43022 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43023 options for features to all the files in nscd.
43025 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43027 2011-07-10 Roland McGrath <roland@hack.frob.com>
43029 * csu/elf-init.c (__libc_csu_init): Comment typo.
43031 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43033 * po/pl.po: Update from translation team.
43034 * po/ja.po: Likewise.
43035 * po/ru.po: Likewise.
43036 * po/ko.po: Likewise.
43037 * po/fr.po: Likewise.
43039 2011-07-09 Roland McGrath <roland@hack.frob.com>
43041 * configure.in (.ctors/.dtors header and trailer check):
43042 Use an empirical test on a built program.
43043 * configure: Regenerated.
43045 * configure.in (-z relro check): Use an empirical test on a built DSO.
43046 Detect, but do not require, on ia64.
43047 * configure: Regenerated.
43049 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43050 Update tests that use readelf to use $READELF instead.
43051 * configure: Regenerated.
43053 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43055 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43056 if the result is not used.
43058 2011-07-05 Andreas Jaeger <aj@suse.de>
43061 * stdlib/tst-strtod.c: Add testcase.
43063 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43065 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43066 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43067 The latter has a higher limit. Take additional parameter to pass to
43069 (__pathconf): Pass file to __statfs_link_max.
43070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43072 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43076 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43077 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43080 (__statfs_filesize_max): Likewise.
43081 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43083 2011-07-05 Andreas Jaeger <aj@suse.de>
43085 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43087 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43089 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43091 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43094 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43096 * Makefile (strop-tests): Add strncat.
43097 * string/test-strncat.c: New file.
43099 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43101 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43103 2011-06-21 Andreas Jaeger <aj@suse.de>
43105 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43106 Copy rule from iconvdata/Makefile.
43108 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43111 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43112 but no long options are defined, just return 'W'.
43114 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43117 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43119 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43121 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43123 (innetgr): Likewise.
43125 2011-07-05 Roland McGrath <roland@hack.frob.com>
43127 * config.make.in (install_root): Default to $(DESTDIR).
43129 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43133 2011-07-02 Roland McGrath <roland@hack.frob.com>
43135 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43137 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43138 containing directory rather than embedding absolute directory names.
43140 * scripts/check-local-headers.sh: Rewritten using awk.
43141 Match by word, not by line. Print error messages for matches.
43142 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43144 * Makerules [shlib-lds-flags empty]:
43145 ($(common-objpfx)libc_pic.opts): New target.
43146 ($(common-objpfx)libc_pic.os.clean): New target.
43147 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43149 * config.make.in (OBJCOPY): New variable.
43150 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43151 * configure: Regenerated.
43153 * config.make.in (use-default-link): New variable.
43154 * configure.in (use_default_link): Grok --with-default-link to set it.
43155 * configure: Regenerated.
43156 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43157 (shlib-lds, shlib-lds-flags): Define to empty.
43159 * Makerules (shlib-lds): New variable.
43160 (shlib-lds-flags): New variable.
43161 (build-shlib, build-moduile, build-module-asneeded): Use it.
43162 ($(common-objpfx)libc.so): Use $(shlib-lds).
43163 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43164 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43166 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43167 DT_FLAGS/DT_FLAGS_1 with zero flags.
43169 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43170 linker script munging.
43172 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43174 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43176 * crypt/sha512.c (sha512_process_block): Perform total addition using
43177 128-bit if possible.
43178 (__sha512_finish_ctx): Likewise.
43179 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43181 * crypt/sha256.c (SWAP64): Define.
43182 (sha256_process_block): Perform total addition using 64-bit if
43184 (__sha256_finish_ctx): Likewise.
43186 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43188 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43189 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43190 * nscd/hstcache.c (cache_addhst): Likewise.
43191 * nscd/grpcache.c (cache_addgr): Likewise.
43192 * nscd/aicache.c (addhstaiX): Likewise
43193 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43195 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43197 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43199 * nscd/hstcache.c (cache_addhst): Likewise.
43200 * nscd/grpcache.c (cache_addgr): Likewise.
43201 * nscd/aicache.c (addhstaiX): Likewise
43203 2011-07-01 Andreas Schwab <schwab@redhat.com>
43205 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43206 domain only when needed.
43208 2011-06-30 Andreas Schwab <schwab@redhat.com>
43210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43211 is always restored.
43213 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43215 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43216 are re-adding the entry.
43217 * nscd/servicescache.c (cache_addserv): Likewise.
43219 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43221 * sysdeps/generic/dl-irel.h: fix protection against multiple
43223 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43225 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43228 * malloc/memusage.sh: Fix quoting in message.
43229 * debug/xtrace.sh: Likewise.
43231 * configure.in: Remove support for --experimental-malloc option, make
43233 * config.make.in: Likewise.
43234 * malloc/Makefile: Likewise.
43236 2011-06-27 Andreas Schwab <schwab@redhat.com>
43238 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43239 two-byte characters.
43241 2011-06-27 Roland McGrath <roland@hack.frob.com>
43243 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43244 AC_CACHE_CHECK invocation.
43245 * configure: Regenerated.
43247 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43249 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43252 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43253 bit from old_res_options.
43255 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43257 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43258 value type for setfct.
43260 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43263 __gettimeofday instead of gettimeofday.
43265 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43267 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43269 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43273 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43276 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43279 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43280 strcpy-sse2-unaligned strncpy-sse2-unaligned
43281 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43282 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43283 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43284 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43285 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43287 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43288 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43289 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43290 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43291 (STRCPY): Support SSE2 and SSSE3 versions.
43293 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43296 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43297 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43298 kernels which artificially limit size of requests.
43300 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43303 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43304 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43305 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43306 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43307 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43308 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43309 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43311 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43312 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43313 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43314 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43315 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43316 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43318 Enable unaligned load optimization for Intel Core i3, i5 and i7
43320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43322 (index_Fast_Unaligned_Load): Define.
43323 (HAS_FAST_UNALIGNED_LOAD): Define.
43325 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43327 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43329 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43332 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43333 until it is clear that the information is realy needed.
43334 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43336 2011-06-22 Andreas Schwab <schwab@redhat.com>
43338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43340 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43343 /sys/devices/system/cpu/online if it is usable.
43345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43346 reading the information from the /proc filesystem to once a second.
43348 2011-06-21 Andreas Jaeger <aj@suse.de>
43350 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43351 NULL after inclusion of kernel headers.
43353 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43355 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43356 calls to internal_setent.
43359 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43360 addresses using gethostbyname4_r ignore IPv4 addresses.
43362 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43363 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43365 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43367 2011-06-20 David S. Miller <davem@davemloft.net>
43369 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43371 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43373 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43374 (elf_irel): Use it.
43375 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43376 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43377 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43378 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43379 * sysdeps/x86_64/dl-irel.h: Likewise.
43381 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43382 * elf/dl-sym.c: Likewise.
43384 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43386 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43387 need to dereference resplen2.
43389 2011-06-14 Andreas Schwab <schwab@redhat.com>
43391 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43393 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43395 * Makeconfig: Define vardbdir and inst_vardbdir.
43396 * nss/Makefile: Add rules to install db-Makefile.
43398 * nss/nss_db/db-XXX.c: Cleanup.
43400 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43401 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43403 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43404 * nss/makedb.c: Implement -g option to specify that value strings
43405 are generated and should not be added to table iterated over for
43407 * nss/nss_db/db-initgroups.c: New file.
43409 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43412 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43413 (internal_getgrouplist): Adjust to name change.
43414 Update use_initgroups_entry if this is not the first call.
43415 * nss/databases.def: Add initgroups entry.
43417 * nss/makedb.c (compute_tables): Check result of multiple hash table
43418 sizes to minimize maximum chain length.
43420 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43422 * Versions.def: Add entry for libnss_db.
43423 * shlib-versions: Likewise.
43424 * nss/Makefile: Add rules to build libnss_db.
43425 * nss/Versions: Add libnss_db information. Organize libnss_files
43427 * nss/db-Makefile: Add gshadow support. Change rules for the new
43428 makedb progra. Some minor improvements to generate smaller files.
43429 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43431 * nss/makedb.c: ...here.
43432 Improve database format to be smaller and require less memory at
43434 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43436 * nss/nss_db/db-netgrp.c: Likewise.
43437 * nss/nss_db/db-open.c: Likewise.
43438 * nss/nss_files/flies-XXX.x: Adjust comments.
43439 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43440 * nss/nss_files/files-grp.c: Likewise.
43441 * nss/nss_files/files-hosts.c: Likewise.
43442 * nss/nss_files/files-network.c: Likewise.
43443 * nss/nss_files/files-proto.c: Likewise.
43444 * nss/nss_files/files-pwd.c: Likewise.
43445 * nss/nss_files/files-rpc.c: Likewise.
43446 * nss/nss_files/files-service.c: Likewise.
43447 * nss/nss_files/files-sgrp.c: Likewise.
43448 * nss/nss_files/files-spwd.c: Likewise.
43449 * nss/nss_db/db-alias.c: Removed.
43450 * nss/nss_db/dummy-db.h: Removed.
43452 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43454 * nss/makedb.c: Rewritten to not use database library.
43455 * nss/Makefile: Update to build new makedb program.
43457 2011-06-14 Andreas Jaeger <aj@suse.de>
43459 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43460 memset declaration.
43462 2011-06-10 Andreas Schwab <schwab@redhat.com>
43464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43467 2011-06-10 Roland McGrath <roland@hack.frob.com>
43469 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43470 * elf/Makefile ($(objpfx)ld.so): Likewise.
43472 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43473 Don't list ld.so twice in dependencies.
43475 * posix/bug-regex31.c: Include <stdlib.h>.
43477 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43479 * nis/nss_compat/compat-spwd.c
43480 (getspent_next_nss_netgr): Remove unused variable.
43481 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43483 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43484 nonmembers" output to use the right array.
43486 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43488 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43490 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43491 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43492 * catgets/gencat.c (read_input_file): Likewise.
43493 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43495 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43496 variable definition inside #if's controlling its use.
43498 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43500 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43502 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43504 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43507 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43509 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43510 * configure: Regenerated.
43512 * Makerules: Revert last change.
43513 * elf/Makefile: Likewise.
43515 2011-06-09 Roland McGrath <roland@hack.frob.com>
43517 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43518 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43519 (reloc-link): Likewise.
43521 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43523 * elf/Makefile: Add rules to build pldd.
43524 * elf/pldd.c: New file.
43525 * elf/pldd-xx.c: New file.
43527 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43529 * version.h: Update for 2.15 development version.
43531 2011-06-07 David S. Miller <davem@davemloft.net>
43533 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43536 elf_machine_lazy_rel): Likewise.
43537 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43538 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43539 elf_machine_lazy_rel): Likewise.
43540 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43541 dl_hwcap via passed in argument.
43542 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43545 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43547 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43549 2011-06-06 Roland McGrath <roland@hack.frob.com>
43552 * manual/fdl-1.1.texi: New file, verbatim from:
43553 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43554 * manual/lgpl-2.1.texi: New file, verbatim from:
43555 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43556 * manual/Makefile (licenses): New variable, list those new file names.
43558 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43560 * manual/fdl.texi: File removed.
43561 * manual/lesser.texi: File removed.
43562 * manual/libc.texinfo (Copying, Documentation License):
43563 Use new @include file names, put @appendix directive before @include.
43565 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43568 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43569 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43570 (mq_open): Add __NTH.
43572 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43575 Assume Intel Core i3/i5/i7 processor if AVX is available.
43577 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43582 2011-05-31 Andreas Schwab <schwab@redhat.com>
43584 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43585 memory. Use alloca_account. Fix memory leak when retrying.
43587 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43589 * version.h (RELEASE): Bump for 2.14 release.
43590 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43592 * config.make.in (RANLIB): Remove entry.
43594 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43596 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43597 (libc.pot): Work around missing support for .ksh extension in xgettext.
43600 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43601 if both request failed.
43602 (send_dg): In case of server errors clear resplen or *resplen2.
43605 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43606 when there are multiple maps.
43607 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43608 (_dl_fini): Remove test here.
43610 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43612 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43615 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43616 bit from old_res_options.
43617 (gaih_inet): Likewise.
43620 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43623 * resolv/res_init.c (res_setoptions): Make the code more compact.
43626 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43630 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43632 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43635 * malloc/malloc.h: Declare malloc hook variables as volatile.
43637 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43641 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43642 raise in the comment.
43643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43645 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43647 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43650 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43651 grow the buffers more if it already has to be sufficient.
43652 (build_wcs_upper_buffer): Likewise.
43653 * posix/regexec.c (check_matching): Likewise.
43654 (clean_state_log_if_needed): Likewise.
43655 (extend_buffers): Don't enlarge buffers beyond size of the input
43657 Patches mostly by Emil Wojak <emil@wojak.eu>.
43658 * posix/bug-regex32.c: New file.
43659 * posix/Makefile (tests): Add bug-regex32.
43661 * locale/findlocale.c (_nl_find_locale): Return right away if
43662 _nl_explode_name failed.
43663 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43665 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43667 * debug/xtrace.sh: Unify messages.
43668 * malloc/memusage.sh: Likewise.
43671 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43672 time symbol from vDSO. Substitute with vsyscall if not available.
43673 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43676 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43677 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43678 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43679 Add sendmmsg and internal_sendmmsg.
43680 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43681 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43682 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43684 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43685 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43686 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43688 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43691 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43692 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43694 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43698 * iconvdata/Makefile (tests): Add bug-iconv9.
43699 * iconvdata/bug-iconv9.c: New file.
43701 2011-05-27 Andreas Schwab <schwab@redhat.com>
43704 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43706 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43708 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43709 (struct user_regs_struct): Change intcs field back to cs.
43711 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43713 * po/ja.po: Update from translation team.
43715 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43718 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43719 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43721 2011-05-20 Andreas Schwab <schwab@redhat.com>
43723 * stdlib/longlong.h: Update from GCC.
43725 2011-05-23 Andreas Schwab <schwab@redhat.com>
43727 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43729 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43730 Add parameter name.
43731 (__sysconf): Pass it down.
43733 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43736 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43738 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43739 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43740 add in in __libc_use_alloca calls. Adjust callers.
43741 (glob): Use malloc in some situations.
43743 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43744 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43747 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43749 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43750 and CLOCK_BOOTTIME_ALARM.
43753 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43756 * string/_strerror.c (__strerror_r): Print negative errors as signed
43760 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43761 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43762 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43764 * configure.in: Fix typo in redirection and correct removal of test
43765 files in two cases.
43768 * locale/setlocale.c (new_composite_name): Fix test to check for
43769 identical name of all categories.
43772 * libio/filedoalloc.c (local_isatty): New function.
43773 (_IO_file_doallocate): Use local_isatty.
43774 * stdio-common/perror.c (perror): In case a new stream is used
43775 forward the stream error.
43776 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43779 2011-05-20 Ulrich Drepper <drepper@gmail.com>
43782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43784 * include/alloca.h (extend_alloca_account): Define.
43787 * posix/regex.h: Fix comments with documentation of user-accessible
43788 fields after compilation and describe correct free'ing of pattern
43789 after re_compile_pattern.
43790 Patch by Reuben Thomas <rrt@sc3d.org>.
43792 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43794 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43795 and -mno-altivec to prevent the compiler from using Altivec and/or
43796 VSX instructions when the corresponding registers are not available.
43798 2011-05-19 Andreas Schwab <schwab@redhat.com>
43800 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43802 2011-05-19 Ulrich Drepper <drepper@gmail.com>
43804 * libio/freopen.c (freopen): Use __dup2, not dup2.
43805 * libio/freopen64.c (freopen64): Likewise.
43807 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43810 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43811 * math/Makefile (tests): Add test-powl.
43812 (CFLAGS-test-powl.c): Define.
43813 * math/test-powl.c: New file.
43815 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43817 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43819 2011-05-17 Ulrich Drepper <drepper@gmail.com>
43822 * iconvdata/gb18030.c: Update to GB18020-2005.
43824 2011-05-16 Ulrich Drepper <drepper@gmail.com>
43826 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43827 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43828 Patch by Aharon Robbins <arnold@skeeve.com>.
43831 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43835 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43836 through underflows.
43839 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43840 point to strings before performing equality test for error_one_per_line
43844 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43848 (struct user_fpregs_struct): Avoid __uint*_t types.
43851 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43852 symbol info. Use it instead of calling _dl_addr locally.
43853 (lock_and_info): New function.
43854 (tr_freehook): Call lock_and_info and pass symbol info as additional
43855 parameter to tr_where.
43856 (tr_mallochook): Likewise.
43857 (tr_reallochook): Likewise.
43858 (tr_memalignhook): Likewise.
43860 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43861 used and couldn't be at all thread-safe.
43863 2011-05-15 Ulrich Drepper <drepper@gmail.com>
43865 * libio/freopen.c (freopen): Don't close old file descriptor
43866 before the new one is opened. Instead dup the new file descriptor
43867 to the old one after the new stream is created.
43868 * libio/freopen64.c (freopen64): Likewise.
43869 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43870 * libio/fileops.c (_IO_new_file_close_it): Handle new
43871 _IO_FLAGS2_NOCLOSE flag.
43872 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43873 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43874 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43875 _IO_FLAGS2_NOCLOSE flag.
43876 * include/unistd.h: Add hidden_proto for dup3.
43877 Define __have_dup3.
43878 * io/dup3.c: Define hidden symbol.
43879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43882 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43883 when an incomplete long option is used.
43884 * posix/tst-getopt_long1.c: New file.
43885 * posix/Makefile (tests): Add tst-getopt_long1.
43888 * scripts/config.guess: Update from autoconf-2.68.
43889 * scripts/config.sub: Likewise.
43892 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43894 (has_cpuclock): ...this. New function.
43895 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43896 macro here based on has_cpuclock code.
43899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43900 First byte (not low byte) is now always NUL.
43901 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43904 Use non-cancelable interfaces.
43907 * locale/iso-639.def: Add entry for Sorani.
43910 * include/stdlib.h: Move include protection to the right place.
43911 Define abort_msg_s. Declare __abort_msg with it.
43912 * stdlib/abort.c (__abort_msg): Adjust type.
43913 * assert/assert.c (__assert_fail_base): New function. Majority
43914 of code from __assert_fail. Allocate memory for __abort_msg with
43916 (__assert_fail): Now call __assert_fail_base.
43917 * assert/assert-perr.c: Remove bulk of implementation. Use
43918 __assert_fail_base.
43919 * include/assert.hL Declare __assert_fail_base.
43920 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43922 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43924 2011-05-14 Ulrich Drepper <drepper@gmail.com>
43928 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43929 until all modules are registered in the DTV.
43930 * elf/Makefile: Add rules to build and run tst-tls19.
43931 * elf/tst-tls19.c: New file.
43932 * elf/tst-tls19mod1.c: New file.
43933 * elf/tst-tls19mod2.c: New file.
43934 * elf/tst-tls19mod3.c: New file.
43935 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43938 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43942 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43943 two-byte sequence errors.
43944 * iconvdata/Makefile (tests): Add bug-iconv8.
43945 * iconvdata/bug-iconv8.c: New file.
43948 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43951 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43954 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43955 (dummy_getcfa): New function.
43956 (init): Get _Unwind_GetCFA address, use dummy if not found.
43957 (backtrace_helper): In recursion check, also check whether CFA changes.
43958 (__backtrace): Completely initialize arg.
43960 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43961 storing incomplete byte sequence in state object. Avoid testing for
43962 guaranteed too small input if we know there is enough data available.
43964 2011-05-11 Andreas Schwab <schwab@redhat.com>
43966 * Makeconfig (+link-pie): Indent.
43967 * Rules (binaries-pie): Define if $(have-fpie) and
43969 (binaries-shared): Also filter out $(binaries-pie).
43970 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43971 * nscd/Makefile (others-pie): Add nscd.
43972 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43973 ($(objpfx)nscd): Remove command override.
43974 * login/Makefile (others-pie): Add pt_chown.
43975 ($(objpfx)pt_chown): Remove command override.
43976 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43977 remove command overrides.
43979 2011-05-13 Ulrich Drepper <drepper@gmail.com>
43981 * libio/tst_putwc.c: Fix error messages.
43984 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43985 currently writing and seek to current position when not.
43986 * libio/Makefile (tests): Add bug-fclose1.
43987 * libio/bug-fclose1.c: New file.
43989 2011-05-12 Ulrich Drepper <drepper@gmail.com>
43992 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43993 don't set DF_1_NODELETE here.
43994 (do_lookup_x): When entering new entry test for copy relocation
43995 and if necessary set DF_1_NODELETE flag.
43996 * elf/tst-unique4.cc: New file.
43997 * elf/tst-unique4.h: New file.
43998 * elf/tst-unique4lib.cc: New file.
43999 * elf/Makefile: Add rules to build and run tst-unique4.
44000 Patch by Piotr Bury <pbury@goahead.com>.
44002 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44005 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44008 * misc/mntent_r.c (addmntent): Flush the stream after the output
44011 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44012 (is_trusted_path_normalize): Skip initial colon. Append slash
44013 to empty buffer. Duplicate is_trusted_path code but allow
44014 constructed patch to be prefix.
44015 (is_dst): Allow $ORIGIN followed by /.
44016 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44017 Correct testing of result of is_trusted_path_normalize
44018 (decompose_rpath): Fix warning.
44020 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44023 * grp/initgroups.c (internal_getgrouplist): When we found the service
44024 list through the initgroups entry in nsswitch.conf do not always
44025 continue on a successful lookup. Don't always use the
44026 __nss_group_database value if it is set.
44027 * nss/nsswitch.conf (initgroups): Change action for successful db
44028 lookup to continue for compatibility.
44030 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44033 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44035 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44037 * iconvdata/tst-tables.sh: Likewise.
44038 * iconvdata/cp770.c: New file.
44039 * iconvdata/cp771.c: New file.
44040 * iconvdata/cp772.c: New file.
44041 * iconvdata/cp773.c: New file.
44042 * iconvdata/cp774.c: New file.
44043 * iconvdata/testdata/CP770: New file.
44044 * iconvdata/testdata/CP770..UTF8: New file.
44045 * iconvdata/testdata/CP771: New file.
44046 * iconvdata/testdata/CP771..UTF8: New file.
44047 * iconvdata/testdata/CP772: New file.
44048 * iconvdata/testdata/CP772..UTF8: New file.
44049 * iconvdata/testdata/CP773: New file.
44050 * iconvdata/testdata/CP773..UTF8: New file.
44051 * iconvdata/testdata/CP774: New file.
44052 * iconvdata/testdata/CP774..UTF8: New file.
44054 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44056 * iconvdata/gen-8bit-gap.sh: Likewise.
44057 * iconvdata/gen-8bit.sh: Likewise.
44059 * locale/iso-639.def: Add ary entry.
44062 * locale/C-translit.h.in: Add U20A1 transliteration.
44065 * locale/iso-639.def: Add wae entry.
44066 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44069 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44073 * locale/C-translit.h.in: Add entry for U20B9.
44074 Patch by pravin.d.s@gmail.com.
44076 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44079 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44080 ENAMETOOLONG use generic getcwd.
44081 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44082 in rtld. Use *stat64.
44083 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44084 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44085 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44086 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44087 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44088 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44089 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44090 __fstatat64 macros.
44091 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44092 * dirent/rewinddir.c: Add libc_hidden_def.
44093 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44094 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44096 * include/dirent.h (__alloc_dir): Add flags parameter.
44097 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44098 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44100 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44101 from fdopendir if O_CLOEXEC is already set.
44103 2011-03-15 Alan Modra <amodra@gmail.com>
44105 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44106 l_tls_firstbyte_offset non-zero. Save padding offset in
44107 l_tls_firstbyte_offset for later use.
44108 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44109 freeing static tls block.
44111 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44113 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44114 where #ifdef was intended. The intent is to prevent ARG_MAX from
44115 being defined by the kernel headers.
44117 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44120 * resolv/resolv.h: Define RES_NOTLDQUERY.
44121 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44122 no-tld-query and set RES_NOTLDQUERY.
44123 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44124 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44125 modern BIND to search name as TLD unless forbidden.
44127 2011-05-07 Petr Baudis <pasky@suse.cz>
44128 Ulrich Drepper <drepper@gmail.com>
44131 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44132 (is_trusted_path): ...to here.
44133 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44134 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44135 using is_trusted_path_normalize() in setuid scripts.
44137 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44140 __BEGIN/__END_DECLS.
44142 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44144 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44145 NSS_STATUS_NOTFOUND if no record was found.
44147 2011-05-05 Andreas Schwab <schwab@redhat.com>
44149 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44150 (headers-not-in-tirpc): Remove rpc/netdb.h
44151 * resolv/netdb.h: Revert last change.
44153 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44155 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44156 circular dependency between libgcc.a and libc.a.
44158 2011-05-05 Andreas Schwab <schwab@redhat.com>
44160 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44161 * nis/Makefile: Don't install rpcsvc/*.
44162 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44163 instead of <rpc/types.h>.
44164 (MAXHOSTNAMELEN): Define.
44166 2011-05-03 Andreas Schwab <schwab@redhat.com>
44168 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44170 2011-04-28 Maciej Babinski <mbabinski@google.com>
44173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44174 gethostbyname4_r when IPv6 results are possible.
44176 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44179 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44180 _PC_PIPE_BUF handling.
44182 2011-04-30 Bruno Haible <bruno@clisp.org>
44185 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44186 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44188 * inet/getnameinfo.c (getnameinfo): Likewise.
44190 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44192 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44193 to groups setting in database lookup.
44194 * nss/nsswitch.conf: Add initgroups entry.
44196 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44199 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44201 Patch by Eric Blake <eblake@redhat.com>.
44203 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44205 * sunrpc/Makefile (need-export-routines): Add svc_run.
44206 (routines): Remove svc_run.
44207 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44208 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44209 * sunrpc/svc_run.c (svc_run): Likewise.
44210 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44212 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44214 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44215 problem in reallocation in last patch.
44217 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44219 * sunrpc/Makefile: Move inclusion of Rules.
44221 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44223 * nss/nss_files/files-initgroups.c: New file.
44224 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44225 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44226 _nss_files_initgroups_dyn.
44228 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44230 * elf/elf.h (R_ARM_IRELATIVE): Define.
44232 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44234 * po/ru.po: Update from translation team.
44236 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44238 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44241 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44244 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44245 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44246 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44250 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44252 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44254 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44258 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44261 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44263 * stdlib/bug-getcontext.c: New file.
44264 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44266 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44268 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44269 instructions into .machine "z9-109".
44270 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44271 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44273 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44275 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44276 between environment variables and auxiliary vector.
44278 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44280 * Makefile: Add rules to build linkobj/libc.so.
44281 * include/libc-symbols.h: Define libc_hidden_nolink.
44282 * include/rpc/auth.h: Mark functions which are to be hidden.
44283 * include/rpc/auth_des.h: Likewise.
44284 * include/rpc/auth_unix.h: Likewise.
44285 * include/rpc/clnt.h: Likewise.
44286 * include/rpc/des_crypt.h: Likewise.
44287 * include/rpc/key_prot.h: Likewise.
44288 * include/rpc/pmap_clnt.h: Likewise.
44289 * include/rpc/pmap_prot.h: Likewise.
44290 * include/rpc/pmap_rmt.h: Likewise.
44291 * include/rpc/rpc_msg.h: Likewise.
44292 * include/rpc/svc.h: Likewise.
44293 * include/rpc/svc_auth.h: Likewise.
44294 * include/rpc/xdr.h: Likewise.
44295 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44296 * nss/Makefile: Likewise.
44297 * sunrpc/Makefile: Don't install headers. Build library with normal
44298 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44299 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44300 for the compat linking library. Remove use of INTDEF/INTUSE.
44301 * sunrpc/auth_none.c: Likewise.
44302 * sunrpc/auth_unix.c: Likewise.
44303 * sunrpc/authdes_prot.c: Likewise.
44304 * sunrpc/authuxprot.c: Likewise.
44305 * sunrpc/clnt_gen.c: Likewise.
44306 * sunrpc/clnt_perr.c: Likewise.
44307 * sunrpc/clnt_raw.c: Likewise.
44308 * sunrpc/clnt_simp.c: Likewise.
44309 * sunrpc/clnt_tcp.c: Likewise.
44310 * sunrpc/clnt_udp.c: Likewise.
44311 * sunrpc/clnt_unix.c: Likewise.
44312 * sunrpc/des_crypt.c: Likewise.
44313 * sunrpc/des_soft.c: Likewise.
44314 * sunrpc/get_myaddr.c: Likewise.
44315 * sunrpc/key_call.c: Likewise.
44316 * sunrpc/key_prot.c: Likewise.
44317 * sunrpc/netname.c: Likewise.
44318 * sunrpc/pm_getmaps.c: Likewise.
44319 * sunrpc/pm_getport.c: Likewise.
44320 * sunrpc/pmap_clnt.c: Likewise.
44321 * sunrpc/pmap_prot.c: Likewise.
44322 * sunrpc/pmap_prot2.c: Likewise.
44323 * sunrpc/pmap_rmt.c: Likewise.
44324 * sunrpc/publickey.c: Likewise.
44325 * sunrpc/rpc_cmsg.c: Likewise.
44326 * sunrpc/rpc_common.c: Likewise.
44327 * sunrpc/rpc_dtable.c: Likewise.
44328 * sunrpc/rpc_prot.c: Likewise.
44329 * sunrpc/rpc_thread.c: Likewise.
44330 * sunrpc/rtime.c: Likewise.
44331 * sunrpc/svc.c: Likewise.
44332 * sunrpc/svc_auth.c: Likewise.
44333 * sunrpc/svc_authux.c: Likewise.
44334 * sunrpc/svc_raw.c: Likewise.
44335 * sunrpc/svc_run.c: Likewise.
44336 * sunrpc/svc_simple.c: Likewise.
44337 * sunrpc/svc_tcp.c: Likewise.
44338 * sunrpc/svc_udp.c: Likewise.
44339 * sunrpc/svc_unix.c: Likewise.
44340 * sunrpc/svcauth_des.c: Likewise.
44341 * sunrpc/xcrypt.c: Likewise.
44342 * sunrpc/xdr.c: Likewise.
44343 * sunrpc/xdr_array.c: Likewise.
44344 * sunrpc/xdr_float.c: Likewise.
44345 * sunrpc/xdr_intXX_t.c: Likewise.
44346 * sunrpc/xdr_mem.c: Likewise.
44347 * sunrpc/xdr_rec.c: Likewise.
44348 * sunrpc/xdr_ref.c: Likewise.
44349 * sunrpc/xdr_sizeof.c: Likewise.
44350 * sunrpc/xdr_stdio.c: Likewise.
44352 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44355 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44356 * sysdeps/ia64/dl-tls.h: Likewise.
44357 * sysdeps/powerpc/dl-tls.h: Likewise.
44358 * sysdeps/s390/dl-tls.h: Likewise.
44359 * sysdeps/sh/dl-tls.h: Likewise.
44360 * sysdeps/sparc/dl-tls.h: Likewise.
44361 * sysdeps/x86_64/dl-tls.h: Likewise.
44362 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44364 2011-03-14 Andreas Schwab <schwab@redhat.com>
44366 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44367 rpath element also skip the following colon.
44368 (expand_dynamic_string_token): Add is_path parameter and pass
44369 down to DL_DST_REQUIRED and _dl_dst_substitute.
44370 (decompose_rpath): Call expand_dynamic_string_token with
44371 non-zero is_path. Ignore empty rpaths.
44372 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44375 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44380 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44383 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44384 Patch by Filipe David Manana <fdmanana@apache.org>.
44386 2011-04-07 Andreas Schwab <schwab@redhat.com>
44388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44389 Maintain aligned stack.
44390 (CHECK_RSP): Remove unused macro.
44392 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44394 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44395 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44397 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44399 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44401 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44403 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44406 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44407 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44408 * sysdeps/x86_64/memmove.c: New file.
44409 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44410 (memcpy): Renamed to ...
44411 (__new_memcpy): This.
44412 (memcpy): Provide GLIBC_2_14 memcpy.
44413 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44414 (memcpy): Provide GLIBC_2_2_5 memcpy.
44416 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44419 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44421 2011-03-30 Andreas Schwab <schwab@redhat.com>
44423 * misc/syncfs.c: New file.
44424 * misc/Makefile (routines): Add syncfs.
44425 * posix/unistd.h: Declare syncfs.
44426 * sysdeps/unix/syscalls.list: Add syncfs.
44428 2011-04-01 Andreas Schwab <schwab@redhat.com>
44430 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44437 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44443 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44444 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44446 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44450 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44451 sync_file_range.c with -fexceptions.
44452 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44453 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44454 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44455 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44456 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44457 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44459 sync_file_range as cancellation point
44460 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44461 now a wrapper around __call_sync_file_range with cancellation handling.
44462 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44464 function name to __call_sync_file_range.
44465 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44466 Add call_sync_file_range.
44468 2011-04-01 Andreas Schwab <schwab@redhat.com>
44470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44473 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44475 * iconv/iconv.h: Fix typo in comment.
44476 * io/fcntl.h: Likewise.
44477 * libio/stdio.h: Likewise.
44478 * posix/spawn.h: Likewise.
44479 * posix/unistd.h: Likewise.
44480 * stdlib/stdlib.h: Likewise.
44481 * time/time.h: Likewise.
44482 * wcsmbs/wchar.h: Likewise.
44484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44485 open_by_handle): Add.
44486 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44487 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44488 Augment a few comments.
44489 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44494 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44497 * io/fcntl.h (AT_EMPTY_PATH): Define.
44499 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44501 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44502 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44503 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44505 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44506 * Versions.def: Add GLIBC_2.14.
44507 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44510 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44512 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44514 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44516 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44519 * string/test-strncmp.c (do_page_test): New function.
44520 (check2): Likewise.
44521 (test_main): Call check2.
44522 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44524 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44527 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44528 Handle cache information in CPU leaf 4.
44529 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44531 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44534 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44535 character representation.
44536 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44538 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44540 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44541 END(__isnan) to END(__isnanf) to match function entry point/label
44542 EALIGN(__isnanf,...).
44544 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44546 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44548 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44551 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44552 copy from the symbol referenced in the relocation to initialize the
44554 Patch by Piotr Bury <pbury@goahead.com>.
44555 * elf/Makefile: Add rules to build and tst-unique3.
44556 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44557 * elf/tst-unique3.cc: New file.
44558 * elf/tst-unique3.h: New file.
44559 * elf/tst-unique3lib.cc: New file.
44560 * elf/tst-unique3lib2.cc: New file.
44562 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44564 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44566 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44567 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44570 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44572 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44573 to-be-loaded object along a path to loader is ld.so.
44575 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44576 Ulrich Drepper <drepper@gmail.com>
44578 * sysdeps/x86_64/memset.S: After aligning destination, code
44579 branches to different locations depending on the value of
44580 misalignment, when multiarch is enabled. Fix this.
44582 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44584 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44585 Set _x86_64_preferred_memory_instruction for AMD processsors.
44586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44587 Set bit_Prefer_SSE_for_memop for AMD processors.
44589 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44591 * libio/fmemopen.c (fmemopen): Optimize a bit.
44593 2011-03-03 Andreas Schwab <schwab@redhat.com>
44595 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44597 2011-03-03 Roland McGrath <roland@redhat.com>
44599 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44601 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44603 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44604 __bzero_ultra1 instead of __memset_ultra1.
44606 2011-02-23 Andreas Schwab <schwab@redhat.com>
44607 Ulrich Drepper <drepper@gmail.com>
44610 * include/link.h (struct link_map): Add l_orig_initfini.
44611 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44612 returning unsuccessfully.
44613 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44614 close of a file loaded at startup, restore the original l_initfini
44616 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44617 list, store the pointer.
44618 * elf/Makefile ($(objpfx)noload-mem): New rule.
44619 (noload-ENV): Define.
44620 (tests): Add $(objpfx)noload-mem.
44621 * elf/noload.c: Include <memcheck.h>.
44622 (main): Call mtrace. Close all opened handles.
44624 2011-02-17 Andreas Schwab <schwab@redhat.com>
44627 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44628 dependencies are missing.
44630 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44632 Fix __if_freereq crash: Unlike the generic version which uses free,
44634 * sysdeps/mach/hurd/ifreq.h: New file.
44636 2011-01-27 Petr Baudis <pasky@suse.cz>
44637 Ulrich Drepper <drepper@gmail.com>
44640 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44641 to extend_alloca().
44642 * stdio-common/bug23.c: New file.
44643 * stdio-common/Makefile (tests): Add bug23.
44645 2010-09-28 Andreas Schwab <schwab@redhat.com>
44646 Ulrich Drepper <drepper@gmail.com>
44649 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44650 before performing relro protection. At old place add assertion
44651 to make sure nothing changed.
44653 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44654 Glauber de Oliveira Costa <glommer@gmail.com>
44656 * elf/elf.h: Add new ARM TLS relocs.
44658 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44661 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44663 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44665 * sysdeps/wordsize-64/tst-writev.c: New file.
44667 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44669 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44670 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44671 insns in _dl_start to prevent a TOC reference before relocs are
44674 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44677 * Makeconfig: Remove RANLIB definition.
44678 * Makerules: Don't use RANLIB.
44679 * aclocal.m4: Remove ranlib test.
44680 * configure.in: No need to check for ranlib.
44681 * elf/rtld-Rules: Don't use RANLIB.
44683 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44685 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44687 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44688 inclusion protection macro.
44690 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44691 SIGRTMIN and SIGRTMAX and print information in that case only when
44692 SIGRTMIN is defined.
44694 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44696 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44697 arginfo fn returning -1.
44699 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44700 and thousands string is zero terminated.
44702 2011-02-03 Andreas Schwab <schwab@redhat.com>
44704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44705 sysdeps/unix/sysv/linux/bits/socket.h.
44707 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44709 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44710 (__CPU_COUNT): Remove old macros.
44711 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44712 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44713 (__CPU_ALLOC, __CPU_FREE): Add macros.
44714 (__sched_cpualloc, __sched_cpufree): Add declarations.
44716 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44718 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44719 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44720 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44721 (readdhstai): Return value of addhstaiX call.
44722 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44723 (addgrbyX): Return value returned by cache_addgr.
44724 (readdgrbyname): Return value returned by addgrbyX.
44725 (readdgrbygid): Likewise.
44726 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44727 (addpwbyX): Return value returned by cache_addpw.
44728 (readdpwbyname): Return value returned by addhstbyX.
44729 (readdpwbyuid): Likewise.
44730 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44731 (addservbyX): Return value returned by cache_addserv.
44732 (readdservbyname): Return value returned by addservbyX:
44733 (readdservbyport): Likewise.
44734 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44735 (addhstbyX): Return value returned by cache_addhst.
44736 (readdhstbyname): Return value returned by addhstbyX.
44737 (readdhstbyaddr): Likewise.
44738 (readdhstbynamev6): Likewise.
44739 (readdhstbyaddrv6): Likewise.
44740 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44741 (readdinitgroups): Return value returned by addinitgroupsX.
44742 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44743 (prune_cache): Keep track of timeout value of re-added entries.
44744 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44745 * nscd/nscd.h: Adjust prototypes of readd* functions.
44747 2011-02-04 Roland McGrath <roland@redhat.com>
44749 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44750 (nis_stats): Likewise.
44751 * nis/nis_modify.c (nis_modify): Likewise.
44752 * nis/nis_remove.c (nis_remove): Likewise.
44753 * nis/nis_add.c (nis_add): Likewise.
44755 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44757 * posix/fnmatch_loop.c: Add some consts.
44759 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44761 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44764 * config.make.in (config-cflags-novzeroupper): Define.
44765 * configure.in: Substitute libc_cv_cc_novzeroupper.
44766 * elf/Makefile (AVX-CFLAGS): Define.
44767 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44768 (CFLAGS-tst-auditmod4a.c): Likewise.
44769 (CFLAGS-tst-auditmod4b.c): Likewise.
44770 (CFLAGS-tst-auditmod6b.c): Likewise.
44771 (CFLAGS-tst-auditmod6c.c): Likewise.
44772 (CFLAGS-tst-auditmod7b.c): Likewise.
44773 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44775 2011-02-02 Ulrich Drepper <drepper@gmail.com>
44777 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44778 function to the callback.
44779 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44781 2011-02-02 Andreas Schwab <schwab@redhat.com>
44783 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44786 2011-01-19 Ulrich Drepper <drepper@gmail.com>
44789 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44791 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44793 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44796 * elf/Makefile: Add rules to build and run new test.
44797 * elf/tst-initorder.c: New file.
44798 * elf/tst-initorder.exp: New file.
44799 * elf/tst-initordera1.c: New file.
44800 * elf/tst-initordera2.c: New file.
44801 * elf/tst-initordera3.c: New file.
44802 * elf/tst-initordera4.c: New file.
44803 * elf/tst-initorderb1.c: New file.
44804 * elf/tst-initorderb2.c: New file.
44805 * elf/tst-order-a1.c: New file.
44806 * elf/tst-order-a2.c: New file.
44807 * elf/tst-order-a3.c: New file.
44808 * elf/tst-order-a4.c: New file.
44809 * elf/tst-order-b1.c: New file.
44810 * elf/tst-order-b2.c: New file.
44811 * elf/tst-order-main.c: New file.
44812 New test case by George Gensure <werkt0@gmail.com>.
44814 2010-10-01 Andreas Schwab <schwab@redhat.com>
44816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44817 decoding ACE if AI_CANONIDN.
44819 2011-01-18 Ulrich Drepper <drepper@gmail.com>
44821 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44823 2011-01-17 Ulrich Drepper <drepper@gmail.com>
44825 * version.h (RELEASE): Bump for 2.13 release.
44826 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44828 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44830 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44832 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44833 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44834 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44835 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44837 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44839 * posix/getconf.c: Update copyright year.
44840 * catgets/gencat.c: Likewise.
44841 * csu/version.c: Likewise.
44842 * debug/catchsegv.sh: Likewise.
44843 * debug/xtrace.sh: Likewise.
44844 * elf/ldconfig.c: Likewise.
44845 * elf/ldd.bash.in: Likewise.
44846 * elf/sprof.c (print_version): Likewise.
44847 * iconv/iconv_prog.c: Likewise.
44848 * iconv/iconvconfig.c: Likewise.
44849 * locale/programs/locale.c: Likewise.
44850 * locale/programs/localedef.c: Likewise.
44851 * malloc/memusage.sh: Likewise.
44852 * malloc/mtrace.pl: Likewise.
44853 * nscd/nscd.c (print_version): Likewise.
44854 * nss/getent.c: Likewise.
44856 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44857 PF_CAIF, and PF_ALG.
44858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44860 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44862 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44863 (modules-names): Use them.
44864 (ifunc-test-modules, ifunc-pie-tests): Define.
44865 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44866 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44867 (test-extras): Likewise.
44868 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44869 $(compile-command.c).
44870 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44871 (all-built-dso): Define.
44872 (check-textrel.out, check-execstack.out): Depend on it.
44874 * configure.in: Don't override --enable-multi-arch.
44876 2011-01-15 Ulrich Drepper <drepper@gmail.com>
44879 * nscd/hstcache.c (tryagain): Define.
44880 (cache_addhst): Return tryagain not notfound for temporary errors.
44881 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44884 2011-01-14 Ulrich Drepper <drepper@gmail.com>
44887 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44888 to make the syscall.
44889 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44892 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44893 and fall back to matching as normal character if the string ends before
44894 the matching ']' is found. This is what POSIX requires.
44895 * posix/testfnm.c: Adjust test result.
44896 * posix/globtest.sh: Adjust test result. Add new test.
44897 * posix/tst-fnmatch.input: Likewise.
44898 * posix/tst-fnmatch2.c: Add new test.
44900 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44902 * elf/Makefile (check-execstack): Revert last change. Depend on
44904 (check-execstack.h): New target.
44905 (generated): Add check-execstack.h.
44906 * elf/check-execstack.c: Include "check-execstack.h".
44907 (main): Revert last change.
44908 (handle_file): Return zero if GNU_STACK is absent and
44909 DEFAULT_STACK_PERMS doesn't include PF_X.
44911 2011-01-13 Ulrich Drepper <drepper@gmail.com>
44913 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44914 in child fails because the descriptor is already closed.
44915 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44916 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44917 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44920 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44924 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44925 temporary buffer used to handle multi lookups locally.
44926 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44928 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44930 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44933 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44935 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44936 alignment for SSE2.
44938 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44941 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44942 characters. When rounding increased number of integer digits recompute
44944 * stdio-common/tst-grouping.c: New file.
44945 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44947 2011-01-09 Ulrich Drepper <drepper@gmail.com>
44949 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44950 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44952 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44954 * bits/select.h: Likewise.
44956 2011-01-08 Ulrich Drepper <drepper@gmail.com>
44958 * po/ja.po: Update from translation team.
44960 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
44963 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44964 implementation just like for lxstat, fxstatat, et al.
44966 2010-12-27 Jim Meyering <meyering@redhat.com>
44969 * posix/regexec.c (build_trtable): Return failure indication upon
44970 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44972 2010-12-25 Ulrich Drepper <drepper@gmail.com>
44975 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44976 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44977 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44978 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44981 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44984 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44985 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44987 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44989 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44990 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44991 script has SORT_BY_INIT_PRIORITY.
44992 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44993 NO_CTORS_DTORS_SECTIONS is defined.
44994 * elf/soinit.c: Likewise.
44995 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44996 NO_CTORS_DTORS_SECTIONS is defined.
44997 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44998 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44999 * sysdeps/sh/init-first.c: Likewise.
45000 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45002 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45004 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45005 always use the slow path.
45007 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45009 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45010 similar rule which adds the sysdep directories to the header search in
45011 order to pick up the correct platform stackinfo.h.
45012 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45013 perform test if it is, otherwise return successfully without testing.
45014 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45015 DEFAULT_STACK_PERMS define in stackinfo.h.
45016 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45017 defined in stackinfo.h.
45018 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45019 DEFAULT_STACK_PERMS defined in stackinfo.h.
45020 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45021 * sysdeps/ia64/stackinfo.h: Likewise.
45022 * sysdeps/s390/stackinfo.h: Likewise.
45023 * sysdeps/sh/stackinfo.h: Likewise.
45024 * sysdeps/sparc/stackinfo.h: Likewise.
45025 * sysdeps/x86_64/stackinfo.h: Likewise.
45026 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45027 PF_X for powerpc64. Retain PF_X for powerpc32.
45029 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45031 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45033 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45034 GETDENTS_64BIT_ALIGNED.
45036 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45038 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45040 2010-12-10 Andreas Schwab <schwab@redhat.com>
45042 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45045 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45046 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45048 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45049 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45051 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45054 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45057 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45059 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45061 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45063 * po/it.po: Update from translation team.
45065 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45070 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45072 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45074 2010-11-24 Andreas Schwab <schwab@redhat.com>
45076 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45078 (gaih_getanswer_slice): Likewise.
45080 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45084 2010-05-31 Petr Baudis <pasky@suse.cz>
45087 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45088 silently even in the chroot mode.
45090 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45092 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45093 last patch a bit. Pretty printing
45095 2010-05-31 Petr Baudis <pasky@suse.cz>
45098 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45099 initialization of skip_initgroups_dyn.
45101 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45103 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45104 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45106 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45108 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45110 2010-11-11 Andreas Schwab <schwab@redhat.com>
45112 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45113 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45114 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45115 ($(objpfx)tst-fnmatch-mem): New rule.
45116 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45117 * posix/tst-fnmatch.c (main): Call mtrace.
45119 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45122 Support Intel processor model 6 and model 0x2c.
45124 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45129 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45132 * string/test-strncasecmp.c (check_result): New function.
45133 (do_one_test): Use it.
45134 (check1): New function.
45135 (test_main): Use it.
45136 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45137 Support strcasecmp and strncasecmp.
45139 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45142 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45145 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45147 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45151 * sysdeps/x86_64/multiarch/bzero.S: New file.
45152 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45153 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45154 * sysdeps/x86_64/multiarch/memset.S: New file.
45155 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45157 Set bit_Prefer_SSE_for_memop for Intel processors.
45158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45160 (index_Prefer_SSE_for_memop): Define.
45161 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45163 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45165 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45166 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45168 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45171 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45172 (__x86_64_raw_data_cache_size_half): Likewise.
45173 (__x86_64_raw_shared_cache_size): Likewise.
45174 (__x86_64_raw_shared_cache_size_half): Likewise.
45176 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45177 (__x86_64_raw_data_cache_size_half): Likewise.
45178 (__x86_64_raw_shared_cache_size): Likewise.
45179 (__x86_64_raw_shared_cache_size_half): Likewise.
45180 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45181 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45182 and __x86_64_raw_shared_cache_size_half. Round
45183 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45184 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45185 to multiple of 256 bytes.
45187 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45190 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45191 of inacessible symlinks. Verify result of symlink before returning it.
45192 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45193 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45195 2010-10-28 Erich Ritz <erichritz@gmail.com>
45197 * math/math.h (isinf): Fix typo in comment.
45199 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45201 * po/da.po: Update from translation team.
45203 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45205 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45206 is added to the list.
45208 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45209 Ulrich Drepper <drepper@gmail.com>
45211 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45212 the global list here. Move code to...
45213 (_dl_add_to_namespace_list): ...here. New function.
45214 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45215 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45216 * elf/dl-load.c (lose): Don't remove the element from the list.
45217 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45218 (_dl_map_object): Likewise.
45220 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45223 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45224 into all bytes of SSE register.
45225 Patch by Richard Li <richardpku@gmail.com>.
45227 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45230 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45233 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45235 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45236 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45237 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45243 2010-10-22 Andreas Schwab <schwab@redhat.com>
45245 * include/dlfcn.h (__RTLD_SECURE): Define.
45246 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45247 mode & __RTLD_SECURE instead.
45248 (open_path): Rename preloaded parameter to secure.
45249 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45250 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45251 * elf/dl-deps.c (openaux): Likewise.
45252 * elf/rtld.c (struct map_args): Remove is_preloaded.
45253 (map_doit): Don't use it.
45254 (dl_main): Likewise.
45255 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45256 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45258 2010-09-09 Andreas Schwab <schwab@redhat.com>
45260 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45261 (sysd-rules-targets): Remove duplicates.
45262 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45263 rtld-%.$o dependency.
45265 2010-10-18 Andreas Schwab <schwab@redhat.com>
45267 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45268 _dl_map_object do it.
45270 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45272 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45273 fast fma builtins, define the macros in the C99 standard.
45274 (FP_FAST_FMAF): Likewise.
45275 (FP_FAST_FMAL): Likewise.
45276 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45278 * bits/mathdef.h: Update copyright year.
45279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45281 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45283 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45284 builtins, define the macros in the C99 standard.
45285 (FP_FAST_FMAF): Likewise.
45286 (FP_FAST_FMAL): Likewise.
45287 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45289 (FP_FAST_FMAF): Likewise.
45291 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45294 * math/libm-test.inc (fma_test): Some new testcases.
45295 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45296 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45297 y and infinite z. Do multiplication by C already in long double.
45298 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45300 y and infinite z. Do bitwise or of inexact bit into u.d.
45301 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45302 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45303 * sysdeps/i386/fpu/s_fma.S: Removed.
45304 * sysdeps/i386/fpu/s_fmal.S: Removed.
45306 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45309 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45311 computation is not scheduled after fetestexcept. Fix value
45312 of minimum denormal long double.
45314 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45317 * math/libm-test.inc (fma_test): Add some more tests.
45318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45321 2010-10-15 Andreas Schwab <schwab@redhat.com>
45323 * scripts/data/localplt-s390-linux-gnu.data: New file.
45324 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45326 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45329 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45330 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45332 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45334 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45336 if one of x and y is very large and the other is subnormal.
45337 * sysdeps/s390/fpu/s_fmaf.c: New file.
45338 * sysdeps/s390/fpu/s_fma.c: New file.
45339 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45340 * sysdeps/powerpc/fpu/s_fma.S: New file.
45341 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45342 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45343 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45345 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45348 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45350 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45351 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45352 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45353 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45354 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45355 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45356 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45358 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45361 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45362 * posix/bug-regex31.input: Add test case.
45364 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45366 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45367 * posix/bug-regex31.input: New file.
45370 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45371 (parse_sub_exp): Fix last change, use postorder.
45373 * posix/bug-regex31.c: New file.
45374 * posix/Makefile: Add rules to build and run bug-regex31.
45376 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45379 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45382 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45383 to have entries in sys_siglist.
45386 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45389 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45392 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45393 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45394 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45395 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45396 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45397 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45398 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45399 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45400 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45401 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45402 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45403 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45404 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45405 * math/ftestexcept.c (fetestexcept): Likewise.
45406 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45407 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45408 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45409 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45410 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45411 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45412 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45414 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45417 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45420 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45422 * string/bug-strstr1.c: New file.
45423 * string/Makefile: Add rules to build and run bug-strstr1.
45425 2010-10-05 Eric Blake <eblake@redhat.com>
45428 * string/str-two-way.h (two_way_long_needle): Always clear memory
45429 when skipping input due to the shift table.
45431 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45434 * malloc/mcheck.c: Handle large requests.
45437 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45438 for strncmp and strncasecmp.
45439 * string/stratcliff.c: Add tests for strcmp and strncmp.
45440 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45442 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45444 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45447 2010-09-30 Andreas Jaeger <aj@suse.de>
45449 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45450 (CGROUP_SUPER_MAGIC): Define.
45451 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45452 Handle btrfs and cgroup file systems.
45453 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45456 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45458 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45459 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45461 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45464 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45465 trying to locate the ELF header.
45467 2010-09-27 Andreas Schwab <schwab@redhat.com>
45470 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45471 Mask out sign-bit copies when constructing f_fsid.
45473 2010-09-24 Petr Baudis <pasky@suse.cz>
45475 * debug/stack_chk_fail_local.c: Add missing licence exception.
45476 * debug/warning-nop.c: Likewise.
45478 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45481 implementing getdents64 using getdents syscall, set d_type if
45482 __ASSUME_GETDENTS32_D_TYPE.
45484 2010-09-16 Andreas Schwab <schwab@redhat.com>
45486 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45487 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45489 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45492 * posix/unistd.h: Undo change of feature selection for ftruncate from
45495 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45497 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45500 2010-09-20 Andreas Schwab <schwab@redhat.com>
45502 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45504 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45506 2010-09-14 Andreas Schwab <schwab@redhat.com>
45508 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45509 variables after CHECK_SP call.
45510 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45512 2010-09-13 Andreas Schwab <schwab@redhat.com>
45513 Ulrich Drepper <drepper@redhat.com>
45515 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45516 re-relocationg ld.so.
45517 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45518 _dl_init_paths call.
45519 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45522 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45524 * resolv/res_init.c (__res_vinit): Count the default server we added.
45526 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45527 Ulrich Drepper <drepper@redhat.com>
45530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45531 (____longjmp_chk): Use %ebx for saving value across system call.
45534 2010-09-06 Andreas Schwab <schwab@redhat.com>
45536 * manual/Makefile: Don't mix pattern rules with normal rules.
45538 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45540 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45542 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45543 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45544 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45545 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45549 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45552 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45553 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45555 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45557 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45558 * sysdeps/x86_64/addmul_1.S: Likewise.
45559 * sysdeps/x86_64/lshift.S: Likewise.
45560 * sysdeps/x86_64/mul_1.S: Likewise.
45561 * sysdeps/x86_64/rshift.S: Likewise.
45562 * sysdeps/x86_64/sub_n.S: Likewise.
45563 * sysdeps/x86_64/submul_1.S: Likewise.
45565 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45567 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45568 Define __sched_param instead of SCHED_* and sched_param when
45569 <bits/sched.h> is included with __need_schedparam defined.
45570 * bits/sched.h [__need_schedparam]
45571 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45572 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45573 (__defined_schedparam): Define to 1.
45574 (__sched_param): New structure, identical to sched_param.
45575 (__need_schedparam): Undefine.
45577 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45579 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45580 (epoll_create1): Declare.
45582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45584 2010-08-31 Andreas Schwab <schwab@redhat.com>
45587 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45588 shifting retval into place.
45590 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45592 * nis/rpcsvc/nis.h: Update copyright notice.
45593 * nis/rpcsvc/nis.x: Likewise.
45594 * nis/rpcsvc/nis_callback.h: Likewise.
45595 * nis/rpcsvc/nis_callback.x: Likewise.
45596 * nis/rpcsvc/nis_object.x: Likewise.
45597 * nis/rpcsvc/nis_tags.h: Likewise.
45598 * nis/rpcsvc/yp.h: Likewise.
45599 * nis/rpcsvc/yp.x: Likewise.
45600 * nis/rpcsvc/ypupd.h: Likewise.
45601 * nis/yp_xdr.c: Likewise.
45602 * nis/ypupdate_xdr.c: Likewise.
45604 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45605 mainly the body of pmap_getport. Add parameters to specify timeouts.
45606 (pmap_getport): Use __libc_rpc_getport.
45607 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45608 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45609 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45611 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45616 2010-08-27 Roland McGrath <roland@redhat.com>
45618 * sysdeps/i386/i686/multiarch/Makefile
45619 (CFLAGS-varshift.c): New variable.
45621 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45623 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45624 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45628 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45630 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45632 * sysdeps/x86_64/strlen.S: Unroll the loop.
45633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45634 strlen-sse2 strlen-sse2-bsf.
45635 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45636 __strlen_no_bsf if bit_Slow_BSF is set.
45637 (__strlen_sse42): Removed.
45638 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45639 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45641 2010-08-25 Roland McGrath <roland@redhat.com>
45643 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45644 * sysdeps/x86_64/multiarch/varshift.c: New file.
45645 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45646 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45647 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45648 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45650 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45653 strlen-sse2 strlen-sse2-bsf.
45654 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45655 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45656 (__strlen_sse2): Removed.
45657 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45660 bit_Slow_BSF for Atom.
45661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45662 (index_Slow_BSF): Define.
45663 (HAS_SLOW_BSF): Define.
45665 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45668 * resolv/res_init.c (__res_vinit): When no server address at all
45669 is given default to loopback.
45671 2010-08-24 Roland McGrath <roland@redhat.com>
45673 * configure.in: Remove config-name.h generation.
45674 * configure: Regenerated.
45675 * config-name.in: File removed.
45676 * scripts/config-uname.sh: New file.
45677 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45678 ($(objdir)config-name.h): New target.
45680 * sunrpc/rpc_parse.h: Avoid nested comment.
45682 2010-08-24 Richard Henderson <rth@redhat.com>
45683 Ulrich Drepper <drepper@redhat.com>
45684 H.J. Lu <hongjiu.lu@intel.com>
45686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45688 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45689 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45690 _mm_alignr_epi8 with _mm_loadu_si128.
45691 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45692 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45693 (__m128i_shift_right): Removed.
45694 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45695 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45696 * sysdeps/x86_64/multiarch/varshift.h: New file.
45697 * sysdeps/x86_64/multiarch/varshift.S: New file.
45699 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45701 * configure.in: Move assembler checks to before sysdep dir checking.
45703 2010-08-20 Petr Baudis <pasky@suse.cz>
45705 * LICENSES: Sync the sunrpc license.
45707 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45709 * sunrpc/auth_des.c: Update copyright notice once again.
45710 * sunrpc/auth_none.c: Likewise.
45711 * sunrpc/auth_unix.c: Likewise.
45712 * sunrpc/authdes_prot.c: Likewise.
45713 * sunrpc/authuxprot.c: Likewise.
45714 * sunrpc/bindrsvprt.c: Likewise.
45715 * sunrpc/clnt_gen.c: Likewise.
45716 * sunrpc/clnt_perr.c: Likewise.
45717 * sunrpc/clnt_raw.c: Likewise.
45718 * sunrpc/clnt_simp.c: Likewise.
45719 * sunrpc/clnt_tcp.c: Likewise.
45720 * sunrpc/clnt_udp.c: Likewise.
45721 * sunrpc/clnt_unix.c: Likewise.
45722 * sunrpc/des_crypt.c: Likewise.
45723 * sunrpc/des_soft.c: Likewise.
45724 * sunrpc/get_myaddr.c: Likewise.
45725 * sunrpc/getrpcport.c: Likewise.
45726 * sunrpc/key_call.c: Likewise.
45727 * sunrpc/key_prot.c: Likewise.
45728 * sunrpc/openchild.c: Likewise.
45729 * sunrpc/pm_getmaps.c: Likewise.
45730 * sunrpc/pm_getport.c: Likewise.
45731 * sunrpc/pmap_clnt.c: Likewise.
45732 * sunrpc/pmap_prot.c: Likewise.
45733 * sunrpc/pmap_prot2.c: Likewise.
45734 * sunrpc/pmap_rmt.c: Likewise.
45735 * sunrpc/rpc/auth.h: Likewise.
45736 * sunrpc/rpc/auth_unix.h: Likewise.
45737 * sunrpc/rpc/clnt.h: Likewise.
45738 * sunrpc/rpc/des_crypt.h: Likewise.
45739 * sunrpc/rpc/key_prot.h: Likewise.
45740 * sunrpc/rpc/netdb.h: Likewise.
45741 * sunrpc/rpc/pmap_clnt.h: Likewise.
45742 * sunrpc/rpc/pmap_prot.h: Likewise.
45743 * sunrpc/rpc/pmap_rmt.h: Likewise.
45744 * sunrpc/rpc/rpc.h: Likewise.
45745 * sunrpc/rpc/rpc_des.h: Likewise.
45746 * sunrpc/rpc/rpc_msg.h: Likewise.
45747 * sunrpc/rpc/svc.h: Likewise.
45748 * sunrpc/rpc/svc_auth.h: Likewise.
45749 * sunrpc/rpc/types.h: Likewise.
45750 * sunrpc/rpc/xdr.h: Likewise.
45751 * sunrpc/rpc_clntout.c: Likewise.
45752 * sunrpc/rpc_cmsg.c: Likewise.
45753 * sunrpc/rpc_common.c: Likewise.
45754 * sunrpc/rpc_cout.c: Likewise.
45755 * sunrpc/rpc_dtable.c: Likewise.
45756 * sunrpc/rpc_hout.c: Likewise.
45757 * sunrpc/rpc_main.c: Likewise.
45758 * sunrpc/rpc_parse.c: Likewise.
45759 * sunrpc/rpc_parse.h: Likewise.
45760 * sunrpc/rpc_prot.c: Likewise.
45761 * sunrpc/rpc_sample.c: Likewise.
45762 * sunrpc/rpc_scan.c: Likewise.
45763 * sunrpc/rpc_scan.h: Likewise.
45764 * sunrpc/rpc_svcout.c: Likewise.
45765 * sunrpc/rpc_tblout.c: Likewise.
45766 * sunrpc/rpc_util.c: Likewise.
45767 * sunrpc/rpc_util.h: Likewise.
45768 * sunrpc/rpcinfo.c: Likewise.
45769 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45770 * sunrpc/rpcsvc/key_prot.x: Likewise.
45771 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45772 * sunrpc/rpcsvc/mount.x: Likewise.
45773 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45774 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45775 * sunrpc/rpcsvc/rex.x: Likewise.
45776 * sunrpc/rpcsvc/rstat.x: Likewise.
45777 * sunrpc/rpcsvc/rusers.x: Likewise.
45778 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45779 * sunrpc/rpcsvc/spray.x: Likewise.
45780 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45781 * sunrpc/rtime.c: Likewise.
45782 * sunrpc/svc.c: Likewise.
45783 * sunrpc/svc_auth.c: Likewise.
45784 * sunrpc/svc_authux.c: Likewise.
45785 * sunrpc/svc_raw.c: Likewise.
45786 * sunrpc/svc_run.c: Likewise.
45787 * sunrpc/svc_simple.c: Likewise.
45788 * sunrpc/svc_tcp.c: Likewise.
45789 * sunrpc/svc_udp.c: Likewise.
45790 * sunrpc/svc_unix.c: Likewise.
45791 * sunrpc/svcauth_des.c: Likewise.
45792 * sunrpc/xcrypt.c: Likewise.
45793 * sunrpc/xdr.c: Likewise.
45794 * sunrpc/xdr_array.c: Likewise.
45795 * sunrpc/xdr_float.c: Likewise.
45796 * sunrpc/xdr_mem.c: Likewise.
45797 * sunrpc/xdr_rec.c: Likewise.
45798 * sunrpc/xdr_ref.c: Likewise.
45799 * sunrpc/xdr_sizeof.c: Likewise.
45800 * sunrpc/xdr_stdio.c: Likewise.
45802 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45805 2010-08-19 Andreas Schwab <schwab@redhat.com>
45807 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45809 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
45811 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45812 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45813 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45814 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45816 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45817 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45818 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45819 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45820 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45821 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45822 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45823 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45824 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45826 2010-07-26 Anton Blanchard <anton@samba.org>
45828 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45829 * malloc/arena.c (heap_trim): Likewise.
45831 2010-08-16 Ulrich Drepper <drepper@redhat.com>
45833 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45836 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45838 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45840 * sysdeps/i386/elf/Makefile: New file.
45842 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45844 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45845 from fanotify_init.
45846 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45849 2010-08-15 Ulrich Drepper <drepper@redhat.com>
45851 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45853 * sysdeps/multiarch/strcmp.S: Likewise.
45855 2010-08-14 Ulrich Drepper <drepper@redhat.com>
45857 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45858 strncase_l-nonascii.
45859 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45860 Add strncase_l-ssse3.
45861 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45862 * sysdeps/x86_64/strcmp.S: Likewise.
45863 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45864 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45865 * sysdeps/x86_64/strncase.S: New file.
45866 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45867 * sysdeps/x86_64/strncase_l.S: New file.
45868 * string/Makefile (strop-tests): Add strncasecmp.
45869 * string/test-strncasecmp.c: New file.
45871 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45874 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45875 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45877 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45879 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45881 2010-08-12 Ulrich Drepper <drepper@redhat.com>
45883 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45884 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45885 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45887 2010-05-01 Alan Modra <amodra@gmail.com>
45889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45890 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45891 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45892 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45893 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45894 tidying. Don't tail-call __sigjmp_save for static lib.
45895 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45897 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45898 (CALL_MCOUNT): Add eh info, and nop after bl.
45899 (TAIL_CALL_SYSCALL_ERROR): New macro.
45900 (PSEUDO_RET): Use it.
45901 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45902 Correct save location of integer regs and cr.
45903 (_dl_profile_resolve): Correct cr save location. Delete nops
45904 after bl when SHARED. Reduce cfi size a little by better
45905 placement of cfi directives.
45906 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45907 make a stack frame. Instead use parm save area as a temp.
45908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45909 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45911 Don't make a stack frame for parent, use parm save area.
45912 Increase child stack frame to 112 bytes. Don't save unused reg,
45913 and adjust reg usage. Set up cfi on error recovery and
45914 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45916 (__makecontext): Add dummy nop after jump to exit.
45917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45918 Use correct parm save area and cr save, reduce stack frame.
45919 Correct cfi for possible PSEUDO_RET frame setup.
45920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45921 Branch to local label emitted by PSEUDO_RET rather than
45924 2010-08-12 Andreas Schwab <schwab@redhat.com>
45927 * locale/programs/locale.c (print_assignment): New function.
45928 (show_locale_vars): Use it.
45930 2010-08-11 Ulrich Drepper <drepper@redhat.com>
45932 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45934 (struct statfs64): Likewise.
45935 (_STATFS_F_FLAGS): Define.
45936 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45938 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45939 (ST_VALID): Define locally.
45940 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45941 __statvfs_getflags, use the provided value.
45942 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45943 __ASSUME_STATFS_F_FLAGS.
45945 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45947 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45948 Add sys/fanotify.h.
45949 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45950 fanotify_mask for GLIBC_2.13.
45951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45952 fanotify_init and fanotify_mark.
45953 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45954 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45956 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45958 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45959 prlimit64 for GLIBC_2.13.
45960 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45962 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45965 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45966 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45967 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45970 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45973 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45974 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45976 * nss/Makefile: Add rules to build and run tst-nss-test1.
45977 * shlib-versions: Add entry for libnss_test1.
45978 * nss/nss_test1.c: New file.
45979 * nss/tst-nss-test1.c: New file.
45981 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45982 (__nss_configure_lookup): Set appropriate entry in
45983 __nss_configure_lookup to true.
45984 * nss/nsswitch.h: Define enum with indeces of databases in
45985 databases and __nss_database_custom arrays. Declare
45986 __nss_database_custom.
45987 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45988 to avoid using nscd when custom rules are installed.
45989 * nss/getXXbyYY_r.c: Likewise.
45990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45992 * nss/nss_files/files-parse.c: Whitespace fixes.
45994 2010-08-09 Ulrich Drepper <drepper@redhat.com>
45997 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45998 * posix/fnmatch_loop.c: Likewise.
46000 2010-07-17 Andi Kleen <ak@linux.intel.com>
46002 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46003 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46004 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46005 * Versions.def [GLIBC_2.13]: Add.
46007 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46009 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46010 Also fail if tpwd after pwuid call is NULL.
46012 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46014 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46015 when converting to ms.
46017 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46019 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46020 EOPNOTSUPP errors with ENOTTY.
46021 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46022 EOPNOTSUPP errors with ENOTTY.
46024 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46026 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46027 Add strcasecmp_l-ssse3.
46028 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46030 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46031 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46032 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46034 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46036 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46038 * string/Makefile (strop-tests): Add strcasecmp.
46039 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46040 strcasecmp_l-nonascii.
46041 (gen-as-const-headers): Add locale-defines.sym.
46042 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46043 * sysdeps/x86_64/strcasecmp.S: New file.
46044 * sysdeps/x86_64/strcasecmp_l.S: New file.
46045 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46046 * sysdeps/x86_64/locale-defines.sym: New file.
46047 * string/test-strcasecmp.c: New file.
46049 * string/test-strcasestr.c: Test both ends of the range of characters.
46050 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46052 2010-07-29 Roland McGrath <roland@redhat.com>
46055 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46057 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46059 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46062 2010-07-27 Andreas Schwab <schwab@redhat.com>
46064 * manual/memory.texi (Malloc Tunable Parameters): Document
46067 2010-07-26 Roland McGrath <roland@redhat.com>
46070 * configure.in (-fgnu89-inline check): Set and substitute
46071 gnu89_inline, not libc_cv_gnu89_inline.
46072 * configure: Regenerated.
46073 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46075 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46077 * string/test-strnlen.c: New file.
46078 * string/Makefile (strop-tests): Add strnlen.
46079 * string/tester.c (test_strnlen): Add a few more test cases.
46080 * string/tst-strlen.c: Better error reporting.
46082 * sysdeps/x86_64/strnlen.S: New file.
46084 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46086 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46087 lower-latency instructions.
46089 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46091 * string/test-strcasestr.c: New file.
46092 * string/test-strstr.c: New file.
46093 * string/Makefile (strop-tests): Add strstr and strcasestr.
46094 * string/str-two-way.h: Don't undefine MAX.
46095 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46097 2010-07-21 Andreas Schwab <schwab@redhat.com>
46099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46100 strcasestr-nonascii.
46101 (CFLAGS-strcasestr-nonascii.c): Define.
46102 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46104 Remove unused attribute.
46106 2010-07-20 Roland McGrath <roland@redhat.com>
46108 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46109 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46110 ld.so.cache was broken. With it, there is no way to disable dsocaps
46111 like LD_HWCAP_MASK can disable hwcaps.
46113 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46115 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46117 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46119 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46120 call in strcasestr.
46121 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46122 __strcasestr_sse42_nonascii.
46123 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46124 strcasestr-nonascii.c.
46125 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46127 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46129 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46131 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46132 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46134 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46139 2010-07-06 Andreas Schwab <schwab@redhat.com>
46142 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46145 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46147 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46148 _PC_PIPE_BUF using F_GETPIPE_SZ.
46150 2010-07-05 Roland McGrath <roland@redhat.com>
46152 * manual/arith.texi (Rounding Functions): Fix rint description
46153 implicit in round description.
46155 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46157 * elf/Makefile: Fix linking for a few tests to make recent linker
46160 2010-06-30 Andreas Schwab <schwab@redhat.com>
46162 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46163 $(common-objpfx)libc_nonshared.a.
46165 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46167 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46168 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46169 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46170 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46171 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46172 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46173 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46174 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46189 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46190 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46191 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46192 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46193 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46194 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46195 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46196 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46197 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46198 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46199 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46200 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46216 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46218 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46219 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46220 * string/memmove.c (memmove): Renamed to ...
46221 (MEMMOVE): ...this. Default to memmove.
46222 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46223 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46226 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46227 mempcpy-ssse3-back memmove-ssse3-back.
46228 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46230 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46231 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46232 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46233 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46234 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46235 * sysdeps/x86_64/multiarch/memmove.c: New file.
46236 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46237 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46238 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46239 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46240 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46241 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46243 (index_Fast_Copy_Backward): Define.
46244 (HAS_ARCH_FEATURE): Define.
46245 (HAS_FAST_REP_STRING): Define.
46246 (HAS_FAST_COPY_BACKWARD): Define.
46248 2010-06-21 Andreas Schwab <schwab@redhat.com>
46250 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46251 Restore proper fallback handling.
46253 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46256 * posix/group_member.c (__group_member): Correct checking loop.
46258 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46259 OOM in getpwuid_r correctly. Return error number when the caller
46260 should return, otherwise -1.
46261 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46262 call returning > 0 value.
46263 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46265 2010-06-07 Andreas Schwab <schwab@redhat.com>
46267 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46268 libc_nonshared.a from targets in modules-names.
46270 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46272 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46275 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46277 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46278 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46282 2010-06-02 Andreas Schwab <schwab@redhat.com>
46284 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46286 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46288 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46297 2010-06-14 Roland McGrath <roland@redhat.com>
46299 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46301 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46303 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46304 __REDIRECT followed by __THROW.
46305 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46306 * posix/getopt.h (getopt): Likewise.
46308 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46310 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46311 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46312 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46314 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46315 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46317 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46319 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46321 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46325 Properly check family and model.
46327 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46329 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46331 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46333 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46335 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46337 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46340 2010-05-19 Andreas Schwab <schwab@redhat.com>
46342 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46345 2010-05-21 Andreas Schwab <schwab@redhat.com>
46347 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46348 and internal_recvmmsg.
46349 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46350 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46351 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46352 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46354 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46355 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46356 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46358 2010-05-20 Andreas Schwab <schwab@redhat.com>
46360 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46362 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46364 POWER7 optimizations.
46365 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46366 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46368 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46370 * version.h: Update for 2.13 development version.
46372 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46374 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46375 exceptions. Return 0.
46377 2010-05-07 Roland McGrath <roland@redhat.com>
46379 * elf/ldconfig.c (main): Add a const.
46381 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46383 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46384 (args_options): Add no-idn option.
46385 (ahosts_keys_int): Add idn_flags to ai_flags.
46386 (parse_option): Handle 'i' option to clear idn_flags.
46388 * malloc/malloc.c (_int_free): Possible race in the most recently
46389 added check. Only act on the data if no current modification
46392 See ChangeLog.17 for earlier changes.